本文整理汇总了PHP中html::password方法的典型用法代码示例。如果您正苦于以下问题:PHP html::password方法的具体用法?PHP html::password怎么用?PHP html::password使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类html
的用法示例。
在下文中一共展示了html::password方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<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>
示例2:
</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';
示例3:
<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
示例4: sprintf
<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>
示例5:
?>
</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>
示例6:
?>
<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);
?>
示例7:
?>
</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';
示例8:
<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>
示例9:
<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
示例10:
<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
示例11:
</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'>
示例12:
<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
示例13:
<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';
示例14: array
<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');
示例15: web_install_user_form
/**
* 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:');
$form->text('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();
}