Esempio n. 1
0
		</td>
	</tr>

	<!-- Assigned project list -->
	<tr <?php 
echo helper_alternate_class();
?>
 valign="top">
		<td class="category">
			<?php 
echo lang_get('assigned_projects');
?>
		</td>
		<td>
			<?php 
print_project_user_list(auth_get_current_user_id(), false);
?>
		</td>
	</tr>

	<?php 
if ($t_show_update_button) {
    ?>
	<!-- BUTTONS -->
	<tr>
		<td class="left">
			<?php 
    if ($t_force_pw_reset) {
        ?>
			<span class="required"> * <?php 
        echo lang_get('required');
Esempio n. 2
0
	</td>
</tr>

<!-- Assigned Projects -->
<tr <?php 
    echo helper_alternate_class(1);
    ?>
 valign="top">
	<td class="category" width="30%">
		<?php 
    echo lang_get('assigned_projects');
    ?>
	</td>
	<td width="70%">
		<?php 
    print_project_user_list($t_user['id']);
    ?>
	</td>
</tr>

<form method="post" action="manage_user_proj_add.php">
<?php 
    echo form_security_field('manage_user_proj_add');
    ?>
		<input type="hidden" name="user_id" value="<?php 
    echo $t_user['id'];
    ?>
" />
<!-- Unassigned Project Selection -->
<tr <?php 
    echo helper_alternate_class();
Esempio n. 3
0
	} else {
		echo lang_get( 'reset_password_msg2' );
	}
?>
</div>
<?php } ?>

<!-- PROJECT ACCESS (if permissions allow) and user is not ADMINISTRATOR -->
<?php if ( access_has_global_level( config_get( 'manage_user_threshold' ) ) &&
    !user_is_administrator( $t_user_id ) ) {
?>
<div class="form-container">
	<h2><?php echo lang_get( 'add_user_title' ) ?></h2>
	<div class="field-container <?php echo helper_alternate_class_no_attribute(); ?>">
		<span class="display-label"><span><?php echo lang_get( 'assigned_projects_label' ) ?></span></span>
		<div class="input"><?php print_project_user_list( $t_user['id'] ) ?></div>
		<span class="label-style"></span>
	</div>
	<form id="manage-user-project-add-form" method="post" action="manage_user_proj_add.php">
		<fieldset>
			<?php echo form_security_field( 'manage_user_proj_add' ) ?>
			<input type="hidden" name="user_id" value="<?php echo $t_user['id'] ?>" />
			<div class="field-container <?php echo helper_alternate_class_no_attribute(); ?>">
				<label for="add-user-project-id"><span><?php echo lang_get( 'unassigned_projects_label' ) ?></span></label>
				<span class="select">
					<select id="add-user-project-id" name="project_id[]" multiple="multiple" size="5">
						<?php print_project_user_list_option_list2( $t_user['id'] ) ?>
					</select>
				</span>
				<span class="label-style"></span>
			</div>