From 1d08054d724a64a6a3d136bd61348e3a8615b46a Mon Sep 17 00:00:00 2001 From: Olivier Le Floch Date: Thu, 5 Jun 2008 02:13:23 +0200 Subject: [PATCH] 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. --- templates/lists/moderate.tpl | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) 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.
-- 2.1.4