Moving to GitHub.
[platal.git] / mescontacts.tpl
... / ...
CommitLineData
1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2008 Polytechnique.org *}
4{* http://opensource.polytechnique.org/ *}
5{* *}
6{* This program is free software; you can redistribute it and/or modify *}
7{* it under the terms of the GNU General Public License as published by *}
8{* the Free Software Foundation; either version 2 of the License, or *}
9{* (at your option) any later version. *}
10{* *}
11{* This program is distributed in the hope that it will be useful, *}
12{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14{* GNU General Public License for more details. *}
15{* *}
16{* You should have received a copy of the GNU General Public License *}
17{* along with this program; if not, write to the Free Software *}
18{* Foundation, Inc., *}
19{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
20{* *}
21{**************************************************************************}
22
23
24
25<h1>
26 Ma liste personnelle de contacts
27</h1>
28
29<div>
30Ajouter la personne suivante à ma liste de contacts&nbsp;:
31<div style="float: right">
32<form id="add_user" action="carnet/contacts" method="post">
33 {xsrf_token_field}
34 <div>
35 <input type="hidden" name="action" value="ajouter" />
36 <input type="text" size="30" name="user" class="quick_search"
37 value="ajouter prenom.nom"
38 onfocus="if (this.value == 'ajouter prenom.nom') this.value=''"
39 onblur="if (this.value == '') this.value='ajouter prenom.nom'"
40 size="20" maxlength="70"/>
41 <a href="" onclick="document.getElementById('add_user').submit(); return false;">
42 {icon name=add title="Ajouter la personne"}
43 </a>
44 </div>
45</p>
46</form>
47</div>
48</div>
49<p style="clear: both">
50 Tu peux également rajouter des camarades dans tes contacts lors d'une recherche dans l'annuaire&nbsp;:
51 il te suffit de cliquer sur l'icône {icon name=add} en face de son nom dans les résultats !
52</p>
53
54{if $plset_count || $smarty.request.quick}
55<p>
56Pour récupérer ta liste de contacts dans un PDF imprimable&nbsp;:<br />
57(attention, les photos font beaucoup grossir les fichiers !)
58</p>
59<ul>
60 <li>avec les photos&nbsp;:
61 [<a href="carnet/contacts/pdf/promo/photos/mescontacts.pdf" class='popup'><strong>tri par promo</strong></a>]
62 [<a href="carnet/contacts/pdf/photos/mescontacts.pdf" class='popup'><strong>tri par noms</strong></a>]
63 </li>
64 <li>sans les photos&nbsp;:
65 [<a href="carnet/contacts/pdf/promo/mescontacts.pdf" class='popup'><strong>tri par promo</strong></a>]
66 [<a href="carnet/contacts/pdf/mescontacts.pdf" class='popup'><strong>tri par noms</strong></a>]
67 </li>
68</ul>
69
70<p>
71 Tu peux télécharger des informations sur tes contacts&nbsp;:
72</p>
73<ul>
74 <li>
75 {icon name=calendar_view_day title='Anniversaires'}
76 <a href="carnet/contacts/ical/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/anniv-x.ics" title="Anniversaires">
77 Le calendrier des anniversaires
78 </a>
79 </li>
80 <li>
81 {icon name=vcard title='Carte de visite'}
82 <a href="carnet/contacts/vcard/photos/MesContactsXorg.vcf">La carte de visite électronique</a>
83 (<a href="carnet/contacts/vcard/MesContactsXorg.vcf">sans les photos</a>)
84 </li>
85</ul>
86
87<p>
88 <div style="float: right">
89 <form action="carnet/contacts/search#plset_content" method="get">
90 <div>
91 <input type="text" size="30" name="quick" class="quick_search"
92 value="{$smarty.request.quick|default:'recherche dans tes contacts'}"
93 onfocus="if (this.value == 'recherche dans tes contacts') this.value=''"
94 onblur="if (this.value == '') this.value='recherche dans tes contacts'"/>
95 <a href="carnet/contacts">{icon name=cross title='Annuler la recherche'}</a>
96 </div>
97 </form>
98 </div>
99 Tu peux faire une recherche sur tes contacts&nbsp;:
100</p>
101
102{include file="core/plset.tpl"}
103
104{/if}
105
106{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}