Example #1
0
						<td align="right" nowrap="nowrap"><?php 
echo $AppUI->_('Folder');
?>
:</td>
						<td align="left">
							<?php 
if ($file_id == 0 && !$ci) {
    ?>
								<?php 
    echo arraySelectTree($folders, 'file_folder', 'style="width:175px;" class="text"', $file_helpdesk_item ? getHelpdeskFolder() : $folder);
    ?>
							<?php 
} else {
    ?>
								<?php 
    echo arraySelectTree($folders, 'file_folder', 'style="width:175px;" class="text"', $file_helpdesk_item ? getHelpdeskFolder() : $file->file_folder);
    ?>
							<?php 
}
?>
						</td>
					</tr>		
					<?php 
if ($file->file_id) {
    ?>
						<tr>
							<td align="right" nowrap="nowrap"><?php 
    echo $AppUI->_('File Name');
    ?>
:</td>
							<td align="left" class="hilite"><?php 
Example #2
0
	<input type="hidden" name="file_helpdesk_item" value="<?php 
echo $file_helpdesk_item;
?>
" />

<table width="100%" border="0" cellpadding="3" cellspacing="3" class="std">
<tr>
	<td width="100%" valign="top" align="center">
		<table cellspacing="1" cellpadding="2" width="60%">
		<tr>
			<td align="right" nowrap="nowrap"><?php 
echo $AppUI->_('Folder');
?>
:</td>
			<td align="left"><?php 
echo arraySelectTree($folders, 'file_folder', 'style="width:175px;" class="text"', $file_helpdesk_item ? getHelpdeskFolder() : ($file_id == 0 && !$ci ? $folder : $obj->file_folder));
?>
</td>
		</tr><?php 
if ($file_id) {
    ?>
		<tr>
			<td align="right" nowrap="nowrap"><?php 
    echo $AppUI->_('File Name');
    ?>
:</td>
			<td align="left" class="hilite"><?php 
    echo mb_strlen($obj->file_name) == 0 ? "n/a" : $obj->file_name;
    ?>
</td>
			<td>