From: Olivier Le Floch Date: Thu, 5 Jun 2008 00:13:23 +0000 (+0200) Subject: Enable clicking on text to select messages in the mailing list moderation page X-Git-Tag: core/1.0.0~139 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=1d08054d724a64a6a3d136bd61348e3a8615b46a;p=platal.git Enable clicking on text to select messages in the mailing list moderation page It's too bad scripts are inlined, this really makes for crappy code, I think. --- diff --git a/templates/lists/moderate.tpl b/templates/lists/moderate.tpl index e2e6ebf..7b25dcc 100644 --- a/templates/lists/moderate.tpl +++ b/templates/lists/moderate.tpl @@ -110,18 +110,18 @@ function toggleAll() { {foreach from=$mails item=m name=mail} {if $m.fromx} - + - + De :
Sujet : - + {$m.sender}
{$m.subj|hdc|smarty:nodefaults} - + le {$m.stamp|date_format:"%x"} à {$m.stamp|date_format:"%X"}
{$m.size} octets
@@ -152,18 +152,18 @@ function toggleAll() { {foreach from=$mails item=m name=mail} {if !$m.fromx} - + - + De :
Sujet : - + {$m.sender}
{$m.subj|hdc|smarty:nodefaults} - + le {$m.stamp|date_format:"%x"} à {$m.stamp|date_format:"%X"}
{$m.size} octets
@@ -180,6 +180,24 @@ function toggleAll() { {/if} + +

Utilise ces boutons pour appliquer une action à tous les mails sélectionnés.