当前位置: 首页>>代码示例>>PHP>>正文


PHP tep_draw_password_field函数代码示例

本文整理汇总了PHP中tep_draw_password_field函数的典型用法代码示例。如果您正苦于以下问题:PHP tep_draw_password_field函数的具体用法?PHP tep_draw_password_field怎么用?PHP tep_draw_password_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了tep_draw_password_field函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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) . '&nbsp;' . 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>&nbsp;<span class="inputRequirement">*</span>' . (tep_not_null(ENTRY_PASSWORD_TEXT) ? '&nbsp;' . 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>&nbsp;<span class="inputRequirement">*</span>' . (tep_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '&nbsp;' . 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') . '&nbsp;' . (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') . '&nbsp;' . (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>&nbsp;' . 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>&nbsp;' . 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) . '&nbsp;' . TEXT_INFO_INTRO_CONFIRM_PASSWORD_ERROR . '</td></tr></table>');
        }
        $contents[] = array('text' => '&nbsp;' . 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>&nbsp;');
        break;
    default:
        $heading[] = array('text' => '<b>&nbsp;' . 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>&nbsp;');
        } 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) . '&nbsp;' . 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') . '&nbsp;' . ENTRY_PASSWORD_TEXT;
    }
    ?>
            </td>
          </tr>
<?php 
    if ($error == false || $entry_password_error == true) {
        ?>
          <tr>
            <td class="main">&nbsp;<?php 
        echo ENTRY_PASSWORD_CONFIRMATION;
        ?>
</td>
            <td class="main">&nbsp;
<?php 
        echo tep_draw_password_field('a_confirmation') . '&nbsp;' . 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"') . '&nbsp;' . (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"') . '&nbsp;' . (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">&#149; <?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') . '&nbsp;' . (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') . '&nbsp;' . (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">&#149; 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') . '&nbsp;<span class="inputRequirement">' . ENTRY_PASSWORD_TEXT . '</span>';
    }
    ?>
            </td>
          </tr>
<?php 
    if ($error == false || $entry_password_error == true) {
        ?>
          <tr>
            <td class="main" width="150">&nbsp;<?php 
        echo ENTRY_PASSWORD_CONFIRMATION;
        ?>
</td>
            <td class="main">&nbsp;
<?php 
        echo tep_draw_password_field('a_confirmation') . '&nbsp;<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


注:本文中的tep_draw_password_field函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。