本文整理汇总了PHP中tep_draw_password_field函数的典型用法代码示例。如果您正苦于以下问题:PHP tep_draw_password_field函数的具体用法?PHP tep_draw_password_field怎么用?PHP tep_draw_password_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tep_draw_password_field函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: selection
function selection()
{
global $order;
for ($i = 1; $i < 13; $i++) {
$expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B - (%m)', mktime(0, 0, 0, $i, 1, 2000)));
}
$today = getdate();
for ($i = $today['year']; $i < $today['year'] + 10; $i++) {
$expires_year[] = array('id' => strftime('%y', mktime(0, 0, 0, 1, 1, $i)), 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)));
}
$onFocus = 'onfocus="methodSelect(\'pmt-' . $this->code . '\')"';
$selection = array('id' => $this->code, 'module' => $this->title, 'fields' => array(array('title' => MODULE_PAYMENT_VELOCITY_TEXT_CREDIT_CARD_OWNER, 'field' => tep_draw_input_field('velocity_cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'], 'id="' . $this->code . '-cc-owner"' . $onFocus . ' autocomplete="off"'), 'tag' => $this->code . '-cc-owner'), array('title' => MODULE_PAYMENT_VELOCITY_TEXT_CREDIT_CARD_NUMBER, 'field' => tep_draw_input_field('velocity_cc_number', '', 'id="' . $this->code . '-cc-number"' . $onFocus . ' autocomplete="off"'), 'tag' => $this->code . '-cc-number'), array('title' => MODULE_PAYMENT_VELOCITY_TEXT_CREDIT_CARD_EXPIRES, 'field' => tep_draw_pull_down_menu('velocity_cc_expires_month', $expires_month, strftime('%m'), 'id="' . $this->code . '-cc-expires-month"' . $onFocus) . ' ' . tep_draw_pull_down_menu('velocity_cc_expires_year', $expires_year, '', 'id="' . $this->code . '-cc-expires-year"' . $onFocus), 'tag' => $this->code . '-cc-expires-month'), array('title' => MODULE_PAYMENT_VELOCITY_TEXT_CVV, 'field' => tep_draw_password_field('velocity_cc_cvv', '', 'size="4" maxlength="4"' . ' id="' . $this->code . '-cc-cvv"' . $onFocus . ' autocomplete="off"'), 'tag' => $this->code . '-cc-cvv')));
return $selection;
}
开发者ID:nab-velocity,项目名称:oscommerce-plugin,代码行数:14,代码来源:velocity.php
示例2: tep_draw_password_field
<td width="50%"><?php
echo '<strong>' . ENTRY_PASSWORD . '</strong> <span class="inputRequirement">*</span>' . (tep_not_null(ENTRY_PASSWORD_TEXT) ? ' ' . ENTRY_PASSWORD_TEXT : '');
?>
</td>
<td width="50%"><?php
echo tep_draw_password_field('password', '', 'size="20"');
?>
</td>
</tr>
<tr>
<td><?php
echo '<strong>' . ENTRY_PASSWORD_CONFIRMATION . '</strong> <span class="inputRequirement">*</span>' . (tep_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? ' ' . ENTRY_PASSWORD_CONFIRMATION_TEXT : '');
?>
</td>
<td><?php
echo tep_draw_password_field('confirmation', '', 'size="20"');
?>
</td>
</tr>
</table>
</fieldset>
<?php
if (tep_not_null(ENTRY_NEWSLETTER)) {
?>
<fieldset>
<legend><?php
echo CATEGORY_OPTIONS;
?>
</legend>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:create_account.php
示例3: tep_draw_input_field
<td class="main"><b><?php
echo TEXT_AFFILIATE_ID;
?>
</b></td>
<td class="main"><?php
echo tep_draw_input_field('affiliate_username');
?>
</td>
</tr>
<tr>
<td class="main"><b><?php
echo TEXT_AFFILIATE_PASSWORD;
?>
</b></td>
<td class="main"><?php
echo tep_draw_password_field('affiliate_password');
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo tep_draw_separator('pixel_trans.gif', '100%', '10');
?>
</td>
</tr>
<tr>
<td class="main" colspan="2"><?php
echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN_AFFILIATE, '', 'SSL') . '">' . TEXT_AFFILIATE_PASSWORD_FORGOTTEN . '</a>';
?>
</tr>
<tr>
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:affiliate_affiliate.tpl.php
示例4: tep_draw_password_field
<td class="main"><?php
echo ENTRY_PASSWORD_NEW;
?>
</td>
<td class="main"><?php
echo tep_draw_password_field('password_new') . ' ' . (tep_not_null(ENTRY_PASSWORD_NEW_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_NEW_TEXT . '</span>' : '');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</td>
<td class="main"><?php
echo tep_draw_password_field('password_confirmation') . ' ' . (tep_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>' : '');
?>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php
echo tep_draw_separator('pixel_trans.gif', '100%', '10');
?>
</td>
</tr>
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:affiliate_password.tpl.php
示例5: Copyright
Copyright (c) 2008 CRE Loaded
Copyright (c) 2008 AlogoZone, Inc.
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
require DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGINBOX;
if (!strstr($PHP_SELF, 'login.php') && !strstr($PHP_SELF, 'create_account.php') && !isset($_SESSION['customer_id'])) {
if (!isset($_SESSION['customer_id'])) {
?>
<!-- loginbox //-->
<div class="box-header small-margin-bottom small-margin-left">My Account Info</div>
<?php
$loginboxcontent = "\r\n <form name=\"login\" method=\"post\" action=\"" . tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL') . "\">\r\n <div class=\"form-group\">\r\n <label class=\"sr-only\"></label>\r\n <input type=\"text\" name=\"email_address\" maxlength=\"96\" size=\"20\" value=\"\" placeholder=\"Email-Address\" class=\"form-control\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label class=\"sr-only\"></label>\r\n " . tep_draw_password_field('password', '', 'class="form-control" maxlength="40" size="20" autocomplete="off"placeholder="' . MENU_TEXT_PASSWORD . '"') . "\r\n </div>\r\n\t\t\t <div class=\"buttons-set clearfix large-margin-top\">\r\n\t\t\t <input type=\"submit\" value=\"Sign In\" class=\"pull-right btn btn-lg btn-primary\">\r\n\t\t\t </div>\r\n </form>";
echo '<div style="margin-left:5px">' . $loginboxcontent . '</div>';
?>
<!-- loginbox eof//-->
<?php
} else {
// If you want to display anything when the user IS logged in, put it
// in here... Possibly a "You are logged in as :" box or something.
}
} else {
if (isset($_SESSION['customer_id'])) {
$pwa_query = tep_db_query("select purchased_without_account from " . TABLE_CUSTOMERS . " where customers_id = '" . $_SESSION['customer_id'] . "'");
$pwa = tep_db_fetch_array($pwa_query);
if ($pwa['purchased_without_account'] == '0') {
?>
<!-- loginbox //-->
开发者ID:resultsonlyweb,项目名称:loaded6-template,代码行数:30,代码来源:loginbox.php
示例6: array
<?php
$heading = array();
$contents = array();
if (tep_db_num_rows($admins_check_query) > 0) {
$heading[] = array('text' => '<b>' . HEADING_TITLE . '</b>');
$contents = array('form' => tep_draw_form('login', FILENAME_LOGIN, 'action=process'));
$contents[] = array('text' => TEXT_USERNAME . '<br>' . tep_draw_input_field('username'));
$contents[] = array('text' => '<br>' . TEXT_PASSWORD . '<br>' . tep_draw_password_field('password'));
$contents[] = array('align' => 'center', 'text' => '<br><input type="submit" value="' . BUTTON_LOGIN . '" />');
} else {
$heading[] = array('text' => '<b>' . HEADING_TITLE . '</b>');
$contents = array('form' => tep_draw_form('login', FILENAME_LOGIN, 'action=create'));
$contents[] = array('text' => TEXT_CREATE_FIRST_ADMINISTRATOR);
$contents[] = array('text' => '<br>' . TEXT_USERNAME . '<br>' . tep_draw_input_field('username'));
$contents[] = array('text' => '<br>' . TEXT_PASSWORD . '<br>' . tep_draw_password_field('password'));
$contents[] = array('align' => 'center', 'text' => '<br><input type="submit" value="' . BUTTON_CREATE_ADMINISTRATOR . '" />');
}
$box = new box();
echo $box->infoBox($heading, $contents);
?>
</td>
</tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<?php
require DIR_WS_INCLUDES . 'footer.php';
?>
开发者ID:quangbt2005,项目名称:belamdep,代码行数:30,代码来源:login.php
示例7: Translate
<td>
<label class="formLabel" for="password"><?php
echo Translate('Wachtwoord');
?>
</label>
<?php
echo tep_draw_password_field('password', '', 'autocomplete="off" class="inputbox required" ' . 'id="password" maxlength="40" condition="1"');
?>
</td>
<td>
<label class="formLabel" for="confirmation"><?php
echo Translate('Wachtwoord bevestigen');
?>
</label>
<?php
echo tep_draw_password_field('confirmation', '', 'autocomplete="off" ' . (ONEPAGE_ACCOUNT_CREATE == 'required' ? 'class="inputbox required" maxlength="40" ' : 'class="inputbox" maxlength="40" ') . 'id="confirmation" condition="confirmation_password_required"');
?>
</td>
</tr>
<tr>
<td colspan="2">
<div id="pstrength_password"></div>
</td>
</tr>
</table>
<?php
if (CHECKOUT_NEWSLETTER == 'true') {
?>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<?php
$current_user_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int) $customer_id . "'");
开发者ID:CristianCCIT,项目名称:shop4office,代码行数:31,代码来源:billing_address_horizontal.php
示例8: array
</td>
<?php
$heading = array();
$contents = array();
switch ($_GET['action']) {
case 'edit_process':
$heading[] = array('text' => '<b> ' . TEXT_INFO_HEADING_DEFAULT . '</b>');
$contents[] = array('text' => TEXT_INFO_INTRO_EDIT_PROCESS . tep_draw_hidden_field('id_info', $myAccount['admin_id']));
break;
case 'check_account':
$heading[] = array('text' => '<b> ' . TEXT_INFO_HEADING_CONFIRM_PASSWORD . '</b>');
if ($_GET['error']) {
$contents[] = array('text' => '<table width="100%"><tr><td class="messageStackError">' . tep_image(DIR_WS_ICONS . 'error.gif', ICON_ERROR) . ' ' . TEXT_INFO_INTRO_CONFIRM_PASSWORD_ERROR . '</td></tr></table>');
}
$contents[] = array('text' => ' ' . TEXT_INFO_INTRO_CONFIRM_PASSWORD . tep_draw_hidden_field('id_info', $myAccount['admin_id']));
$contents[] = array('align' => 'center', 'text' => tep_draw_password_field('password_confirmation'));
$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ADMIN_ACCOUNT) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a> ' . tep_image_submit('button_confirm.gif', IMAGE_CONFIRM) . '<br> ');
break;
default:
$heading[] = array('text' => '<b> ' . TEXT_INFO_HEADING_DEFAULT . '</b>');
if ($myAccount['admin_email_address'] == 'admin@localhost') {
$contents[] = array('text' => sprintf(TEXT_INFO_INTRO_DEFAULT_FIRST, $myAccount['admin_username']) . '<br> ');
} elseif ($myAccount['admin_modified'] == '0000-00-00 00:00:00' || $myAccount['admin_logdate'] <= 1) {
$contents[] = array('text' => '<table width="100%"><tr><td class="messageStackAlert">' . tep_image(DIR_WS_ICONS . 'warning.gif', ICON_WARNING) . ' ' . sprintf(TEXT_INFO_INTRO_DEFAULT_FIRST_TIME, $myAccount['admin_username']) . '</td></tr></table>');
}
$contents[] = array('text' => TEXT_INFO_INTRO_DEFAULT);
}
if (tep_not_null($heading) && tep_not_null($contents)) {
echo ' <td width="25%" valign="top">' . "\n";
$box = new box();
echo $box->infoBox($heading, $contents);
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:admin_account.php
示例9: tep_draw_password_field
echo tep_draw_password_field('a_password') . ' ' . ENTRY_PASSWORD_TEXT;
}
?>
</td>
</tr>
<?php
if ($error == false || $entry_password_error == true) {
?>
<tr>
<td class="main"> <?php
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</td>
<td class="main">
<?php
echo tep_draw_password_field('a_confirmation') . ' ' . ENTRY_PASSWORD_CONFIRMATION_TEXT;
?>
</td>
</tr>
<?php
}
?>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td class="formAreaTitle"><br></td>
</tr>
<!-- VISUAL VERIFY CODE start -->
<?php
开发者ID:resultsonlyweb,项目名称:loaded6-template,代码行数:31,代码来源:affiliate_account_details.php
示例10: Translate
<td class="main"><?php
echo Translate('Nieuw wachtwoord');
?>
</td>
<td class="main"><?php
echo tep_draw_password_field('password_new', '', 'class="inputbox"') . ' ' . (tep_not_null('*') ? '<span class="inputRequirement">*</span>' : '');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo Translate('Bevestig nieuw wachtwoord');
?>
</td>
<td class="main"><?php
echo tep_draw_password_field('password_confirmation', '', 'class="inputbox"') . ' ' . (tep_not_null('*') ? '<span class="inputRequirement">*</span>' : '');
?>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="10"></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
开发者ID:CristianCCIT,项目名称:shop4office,代码行数:31,代码来源:account_password.php
示例11: tep_draw_password_field
<?php
}
?>
<div class="well">
<div class=""><label class="sr-only"></label><?php
echo tep_draw_password_field('password_current', '', 'placeholder="' . ENTRY_PASSWORD_CURRENT . '" class="form-control"');
?>
</div>
<div class="margin-top"><label class="sr-only"></label><?php
echo tep_draw_password_field('password_new', '', 'placeholder="' . ENTRY_PASSWORD_NEW . '" class="form-control"');
?>
</div>
<div class="margin-top"><label class="sr-only"></label><?php
echo tep_draw_password_field('password_confirmation', '', 'placeholder="' . ENTRY_PASSWORD_CONFIRMATION . '" class="form-control"');
?>
</div>
</div>
<div class="btn-set small-margin-top clearfix">
<button class="pull-right btn btn-lg btn-primary" type="submit"><?php
echo IMAGE_BUTTON_CONTINUE;
?>
</button>
<a href="<?php
echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL');
?>
"><button class="pull-left btn btn-lg btn-default" type="button"><?php
echo IMAGE_BUTTON_BACK;
开发者ID:resultsonlyweb,项目名称:loaded6-template,代码行数:30,代码来源:account_password.tpl.php
示例12: tep_draw_password_field
</tr>
<tr>
<td class="main" style="padding:7px; padding-top:15px; font-weight: bold; border-bottom: 1px solid #333333">• <?php
echo CATEGORY_PASSWORD;
?>
</td>
</tr>
<tr>
<td style="padding-top:10px;"><table width="545" border="0" align="center" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="250" height="45" class="main" style="width:240px"><?php
echo ENTRY_PASSWORD . '<br>' . tep_draw_password_field('password', isset($HTTP_POST_VARS['password']) ? $HTTP_POST_VARS['password'] : '', 'style="width:200px" maxlength=255') . ' ' . (tep_not_null(ENTRY_PASSWORD_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_TEXT . '</span>' : '');
?>
</td>
<td width="245" height="45" class="main"><?php
echo ENTRY_PASSWORD_CONFIRMATION . '<br>' . tep_draw_password_field('confirmation', isset($HTTP_POST_VARS['confirmation']) ? $HTTP_POST_VARS['confirmation'] : '', 'style="width:200px" maxlength=255') . ' ' . (tep_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>' : '');
?>
</td>
</tr>
</table></td>
</tr>
<?php
}
?>
<tr>
<td class="main" style="padding:7px; padding-top:15px; font-weight: bold; border-bottom: 1px solid #333333">• Additional Information</td>
</tr>
<!-- //rmh referral start -->
<?php
// MegaJim - Fuck this box!
if (!isset($customer_id)) {
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:31,代码来源:checkout.php
示例13: tep_draw_form
$corner_bottom_left = 'rounded';
$corner_bottom_right = 'rounded';
$boxContent_attributes = ' align="center"';
$boxLink = '';
$box_base_name = 'loginbox';
// for easy unique box template setup (added BTSv1.2)
$box_id = $box_base_name . 'Box';
// for CSS styling paulm (editted BTSv1.2)
?>
<!-- loginbox bof //-->
<?php
// $boxContent = '<table border="0" width="100%" cellspacing="0" cellpadding="0">';
// $boxContent .= '<tr><td align="center" valign="top">';
$boxContent = tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL'));
$boxContent .= BOX_LOGINBOX_EMAIL . '<br>' . tep_draw_input_field('email_address', '', 'size="10" maxlength="100" style="width: ' . ($box_width - 30) . 'px"', 'email') . '<br>';
$boxContent .= BOX_LOGINBOX_PASSWORD . '<br>' . tep_draw_password_field('password', '', 'size="10" maxlength="40" style="width: ' . ($box_width - 30) . 'px"') . '<br>';
$boxContent .= '<table width="100%"><tr><td align="center">' . tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN) . '</td></tr></table>';
$boxContent .= '</form>';
$boxContent .= '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '" >' . BOX_LOGINBOX_FORGOT_PASSWORD . '</a>';
$boxContent .= '<br>' . '<a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL') . '">' . BOX_LOGINBOX_TEXT_NEW . '</a>';
// $boxContent .= '</td></tr></table>';
// $boxContent = array();
// $boxContent[] = array('align' => 'center',
// 'text' => $loginboxcontent);
// new infoBox($boxContent);
// } else {
// If you want to display anything when the user IS logged in, put it
// in here... Possibly a "You are logged in as :" box or something.
include bts_select('boxes', $box_base_name);
// BTS 1.5
}
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:loginbox.php
示例14: tep_draw_password_field
} else {
echo tep_draw_password_field('a_password') . ' <span class="inputRequirement">' . ENTRY_PASSWORD_TEXT . '</span>';
}
?>
</td>
</tr>
<?php
if ($error == false || $entry_password_error == true) {
?>
<tr>
<td class="main" width="150"> <?php
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</td>
<td class="main">
<?php
echo tep_draw_password_field('a_confirmation') . ' <span class="inputRequirement">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>';
?>
</td>
</tr>
<?php
}
?>
</table></td>
</tr>
</table></td>
</tr>
<?php
}
?>
</table>
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:affiliate_account_details.php
示例15: tep_cfg_input_password
function tep_cfg_input_password($password)
{
return tep_draw_password_field('configuration_value', $password);
}
开发者ID:othreed,项目名称:osCommerce-234-bootstrap-wADDONS,代码行数:4,代码来源:general.php
示例16: tep_draw_form
?>
</p>
<?php
echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL'), 'post', '', true);
?>
<div class="form-group">
<?php
echo tep_draw_input_field('email_address', NULL, 'required placeholder="' . ENTRY_EMAIL_ADDRESS . '"', 'email');
?>
</div>
<div class="form-group">
<?php
echo tep_draw_password_field('password', NULL, 'required aria-required="true" id="inputPassword" placeholder="' . ENTRY_PASSWORD . '"');
?>
</div>
<p class="text-center"><?php
echo tep_draw_button(IMAGE_BUTTON_LOGIN, 'glyphicon-log-in', null, 'primary', NULL, 'btn-primary');
?>
</p>
<hr>
<p><?php
echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>';
?>
</p>
开发者ID:osc2nuke,项目名称:demobts,代码行数:30,代码来源:login.php
示例17: tep_draw_hidden_field
}
echo tep_draw_hidden_field('admin[]', $admin);
?>
<table border="0" cellspacing="0" cellpadding="2" bgcolor="#C0EFFF" style="padding:5px; text-size:small; margin-top:5px;">
<tr>
<td>Password:</td>
<td><?php
echo tep_draw_password_field('reenter_password_' . $admin, '', '', 'size="12"');
?>
</td>
</tr>
<tr>
<td>Confirm:</td>
<td><?php
echo tep_draw_password_field('password_' . $admin, '', '', 'size="12"');
?>
</td>
</tr>
</table>
</td>
<td class="dataTableContent" style="padding:5px 10px">
<table cellpadding="5" cellspacing="0" border="0">
<tr>
<td>Dashboard:</td>
<td><?php
echo tep_draw_pull_down_menu('default_dash_' . $admin, $dashlst, isset($adminflds[$admin]) ? $adminflds[$admin]['default_dash'] : '');
?>
</td>
</tr>
<tr>
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:31,代码来源:admins.php
示例18: tep_href_link
}
$breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));
$breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_ACCOUNT_PASSWORD, '', 'SSL'));
include "includes/header.php";
include "includes/form_check.js.php";
$xoopsTpl->assign("form_pwd", tep_draw_form('account_password', tep_href_link(FILENAME_ACCOUNT_PASSWORD, '', 'SSL'), 'post', 'onSubmit="return check_form(account_password);"'));
$xoopsTpl->assign("action_field", tep_draw_hidden_field('action', 'process'));
$xoopsTpl->assign("site_image", tep_image(DIR_WS_IMAGES . 'table_background_account.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT));
$xoopsTpl->assign("seperator", tep_draw_separator('pixel_trans.gif', '100%', '10'));
$xoopsTpl->assign("seperator1", tep_draw_separator('pixel_trans.gif', '10', '1'));
if ($messageStack->size('account_password') > 0) {
$xoopsTpl->assign("smessage", 1);
$xoopsTpl->assign("messagetext", $messageStack->output('account_password'));
}
$xoopsTpl->assign("pwd_field", tep_draw_password_field('password_current'));
if (tep_not_null(ENTRY_PASSWORD_CURRENT_TEXT)) {
$xoopsTpl->assign("pwd_entry", '<span class="inputRequirement">' . ENTRY_PASSWORD_CURRENT_TEXT . '</span>');
}
$xoopsTpl->assign("pwd_new_field", tep_draw_password_field('password_new'));
if (tep_not_null(ENTRY_PASSWORD_NEW_TEXT)) {
$xoopsTpl->assign("pwd_new_entry", '<span class="inputRequirement">' . ENTRY_PASSWORD_NEW_TEXT . '</span>');
}
$xoopsTpl->assign("pwd_conf_field", tep_draw_password_field('password_confirmation'));
if (tep_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT)) {
$xoopsTpl->assign("pwd_conf_entry", '<span class="inputRequirement">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>');
}
$xoopsTpl->assign("account", tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));
$xoopsTpl->assign("bt_back", tep_image_button('button_back.gif', IMAGE_BUTTON_BACK));
$xoopsTpl->assign("bt_continue", tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE));
include_once XOOPS_ROOT_PATH . '/footer.php';
include "includes/application_bottom.php";
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:account_password.php
示例19: array
$contents[] = array('text' => TEXT_NEW_USER_INTRO);
$contents[] = array('text' => '<br>' . TEXT_USERS_NAME . '<br>' . tep_draw_input_field('users_name', '', 'size="30"'));
$contents[] = array('text' => '<br>' . TEXT_USERS_EMAIL_ADDRESS . '<br>' . tep_draw_input_field('users_email_address', '', 'size="30"'));
$contents[] = array('text' => '<br>' . TEXT_USERS_LOGIN . '<br>' . tep_draw_input_field('users_id'));
$contents[] = array('text' => TEXT_USERS_PASSWORD . '<br>' . tep_draw_password_field('users_password'));
$contents[] = array('text' => TEXT_USERS_PASSWORD_CONFIRM . '<br>' . tep_draw_password_field('users_password_confirm'));
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_USERS, 'gPath=' . $gPath) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'edit_user':
$heading[] = array('text' => '<strong>' . $uInfo->users_id . (tep_not_null($uInfo->users_name) ? ' (' . $uInfo->users_name . ')' : '') . '</strong>');
$contents = array('form' => tep_draw_form('groups', FILENAME_USERS, 'action=update_user&gPath=' . $gPath . '&uID=' . $uID, 'post') . tep_draw_hidden_field('users_id', $uInfo->users_id));
$contents[] = array('text' => TEXT_EDIT_INTRO);
$contents[] = array('text' => '<br>' . TEXT_USERS_NAME . '<br>' . tep_draw_input_field('users_name', $uInfo->users_name, 'size="30"'));
$contents[] = array('text' => '<br>' . TEXT_USERS_EMAIL_ADDRESS . '<br>' . tep_draw_input_field('users_email_address', $uInfo->users_email_address, 'size="30"'));
$contents[] = array('text' => '<br>' . TEXT_USERS_NEW_PASSWORD . '<br>' . tep_draw_password_field('users_password'));
$contents[] = array('text' => TEXT_USERS_PASSWORD_CONFIRM . '<br>' . tep_draw_password_field('users_password_confirm'));
$contents[] = array('text' => '<br>' . TEXT_USERS_GROUP . '<br>' . tep_draw_pull_down_menu('users_groups_id', $users_groups, $gPath));
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_USERS, 'gPath=' . $gPath . '&users_id=' . $uInfo->users_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'new_group':
$heading[] = array('text' => '<strong>' . TEXT_INFO_HEADING_NEW_GROUP . '</strong>');
$contents = array('form' => tep_draw_form('newgroup', FILENAME_USERS, 'action=insert_group', 'post'));
$contents[] = array('text' => TEXT_NEW_GROUP_INTRO);
$contents[] = array('text' => '<br>' . TEXT_GROUPS_NAME . '<br>' . tep_draw_input_field('groups_name', '', 'size="30"'));
$shops_string = '';
$shops_query = tep_db_query("select shops_id, shops_url from " . TABLE_SHOPS . " order by sort_order");
while ($shops = tep_db_fetch_array($shops_query)) {
$shops_string .= '<br>' . "\n" . tep_draw_checkbox_field('shops[]', $shops['shops_id']) . ' ' . str_replace('http://', '', str_replace('www.', '', $shops['shops_url']));
}
$contents[] = array('text' => '<br>' . TEXT_EDIT_GROUPS_SHOPS . $shops_string);
$i = 0;
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:users.php
示例20: Translate
<td valign="top"><label for="email_address"><?php
echo Translate('E-mailadres');
?>
</label>: </td>
<td valign="top"><?php
echo tep_draw_input_field('email_address', '', 'id="email_address"');
?>
</td>
</tr>
<tr>
<td valign="top"><label for="password"><?php
echo Translate('Wachtwoord');
?>
</label>: </td>
<td valign="top"><?php
echo tep_draw_password_field('password', '', 'id="password"');
?>
<br /><?php
echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . Translate('Wachtwoord vergeten?') . '</a>';
?>
</td>
</tr>
<tr>
<td colspan="2" height="10"></td>
</tr>
<tr>
<td colspan="2" align="right">
<?php
/*autologon*/
if (ALLOW_AUTOLOGON != 'false' && $cookies_on == true) {
echo tep_draw_checkbox_field('remember_me', 'on', $password == '' ? false : true) . ' ' . Translate('Automatisch inloggen bij elk bezoek');
开发者ID:CristianCCIT,项目名称:shop4office,代码行数:31,代码来源:login.php
注:本文中的tep_draw_password_field函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论