PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
include
/
staff
/
templates
<?php if (!isset($info['title'])) $info['title'] = Format::htmlchars($user->getName()); if ($info['title']) { ?> <h3 class="drag-handle"><?php echo $info['title']; ?></h3> <b><a class="close" href="#"><i class="icon-remove-circle"></i></a></b> <hr> <?php } else { echo '<div class="clear"></div>'; } if ($info['error']) { echo sprintf('<p id="msg_error">%s</p>', $info['error']); } elseif ($info['msg']) { echo sprintf('<p id="msg_notice">%s</p>', $info['msg']); } ?> <div id="user-profile" style="display:<?php echo $forms ? 'none' : 'block'; ?>;margin:5px;"> <div class="avatar pull-left" style="margin: 0 10px;"> <?php echo $user->getAvatar(); ?> </div> <?php if ($ticket) { ?> <a class="action-button pull-right change-user" style="overflow:inherit" href="#tickets/<?php echo $ticket->getId(); ?>/change-user" ><i class="icon-user"></i> <?php echo __('Change User'); ?></a> <?php } ?> <div><b><?php echo Format::htmlchars($user->getName()->getOriginal()); ?></b></div> <!--osta--> <div id="user-email"><a href="mailto://<?php echo $user->getEmail(); ?>"><?php echo $user->getEmail(); ?></a></div> <?php if (($org=$user->getOrganization())) { ?> <div style="margin-top: 7px;"><?php echo $org->getName(); ?></div> <?php } ?> <div class="clear"></div> <ul class="tabs" id="user_tabs" style="margin-top:5px"> <li class="active"><a href="#info-tab" ><i class="icon-info-sign"></i> <?php echo __('User'); ?></a></li> <?php if ($org) { ?> <li><a href="#org-tab" ><i class="icon-fixed-width icon-building"></i> <?php echo __('Organization'); ?></a></li> <?php } $ext_id = "U".$user->getId(); $notes = QuickNote::forUser($user, $org)->all(); ?> <li><a href="#notes-tab" ><i class="icon-fixed-width icon-pushpin"></i> <?php echo __('Notes'); ?></a></li> </ul> <div id="user_tabs_container"> <div class="tab_content" id="info-tab"> <div class="floating-options"> <?php if ($thisstaff->hasPerm(User::PERM_EDIT)) { ?> <a href="<?php echo $info['useredit'] ?: '#'; ?>" id="edituser" class="action" title="<?php echo __('Edit'); ?>"><i class="icon-edit"></i></a> <?php } if ($thisstaff->hasPerm(User::PERM_DIRECTORY)) { ?> <a href="users.php?id=<?php echo $user->getId(); ?>" title="<?php echo __('Manage User'); ?>" class="action"><i class="icon-share"></i></a> <?php } ?> </div> <table class="custom-info" width="100%"> <?php foreach ($user->getDynamicData() as $entry) { ?> <tr><th colspan="2"><strong><?php echo $entry->getTitle(); ?></strong></td></tr> <?php foreach ($entry->getAnswers() as $a) { ?> <tr><td style="width:30%;"><?php echo Format::htmlchars($a->getField()->get('label')); ?>:</td> <td><?php echo $a->display(); ?></td> </tr> <?php } } ?> </table> </div> <?php if ($org) { ?> <div class="hidden tab_content" id="org-tab"> <?php if ($thisstaff->hasPerm(User::PERM_DIRECTORY)) { ?> <div class="floating-options"> <a href="orgs.php?id=<?php echo $org->getId(); ?>" title="<?php echo __('Manage Organization'); ?>" class="action"><i class="icon-share"></i></a> </div> <?php } ?> <table class="custom-info" width="100%"> <?php foreach ($org->getDynamicData() as $entry) { ?> <tr><th colspan="2"><strong><?php echo $entry->getTitle(); ?></strong></td></tr> <?php foreach ($entry->getAnswers() as $a) { ?> <tr><td style="width:30%"><?php echo Format::htmlchars($a->getField()->get('label')); ?>:</td> <td><?php echo $a->display(); ?></td> </tr> <?php } } ?> </table> </div> <?php } # endif ($org) ?> <div class="hidden tab_content" id="notes-tab"> <?php $show_options = true; foreach ($notes as $note) include STAFFINC_DIR . 'templates/note.tmpl.php'; ?> <div id="new-note-box"> <div class="quicknote no-options" id="new-note" data-url="users/<?php echo $user->getId(); ?>/note"> <div class="body"> <a href="#"><i class="icon-plus icon-large"></i> <?php echo __('Click to create a new note'); ?></a> </div> </div> </div> </div> </div> </div> <div id="user-form" style="display:<?php echo $forms ? 'block' : 'none'; ?>;"> <div><p id="msg_info"><i class="icon-info-sign"></i> <?php echo __( 'Please note that updates will be reflected system-wide.' ); ?></p></div> <?php $action = $info['action'] ? $info['action'] : ('#users/'.$user->getId()); if ($ticket && $ticket->getOwnerId() == $user->getId()) $action = '#tickets/'.$ticket->getId().'/user'; ?> <form method="post" class="user" action="<?php echo $action; ?>"> <input type="hidden" name="uid" value="<?php echo $user->getId(); ?>" /> <table width="100%"> <?php if (!$forms) $forms = $user->getForms(); foreach ($forms as $form) $form->render(); ?> </table> <hr> <p class="full-width"> <span class="buttons pull-left"> <input type="reset" value="<?php echo __('Reset'); ?>"> <input type="button" name="cancel" class="<?php echo ($ticket && $user) ? 'cancel' : 'close' ?>" value="<?php echo __('Cancel'); ?>"> </span> <span class="buttons pull-right"> <input type="submit" value="<?php echo __('Update User'); ?>"> </span> </p> </form> </div> <div class="clear"></div> <script type="text/javascript"> $(function() { $('a#edituser').click( function(e) { e.preventDefault(); if ($(this).attr('href').length > 1) { var url = 'ajax.php/'+$(this).attr('href').substr(1); $.dialog(url, [201, 204], function (xhr) { window.location.href = window.location.href; }, { onshow: function() { $('#user-search').focus(); } }); } else { $('div#user-profile').hide(); $('div#user-form').fadeIn(); } return false; }); $(document).on('click', 'form.user input.cancel', function (e) { e.preventDefault(); $('div#user-form').hide(); $('div#user-profile').fadeIn(); return false; }); }); </script>
[+]
..
[-] 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]