From: x2003bruneau Date: Mon, 15 Jan 2007 13:50:27 +0000 (+0000) Subject: Allow access to list trombi on xnet X-Git-Tag: xorg/0.9.13~130 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=323e53dc4e0b4d0a65182b179fd27880de0c3ff7;p=platal.git Allow access to list trombi on xnet git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1341 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/xnetlists.php b/modules/xnetlists.php index e81cf52..3125e08 100644 --- a/modules/xnetlists.php +++ b/modules/xnetlists.php @@ -32,6 +32,7 @@ class XnetListsModule extends ListsModule '%grp/lists/create' => $this->make_hook('create', AUTH_MDP), '%grp/lists/members' => $this->make_hook('members', AUTH_COOKIE), + '%grp/lists/trombi' => $this->make_hook('trombi', AUTH_COOKIE), '%grp/lists/archives' => $this->make_hook('archives', AUTH_COOKIE), '%grp/lists/moderate' => $this->make_hook('moderate', AUTH_MDP), diff --git a/templates/lists/header_listes.tpl b/templates/lists/header_listes.tpl index 80c947b..03a5fb0 100644 --- a/templates/lists/header_listes.tpl +++ b/templates/lists/header_listes.tpl @@ -34,13 +34,11 @@ {else} [liste des membres] {/if} - {if !$it_is_xnet} {if $on neq trombi} [trombinoscope] {else} [trombinoscope] {/if} - {/if} {if $on neq archives} [archives] {else}