Location: PHPKode > projects > MembersGear > membersgear/templates/admin_messages.tpl
{$ADMIN_HEADER}

<div id="content" class="setdiv">
{if $msg neq ''}
            <div {if $err eq 'true'}class="errormsg" {else} class="succmsg" {/if} style="width:300px">{$msg}</div>
           {/if} 
    <div id="full-contentdiv">
          <div class="righttop">
                <h2><center>
                    Configure Messages</center></h2>
            </div>
         <div class="whole-page clear">
           
               <!-- Place your content here -->
                   <form method="post" name="errmessages">
                     <div class="formformat">   
                             <table width="100%" cellpadding="0" cellspacing="0">    
                              <tbody>
                                            <tr>
                                                <td valign="top" style="padding-top: 5px;" colspan="2">

                                                    <p style="text-align: center"><b>Configuration Error Messages</b>   
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>Locked Account <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="locked_account" id="locked_account" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_LOCKED_ACCOUNT}</textarea>

                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>Banned to View this site <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="baned_system" id="baned_system" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_BANED_SYSTEM}</textarea>

                                                </td>
                                            </tr>
                                             <tr>
                                                <td class="right-side-text" width="30%"><label>Account not Verified <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="account_not_verified" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_ACCOUNT_NOT_VARIFIED}</textarea>
                                                </td>

                                            </tr>
                                               <tr>
                                                <td class="right-side-text" width="30%"><label>User not Logged In <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="not_login" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_USER_NOT_LOGEDIN}</textarea>
                                                </td>

                                            </tr>
                                             <tr>
                                                <td class="right-side-text" width="30%"><label>Expired Account <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="expired_account" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%  ;" >{$MESSAGE_EXPIRED_ACCOUNT}</textarea>
                                                </td>
                                            </tr>

                                             <tr>
                                                <td class="right-side-text" width="30%"><label>Invalid access of Product <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="invalid_group" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_INVALID_PRODUCT}</textarea>
                                                </td>
                                            </tr>
                                                    <tr>

                                                <td class="right-side-text" width="30%"><label>No such Username in database <label class="star">*</label><label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="no_such_user" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_NO_SUCH_USER}</textarea>
                                                </td>
                                            </tr>
                                             <tr>

                                                <td class="right-side-text" width="30%"><label>Username or Password doesn't match <label class="star">*</label><label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="user_name_password_not_match" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_USERNAME_PASSWORD_DOES_NOT_MATCH}</textarea>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>Invalid Password <label class="star">*</label></label></td>

                                                <td class="left-side-text">
                                                    <textarea  name="wrong_pass" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_WRONG_PASSWORD}</textarea>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>Email not Verified <label class="star">*</label></label></td>
                                                <td class="left-side-text">

                                                    <textarea  name="email_not_verified" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_EMAIL_NOT_VARIFIED}</textarea>
                                                </td>
                                            </tr>
                                            
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>Account Locked or not Approved <label class="star">*</label></label></td>
                                                <td class="left-side-text">

                                                    <textarea  name="account_not_varified_approved" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_ACCOUNT_NOT_VARIFIED_APPOVERED}</textarea>
                                                </td>
                                            </tr>
                                            
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>Admin has no permission <label class="star">*</label></label></td>
                                                <td class="left-side-text">

                                                    <textarea  name="admin_no_per" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_ADMIN_NO_PERMISSION}</textarea>
                                                </td>
                                            </tr>
                                            
                                             <tr>
                                                <td class="right-side-text" width="30%"><label>System Error message <label class="star">*</label></label></td>
                                                <td class="left-side-text">

                                                    <textarea  name="system_error" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_SYSTEM_ERROR}</textarea>
                                                </td>
                                            </tr>
                                            
                                             <tr>
                                                <td valign="top" colspan="2"><hr></td>
                                            </tr>
                                             <tr>
                                                <td valign="top" style="padding-top: 5px;" colspan="2">

                                                    <p style="text-align: center"><b>Configuration Signup Messages</b>   
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>No Username <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="no_username1" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_NO_USERNAME_NORMAL}</textarea>

                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>User Exists <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="user_exists" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%; " >{$MESSAGE_USER_EXIST}</textarea>
                                                </td>

                                            </tr> 
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>No Password <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="password" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_NO_PASSWORD_NORMAL}</textarea>
                                                </td>
                                            </tr>
                                            <tr>

                                                <td class="right-side-text" width="30%"><label>Passwords do not match <label class="star">*</label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="passwords" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_PASSWORD_NOT_MATCH}</textarea>
                                                </td>
                                            </tr> 
                                            <tr>
                                               <td class="right-side-text" width="30%"><label>Duplicate Email <label class="star">*</label></label></td>
                                                <td class="left-side-text">

                                                    <textarea  name="err_duplicate_email" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_DUPLICATE_EMAIL}</textarea>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>Invalid Security Code <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="err_invalid_security_code" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_INVALID_SECURITY_CODE}</textarea>

                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>Product Signup Thank You <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="product_signup_thank_you" id="product_signup_thank_you" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_PRODUCT_SIGNUP_THANK_YOU}</textarea>

                                                </td>
                                            </tr>
                                            <!--
                                            <tr>
                                                <td class="right-side-text" width="30%"><label>Site Not Approved <label class="star">*</label></label></td>
                                                <td class="left-side-text">
                                                    <textarea  name="site_not_approved" rows="4"  cols="20"  class="inputs_error_textbox" style="border-color: rgb(204, 204, 204); border-width: 1px; background: rgb(255, 255, 255) none repeat scroll 0%;  width: 98%;  " >{$MESSAGE_SITE_NOT_APPROVED}</textarea>

                                                </td>
                                            </tr>
                                            -->
                                            <tr>
                                                <td class="buttontd">&nbsp;</td>
                                                <td class="buttontd">
                                                    <input  type="submit" value="Update Messages"  class="btncss" align="middle">
                                                     <input  class="btncss" type="button" name="btnBack" value="Cancel" onclick="location.href='./index.php';"></td>
                                                </td>
                                            </tr>
                                    </tbody>
                         </table>
         </div>   
                 </form>
         

              <script language="JavaScript" type="text/javascript">
              var frmvalidator  = new Validator("errmessages");
              frmvalidator.EnableMsgsTogether();

              
              frmvalidator.addValidation("locked_account","req","Please enter value of error message Locked Account.");
              frmvalidator.addValidation("account_not_verified","req","Please value of error message Account Not Verified."); 
              frmvalidator.addValidation("expired_account","req","Please enter value of error message Expired Account.");
            
              frmvalidator.addValidation("no_such_user","req","Please enter value of error message No Such User In Database.");
              frmvalidator.addValidation("user_name_password_not_match","req","Please enter value of error message Username Password Does Not Match.");  
              frmvalidator.addValidation("wrong_pass","req","Please enter value of error message Invalid Password..");   
              frmvalidator.addValidation("email_not_verified","req","Please enter value of error message Email not Verified.");
              frmvalidator.addValidation("account_not_varified_approved","req","Please enter value of error message account not Verified or approved.");
            
              frmvalidator.addValidation("admin_no_per","req","Please enter value of error message Admin has no permission."); 
             
              frmvalidator.addValidation("system_error","req","Please enter value of error message System error."); 
              frmvalidator.addValidation("user_exists","req","Please enter value of error message User Exist.");
              frmvalidator.addValidation("password","req","Please enter value of error message No Password General."); 
              frmvalidator.addValidation("passwords","req","Please enter value of error message Password Does Not Match.");   
             
              frmvalidator.addValidation("err_duplicate_email","req","Please enter value of error message Duplicate Email.");                                                                                     
              frmvalidator.addValidation("err_invalid_security_code","req","Please enter value of error message Invalid Security Code.");                                                                                     
              frmvalidator.addValidation("product_signup_thank_you","req","Please enter value of product signup thank you.");                                                                                     
              
              
            </script>
       

    </div>
   
    
</div>
</div>
{$ADMIN_FOOTER}
Return current item: MembersGear