From: <sam...@us...> - 2006-04-30 01:26:16
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18075/templates Modified Files: tiki-admin-include-login.tpl tiki-register.tpl Log Message: [ADD] force lowercase username, max and min lenght username options added to admin login panel Index: tiki-admin-include-login.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-admin-include-login.tpl,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- tiki-admin-include-login.tpl 22 Jan 2006 21:45:09 -0000 1.48 +++ tiki-admin-include-login.tpl 30 Apr 2006 00:44:23 -0000 1.49 @@ -98,6 +98,9 @@ <tr><td class="form">{tr}Maximum mail archive size (messages, 0=unlimited){/tr}:</td><td><input type="text" name="messu_archive_size" value="{$messu_archive_size|escape}" /></td></tr> <tr><td class="form">{tr}Maximum sent box size (messages, 0=unlimited){/tr}:</td><td><input type="text" name="messu_sent_size" value="{$messu_sent_size|escape}" /></td></tr> +<tr><td class="form">{tr}Minimum username length{/tr}:</td><td><input type="text" name="min_username_length" value="{$min_username_length|escape}" /></td></tr> +<tr><td class="form">{tr}Maximum username length{/tr}:</td><td><input type="text" name="max_username_length" value="{$max_username_length|escape}" /></td></tr> +<tr><td class="form">{tr}Force lowercase username{/tr}:</td><td><input type="checkbox" name="lowercase_username" {if $lowercase_username eq 'y'}checked="checked"{/if}/></td></tr> <tr><td class="form">{tr}Use challenge/response authentication{/tr}:</td><td><input type="checkbox" name="feature_challenge" {if $feature_challenge eq 'y'}checked="checked"{/if}/></td></tr> <tr><td class="form">{tr}Force to use chars and nums in passwords{/tr}:</td><td><input type="checkbox" name="pass_chr_num" {if $pass_chr_num eq 'y'}checked="checked"{/if}/></td></tr> <tr><td class="form">{tr}Minimum password length{/tr}:</td><td><input type="text" name="min_pass_length" value="{$min_pass_length|escape}" /></td></tr> Index: tiki-register.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-register.tpl,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- tiki-register.tpl 6 Jan 2006 15:33:41 -0000 1.22 +++ tiki-register.tpl 30 Apr 2006 00:44:23 -0000 1.23 @@ -29,7 +29,7 @@ <tr><td class="formcolor">{tr}Username{/tr}:</td><td class="formcolor"> <input style="float:left" type="text" name="name" id="name" {if $feature_ajax eq 'y'}onKeyUp="return check_name()"{/if}/> -{if $feature_ajax eq'y'}<div id="checkfield" style="float:left"></div>{/if}</td></tr> +{if $feature_ajax eq'y'}<div id="checkfield" style="float:left"></div>{/if} {if $lowercase_username eq 'y'}({tr}lowercase only{/tr}){/if}</td></tr> {if $useRegisterPasscode eq 'y'} |