本文整理汇总了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