Ejemplo n.º 1
0
    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 
Ejemplo n.º 2
0
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>
Ejemplo n.º 3
0
<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>
Ejemplo n.º 4
0
			<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