From c27941663bf568a0b49662a38e43a4e972bad47f Mon Sep 17 00:00:00 2001 From: cfoe <cfoe@ispconfig3> Date: Tue, 7 Aug 2012 06:29:14 +0000 Subject: [PATCH] added support for extended generatePassword function --- .../web/themes/default-v2/templates/admin/remote_user_edit.htm | 2 +- .../themes/default-v2/templates/client/client_edit_address.htm | 2 +- .../default-v2/templates/client/reseller_edit_address.htm | 2 +- .../themes/default-v2/templates/mail/mail_mailinglist_edit.htm | 2 +- .../themes/default-v2/templates/mail/mail_user_mailbox_edit.htm | 2 +- .../default-v2/templates/mailuser/mail_user_password_edit.htm | 2 +- .../web/themes/default-v2/templates/sites/ftp_user_edit.htm | 2 +- .../web/themes/default-v2/templates/sites/shell_user_edit.htm | 2 +- .../themes/default-v2/templates/sites/web_folder_user_edit.htm | 2 +- .../web/themes/default-v2/templates/sites/webdav_user_edit.htm | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/interface/web/themes/default-v2/templates/admin/remote_user_edit.htm b/interface/web/themes/default-v2/templates/admin/remote_user_edit.htm index 8bdb61f731..1b7d22a5c4 100644 --- a/interface/web/themes/default-v2/templates/admin/remote_user_edit.htm +++ b/interface/web/themes/default-v2/templates/admin/remote_user_edit.htm @@ -13,7 +13,7 @@ <div class="ctrlHolder"> <label for="remote_password">{tmpl_var name='password_txt'}</label> - <input name="remote_password" id="password" value="{tmpl_var name='remote_password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> + <input name="remote_password" id="password" value="{tmpl_var name='remote_password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> <div class="ctrlHolder"> <p class="label">{tmpl_var name='password_strength_txt'}</p> diff --git a/interface/web/themes/default-v2/templates/client/client_edit_address.htm b/interface/web/themes/default-v2/templates/client/client_edit_address.htm index 8ca7bce5a1..076f4b021f 100644 --- a/interface/web/themes/default-v2/templates/client/client_edit_address.htm +++ b/interface/web/themes/default-v2/templates/client/client_edit_address.htm @@ -23,7 +23,7 @@ </div> <div class="ctrlHolder"> <label for="password">{tmpl_var name='password_txt'}</label> - <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> + <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> <div class="ctrlHolder"> <p class="label">{tmpl_var name='password_strength_txt'}</p> diff --git a/interface/web/themes/default-v2/templates/client/reseller_edit_address.htm b/interface/web/themes/default-v2/templates/client/reseller_edit_address.htm index 5ab15353ab..d58ee93b7e 100644 --- a/interface/web/themes/default-v2/templates/client/reseller_edit_address.htm +++ b/interface/web/themes/default-v2/templates/client/reseller_edit_address.htm @@ -23,7 +23,7 @@ </div> <div class="ctrlHolder"> <label for="password">{tmpl_var name='password_txt'}</label> - <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> + <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> <div class="ctrlHolder"> <p class="label">{tmpl_var name='password_strength_txt'}</p> diff --git a/interface/web/themes/default-v2/templates/mail/mail_mailinglist_edit.htm b/interface/web/themes/default-v2/templates/mail/mail_mailinglist_edit.htm index e5b335c699..04964c70e2 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_mailinglist_edit.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_mailinglist_edit.htm @@ -60,7 +60,7 @@ </tmpl_if> <div class="ctrlHolder"> <label for="password">{tmpl_var name='password_txt'}</label> - <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> + <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> <div class="ctrlHolder"> <p class="label">{tmpl_var name='password_strength_txt'}</p> diff --git a/interface/web/themes/default-v2/templates/mail/mail_user_mailbox_edit.htm b/interface/web/themes/default-v2/templates/mail/mail_user_mailbox_edit.htm index faba29d47d..bb1dd37ba0 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_user_mailbox_edit.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_user_mailbox_edit.htm @@ -23,7 +23,7 @@ </div></tmpl_if> <div class="ctrlHolder"> <label for="password">{tmpl_var name='password_txt'}</label> - <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> + <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> <div class="ctrlHolder"> <p class="label">{tmpl_var name='password_strength_txt'}</p> diff --git a/interface/web/themes/default-v2/templates/mailuser/mail_user_password_edit.htm b/interface/web/themes/default-v2/templates/mailuser/mail_user_password_edit.htm index 2b91842c80..ed49c1654b 100644 --- a/interface/web/themes/default-v2/templates/mailuser/mail_user_password_edit.htm +++ b/interface/web/themes/default-v2/templates/mailuser/mail_user_password_edit.htm @@ -11,7 +11,7 @@ </div> <div class="ctrlHolder"> <label for="password">{tmpl_var name='password_txt'}</label> - <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> + <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> <div class="ctrlHolder"> <p class="label">{tmpl_var name='password_strength_txt'}</p> diff --git a/interface/web/themes/default-v2/templates/sites/ftp_user_edit.htm b/interface/web/themes/default-v2/templates/sites/ftp_user_edit.htm index 25ea62953f..cf900015c9 100644 --- a/interface/web/themes/default-v2/templates/sites/ftp_user_edit.htm +++ b/interface/web/themes/default-v2/templates/sites/ftp_user_edit.htm @@ -18,7 +18,7 @@ </div> <div class="ctrlHolder"> <label for="password">{tmpl_var name='password_txt'}</label> - <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> + <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> <div class="ctrlHolder"> <p class="label">{tmpl_var name='password_strength_txt'}</p> diff --git a/interface/web/themes/default-v2/templates/sites/shell_user_edit.htm b/interface/web/themes/default-v2/templates/sites/shell_user_edit.htm index 554dbb9933..3cb5d38424 100644 --- a/interface/web/themes/default-v2/templates/sites/shell_user_edit.htm +++ b/interface/web/themes/default-v2/templates/sites/shell_user_edit.htm @@ -26,7 +26,7 @@ </div> <div class="ctrlHolder"> <label for="password">{tmpl_var name='password_txt'}</label> - <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');"/> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> + <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');"/> <a href="javascript:void(0);" onClick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> <div class="ctrlHolder"> <p class="label">{tmpl_var name='password_strength_txt'}</p> diff --git a/interface/web/themes/default-v2/templates/sites/web_folder_user_edit.htm b/interface/web/themes/default-v2/templates/sites/web_folder_user_edit.htm index 1e9cae1a0b..63376d8ed8 100644 --- a/interface/web/themes/default-v2/templates/sites/web_folder_user_edit.htm +++ b/interface/web/themes/default-v2/templates/sites/web_folder_user_edit.htm @@ -17,7 +17,7 @@ </div> <div class="ctrlHolder"> <label for="password">{tmpl_var name='password_txt'}</label> - <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> + <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> <div class="ctrlHolder"> <p class="label">{tmpl_var name='password_strength_txt'}</p> diff --git a/interface/web/themes/default-v2/templates/sites/webdav_user_edit.htm b/interface/web/themes/default-v2/templates/sites/webdav_user_edit.htm index 7a110c7468..8dd719dca1 100644 --- a/interface/web/themes/default-v2/templates/sites/webdav_user_edit.htm +++ b/interface/web/themes/default-v2/templates/sites/webdav_user_edit.htm @@ -26,7 +26,7 @@ </div> <div class="ctrlHolder"> <label for="password">{tmpl_var name='password_txt'}</label> - <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');"/> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> + <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');"/> <a href="javascript:void(0);" onClick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> <div class="ctrlHolder"> <p class="label">{tmpl_var name='password_strength_txt'}</p> -- GitLab