* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: clear_all_cache.php,v 1.4 2004-10-09 10:51:49 x2000habouzit Exp $
+ $Id: clear_all_cache.php,v 1.5 2004-10-09 12:49:37 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
$page->clear_all_cache();
$page->clear_compiled_tpl();
-$ref = $_SERVER['HTTP_REFERER'];
-if(isset($ref && strpos($ref,'clear_all_cache.php')===false) {
+$ref = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''
+if($ref && strpos($ref,'clear_all_cache.php')===false) {
header("Location: {$_SERVER['HTTP_REFERER']}");
} else {
header("Location: index.php");
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: admin.tpl,v 1.7 2004-09-25 09:48:07 x2000habouzit Exp $
+ $Id: admin.tpl,v 1.8 2004-10-09 12:49:38 x2000habouzit Exp $
***************************************************************************}
{dynamic}
<p>
[<a href='index.php'>listes</a>] »
+[<a href='members.php?liste={$smarty.request.liste}'>{$smarty.request.liste}</a>]
+[<a href='trombi.php?liste={$smarty.request.liste}'>trombino</a>] »
[<a href='moderate.php?liste={$smarty.get.liste}'>modération</a>]
[abonnés]
[<a href='options.php?liste={$smarty.get.liste}'>options</a>]
<p>
[<a href='index.php'>listes</a>] »
+[<a href='members.php?liste={$smarty.request.liste}'>{$smarty.request.liste}</a>]
+[<a href='trombi.php?liste={$smarty.request.liste}'>trombino</a>] »
[<a href='moderate.php?liste={$smarty.get.liste}'>modération</a>]
[<a href='admin.php?liste={$smarty.get.liste}'>abonnés</a>]
[<a href='options.php?liste={$smarty.get.liste}'>options</a>]
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: index.tpl,v 1.10 2004-09-25 20:11:36 x2000habouzit Exp $
+ $Id: index.tpl,v 1.11 2004-10-09 12:49:38 x2000habouzit Exp $
***************************************************************************}
<div class="rubrique">
</ul>
<p class='smaller'>
-NB : les gestionnaires d'une liste sont aussi ses modérateurs.
+NB : les gestionnaires d'une liste sont aussi ses modérateurs.<br />
+les listes avec une asterisque sont les listes dont tu es le gestionnaire.
</p>
<div class='ssrubrique'>
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: listes.inc.tpl,v 1.8 2004-09-25 16:30:26 x2000habouzit Exp $
+ $Id: listes.inc.tpl,v 1.9 2004-10-09 12:49:38 x2000habouzit Exp $
***************************************************************************}
<table class='bicol' cellpadding='0' cellspacing='0'>
{if $liste.priv >= $min && $liste.priv <= $max|default:$min}
<tr class='{cycle values="impair,pair"}'>
<td>
- <a href='members.php?liste={$liste.list}'>{$liste.list}</a>
- {if $liste.own}
- [<a href='admin.php?liste={$liste.list}'>adm</a>]
- {elseif $smarty.session.perms eq admin}
- [<span class='erreur'><a href='admin.php?liste={$liste.list}'>adm</a></span>]
- {/if}
+ <a href='members.php?liste={$liste.list}'>{$liste.list}{if $liste.own} *{/if}</a>
</td>
<td>{$liste.desc}</td>
<td class='center'>
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: members.tpl,v 1.4 2004-09-25 21:04:49 x2000habouzit Exp $
+ $Id: members.tpl,v 1.5 2004-10-09 12:49:38 x2000habouzit Exp $
***************************************************************************}
{dynamic}
{else}
-[<a href='index.php'>listes</a>]
+<p>
+[<a href='index.php'>listes</a>] »
+[<a href='members.php?liste={$smarty.request.liste}'>{$smarty.request.liste}</a>]
+[<a href='trombi.php?liste={$smarty.request.liste}'>trombino</a>] »
+[{$smarty.request.liste}]
+[<a href='trombi.php?liste={$smarty.request.liste}'>trombino</a>]
+{if $details.own || $smarty.session.perms eq admin}
+»
+[<a href='moderate.php?liste={$smarty.get.liste}'>modération</a>]
+[<a href='admin.php?liste={$smarty.get.liste}'>abonnés</a>]
+[<a href='options.php?liste={$smarty.get.liste}'>options</a>]
+{/if}
+{perms level=admin} »
+[<a href='soptions.php?liste={$smarty.get.liste}'>Soptions</a>]
+[<a href='check.php?liste={$smarty.get.liste}'>check</a>]
+{/perms}
+</p>
<div class="rubrique">
Liste {$smarty.request.liste}
<td class='titre'> Inscription </td>
<td>{if $details.ins}modérée{else}libre{/if}</td>
</tr>
- <tr>
- <td colspan='2' class='center'>
- <a href='trombi.php?liste={$smarty.request.liste}'>trombino de la liste</a> (page longue à charger)
- </td>
- </tr>
</table>
{if $details.info}
<br />
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: moderate.tpl,v 1.9 2004-09-25 09:48:07 x2000habouzit Exp $
+ $Id: moderate.tpl,v 1.10 2004-10-09 12:49:38 x2000habouzit Exp $
***************************************************************************}
{dynamic}
<p>
[<a href='index.php'>listes</a>] »
+[<a href='members.php?liste={$smarty.request.liste}'>{$smarty.request.liste}</a>]
+[<a href='trombi.php?liste={$smarty.request.liste}'>trombino</a>] »
[modération]
[<a href='admin.php?liste={$smarty.get.liste}'>abonnés</a>]
[<a href='options.php?liste={$smarty.get.liste}'>options</a>]
<p>
[<a href='index.php'>listes</a>] »
+[<a href='members.php?liste={$smarty.request.liste}'>{$smarty.request.liste}</a>]
+[<a href='trombi.php?liste={$smarty.request.liste}'>trombino</a>] »
[<a href='moderate.php?liste={$smarty.get.liste}'>modération</a>]
[<a href='admin.php?liste={$smarty.get.liste}'>abonnés</a>]
[options]
<p>
[<a href='index.php'>listes</a>] »
+[<a href='members.php?liste={$smarty.request.liste}'>{$smarty.request.liste}</a>]
+[<a href='trombi.php?liste={$smarty.request.liste}'>trombino</a>] »
[<a href='moderate.php?liste={$smarty.get.liste}'>modération</a>]
[<a href='admin.php?liste={$smarty.get.liste}'>abonnés</a>]
[<a href='options.php?liste={$smarty.get.liste}'>options</a>]
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: trombi.tpl,v 1.6 2004-09-25 21:04:49 x2000habouzit Exp $
+ $Id: trombi.tpl,v 1.7 2004-10-09 12:49:38 x2000habouzit Exp $
***************************************************************************}
{dynamic}
{else}
+<p>
[<a href='index.php'>listes</a>]
+ »
+[<a href='members.php?liste={$smarty.request.liste}'>{$smarty.request.liste}</a>]
+[trombino]
+{if $details.own || $smarty.session.perms eq admin}
+ »
+[<a href='moderate.php?liste={$smarty.get.liste}'>modération</a>]
+[<a href='admin.php?liste={$smarty.get.liste}'>abonnés</a>]
+[<a href='options.php?liste={$smarty.get.liste}'>options</a>]
+{/if}
+{perms level=admin} »
+[<a href='soptions.php?liste={$smarty.get.liste}'>Soptions</a>]
+[<a href='check.php?liste={$smarty.get.liste}'>check</a>]
+{/perms}
+</p>
<div class="rubrique">
Liste {$smarty.request.liste}
<td class='titre'> Inscription </td>
<td>{if $details.ins}modérée{else}libre{/if}</td>
</tr>
- <tr>
- <td colspan='2' class='center'>
- <a href='members.php?liste={$smarty.request.liste}'>Page de la liste</a>
- </td>
- </tr>
</table>
<div class='rubrique'>