本文整理汇总了PHP中print_email_input函数的典型用法代码示例。如果您正苦于以下问题:PHP print_email_input函数的具体用法?PHP print_email_input怎么用?PHP print_email_input使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了print_email_input函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: lang_get
echo lang_get('username');
?>
</td>
<td width="75%">
<input type="text" name="username" size="32" maxlength="32" />
</td>
</tr>
<tr class="row-2">
<td class="category" width="25%">
<?php
echo lang_get('email');
?>
</td>
<td width="75%">
<?php
print_email_input('email', '');
?>
</td>
</tr>
<tr>
<td colspan="2">
<br/>
<?php
echo lang_get('lost_password_info');
?>
<br/><br/>
</td>
</tr>
<tr>
<td class="center" colspan="2">
<input type="submit" class="button" value="<?php
示例2: helper_alternate_class
echo helper_alternate_class();
?>
>
<td class="category">
<?php
echo lang_get('email');
?>
</td>
<td>
<?php
// With LDAP
if ($t_ldap && ON == config_get('use_ldap_email')) {
echo string_display_line($u_email);
} else {
$t_show_update_button = true;
print_email_input('email', $u_email);
}
?>
</td>
</tr>
<!-- Realname -->
<tr <?php
echo helper_alternate_class();
?>
valign="top">
<td class="category">
<?php
echo lang_get('realname');
?>
</td>
示例3: helper_alternate_class
<tr <?php
echo helper_alternate_class();
?>
>
<td class="category">
<?php
echo lang_get('email');
?>
</td>
<td>
<?php
// With LDAP
if ($t_ldap && ON == config_get('use_ldap_email')) {
echo string_display_line(user_get_email($t_user_id));
} else {
print_email_input('email', $t_user['email']);
}
?>
</td>
</tr>
<!-- Access Level -->
<tr <?php
echo helper_alternate_class();
?>
>
<td class="category">
<?php
echo lang_get('access_level');
?>
</td>
示例4: helper_alternate_class_no_attribute
<div class="field-container <?php echo helper_alternate_class_no_attribute(); ?>">
<label for="user-username"><span><?php echo lang_get( 'username' ) ?></span></label>
<span class="input"><input type="text" id="user-username" name="username" size="32" maxlength="<?php echo DB_FIELD_SIZE_USERNAME;?>" /></span>
<span class="label-style"></span>
</div><?php
if ( !$t_ldap || config_get( 'use_ldap_realname' ) == OFF ) { ?>
<div class="field-container <?php echo helper_alternate_class_no_attribute(); ?>">
<label for="user-realname"><span><?php echo lang_get( 'realname' ) ?></span></label>
<span class="input"><input type="text" id="user-realname" name="realname" size="32" maxlength="<?php echo DB_FIELD_SIZE_REALNAME;?>" /></span>
<span class="label-style"></span>
</div><?php
}
if ( !$t_ldap || config_get( 'use_ldap_email' ) == OFF ) { ?>
<div class="field-container <?php echo helper_alternate_class_no_attribute(); ?>">
<label for="email-field"><span><?php echo lang_get( 'email' ) ?></span></label>
<span class="input"><?php print_email_input( 'email', '' ) ?></span>
<span class="label-style"></span>
</div><?php
}
if ( OFF == config_get( 'send_reset_password' ) ) { ?>
<div class="field-container <?php echo helper_alternate_class_no_attribute(); ?>">
<label for="user-password"><span><?php echo lang_get( 'password' ) ?></span></label>
<span class="input"><input type="password" id="user-password" name="password" size="32" maxlength="<?php echo auth_get_password_max_size(); ?>" /></span>
<span class="label-style"></span>
</div>
<div class="field-container <?php echo helper_alternate_class_no_attribute(); ?>">
<label for="user-verify-password"><span><?php echo lang_get( 'verify_password' ) ?></span></label>
<span class="input"><input type="password" id="user-verify-password" name="password_verify" size="32" maxlength="<?php echo auth_get_password_max_size(); ?>" /></span>
<span class="label-style"></span>
</div><?php