Exemplo n.º 1
0
              <th class='w-100px'><?php 
echo $lang->user->password;
?>
</th>
              <td><?php 
echo html::password('password1', '', "class='text-box'");
?>
</td>
            </tr>  
            <tr>
              <th><?php 
echo $lang->user->password2;
?>
</th>
              <td><?php 
echo html::password('password2', '', "class='text-box'");
?>
</td>
            </tr>
            <tr>
              <th></th>
              <td><?php 
echo html::submitButton($lang->user->submit, 'btn btn-primary btn-block') . html::hidden('reset', $reset);
?>
</td>
            </tr>
          </table>
        </form>
      </div>
    </div>  
  </div>
Exemplo n.º 2
0
</caption>
  <tr>
    <th class='rowhead'><?php 
echo $lang->user->account;
?>
</th>
	<td><?php 
echo html::input('account', '', "class='text-3'");
?>
</td>
  </tr>
  <tr>
    <th class="rowhead"><?php 
echo $lang->user->password;
?>
</th>
    <td><?php 
echo html::password('password', '', "class='text-3'");
?>
</td>
  </tr>  
  <tr>
    <th><td colspan="2" class="a-center"><?php 
echo html::submitButton() . html::hidden('sn', $sn);
?>
</td></th>
  </tr>
</table>
</form>
<?php 
include '../../common/view/footer.html.php';
Exemplo n.º 3
0
      <th class='rowhead'><?php 
echo $lang->user->password;
?>
</th>
      <td><?php 
echo html::password('password1', '', "class='text-3' autocomplete='off'");
?>
</td>
    </tr>  
    <tr>
      <th class='rowhead'><?php 
echo $lang->user->password2;
?>
</th>
      <td><?php 
echo html::password('password2', '', "class='text-3' autocomplete='off'");
?>
</td>
    </tr>  
     <tr>
      <th class='rowhead'><?php 
echo $lang->user->skype;
?>
</th>
      <td><?php 
echo html::input('skype', $user->skype, "class='text-3'");
?>
</td>
    </tr>  
    <tr>
      <th class='rowhead'><?php 
Exemplo n.º 4
0
    <th class="rowhead"><?php 
echo $lang->user->password;
?>
</th>
    <td><?php 
echo html::password('password1', '', "class='text-3'") . '<span class="star">*</span>' . $lang->admin->register->lblPasswd;
?>
</td>
  </tr>  
  <tr>
    <th class='rowhead'><?php 
echo $lang->user->password2;
?>
</td>
    <td><?php 
echo html::password('password2', '', "class='text-3'") . '<span class="star">*</span>';
?>
</td>
  </tr> 
  <tr>
    <th>
	  <td colspan="2">
        <?php 
echo html::submitButton($lang->admin->register->submit) . html::hidden('sn', $sn);
echo "<span>" . sprintf($lang->admin->register->bind, html::a(inlink('bind'), $lang->admin->register->click)) . "</span>";
?>
	  </td>
    </th>
  </tr>
</table>
</form>
Exemplo n.º 5
0
?>
          </td>
        </tr>
        <tr>
          <th class='w-200px'>smtp服务器端口</th>
          <td colspan='3'>
            <?php 
echo html::input('smtpport', $this->config->crontab->smtpport, "");
?>
          </td>
        </tr>
        <tr>
          <th class='w-200px'>smtp密码</th>
          <td colspan='3'>
            <?php 
echo html::password('smtppasswd', $this->config->crontab->smtppasswd, "");
?>
          </td>
        </tr>
        <tr>
          <th></th>
          <td colspan='2'>
            <?php 
echo html::a($this->createLink('guarder', 'validate', "url=&target=modal&account=&type=okFile"), $lang->save, "data-toggle='modal' class='hidden captchaModal'");
?>
            <?php 
echo html::submitButton();
?>
          </td>
        </tr>
      </table>
Exemplo n.º 6
0
?>
<div data-role="header" data-position="fixed">
  <h1 style='margin-left:0px;margin-right:0px'><?php 
