PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
include
/
staff
/
templates
<?php $error=$msg=$warn=null; if (!$task->checkStaffPerm($thisstaff)) $warn.= sprintf(__('You do not have access to %s'), __('this task')); elseif ($task->isOverdue()) $warn.=' <span class="Icon overdueTicket">'.__('Marked overdue!').'</span>'; echo sprintf( '<div style="width:600px; padding: 2px 2px 0 5px;" id="t%s"> <h2>'.__('Task #%s').': %s</h2>', $task->getNumber(), $task->getNumber(), Format::htmlchars($task->getTitle())); if($error) echo sprintf('<div id="msg_error">%s</div>',$error); elseif($msg) echo sprintf('<div id="msg_notice">%s</div>',$msg); elseif($warn) echo sprintf('<div id="msg_warning">%s</div>',$warn); echo '<ul class="tabs" id="task-preview">'; echo ' <li class="active"><a href="#summary" ><i class="icon-list-alt"></i> '.__('Task Summary').'</a></li>'; if ($task->getThread()->getNumCollaborators()) { echo sprintf(' <li><a id="collab_tab" href="#collab" ><i class="icon-fixed-width icon-group faded"></i> '.__('Collaborators (%d)').'</a></li>', $task->getThread()->getNumCollaborators()); } echo '</ul>'; echo '<div id="task-preview_container">'; echo '<div class="tab_content" id="summary">'; echo '<table border="0" cellspacing="" cellpadding="1" width="100%" class="ticket_info">'; $status=sprintf('<span>%s</span>',ucfirst($task->getStatus())); echo sprintf(' <tr> <th width="100">'.__('Status').':</th> <td>%s</td> </tr> <tr> <th>'.__('Created').':</th> <td>%s</td> </tr>',$status, Format::datetime($task->getCreateDate())); if ($task->isClosed()) { echo sprintf(' <tr> <th>'.__('Completed').':</th> <td>%s</td> </tr>', Format::datetime($task->getCloseDate())); } elseif ($task->isOpen() && $task->duedate) { echo sprintf(' <tr> <th>'.__('Due Date').':</th> <td>%s</td> </tr>', Format::datetime($task->duedate)); } echo '</table>'; echo '<hr> <table border="0" cellspacing="" cellpadding="1" width="100%" class="ticket_info">'; if ($task->isOpen()) { echo sprintf(' <tr> <th width="100">'.__('Assigned To').':</th> <td>%s</td> </tr>', $task->getAssigned() ?: ' <span class="faded">— '.__('Unassigned').' —</span>'); } echo sprintf( ' <tr> <th width="100">'.__('Department').':</th> <td>%s</td> </tr>', Format::htmlchars($task->dept->getName()) ); echo ' </table>'; echo '</div>'; ?> <?php //TODO: add link to view if the user has permission ?> <div class="hidden tab_content" id="collab"> <table border="0" cellspacing="" cellpadding="1"> <colgroup><col style="min-width: 250px;"></col></colgroup> <?php if (($collabs=$task->getThread()->getCollaborators())) {?> <?php foreach($collabs as $collab) { echo sprintf('<tr><td %s><i class="icon-%s"></i> <a href="users.php?id=%d" class="no-pjax">%s</a> <em><%s></em></td></tr>', ($collab->isActive()? '' : 'class="faded"'), ($collab->isActive()? 'comments' : 'comment-alt'), $collab->getUserId(), $collab->getName(), $collab->getEmail()); } } else { echo __("Task doesn't have any collaborators."); }?> </table> <br> <?php echo sprintf('<span><a class="collaborators" href="#thread/%d/collaborators/1">%s</a></span>', $task->getThreadId(), $task->getThread()->getNumCollaborators() ? __('Manage Collaborators') : __('Add Collaborator') ); ?> </div> </div> </div>
[+]
..
[-] queue-export.tmpl.php
[edit]
[-] queue-preview.tmpl.php
[edit]
[-] queue-column-condition.tmpl.php
[edit]
[-] queue-sorting-add.tmpl.php
[edit]
[-] refer.tmpl.php
[edit]
[-] form-manage.tmpl.php
[edit]
[-] confirm.tmpl.php
[edit]
[-] mobile-sub-navigation.tmpl.php
[edit]
[-] queue-column-condition-prop.tmpl.php
[edit]
[-] user-lookup.tmpl.php
[edit]
[-] thread-entry.tmpl.php
[edit]
[-] quick-add-role.tmpl.php
[edit]
[-] simple-form.tmpl.php
[edit]
[-] sequence-manage.tmpl.php
[edit]
[-] reset-agent-permissions.tmpl.php
[edit]
[-] email-basicauth.tmpl.php
[edit]
[-] user-register.tmpl.php
[edit]
[-] mobile-queue-navigation.tmpl.php
[edit]
[-] thread-entry-edit.tmpl.php
[edit]
[-] queue-savedsearches-nav.tmpl.php
[edit]
[-] assign.tmpl.php
[edit]
[-] user-delete.tmpl.php
[edit]
[-] tickets.tmpl.php
[edit]
[-] export.tmpl.php
[edit]
[-] ticket-status.tmpl.php
[edit]
[-] merge-tickets.tmpl.php
[edit]
[-] notes.tmpl.php
[edit]
[-] queue-column-add.tmpl.php
[edit]
[-] user-import.tmpl.php
[edit]
[-] queue-fields.tmpl.php
[edit]
[-] dynamic-form-simple.tmpl.php
[edit]
[-] queue-quickfilter.tmpl.php
[edit]
[-] merge-preview.tmpl.php
[edit]
[-] field-edit.tmpl.php
[edit]
[-] org.tmpl.php
[edit]
[-] list-import.tmpl.php
[edit]
[-] thread-event.tmpl.php
[edit]
[-] tickets-actions.tmpl.php
[edit]
[-] queue-column-edit.tmpl.php
[edit]
[-] status-options.tmpl.php
[edit]
[-] navigation.tmpl.php
[edit]
[-] field-view.tmpl.php
[edit]
[-] tasks-queue-sort.tmpl.php
[edit]
[-] ticket-preview.tmpl.php
[edit]
[-] list-items.tmpl.php
[edit]
[-] thread-entries.tmpl.php
[edit]
[-] mobile-queue-subnavigation.tmpl.php
[edit]
[-] queue-tickets.tmpl.php
[edit]
[-] list-item-properties.tmpl.php
[edit]
[-] email-smtp.tmpl.php
[edit]
[-] release.tmpl.php
[edit]
[-] advanced-search.tmpl.php
[edit]
[-] schedule-holidays.tmpl.php
[edit]
[-] delete.tmpl.php
[edit]
[-] plugin-instance-modal.tmpl.php
[edit]
[-] thread-entry-view.tmpl.php
[edit]
[-] list-item-row.tmpl.php
[edit]
[-] faq-print.tmpl.php
[edit]
[-] sub-navigation.tmpl.php
[edit]
[-] plugin-instances.tmpl.php
[edit]
[-] collaborators.tmpl.php
[edit]
[-] list-item-preview.tmpl.php
[edit]
[-] task-edit.tmpl.php
[edit]
[-] set-password.tmpl.php
[edit]
[-] users.tmpl.php
[edit]
[-] queue-sort.tmpl.php
[edit]
[-] dynamic-field-config.tmpl.php
[edit]
[-] thread-email-recipients.tmpl.php
[edit]
[-] task-print.tmpl.php
[edit]
[-] org-delete.tmpl.php
[edit]
[-] 2fas.tmpl.php
[edit]
[-] advanced-search-criteria.tmpl.php
[edit]
[-] mark-as.tmpl.php
[edit]
[-] queue-subnavigation.tmpl.php
[edit]
[-] user-account.tmpl.php
[edit]
[-] queue-sorting.tmpl.php
[edit]
[-] advanced-search-field.tmpl.php
[edit]
[-] schedule-diagnostic.tmpl.php
[edit]
[-] schedule-entry.tmpl.php
[edit]
[-] inline-form.tmpl.php
[edit]
[-] task-view.tmpl.php
[edit]
[-] dynamic-form.tmpl.php
[edit]
[-] queue-navigation.tmpl.php
[edit]
[-] quick-add.tmpl.php
[edit]
[-] note.tmpl.php
[edit]
[-] thread-email-headers.tmpl.php
[edit]
[-] queue-sorting-edit.tmpl.php
[edit]
[-] queue-columns.tmpl.php
[edit]
[-] email-oauth2auth.tmpl.php
[edit]
[-] org-lookup.tmpl.php
[edit]
[-] user.tmpl.php
[edit]
[-] thread-entries-preview.tmpl.php
[edit]
[-] dynamic-form-fields-view.tmpl.php
[edit]
[-] savedqueue-settings.tmpl.php
[edit]
[-] tasks-actions.tmpl.php
[edit]
[-] thread-entry-resend.tmpl.php
[edit]
[-] plugin-instance.tmpl.php
[edit]
[-] content-manage.tmpl.php
[edit]
[-] timezone.tmpl.php
[edit]
[-] schedule-add.tmpl.php
[edit]
[-] task-status.tmpl.php
[edit]
[-] email-mailbox.tmpl.php
[edit]
[-] transfer.tmpl.php
[edit]
[-] collaborators-preview.tmpl.php
[edit]
[-] task.tmpl.php
[edit]
[-] mobile-navigation.tmpl.php
[edit]
[-] org-profile.tmpl.php
[edit]
[-] queue-column.tmpl.php
[edit]
[-] schedule-entries.tmpl.php
[edit]
[-] task-preview.tmpl.php
[edit]
[-] ticket-print.tmpl.php
[edit]
[-] .htaccess.disabled
[edit]