From: Florent Bruneau Date: Mon, 6 Oct 2008 15:18:56 +0000 (+0200) Subject: Change the text of the submit button when the password is not valid. X-Git-Tag: core/1.0.0~16 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6f84e151da62e6c48392658e0246508bea9e950e;p=platal.git 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 --- 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 '?>