echo $app->company->name;
?>
</h1>
</div>
<div data-role="content" >
<form method='post' target='hiddenwin'>
  <table align='center'> 
    <tr><td><?php 
echo html::input('account');
?>
</td></tr>  
    <tr><td><?php 
echo html::password('password');
?>
</td></tr>
    <tr><td><?php 
echo html::select('lang', $config->langs, $this->app->getClientLang(), 'class=select-2 onchange=selectLang(this.value)');
?>
</td></tr>
    <tr>
      <td align='center'>
      <?php 
echo html::submitButton($lang->login, "data-inline='true' data-theme='b'");
if ($app->company->guest) {
    echo html::linkButton($lang->user->asGuest, $this->createLink($config->default->module), '', "data-inline='true'");
}
echo html::hidden('referer', $referer);
?>
Exemplo n.º 7
0
?>
</td>
      </tr>
    </table>
    <table align='center' class='table table-form'>
      <caption class='text-left text-muted'><?php 
echo $lang->user->verify;
?>
</caption>
      <tr>
        <th class='w-120px'><?php 
echo $lang->user->verifyPassword;
?>
</th>
        <td>
          <div class="required required-wrapper"></div>
          <?php 
echo html::password('verifyPassword', '', "class='form-control' autocomplete='off' placeholder='{$lang->user->placeholder->verify}'");
?>
        </td>
      </tr>
      <tr><td colspan='2' class='text-center'><?php 
echo html::submitButton() . html::backButton();
?>
</td></tr>
    </table>
  </form>
</div>
<?php 
js::set('passwordStrengthList', $lang->user->passwordStrengthList);
include '../../common/view/footer.html.php';
Exemplo n.º 8
0
        <th class='w-p25'><?php 
echo $lang->ldap->bindDN;
?>
</th>
        <td class='w-p50'><?php 
echo html::input('ldapBindDN', $config->ldap->bindDN, "class='form-control'");
?>
</td>
      </tr>
      <tr>
        <th class='w-p25'><?php 
echo $lang->ldap->password;
?>
</th>
        <td class='w-p50'><?php 
echo html::password('ldapPassword', $config->ldap->bindPWD, "class='form-control'");
?>
</td>
      </tr>
      <tr>
        <td class='w-p25'></td>
        <td class="text-right">
          <label id='testRlt'></label>
          <button type='button'  onclick='javascript:onClickTest()' class='btn '>测试连接</button>
        </td>
      </tr>
      <tr>
        <th class='w-p25'><?php 
echo $lang->ldap->baseDN;
?>
</th>
Exemplo n.º 9
0
          <td>
            <div class='required required-wrapper'></div>
            <div class='input-group'>
              <label class='input-group-addon fix-border'><?php 
echo $lang->account;
?>
</label>
            <?php 
echo html::input('adminAccount', '', "class='form-control' placeholder='{$lang->entry->adminAccount}'");
?>
              <label class='input-group-addon fix-border'><?php 
echo $lang->password;
?>
</label>
            <?php 
echo html::password('adminPassword', '', "class='form-control' placeholder='{$lang->entry->adminPassword}'");
?>
            </div>
          </td>
          <td></td>
        </tr>
        <tr class='hide'>
          <th><?php 
echo $lang->entry->key;
?>
</th>
          <td><?php 
echo html::input('key', $key, "class='form-control'");
?>
</td>
          <td><span class="help-inline"><?php 
Exemplo n.º 10
0
    <th class='rowhead'><?php 
echo $lang->mail->username;
?>
</th>
    <td><?php 
echo html::input('username', $mailConfig->username, 'class=text-3');
?>
</td>
  </tr>
  <tr>
    <th class='rowhead'><?php 
echo $lang->mail->password;
?>
</th>
    <td><?php 
echo html::password('password', $mailConfig->password, 'class="text-3" autocomplete="off"');
?>
</td>
  </tr>
  <tr>
    <th class='rowhead'><?php 
