本文整理匯總了PHP中UserForm::zip_text方法的典型用法代碼示例。如果您正苦於以下問題:PHP UserForm::zip_text方法的具體用法?PHP UserForm::zip_text怎麽用?PHP UserForm::zip_text使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類UserForm
的用法示例。
在下文中一共展示了UserForm::zip_text方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: _e
<div class="form-row">
<div class="form-label"><?php _e('City'); ?></div>
<div class="form-controls">
<?php UserForm::city_select($cities, $user); ?>
</div>
</div>
<div class="form-row">
<div class="form-label"><?php _e('City area'); ?></div>
<div class="form-controls">
<?php UserForm::city_area_text($user); ?>
</div>
</div>
<div class="form-row">
<div class="form-label"><?php _e('Zip code'); ?></div>
<div class="form-controls">
<?php UserForm::zip_text($user); ?>
</div>
</div>
<div class="form-row">
<div class="form-label"><?php _e('Address'); ?></div>
<div class="form-controls">
<?php UserForm::address_text($user); ?>
</div>
</div>
<h3 class="render-title"><?php _e('Password'); ?></h3>
<div class="form-row">
<div class="form-label"><?php _e('New password'); ?><?php if(!$aux['edit']) { printf('<br/><em>%s</em>', __('(twice, required)')); } ?></div>
<div class="form-controls">
<?php UserForm::password_text($user); ?>
<?php if($aux['edit']) { ?>
<p class="help-inline"><?php _e("If you'd like to change the password, type a new one. Otherwise leave this blank"); ?></p>
示例2: _e
?>
</div>
<div class="form-controls">
<?php
UserForm::city_area_text($user);
?>
</div>
</div>
<div class="form-row">
<div class="form-label"><?php
_e('Zip code');
?>
</div>
<div class="form-controls">
<?php
UserForm::zip_text($user);
?>
</div>
</div>
<div class="form-row">
<div class="form-label"><?php
_e('Address');
?>
</div>
<div class="form-controls">
<?php
UserForm::address_text($user);
?>
</div>
</div>
<h3 class="render-title"><?php