X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Fcompiler.checkpasswd.php;h=d3f26b39424c3bdcc0747abc422e56c92ade2296;hb=refs%2Fheads%2Fcore%2Fmaster;hp=5c10a2affc8f657b0c454c446074bf64e58e67df;hpb=afada5eb6cf23005f775fbab0d421c27393172f1;p=platal.git diff --git a/plugins/compiler.checkpasswd.php b/plugins/compiler.checkpasswd.php index 5c10a2a..d3f26b3 100644 --- a/plugins/compiler.checkpasswd.php +++ b/plugins/compiler.checkpasswd.php @@ -1,6 +1,6 @@ _parse_attrs($tag_attrs)); if (!isset($width)) { @@ -32,15 +31,17 @@ function smarty_compiler_checkpasswd($tag_attrs, &$compiler) if (!isset($submit)) { $submit = "'submitn'"; } + if (!isset($text)) { + $text = "'Changer'"; + } - return '?> - + return '?>
@@ -53,6 +54,6 @@ function smarty_compiler_checkpasswd($tag_attrs, &$compiler)