예제 #1
0
		
		<?php 
if ($is_admin) {
    ?>
		<div class="mail-account-item dataBlock">
			<label for="<?php 
    echo $genid;
    ?>
assign_to">
				<?php 
    echo lang('assign to');
    ?>
			</label>
			<?php 
    $select_box_attrib = array('id' => $genid . 'users_select_box');
    echo user_select_box('users_select_box', $mailAccount->getContactId(), $select_box_attrib);
    ?>
			<span class="desc"><?php 
    echo lang('assigned to description');
    ?>
</span>
							
		</div>
		<?php 
}
?>
		
		<div class="mail-account-item dataBlock">
			<label for="<?php 
echo $genid;
?>
예제 #2
0
				    
				    <?php 
    /*
     * This section display the select box for select contact that are not in this dim
     */
    ?>
				    <div id="<?php 
    echo $genid;
    ?>
registered-person-form" style="padding-bottom:4px;float:right;display:none;">
						
						<div>
							<div style="float:left;"><?php 
    if ($contacts_for_combo != null) {
        $select_box_attrib = array('id' => 'permissions_users_select_box', 'style' => 'width:160px; margin-bottom: 5px; height:30px; font-size:15px;');
        echo user_select_box('permissions_users_select_box', null, $select_box_attrib, $contacts_for_combo);
    }
    ?>
</div>
							<button class="add-first-btn add-permission-button" style="float:right; font-size: 15px; height: 30px;">
								<img src="public/assets/themes/default/images/16x16/add.png">
								<?php 
    echo lang('add') . ' ' . strtolower(lang('Registered Person'));
    ?>
							</button>
						</div>
						
						<div class="clear"></div>
						
						
					</div>
예제 #3
0
		<div class="mail-account-item">
			<label for="<?php 
    echo $genid;
    ?>
assign_to">
				<?php 
    echo lang('assign to');
    ?>
				<span class="desc"><?php 
    echo lang('assigned to description');
    ?>
</span>
			</label>
			<?php 
    $select_box_attrib = array('id' => $genid . 'users_select_box');
    echo user_select_box('users_select_box', logged_user()->getId(), $select_box_attrib);
    ?>
							
		</div>
		<?php 
}
?>
		
		<div class="mail-account-item">
			<label for="<?php 
echo $genid;
?>
is_default">
				<?php 
echo lang('default account');
?>
예제 #4
0
			<td style="padding-right: 10px; width:140px;">
				<?php 
echo pick_date_widget2('timeslot[date]', DateTimeValueLib::now(), $genid, 100, false);
?>
			</td>
			<td style="padding-right:10px; width:140px;">
				 <?php 
echo select_project2('timeslot[project_id]', active_or_personal_project()->getId(), $genid);
?>
			</td>
			<?php 
if (logged_user()->isAdministrator()) {
    ?>
<td style="padding-right: 10px; width:140px;">
				<?php 
    echo user_select_box("timeslot[user_id]", logged_user()->getId(), array('id' => $genid . 'tsUser', 'tabindex' => '150'));
    ?>
			</td><?php 
} else {
    ?>
<td style="padding-right: 10px">	
				<input type="hidden" id="<?php 
    echo $genid;
    ?>
tsUser" name="timeslot[user_id]" value="<?php 
    echo logged_user()->getId();
    ?>
"/>
			</td><?php 
}
?>