From 6f84e151da62e6c48392658e0246508bea9e950e Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Mon, 6 Oct 2008 17:18:56 +0200 Subject: [PATCH] Change the text of the submit button when the password is not valid. Signed-off-by: Florent Bruneau Conflicts: htdocs/javascript/xorg.js templates/googleapps/index.tpl templates/platal/acces_smtp.tpl Signed-off-by: Florent Bruneau --- plugins/compiler.checkpasswd.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/compiler.checkpasswd.php b/plugins/compiler.checkpasswd.php index 2ad19ff..b03cc91 100644 --- a/plugins/compiler.checkpasswd.php +++ b/plugins/compiler.checkpasswd.php @@ -31,15 +31,18 @@ function smarty_compiler_checkpasswd($tag_attrs, &$compiler) if (!isset($submit)) { $submit = "'submitn'"; } + if (!isset($text)) { + $text = "'Changer'"; + } return '?>
-- 2.1.4