From a58c17dcbf9de9228e94c85af062d23fa7de13ff Mon Sep 17 00:00:00 2001
From: Cerdic <cedric@yterium.com>
Date: Wed, 13 Dec 2006 22:40:21 +0000
Subject: [PATCH] "on pourrait rendre ces liens actifs, mais bon... 'tout
 activer' c'est une fausse bonne idee (ou une vrai pour faire planter un site
 en fait) 'tout desactiver', pourquoi pas ..."

---
 ecrire/exec/admin_plugin.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ecrire/exec/admin_plugin.php b/ecrire/exec/admin_plugin.php
index 3d2bd7e121..4ea3ff538b 100644
--- a/ecrire/exec/admin_plugin.php
+++ b/ecrire/exec/admin_plugin.php
@@ -106,6 +106,8 @@ EOF;
 	debut_boite_info();
 	echo _T('info_gauche_admin_tech');
 	fin_boite_info();
+	/*echo "<a href='#' onclick=\"$('input.selection').attr('checked','checked');\">"._L("tout_activer")."</a><br/>";
+	echo "<a href='#' onclick=\"$('input.selection').attr('checked','');\">"._L("tout_desactiver")."</a><br/>";*/
 
 	debut_droite();
 
@@ -286,7 +288,7 @@ function ligne_plug($plug_file, $actif, $id){
 	if (!$erreur){
 		$s .= "<input type='checkbox' name='statusplug_$plug_file' value='O' id='label_$id_input'";
 		$s .= $actif?" checked='checked'":"";
-		$s .= " onclick='verifchange.apply(this,[\"$plug_file\"])' /> <label for='label_$id_input' style='display:none'>"._T('activer_plugin')."</label>";
+		$s .= " onclick='verifchange.apply(this,[\"$plug_file\"])' class='selection' /> <label for='label_$id_input' style='display:none'>"._T('activer_plugin')."</label>";
 	}
 	$id_input++;
 
-- 
GitLab