예제 #1
0
        if ($field['grouping'] != $grouping) {
            if ($open) {
                FSS_Table::TableClose();
            }
            echo FSS_Helper::PageSubTitle($field['grouping']);
            FSS_Table::TableOpen();
            $open = true;
            $grouping = $field['grouping'];
        }
        FSS_Table::ColStart("tr_cf" . $field['id'] . " tr_cf_" . $field['alias']);
        ?>
		<th width='<?php 
        echo FSS_Settings::get('ticket_label_width');
        ?>
'><?php 
        echo FSSCF::FieldHeader($field);
        ?>
</th>
			<td>
			<?php 
        if ($this->can_ChangeTicket() && $this->CanEditField($field) && $this->can_EditFields()) {
            ?>
				<a class='pull-right show_modal_iframe padding-left-small' href="<?php 
            echo FSSRoute::_("&tmpl=component&layout=field&editfield=" . $field['id']);
            ?>
">
					<i class="icon-edit fssTip" title="<?php 
            echo JText::_("EDIT_FIELD");
            ?>
"></i> 
				</a>
예제 #2
0
	<?php 
echo FSS_Helper::PageTitlePopup("SUPPORT", "EDIT_TICKET");
?>

	<?php 
$input = FSSCF::FieldInput($this->field, $this->errors, "ticket", array('ticketid' => FSS_Input::getInt('ticketid', 0), 'userid' => $this->ticket['user_id'], 'ticket' => $this->ticket));
?>

	<div class="control-group" style="min-height:<?php 
echo $this->field['min_popup_height'];
?>
px;">
		<label class="control-label">
		
			<?php 
echo FSSCF::FieldHeader($this->field, false, false);
?>
		</label>
		<div class="controls">
			<?php 
echo $input;
?>
		</div>
	</div>

	<input type="hidden" name="what" value="savefield">
	<input type="hidden" name="savefield" value="<?php 
echo $this->field['id'];
?>
">
예제 #3
0
				<?php 
                $open = true;
                $grouping = $field['grouping'];
                ?>
			<?php 
            }
            ?>

			<?php 
            $mc->Item();
            ?>
			<td width='<?php 
            echo FSS_Settings::get('ticket_label_width');
            ?>
'><?php 
            echo FSSCF::FieldHeader($field, false, false);
            ?>
</td>
			<td colspan="2">
				<?php 
            if ($field['permissions'] == 0 && !$st->is_closed && $this->CanEditField($field) && !$this->readonly) {
                ?>
					<a class='pull-right show_modal_iframe padding-left-small' href="<?php 
                echo FSSRoute::_("&tmpl=component&what=editfield&ticketid=" . $this->ticket['id'] . "&editfield=" . $field['id']);
                // FIX LINK
                ?>
">
						<i class="icon-edit fssTip" title="<?php 
                echo JText::_("EDIT_FIELD");
                ?>
"></i> 
예제 #4
0
				</div>
			<?php 
    }
    ?>

			<?php 
    foreach ($this->customfields as $custfield) {
        ?>
				<div class="control-group <?php 
        if (FSSCF::HasErrors($custfield, $this->errors)) {
            echo "error";
        }
        ?>
">
					<label class="control-label"><?php 
        echo FSSCF::FieldHeader($custfield, true, false);
        ?>
</label>
					<div class="controls">
						<?php 
        echo FSSCF::FieldInput($custfield, $this->errors, 'comments');
        ?>
					</div>
				</div>
			<?php 
    }
    ?>
			<script>
			<?php 
    foreach ($this->customfields as $custfield) {
        ?>