'Personnaliser' => Array(
'Mes emails' => 'emails.php' ,
'Mon profil' => 'profil.php' ,
- 'Mes contacts' => 'mescontacts.php' ,
+ 'Mes contacts' => 'carnet/mescontacts.php' ,
+ 'Mon carnet' => 'carnet/' ,
'Mon mot de passe' => 'motdepassemd5.php' ,
'Mes préférences' => 'preferences.php'
),
--- /dev/null
+<?php
+/***************************************************************************
+ * Copyright (C) 2003-2004 Polytechnique.org *
+ * http://opensource.polytechnique.org/ *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+ ***************************************************************************
+ $Id: index.php,v 1.1 2004-11-04 15:33:27 x2000habouzit Exp $
+ ***************************************************************************/
+
+require("auto.prepend.inc.php");
+new_skinned_page('carnet/index.tpl', AUTH_COOKIE);
+$page->run();
+
+?>
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: mescontacts.php,v 1.25 2004-11-02 07:48:40 x2000habouzit Exp $
+ $Id: mescontacts.php,v 1.1 2004-11-04 15:33:27 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page("mescontacts.tpl",AUTH_COOKIE,true);
+new_skinned_page("carnet/mescontacts.tpl",AUTH_COOKIE,true);
require("applis.func.inc.php");
// si l'utilisateur demande le retrait de qqun de sa liste
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: mescontacts_ldif.php,v 1.11 2004-10-21 12:26:12 x2000habouzit Exp $
+ $Id: mescontacts_ldif.php,v 1.1 2004-11-04 15:33:27 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_nonhtml_page('mescontacts_ldif.tpl', AUTH_COOKIE);
+new_nonhtml_page('carnet/mescontacts_ldif.tpl', AUTH_COOKIE);
function ensure_adr(&$table) {
$trim = Array();
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: mescontacts_pdf.php,v 1.4 2004-11-02 07:13:08 x2000habouzit Exp $
+ $Id: mescontacts_pdf.php,v 1.1 2004-11-04 15:33:27 x2000habouzit Exp $
***************************************************************************/
#
-# $Id: mescontacts_pdf.php,v 1.4 2004-11-02 07:13:08 x2000habouzit Exp $
+# $Id: mescontacts_pdf.php,v 1.1 2004-11-04 15:33:27 x2000habouzit Exp $
#
require("auto.prepend.inc.php");
--- /dev/null
+{***************************************************************************
+ * Copyright (C) 2003-2004 Polytechnique.org *
+ * http://opensource.polytechnique.org/ *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+ ***************************************************************************
+ $Id: index.tpl,v 1.1 2004-11-04 15:33:28 x2000habouzit Exp $
+ ***************************************************************************}
+
+<h1>Carnet polytechnicien</h1>
+
+<table class="bicol">
+ <tr>
+ <th colspan="2">
+ Gestion de tes contacts
+ </th>
+ </tr>
+ <tr class="impair">
+ <td><div class="question">
+ <a href="{"carnet/mescontacts.php"|url}">Page de tes contacts</a>
+ </div>
+ <div class="explication">
+ Tu peux ici lister tes contacts, en ajouter et en retirer.
+ </div>
+ </td>
+ <td><div class="question">
+ <a href="{"carnet/mescontacts.php?trombi=1"|url}">Le trombi de tes contacts</a>
+ </div>
+ <div class="explication">
+ La même chose que la page de tes contacts... <strong>en images !</strong>
+ </div>
+ </td>
+ </tr>
+</table>
+
+<br />
+
+<table class="bicol">
+ <tr>
+ <th colspan="2">
+ Notifications automatiques
+ </th>
+ </tr>
+ <tr class="impair">
+ <td><div class="question">
+ <a href="{""|url}"> ... </a>
+ </div>
+ <div class="explication">
+ ...
+ </div>
+ </td>
+ <td><div class="question">
+ <a href="{""|url}"> ... </a>
+ </div>
+ <div class="explication">
+ ...
+ </div>
+ </td>
+ </tr>
+</table>
+
+{* vim:set et sw=2 sts=2 sws=2: *}
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: mescontacts.tpl,v 1.12 2004-10-29 02:04:23 x2000habouzit Exp $
+ $Id: mescontacts.tpl,v 1.1 2004-11-04 15:33:28 x2000habouzit Exp $
***************************************************************************}
</form>
<p>
Tu peux également rajouter des camarades dans tes contacts lors d'une recherche dans l'annuaire :
- il te suffit de cliquer sur l'icône <img src="images/ajouter.gif" alt="ajout contact" /> en face de son nom dans les résultats !
+ il te suffit de cliquer sur l'icône <img src="{"images/ajouter.gif"|url}" alt="ajout contact" /> en face de son nom dans les résultats !
</p>
{if $nb_contacts || $trombi}
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: mescontacts_ldif.tpl,v 1.4 2004-09-02 23:55:57 x2000habouzit Exp $
+ $Id: mescontacts_ldif.tpl,v 1.1 2004-11-04 15:33:28 x2000habouzit Exp $
***************************************************************************}
{foreach item=c from=$contacts}
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: plan.tpl,v 1.3 2004-10-24 14:41:12 x2000habouzit Exp $
+ $Id: plan.tpl,v 1.4 2004-11-04 15:33:28 x2000habouzit Exp $
***************************************************************************}
Cette page permet de modifier les informations publiques te concernant, comme tes coordonnées url=ta formation, etc...
{/page}
- {page title="Mes contacts" url="mescontacts.php"|url}
+ {page title="Mon carnet" url="carnet/"|url}
A travers cette page tu peux gérer la liste de tes contacts X. Cela te permettra d'accéder
plus facilement à ces personnes sur les pages de ce site. Cette liste est aussi disponible en
format imprimable.
{/page}
- {page title="Mes contacts en version imprimable (PDF)" url="mescontacts_pdf.php"|url}
+ {page title="Mes contacts en version imprimable (PDF)" url="carnet/mescontacts_pdf.php"|url}
Cette page crée un document PDF imprimable avec la liste de tes contacts. Tu dois avoir Acrobat
sur ton ordinateur pour pouvoir bénéficier de ce service. Si tu n'as pas ce logiciel, tu peux
le télécharger gratuitement sur le site d'Adobe.
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: fiche.tpl,v 1.21 2004-11-04 14:39:44 x2000habouzit Exp $
+ $Id: fiche.tpl,v 1.22 2004-11-04 15:33:28 x2000habouzit Exp $
***************************************************************************}
{literal}
<img src="images/vcard.png" alt="Afficher la carte de visite" title="Afficher la carte de visite"/>
</a>
{if !$is_contact}
- <a href="javascript:x()" onclick="chgMainWinLoc('mescontacts.php?action=ajouter&user={$forlife}')">
+ <a href="javascript:x()" onclick="chgMainWinLoc('{"carnet/mescontacts.php|"url}?action=ajouter&user={$forlife}')">
<img src="images/ajouter.gif" alt="Ajouter à mes contacts" title="Ajouter à mes contacts" />
</a>
{else}
- <a href="javascript:x()" onclick="chgMainWinLoc('mescontacts.php?action=retirer&user={$forlife}')">
+ <a href="javascript:x()" onclick="chgMainWinLoc('{"carnet/mescontacts.php"|url}?action=retirer&user={$forlife}')">
<img src="images/retirer.gif" alt="Retirer de mes contacts" title="Retirer de mes contacts" />
</a>
{/if}
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: minifiche_pvt.tpl,v 1.10 2004-11-02 07:01:07 x2000habouzit Exp $
+ $Id: minifiche_pvt.tpl,v 1.11 2004-11-04 15:33:29 x2000habouzit Exp $
***************************************************************************}
<div class="bits">
<a href="javascript:x()"
onclick="popupWin('fiche.php?user={$c.forlife}','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=800,height=500')">{*
- *}<img src="images/loupe.gif" alt="Afficher la fiche" title="Afficher la fiche" />{*
+ *}<img src="{"images/loupe.gif"|url}" alt="Afficher la fiche" title="Afficher la fiche" />{*
*}</a>
<a href="vcard.php/{$c.forlife}.vcf?x={$c.forlife}">{*
- *}<img src="images/vcard.png" alt="Afficher la carte de visite" title="Afficher la carte de visite" />{*
+ *}<img src="{"images/vcard.png"|url}" alt="Afficher la carte de visite" title="Afficher la carte de visite" />{*
*}</a>
- <a href="mescontacts.php?action={$show_action}&user={$c.forlife}">{*
- *}<img src="images/{$show_action}.gif" alt="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts"
+ <a href="{"carnet/mescontacts.php"|url}?action={$show_action}&user={$c.forlife}">{*
+ *}<img src="{"images"|url}/{$show_action}.gif" alt="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts"
title="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts" />{*
*}</a>
{if $c.dcd neq 1}
{perms level='admin'}
<a href="{"admin/utilisateurs.php"|url}?login={$c.forlife}">{*
- *}<img src="images/admin.png" alt='admin' title="administrer user" />{*
+ *}<img src="{"images/admin.png"|url}" alt='admin' title="administrer user" />{*
*}</a>
<a href="javascript:x()" onclick="popWin('http://www.polytechniciens.com/index.php?page=AX_FICHE_ANCIEN&anc_id={$c.matricule_ax}')">{*
- *}<img src="images/ax.png" alt='AX' title="fiche AX" />{*
+ *}<img src="{"images/ax.png"|url}" alt='AX' title="fiche AX" />{*
*}</a>
{/perms}
{/if}
{perms level='admin'}
<a href="javascript:x()" onclick="popWin('http://www.polytechniciens.com/index.php?page=AX_FICHE_ANCIEN&anc_id={$c.matricule_ax}')">{*
- *}<img src="images/ax.png" alt='AX' title="fiche AX" />{*
+ *}<img src="{"images/ax.png"|url}" alt='AX' title="fiche AX" />{*
*}</a>
{/perms}
</div>