本文整理汇总了PHP中zen_draw_password_field函数的典型用法代码示例。如果您正苦于以下问题:PHP zen_draw_password_field函数的具体用法?PHP zen_draw_password_field怎么用?PHP zen_draw_password_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了zen_draw_password_field函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------
case 'resetpassword':
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------
$heading[] = array('text' => '<b>' . TEXT_HEADING_RESET_PASSWORD . '</b>');
$contents = array('form' => zen_draw_form('reset_password', FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=reset', 'post', 'enctype="multipart/form-data"') . zen_draw_hidden_field('admin_name', $adminInfo->admin_name) . zen_draw_hidden_field('admin_email', $adminInfo->admin_email) . zen_draw_hidden_field('admin_level', $adminInfo->admin_level));
$contents[] = array('text' => TEXT_EDIT_INTRO);
$contents[] = array('text' => '<br><b>' . $adminInfo->admin_id . '</b> - ' . $adminInfo->admin_name . '</b>');
$contents[] = array('text' => '
<br>
' . TEXT_ADMINS_PASSWORD . '<br>' . zen_draw_password_field('password_new', '', zen_set_field_length(TABLE_ADMIN, 'admin_pass', $max = 25)));
$contents[] = array('text' => '
<br>
' . TEXT_ADMINS_CONFIRM_PASSWORD . '<br>' . zen_draw_password_field('password_confirmation', '', zen_set_field_length(TABLE_ADMIN, 'admin_pass', $max = 25)));
$contents[] = array('align' => 'center', 'text' => '
<br>
' . zen_image_submit('button_save.gif', IMAGE_SAVE) . '
<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>
');
break;
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------
case 'delete':
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------
$heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_ADMIN . '</b>');
$contents = array('form' => zen_draw_form('delete_admin', FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=deleteconfirm'));
$contents[] = array('text' => TEXT_DELETE_INTRO);
示例2: zen_draw_password_field
<td class="main"><?php
echo ENTRY_PASSWORD;
?>
</td>
<td class="main"><?php
echo zen_draw_password_field('password') . ' ' . (zen_not_null(ENTRY_PASSWORD_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_TEXT . '</span>' : '');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</td>
<td class="main"><?php
echo zen_draw_password_field('confirmation') . ' ' . (zen_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>' : '');
?>
</td>
</tr>
</table>
</td>
</tr>
<?php
if (ACCOUNT_COMPANY == 'true') {
?>
<tr>
<td class="plainBoxHeading"><?php
echo CATEGORY_COMPANY;
?>
</td>
</tr>
示例3: zen_draw_input_field
<li class="margin_t">
<?php
echo ENTRY_EMAIL_ADDRESS;
?>
<br />
<?php
echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="login-email-address" class="input_box" chkName="email address" chkRule="nnull/min6/eml" size = "41" maxlength= "96"');
?>
</li>
<li class="margin_t">
<?php
echo ENTRY_PASSWORD;
?>
<br />
<?php
echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password') . ' chkrule="nnull/min5" chkname="password" id="login-password" class="input_box"');
?>
</li>
<li class="line_60px">
Forgot your <?php
echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '" class="red u">' . TEXT_PASSWORD_FORGOTTEN . '</a>';
?>
</li>
<li class="margin_t">
<?php
echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
?>
<div class="g_t_r"><?php
echo zen_image_submit(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT);
?>
</div>
示例4: zen_draw_password_field
echo TEXT_NEW_PASSWORD;
?>
</span></td>
<td>
<?php
echo zen_draw_password_field('password_new', '', 'id="password_new" class="r_inpur"') . (zen_not_null(ENTRY_PASSWORD_NEW_TEXT) ? '<span class="red2">' . ENTRY_PASSWORD_NEW_TEXT . '</span>' : '');
?>
</td>
</tr>
<tr>
<td><span class="inputLabel"><?php
echo TEXT_PASSWORD_CONFRIM;
?>
</span></td>
<td><?php
echo zen_draw_password_field('password_confirmation', '', 'id="password_confirmation" class="r_inpur"') . (zen_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="red2">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>' : '');
?>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><?php
echo '<a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
?>
</td>
<td><?php
echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT);
?>
示例5: zen_draw_form
<?php
$content = '';
$content = "<div class='anmelden'>";
$content .= ' <h6>Willkommen zurück!</h6>';
$content .= ' <ul>';
if (isset($_SESSION['customer_id']) && is_numeric($_SESSION['customer_id']) && $_SESSION['customer_id'] != 0) {
$customer_name = $_SESSION['customer_first_name'] . $_SESSION['customer_last_name'];
$last_login_time = $_SESSION['customer_last_logontime'];
$content .= '<li>' . $customer_name . '</li>';
$content .= '<li>Last Logon:<br>' . $last_login_time . '</li>';
/*$content.='<li>'.TEXT_TITLE_EMAIL.'</li>';
$content.='<li>'.TEXT_TITLE_EMAIL.'</li>';*/
} else {
$login_form = zen_draw_form('login_form', zen_href_link(FILENAME_LOGIN, 'action=process', 'NONSSL', false), 'post');
$security_token = zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
$email_input_field = zen_draw_input_field('email_address', '', ' class="a_input"');
$pwd_input_field = zen_draw_password_field('password', '', ' class="a_input"');
$login_submit = zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT);
$forgotten_pwd_link = zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL');
$content .= $login_form;
$content .= $security_token;
$content .= '<li>' . TEXT_TITLE_EMAIL . '</li>';
$content .= '<li>' . $email_input_field . '</li>';
$content .= '<li>' . TEXT_PASSWORD . '</li>';
$content .= '<li>' . $pwd_input_field . '</li>';
$content .= '<li>' . $login_submit . '</li>';
$content .= '<li><a class="xhx" href="' . $forgotten_pwd_link . '">' . TEXT_LOST_PASSWORD . '</a></li>';
}
$content .= ' </ul>';
$content .= ' </div>';
示例6: zen_cfg_password_input
function zen_cfg_password_input($value, $key = '')
{
return zen_draw_password_field('configuration[' . $key . ']', $value);
}
示例7: zen_cfg_password_input
function zen_cfg_password_input($value, $key = '')
{
if (function_exists('dbenc_is_encrypted_value_key') && dbenc_is_encrypted_value_key($key)) {
$value = dbenc_decrypt($value);
}
return zen_draw_password_field('configuration[' . $key . ']', $value);
}
示例8: zen_draw_password_field
<label class="inputLabel" for="password-new"><?php
echo ENTRY_PASSWORD_NEW;
?>
</label>
<?php
echo zen_draw_password_field('password_new', '', 'id="password-new" autocomplete="off"') . (zen_not_null(ENTRY_PASSWORD_NEW_TEXT) ? '<span class="alert">' . ENTRY_PASSWORD_NEW_TEXT . '</span>' : '');
?>
<br class="clearBoth" />
<label class="inputLabel" for="password-confirm"><?php
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</label>
<?php
echo zen_draw_password_field('password_confirmation', '', 'id="password-confirm" autocomplete="off"') . (zen_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="alert">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>' : '');
?>
<br class="clearBoth" />
</fieldset>
<div class="buttonRow forward"><?php
echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT);
?>
</div>
<div class="buttonRow back"><?php
echo '<a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
?>
</div>
</form>
</div>
示例9: zen_draw_password_field
</span></label>
<?php
echo zen_draw_password_field('password', $_SESSION['password'], zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="password-new"') . (zen_not_null(ENTRY_PASSWORD_TEXT) ? '' : '');
?>
</div> <!-- end/password login -->
<div class="fec-field">
<label class="inputLabel" for="password-confirm"><?php
echo ENTRY_PASSWORD_CONFIRMATION;
?>
<span class="alert"><?php
echo ENTRY_PASSWORD_CONFIRMATION_TEXT;
?>
</span></label>
<?php
echo zen_draw_password_field('confirmation', $_SESSION['confirmation'], zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="password-confirm"') . (zen_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '' : '');
?>
</div> <!-- end/password confirm login -->
</fieldset>
<!-- end/login -->
<!-- begin/newsletter -->
<fieldset class="fec-newsletter-email">
<legend><?php
echo ENTRY_EMAIL_PREFERENCE;
?>
</legend>
<span class="fec-fieldset-legend"><?php
echo ENTRY_EMAIL_PREFERENCE;
示例10: zen_draw_password_field
?>
</label>
<?php
echo zen_draw_password_field('password_new', '', 'id="password-new"');
?>
<br class="clearBoth" />
<label class="inputLabel" for="password-confirm">
<?php
echo ENTRY_PASSWORD_CONFIRMATION;
?>
<?php
echo zen_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="alert-text">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>' : '';
?>
</label>
<?php
echo zen_draw_password_field('password_confirmation', '', 'id="password-confirm"');
?>
</div>
<div class="next-prev">
<div class="buttonRow forward"><?php
echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT);
?>
</div>
<div class="buttonRow back change_address">
<?php
echo '<a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
?>
</div>
</div>
</form>
</div>
示例11: zen_draw_password_field
<li class="margin_t">
<?php
echo ENTRY_PASSWORD;
?>
<br />
<?php
echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="login-password1" class="input_box" chkrule="nnull/min5" chkname="password" maxlength="40" size="41" value=""');
?>
</li>
<li class="margin_t">
<?php
echo ENTRY_PASSWORD_CONFIRMATION . (zen_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="red">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>' : '');
?>
<br />
<?php
echo zen_draw_password_field('confirmation', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . 'class="input_box" chkrule="nnull/cpwd/#login-password1" chkname="password Confirmation" maxlength="40" size="41" value=""');
?>
</li>
<li class="margin_t">
<?php
echo ENTRY_WHICH_BEST_YOU;
?>
<br />
<?php
echo zen_draw_pull_down_menu('describes', $bestYouArray, '', ' chkname="Which one describes you the best?" chkrule="isselect" style="width: 120px;"');
?>
</li>
<li class="margin_t">
<?php
echo ENTRY_COMPANY;
?>
示例12: zen_draw_password_field
?>
<span class="red">*</span></td>
<td class="pad_l_10px">
<?php
echo zen_draw_password_field('password', '', ' chkrule="nnull/min5" chkname="ew password" class="input_5" id="login-password1"');
?>
</td>
</tr>
<tr>
<td align="right"><?php
echo TEXT_REENTER_PASSWORD;
?>
<span class="red">*</span></td>
<td class="pad_l_10px">
<?php
echo zen_draw_password_field('confirmation', '', ' chkrule="nnull/cpwd/#login-password1" chkname="Re-enter password" class="input_5"');
?>
</td>
</tr>
</tbody></table>
<br/>
<ul class="midframe g_t_r margin_t">
<button type="submit">
<span>Save for change</span>
</button>
</ul>
</form>
</div>
</div>
<script>
示例13: zen_draw_form
echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'));
?>
<label class="inputLabel" for="login-email-address"><?php
echo ENTRY_EMAIL_ADDRESS;
?>
</label>
<?php
echo zen_draw_input_field('email_address', '', 'size="18" id="login-email-address"');
?>
<br class="clearBoth" /> <label class="inputLabel"
for="login-password"><?php
echo ENTRY_PASSWORD;
?>
</label>
<?php
echo zen_draw_password_field('password', '', 'size="18" id="login-password"');
?>
<?php
echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
?>
<br class="clearBoth" />
<div class="buttonRow forward"><?php
echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT);
?>
</div>
<div class="buttonRow back important"><?php
echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>';
?>
</div>
</form>
示例14: zen_href_link
<tr>
<th scope="row"> </th>
<td><?php echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></td>
</tr>
</table>
<p class="submit"><?php echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT,'class="imgover"'); ?></p>
*/
?>
<ul>
<li><?php
echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="login-email-address" placeholder="' . ENTRY_EMAIL_ADDRESS . '"');
?>
</li>
<li><?php
echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '40') . ' id="login-password" placeholder="' . ENTRY_PASSWORD . '"');
?>
</li>
</ul>
<p class="submit"><?php
echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT, 'class="imgover"');
?>
</p>
<p><?php
echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>';
?>
</p>
<?php
示例15: zen_draw_password_field
</p><?php
echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="password-new" placeholder="' . ENTRY_PASSWORD . '"');
?>
</li>
<li><span class="required"><?php
echo TEXT_REQUIRED2;
?>
</span><label><?php
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</label>
<p><?php
echo ENTRY_SAMPLE_03;
?>
</p><?php
echo zen_draw_password_field('confirmation', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="password-confirm" placeholder="' . ENTRY_PASSWORD_CONFIRMATION . '"');
?>
</li>
</ul>
<?php
// <- zen_smartphone: table は使わず ul li にする
?>
<h2 class="headline"><?php
echo TABLE_HEADING_NAME;
?>
</h2>
<?php
// -> zen_smartphone: table は使わず ul li にする
/*