本文整理汇总了PHP中zen_draw_password_field函数的典型用法代码示例。如果您正苦于以下问题:PHP zen_draw_password_field函数的具体用法?PHP zen_draw_password_field怎么用?PHP zen_draw_password_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了zen_draw_password_field函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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);
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:admin.php
示例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>
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:tpl_create_account_default.php
示例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>
开发者ID:happyxlq,项目名称:lt_svn,代码行数:31,代码来源:tpl_checkout_login_default.php
示例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);
?>
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:tpl_account_password_default.php
示例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>';
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:tpl_login_box.php
示例6: zen_cfg_password_input
function zen_cfg_password_input($value, $key = '')
{
return zen_draw_password_field('configuration[' . $key . ']', $value);
}
开发者ID:dalinhuang,项目名称:cameras,代码行数:4,代码来源:general.php
示例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);
}
开发者ID:kirkbauer2,项目名称:kirkzc,代码行数:7,代码来源:general.php
示例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>
开发者ID:R-Future,项目名称:zencart,代码行数:30,代码来源:tpl_account_password_default.php
示例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;
开发者ID:krakatoa14,项目名称:fec,代码行数:31,代码来源:tpl_modules_create_account.php
示例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>
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:tpl_account_password_default.php
示例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;
?>
开发者ID:happyxlq,项目名称:lt_svn,代码行数:31,代码来源:tpl_modules_create_account.php
示例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>
开发者ID:happyxlq,项目名称:lt_svn,代码行数:31,代码来源:tpl_account_edit_default.php
示例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>
开发者ID:wwxgitcat,项目名称:zencart_v1.0,代码行数:31,代码来源:tpl_login_default.php
示例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
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:tpl_login_default.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 にする
/*
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:tpl_modules_create_account.php
示例16: array
$dsf_account_info_query_raw = "select * from dsf_account_info where id=1 limit 1";
$dsf_account_info = $db->Execute($dsf_account_info_query_raw);
if ($dsf_account_info->fields['status'] == "1") {
$status_true = true;
$status_false = false;
} else {
$status_true = false;
$status_false = true;
}
$heading[] = array('text' => '<b>' . TEXT_HEADING_DSF_ACCOUNT_INSTALL . '</b>');
$contents = array('form' => zen_draw_form('dsf_shipping', "dsf_shipping", 'action=account_save', 'post', 'enctype="multipart/form-data"'));
$tmpText = '<b>' . TEXT_DSF_STATUS_TITLE . '</b><br />' . TEXT_DSF_STATUS_DESC . '<br /><br />' . zen_draw_radio_field('status', 1, $status_true) . ' true <br />' . zen_draw_radio_field('status', 0, $status_false) . ' false <br /><br />';
$contents[] = array('text' => $tmpText);
$tmpText = '<b>' . TEXT_DSF_USERNAME_TITLE . '</b><br />' . TEXT_DSF_USERNAME_DESC . '<br /><br />' . zen_draw_input_field('dsf_username', $dsf_account_info->fields['dsf_username'], 'size="20"') . '<br /><br />';
$contents[] = array('text' => $tmpText);
$tmpText = '<b>' . TEXT_DSF_PASSWORD_TITLE . '</b><br />' . TEXT_DSF_PASSWORD_DESC . '<br /><br />' . zen_draw_password_field('dsf_password', '') . '<br /><br />';
$contents[] = array('text' => $tmpText);
$contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . zen_href_link("dsf_shipping", 'action=account_info') . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'account_info':
$dsf_account_info_query_raw = "select * from dsf_account_info where id=1 limit 1";
$dsf_account_info = $db->Execute($dsf_account_info_query_raw);
if (!$dsf_account_info->EOF) {
$aiInfo = new objectInfo($dsf_account_info->fields);
}
if (isset($aiInfo) && is_object($aiInfo)) {
$heading[] = array('text' => '<b>' . DSF_ACCOUNT_INFO . '</b>');
$contents[] = array('text' => TEXT_DSF_ACCOUNT_STATUS . '<br /><b>' . $aiInfo->status . '</b>');
$contents[] = array('text' => TEXT_DSF_USERNAME . '<br /><b>' . $aiInfo->dsf_username . '</b>');
$contents[] = array('text' => TEXT_COMPANY_NAME_EN . '<br /><b>' . $aiInfo->company_name_en . '</b>');
$contents[] = array('text' => TEXT_COMPANY_NAME_CN . '<br /><b>' . $aiInfo->company_name_cn . '</b>');
开发者ID:dalinhuang,项目名称:cameras,代码行数:31,代码来源:dsf_shipping.php
示例17: zen_draw_password_field
<label class="inputLabel" for="password-new"><?php
echo ENTRY_PASSWORD;
?>
</label>
<?php
echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="password-new"') . (zen_not_null(ENTRY_PASSWORD_TEXT) ? '<span class="alert">' . ENTRY_PASSWORD_TEXT . '</span>' : '');
?>
<br class="clearBoth" />
<label class="inputLabel" for="password-confirm"><?php
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</label>
<?php
echo zen_draw_password_field('confirmation', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="password-confirm"') . (zen_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="alert">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>' : '');
?>
<br class="clearBoth" />
</fieldset>
<fieldset>
<legend><?php
echo ENTRY_EMAIL_PREFERENCE;
?>
</legend>
<?php
if (ACCOUNT_NEWSLETTER_STATUS != 0) {
echo zen_draw_checkbox_field('newsletter', '1', $newsletter, 'id="newsletter-checkbox"') . '<label class="checkboxLabel" for="newsletter-checkbox">' . ENTRY_NEWSLETTER . '</label>' . (zen_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="alert">' . ENTRY_NEWSLETTER_TEXT . '</span>' : '');
?>
<br class="clearBoth" />
<?php
开发者ID:dalinhuang,项目名称:yijinhuanxiang,代码行数:30,代码来源:tpl_modules_create_account.php
示例18: zen_draw_password_field
<td class="main"><?php
echo ENTRY_PASSWORD;
?>
</td>
<td class="main"><?php
echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20')) . ' ' . (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_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20')) . ' ' . (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>
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:tpl_login_default.php
示例19: zen_draw_password_field
</label>
<?php
echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="password-new" class="inputlogin"');
?>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 confirm-password">
<label class="inputLabel" for="password-confirm">
<?php
echo ENTRY_PASSWORD_CONFIRMATION;
?>
<?php
echo zen_not_null(ENTRY_PASSOWRD_CONFIRMATION_TEXT) ? '<span class="alert-text">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>' : '';
?>
</label>
<?php
echo zen_draw_password_field('confirmation', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="password-confirm" class="inputlogin"');
?>
</div>
</div>
</div>
</div>
<?php
if (DISPLAY_PRIVACY_CONDITIONS == 'true') {
?>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 privacy-condition-info">
<div class="content">
<h4><?php
echo TABLE_HEADING_PRIVACY_CONDITIONS;
?>
</h4>
<div class="information"><?php
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:tpl_modules_create_account.php
示例20: zen_draw_input_field
</label>
<div class='col-sm-9'>
<?php
echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="login-email-address" class="form-control"');
?>
</div>
</div>
<div class='form-group'>
<label class="control-label col-sm-3" for="login-password"><?php
echo ENTRY_PASSWORD;
?>
</label>
<div class='col-sm-9'>
<?php
echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password') . ' id="login-password" class="form-control"');
?>
</div>
</div>
<?php
echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
?>
</fieldset>
<div class='clearfix'>
<div class="pull-right"><button type='submit' class='btn btn-primary'>
<?php
echo BUTTON_LOGIN_ALT;
?>
</button></div>
开发者ID:Southern-Exposure-Seed-Exchange,项目名称:Zencart-Bootstrap-Theme,代码行数:31,代码来源:tpl_time_out_default.php
注:本文中的zen_draw_password_field函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论