[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/layouts/vlayout/modules/Users/ -> ForgotPassword.tpl (source)

   1  <!--/* +********************************************************************************

   2   * The contents of this file are subject to the vtiger CRM Public License Version 1.0

   3   * ("License"); You may not use this file except in compliance with the License

   4   * The Original Code is:  vtiger CRM Open Source

   5   * The Initial Developer of the Original Code is vtiger.

   6   * Portions created by vtiger are Copyright (C) vtiger.

   7   * All Rights Reserved.

   8   * ******************************************************************************* */-->
   9  
  10  <!DOCTYPE html>
  11  <html>
  12      <head>
  13          <style type="text/css">
  14              body{
  15                 font-family: Tahoma, "Trebuchet MS","Lucida Grande",Verdana !important;
  16                  background: #F5FAEE !important;/*#f1f6e8;*/
  17                  color : #555 !important;
  18                  font-size: 85% !important;
  19                  height: 98% !important;
  20              }
  21              hr{
  22                  border: 1px solid #ddd;
  23                  margin: 13px 0;
  24              }
  25              #container{

  26                  min-width:280px;
  27                  width:50%;
  28                  margin-top:2%;
  29              }
  30              #content{

  31                  padding:8px 20px;
  32                  border:1px solid #ddd;
  33                  background:#fff;
  34                  border-radius:5px;
  35              }
  36              #footer{

  37                  float:right;
  38              }
  39              #footer p{

  40                  text-align:right;
  41                  margin-right:20px;
  42              }
  43              .button-container a{
  44                  text-decoration: none;
  45              }
  46              .button-container{
  47                  float: right;
  48              }
  49              .button-container .btn{
  50                  margin-left: 15px;
  51                  min-width: 100px;
  52                  font-weight: bold;
  53              }
  54              .logo{
  55                  padding: 15px 0 ;
  56              }
  57          </style>
  58          <script language='JavaScript'>
  59  			function checkPassword () {
  60                  var password = document.getElementById('password').value;
  61                  var confirmPassword = document.getElementById('confirmPassword').value;
  62                  if(password == '' && confirmPassword == ''){
  63                      alert('Please enter new Password');
  64                      return false;
  65                  } else if(password != confirmPassword) {
  66                      alert('Password and Confirm Password should be same');
  67                      return false;
  68                  }else{
  69                      return true;
  70                  }
  71              }
  72          </script>
  73      </head>
  74      <body>
  75          <div id="container">
  76              <div class="logo">
  77                  <img  src="{$LOGOURL}" alt="{$TITLE}" style="height: 4em;width: 12em;"><br><br><br>
  78              </div>
  79              <div>
  80                              {if $LINK_EXPIRED neq 'true'}   
  81                  <div id="content">
  82                      <span><b>{vtranslate('LBL_CHANGE_PASSWORD',$MODULE)}</b></span>
  83                      <hr>
  84                      <div id="changePasswordBlock" align='left'>
  85                          <form name="changePassword" id="changePassword" action="{$TRACKURL}" method="post" accept-charset="utf-8">
  86                              <input type="hidden" name="username" value="{$USERNAME}">
  87                                                          <input type="hidden" name="shorturl_id" value="{$SHORTURL_ID}"> 
  88                                                          <input type="hidden" name="secret_hash" value="{$SECRET_HASH}"> 
  89                              <table align='center'>
  90                                  <tr>
  91                                      <td><label class="control-label" for="password">{vtranslate('LBL_NEW_PASSWORD',$MODULE)}</label></td>
  92                                      <td><input type="password" id="password" name="password" placeholder="New Password"></td>
  93                                  </tr>
  94                                  <tr><td></td></tr>
  95                                  <tr>
  96                                      <td><label class="control-label" for="confirm_password">{vtranslate('LBL_CONFIRM_PASSWORD',$MODULE)}</label></td>
  97                                      <td><input type="password" id="confirmPassword" name="confirmPassword"  placeholder="Confirm Password"></td>
  98                                  </tr>
  99                                  <tr><td></td></tr>
 100                                  <tr>
 101                                      <td></td>
 102                                      <td><input type="submit" id="btn" value="Submit" onclick="return checkPassword();"/></td>
 103                                  </tr>
 104                              </table>
 105                          </form>
 106                      </div>
 107                      {else} 
 108                                              <div id="content"> 
 109                                                  {vtranslate('LBL_PASSWORD_LINK_EXPIRED_OR_INVALID_PASSWORD', $MODULE)} 
 110                                              </div>
 111                                           {/if}
 112                  </div>
 113              </div>
 114              
 115          </div>
 116      </div>
 117  </div>
 118  </body>
 119  </html>


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1