echo $lang->mail->secure;
?>
</th>
    <td><?php 
echo html::radio('secure', $lang->mail->secureList, $mailConfig->secure);
?>
</td>
  </tr>
  <tr>
    <th class='rowhead'><?php 
Exemplo n.º 11
0
      </tr>
      <tr>
        <th><?php 
echo $lang->user->password;
?>
</th>
        <td><?php 
echo html::password('password1', '', "class='form-control' autocomplete='off'");
?>
</td>
        <th><?php 
echo $lang->user->password2;
?>
</th>
        <td><?php 
echo html::password('password2', '', "class='form-control' autocomplete='off'");
?>
</td>
      </tr>
      <tr>
        <th><?php 
echo $lang->user->commiter;
?>
</th>
        <td><?php 
echo html::input('commiter', $user->commiter, "class='form-control'");
?>
</td>
      </tr>
    </table>
    <table align='center' class='table table-form'>
Exemplo n.º 12
0
        <th class='rowhead'><?php 
echo $lang->repo->account;
?>
</th>
        <td><?php 
echo html::input('account', $repo->account, "class='form-control'");
?>
</td>
      </tr>
      <tr>
        <th class='rowhead'><?php 
echo $lang->repo->password;
?>
</th>
        <td><?php 
echo html::password('password', $repo->password, "class='form-control'");
?>
</td>
      </tr>
      <tr>
        <th class='rowhead'><?php 
echo $lang->repo->acl;
?>
</th>
        <td>
          <div class='input-group'>
            <span class='input-group-addon'><?php 
echo $lang->repo->group;
?>
</span>
            <?php 
Exemplo n.º 13
0
<div id='titlebar'>
  <div class='heading'>
    <strong><?php 
echo $lang->user->delete;
?>
</strong>
  </div>
</div>
<form class='form-condensed' method='post' target='hiddenwin' style='padding: 20px 5% 40px'>
  <table class='w-p100 table-form'>
    <tr>
      <th class='w-120px text-right'>
        <?php 
echo $lang->user->verifyPassword;
?>
      </th>
      <td>
        <div class="required required-wrapper"></div>
        <?php 
echo html::password('verifyPassword', '', "class='form-control disabled-ie-placeholder' placeholder='{$lang->user->placeholder->verify}'");
?>
      </td>
      <td class='w-100px'><?php 
echo html::submitButton($lang->delete);
?>
</td>
    </tr>
  </table>
</form>
<?php 
include '../../common/view/footer.lite.html.php';
Exemplo n.º 14
0
                <div class="forminput">
                    <?php 
echo html::text('user_login', array('attrs' => 'placeholder="' . __('Username') . '"'));
?>
                    <div class="toeErrorForField toe_<?php 
echo html::nameToClassId('user_login');
?>
"></div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="forminput">
                    <?php 
echo html::password('user_password', array('attrs' => 'placeholder="' . __('Password') . '"'));
?>
                    <div class="toeErrorForField toe_<?php 
echo html::nameToClassId('user_password');
?>
"></div>
                </div>
            </td>
        </tr>
		<tr>
			<td>
				<?php 
echo html::checkbox('remember', array('value' => 1, 'attrs' => 'id="remember"'));
?>
				<label for="remember"><?php 
lang::_e('Remember Me');
Exemplo n.º 15
0
/**
 * function that displays user add form
 */
function web_install_user_form()
{
    $form = new html();
    $form->formStart();
    $form->init(null, 'submit');
    $form->legend('Add User');
    $form->label('email', 'Enter email of user:'******'email');
    $form->label('pass1', 'Enter password');
    $form->password('pass1');
    $form->label('pass2', 'Retype password');
    $form->password('pass2');
    $form->submit('submit', 'Submit');
    $form->formEnd();
    echo $form->getStr();
}
Exemplo n.º 16
0
          <?php 
echo html::password('password1', '', "class='form-control'");
?>
          <div class='help-block'><?php 
