From 2cb1563f63386b35a69e460051aa9b4a2851d104 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Wed, 30 May 2012 07:30:44 -0400 Subject: [PATCH] - Added (clickable) placeholders to client messaging function. - Added check so that the client password isn't inserted into the message (for security reasons). --- interface/web/sites/templates/web_domain_stats.htm | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/interface/web/sites/templates/web_domain_stats.htm b/interface/web/sites/templates/web_domain_stats.htm index 1c21657..7252a77 100644 --- a/interface/web/sites/templates/web_domain_stats.htm +++ b/interface/web/sites/templates/web_domain_stats.htm @@ -6,8 +6,23 @@ <div class="pnl_formsarea"> <fieldset class="inlineLabels"> <div class="ctrlHolder"> - <label for="redirect_path">{tmpl_var name='stats_password_txt'}</label> - <input name="stats_password" id="stats_password" value="{tmpl_var name='stats_password'}" size="30" maxlength="255" type="password" class="textInput" /> + <p>{tmpl_var name='stats_user_txt'}: admin</p> + </div> + <div class="ctrlHolder"> + <label for="stats_password">{tmpl_var name='stats_password_txt'}</label> + <input name="stats_password" id="stats_password" value="{tmpl_var name='stats_password'}" size="15" maxlength="100" type="password" class="textInput" style="width:100px;" onkeyup="checkPassMatch('stats_password','repeat_password');" /> <a href="javascript:void(0);" onClick="generatePassword('stats_password');">{tmpl_var name='generate_password_txt'}</a> + </div> + <div class="ctrlHolder"> + <label for="repeat_password">{tmpl_var name='repeat_password_txt'}</label> + <input name="repeat_password" id="repeat_password" value="" size="15" maxlength="100" type="password" class="textInput" style="width:100px;" onkeyup="checkPassMatch('stats_password','repeat_password');" /> + </div> + <div id="confirmpasswordError" style="display:none;" class="confirmpassworderror">{tmpl_var name='password_mismatch_txt'}</div> + <div id="confirmpasswordOK" style="display:none;" class="confirmpasswordok">{tmpl_var name='password_match_txt'}</div> + <div class="ctrlHolder"> + <label for="stats_type">{tmpl_var name='stats_type_txt'}</label> + <select name="stats_type" id="stats_type" class="selectInput" > + {tmpl_var name='stats_type'} + </select> </div> </fieldset> -- Gitblit v1.9.1