예제 #1
0
        // ----------------------------------------------------------------------------------------------------------------------------------------------------------------
        // ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    // ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    // ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    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>&nbsp;-&nbsp;' . $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);
          <td class="main"><?php 
echo ENTRY_PASSWORD;
?>
</td>
          <td class="main"><?php 
echo zen_draw_password_field('password') . '&nbsp;' . (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') . '&nbsp;' . (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>
<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>
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>&nbsp;</td>
				  <td>&nbsp;</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
0
<?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
0
function zen_cfg_password_input($value, $key = '')
{
    return zen_draw_password_field('configuration[' . $key . ']', $value);
}
예제 #7
0
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);
}
<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
0
</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;
?>
            </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
0
<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
0
?>
<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
0
    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>
<tr>
<th scope="row">&nbsp;</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 
</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 にする
/*
예제 #16
0
     $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>');
<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 
예제 #18
0
          <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')) . '&nbsp;' . (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')) . '&nbsp;' . (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>
                    </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 
</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>
예제 #21
0
<label class="inputLabel" for="login-email-address"><?php 
    echo ENTRY_EMAIL_ADDRESS;
    ?>
</label>
<?php 
    echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' 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', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', 40) . ' id="login-password" autocomplete="off"');
    ?>
<br class="clearBoth" />
<?php 
    echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
    ?>
</fieldset>

<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>
echo BootstrapForms::required_text(ENTRY_PASSWORD_NEW_TEXT) . ENTRY_PASSWORD_NEW;
?>
    </label>
    <div class='col-sm-8'><?php 
echo zen_draw_password_field('password_new', '', 'id="password-new" class="form-control"');
?>
    </div>
  </div>

  <div class='form-group'>
    <label class="control-label col-sm-4" for="password-confirm"><?php 
echo BootstrapForms::required_text(ENTRY_PASSWORD_CONFIRMATION_TEXT) . ENTRY_PASSWORD_CONFIRMATION;
?>
    </label>
    <div class='col-sm-8'><?php 
echo zen_draw_password_field('password_confirmation', '', 'id="password-confirm" class="form-control"');
?>
    </div>
  </div>
</fieldset>

<div class='clearfix'>
  <div class="pull-right"><button type='submit' class='btn btn-primary'>
    <?php 
echo BUTTON_SUBMIT_ALT;
?>
  </button></div>
  <div class="pull-left">
    <a href='<?php 
echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL');
?>
예제 #23
0
<label class="inputLabel" for="login-email-address"><?php 
    echo ENTRY_EMAIL_ADDRESS;
    ?>
</label>
<?php 
    echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="login-email-address"');
    ?>
<br class="clearBoth" />

<label class="inputLabel" for="login-password"><?php 
    echo ENTRY_PASSWORD;
    ?>
</label>
<!-- modified by zen-cart.cn //-->
<?php 
    echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '40') . ' id="login-password"');
    ?>
<br class="clearBoth" />
<?php 
    echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
    ?>
</fieldset>

<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>
</td>
								<td width="66%">
									<?php 
    echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '20') . ' class="r_inpur" id="email_address"');
    ?>
							    </td>
							  </tr>
							  
							  <tr>
								<td align="right" valign="top"><?php 
    echo TEXT_PASSWORD;
    ?>
</td>
								<td>
									 <?php 
    echo zen_draw_password_field('password', '', ' size="20" class="r_inpur" id="password" ');
    ?>
									 <?php 
    echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
    ?>
									 <p>&nbsp;</p>
								</td>
							  </tr>
							  <tr>
								<td height="28" colspan="2" valign="top">
								   <a href="<?php 
    echo zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL');
    ?>
" class="xhx error h cd">
									  <?php 
    echo TEXT_PASSWORD_FORGOTTEN;