echo $lang->admin->register->lblPasswd;
?>
</div>
        </td>
      </tr>  
      <tr>
        <th><?php 
echo $lang->user->password2;
?>
</th>
        <td><?php 
echo html::password('password2', '', "class='form-control'") . '<span class="star">*</span>';
?>
</td>
      </tr> 
      <tr>
        <th></th>
        <td colspan="2">
          <?php 
echo html::submitButton($lang->admin->register->submit) . html::hidden('sn', $sn);
?>
        </td>
      </tr>
    </table>
  </form>
</div>
<?php 
Exemplo n.º 17
0
    ?>
</span></td>
      </tr>
      <?php 
}
?>
      </tbody>
      <tfoot>
        <tr>
          <td colspan='9'>
          <div style='float:left'>
          <?php 
echo $lang->guarder->password;
?>
          <?php 
echo html::password('password', '', "placeholder='{$lang->guarder->passwordHolder}'");
?>
          <?php 
echo html::a('javascript:;', $lang->delete, "class='btn btn-primary submit'");
?>
          <?php 
echo html::hidden('users', implode(',', array_keys($userHistory)));
?>
          </div>
          </td>
        </tr>
      </tfoot>
    </table>
  </form>
</div>
<?php 
Exemplo n.º 18
0
        </tr>  
        <tr>
          <th><?php echo $lang->user->zipcode;?></th>
          <td><?php echo html::input('zipcode', $user->zipcode, "class='form-control'");?></td>
          <td></td>
        </tr>
      </table>
    </fieldset>
    <fieldset>
      <legend><?php echo $lang->user->verify;?></legend>
      <table class='table table-form'>
        <tr>
          <th class='w-120px'><?php echo $lang->user->verifyPassword;?></th>
          <td>
            <div class="required required-wrapper"></div>
            <?php echo html::password('verifyPassword', '', "class='form-control' placeholder='{$lang->user->placeholder->verify}'");?>
          </td>
        </tr>
      </table>
    </fieldset>
    <div class='text-center'><?php echo html::submitButton('', '', 'btn-primary') . ' &nbsp; ' . html::backButton();?></div>
  </form>
</div>
<?php js::set('passwordStrengthList', $lang->user->passwordStrengthList)?>
<script>
function checkPassword(password)
{
    $('#passwordStrength').html(password == '' ? '' : passwordStrengthList[computePasswordStrength(password)]);
    $('#passwordStrength').css('display', password == '' ? 'none' : 'table-cell');
}
</script>
Exemplo n.º 19
0
    <div class='col-md-10'>
      <div class='panel'>
        <div class='panel-heading'><strong><i class='icon-edit'></i> <?php 
echo $lang->user->editEmail;
?>
</strong></div>
        <div class='panel-body'>
          <form method='post' id='ajaxForm' class='form form-horizontal' data-checkfingerprint='1'>
            <div class='form-group'>
              <label for='oldPwd' class='col-md-2 col-sm-3 control-label'><?php 
echo $lang->user->password;
?>
</label>
              <div class='col-md-6 col-sm-6'>
                <?php 
echo html::password('oldPwd', '', "class='form-control' placeholder='{$lang->user->placeholder->password}'");
?>
              </div>
            </div>
            <div class='form-group'>
              <label for='email' class='col-md-2 col-sm-3 control-label'><?php 
echo $lang->user->newEmail;
?>
</label>
              <div class='col-md-6 col-sm-6'>
                <?php 
echo html::input('email', '', "class='form-control'");
?>
              </div>
            </div>
            <div class='form-group'>
Exemplo n.º 20
0
        <th><?php 
echo $lang->mail->username;
?>
</th>
        <td><?php 
echo html::input('username', $mailConfig->username, "class='form-control'");
?>
</td>
      </tr>
      <tr>
        <th><?php 
echo $lang->mail->password;
?>
</th>
        <td><?php 
echo html::password('password', $mailConfig->password, 'class="form-control" autocomplete="off"');
?>
</td>
      </tr>
      <tr>
        <th><?php 
echo $lang->mail->secure;
?>
</th>
        <td><?php 
echo html::radio('secure', $lang->mail->secureList, $mailConfig->secure);
?>
</td>
      </tr>
      <tr>
        <th><?php 
Exemplo n.º 21
0
              <th class='w-60px'><?php 
echo $lang->user->account;
?>
</th>
              <td><?php 
echo html::input('account', '', "class='form-control' placeholder='{$lang->user->inputAccountOrEmail}'");
?>
</td>
            </tr>
            <tr>
              <th><?php 
echo $lang->user->password;
?>
</th>
              <td><?php 
echo html::password('password', '', "class='form-control' placeholder='{$lang->user->inputPassword}'");
?>
</td>
            </tr>
            <tr>
              <th><?php 
echo html::a('', $lang->save, "data-toggle='modal' class='hidden captchaModal'");
?>
</th>
              <td>
               <div id="popup-captcha"></div>  
               <input type="submit" class="btn btn-primary btn" id="popup-submit" value="登录"/>
               <?php 
if (!empty($this->config->site->yangcong)) {
    echo html::a(helper::createLink('yangcong', 'qrcode', "referer=" . helper::safe64Encode($referer)), "<i class='icon icon-qrcode icon-lg'> {$lang->user->yangcongLogin}</i>", "class='btn btn-success pull-right' data-toggle='modal'");
}
Exemplo n.º 22
0
      <th><?php 
echo $lang->user->password2;
?>
</th>
      <td><?php 
echo html::password('password2', '', "class='form-control'");
?>
</td><td></td>
    </tr>  
    <tr>
      <th><?php 
echo $lang->guarder->password;
?>
</th>
      <td class='w-200px'>
        <?php 
echo html::password('password', '', "placeholder='{$lang->guarder->passwordHolder}' class='form-control'");
?>
      </td>
    </tr>
    <tr>
      <th></th>
      <td colspan="2"><?php 
echo html::submitButton();
?>
</td>
    </tr>
  </table>
</form>        
<?php 
include '../../common/view/footer.modal.html.php';
Exemplo n.º 23
0
        <label class='col-sm-2 control-label' for='useraccount'><?php 
echo $lang->user->account;
?>
</label>
        <div class='col-sm-9'><?php 
echo html::input('account', '', "class='form-control'");
?>
</div>
      </div>
      <div class='form-group'>
        <label class='col-sm-2 control-label' for='password'><?php 
echo $lang->user->password;
?>
</label>
        <div class='col-sm-9'><?php 
echo html::password('password', '', "class='form-control'");
?>
</div>
      </div>
      <div class='form-group'>
        <label class='col-sm-2 control-label'></label>
        <div class='col-sm-9'><?php 
echo html::submitButton($lang->login, 'btn btn-success') . html::hidden('referer', $referer);
?>
</div>
      </div>
    </form>
  </div>
</div>
<?php 
include TPL_ROOT . 'common/footer.html.php';
Exemplo n.º 24
0
    <th><?php 
    echo $lang->ldap->admin;
    ?>
</th>
    <td><?php 
    echo html::input('admin', empty($ldapConfig->admin) ? '' : $ldapConfig->admin, "class='form-control'");
    ?>
</td>
  </tr>
  <tr class='adshow'>
    <th><?php 
    echo $lang->ldap->password;
    ?>
</th>
    <td><?php 
    echo html::password('password', empty($ldapConfig->password) ? '' : $ldapConfig->password, "class='form-control'");
    ?>
</td>
  </tr>
  <tr>
    <th><?php 
    echo $lang->ldap->baseDN;
    ?>
</th>
    <td><?php 
    echo html::input('baseDN', empty($ldapConfig->baseDN) ? '' : $ldapConfig->baseDN, "class='form-control'");
    ?>
</td>
    <td><?php 
    echo $lang->ldap->example . 'dc=test,dc=com';
    ?>