PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
ticketing-old
/
include
/
staff
<?php if(!defined('OSTSCPINC') || !$thisstaff || !is_object($org)) die('Invalid path'); ?> <table width="940" cellpadding="2" cellspacing="0" border="0"> <tr> <td width="50%" class="has_bottom_border"> <h2><a href="orgs.php?id=<?php echo $org->getId(); ?>" title="Reload"><i class="icon-refresh"></i> <?php echo $org->getName(); ?></a></h2> </td> <td width="50%" class="right_align has_bottom_border"> <?php if ($thisstaff->hasPerm(Organization::PERM_DELETE)) { ?> <a id="org-delete" class="red button action-button org-action" href="#orgs/<?php echo $org->getId(); ?>/delete"><i class="icon-trash"></i> <?php echo __('Delete Organization'); ?></a> <?php } ?> <?php if ($thisstaff->hasPerm(Organization::PERM_EDIT)) { ?> <span class="action-button" data-dropdown="#action-dropdown-more"> <i class="icon-caret-down pull-right"></i> <span ><i class="icon-cog"></i> <?php echo __('More'); ?></span> </span> <?php } ?> <div id="action-dropdown-more" class="action-dropdown anchor-right"> <ul> <?php if ($thisstaff->hasPerm(Organization::PERM_EDIT)) { ?> <li><a href="#ajax.php/orgs/<?php echo $org->getId(); ?>/forms/manage" onclick="javascript: $.dialog($(this).attr('href').substr(1), 201); return false" ><i class="icon-paste"></i> <?php echo __('Manage Forms'); ?></a></li> <?php } ?> </ul> </div> </td> </tr> </table> <table class="ticket_info" cellspacing="0" cellpadding="0" width="940" border="0"> <tr> <td width="50%"> <table border="0" cellspacing="" cellpadding="4" width="100%"> <tr> <th width="150"><?php echo __('Name'); ?>:</th> <td> <?php if ($thisstaff->hasPerm(Organization::PERM_EDIT)) { ?> <b><a href="#orgs/<?php echo $org->getId(); ?>/edit" class="org-action"><i class="icon-edit"></i> <?php } echo $org->getName(); if ($thisstaff->hasPerm(Organization::PERM_EDIT)) { ?> </a></b> <?php } ?> </td> </tr> <tr> <th><?php echo __('Account Manager'); ?>:</th> <td><?php echo $org->getAccountManager(); ?> </td> </tr> </table> </td> <td width="50%" style="vertical-align:top"> <table border="0" cellspacing="" cellpadding="4" width="100%"> <tr> <th width="150"><?php echo __('Created'); ?>:</th> <td><?php echo Format::datetime($org->getCreateDate()); ?></td> </tr> <tr> <th><?php echo __('Last Updated'); ?>:</th> <td><?php echo Format::datetime($org->getUpdateDate()); ?></td> </tr> </table> </td> </tr> </table> <br> <div class="clear"></div> <ul class="clean tabs" id="orgtabs"> <li class="active"><a href="#users"><i class="icon-user"></i> <?php echo __('Users'); ?></a></li> <li><a href="#tickets"><i class="icon-list-alt"></i> <?php echo __('Tickets'); ?></a></li> <li><a href="#notes"><i class="icon-pushpin"></i> <?php echo __('Notes'); ?></a></li> </ul> <div id="orgtabs_container"> <div class="tab_content" id="users"> <?php include STAFFINC_DIR . 'templates/users.tmpl.php'; ?> </div> <div class="hidden tab_content" id="tickets"> <?php include STAFFINC_DIR . 'templates/tickets.tmpl.php'; ?> </div> <div class="hidden tab_content" id="notes"> <?php $notes = QuickNote::forOrganization($org); $create_note_url = 'orgs/'.$org->getId().'/note'; include STAFFINC_DIR . 'templates/notes.tmpl.php'; ?> </div> </div> <script type="text/javascript"> $(function() { $(document).on('click', 'a.org-action', function(e) { e.preventDefault(); var url = 'ajax.php/'+$(this).attr('href').substr(1); $.dialog(url, [201, 204], function (xhr) { if (xhr.status == 204) window.location.href = 'orgs.php'; else window.location.href = window.location.href; }, { onshow: function() { $('#org-search').focus(); } }); return false; }); }); </script>
[+]
..
[-] apikey.inc.php
[edit]
[-] apikeys.inc.php
[edit]
[-] banlist.inc.php
[edit]
[-] banrule.inc.php
[edit]
[-] cannedresponse.inc.php
[edit]
[-] cannedresponses.inc.php
[edit]
[-] categories.inc.php
[edit]
[-] category.inc.php
[edit]
[-] dashboard.inc.php
[edit]
[-] department.inc.php
[edit]
[-] departments.inc.php
[edit]
[-] directory.inc.php
[edit]
[-] dynamic-form.inc.php
[edit]
[-] dynamic-forms.inc.php
[edit]
[-] dynamic-list.inc.php
[edit]
[-] dynamic-lists.inc.php
[edit]
[-] email.inc.php
[edit]
[-] emails.inc.php
[edit]
[-] faq-categories.inc.php
[edit]
[-] faq-category.inc.php
[edit]
[-] faq-view.inc.php
[edit]
[-] faq.inc.php
[edit]
[-] filter.inc.php
[edit]
[-] filters.inc.php
[edit]
[-] footer.inc.php
[edit]
[-] header.inc.php
[edit]
[-] helptopic.inc.php
[edit]
[-] helptopics.inc.php
[edit]
[-] index.php
[edit]
[-] login.header.php
[edit]
[-] login.tpl.php
[edit]
[-] org-view.inc.php
[edit]
[-] orgs.inc.php
[edit]
[-] page.inc.php
[edit]
[-] pages.inc.php
[edit]
[-] plugin-add.inc.php
[edit]
[-] plugin-instance.inc.php
[edit]
[-] plugin.inc.php
[edit]
[-] plugins.inc.php
[edit]
[-] profile.inc.php
[edit]
[-] pwreset.login.php
[edit]
[-] pwreset.php
[edit]
[-] pwreset.sent.php
[edit]
[-] queue.inc.php
[edit]
[-] queues-ticket.inc.php
[edit]
[-] role.inc.php
[edit]
[-] roles.inc.php
[edit]
[-] schedule.inc.php
[edit]
[-] schedules.inc.php
[edit]
[-] settings-agents.inc.php
[edit]
[-] settings-alerts.inc.php
[edit]
[-] settings-autoresp.inc.php
[edit]
[-] settings-emails.inc.php
[edit]
[-] settings-kb.inc.php
[edit]
[-] settings-pages.inc.php
[edit]
[-] settings-system.inc.php
[edit]
[-] settings-tasks.inc.php
[edit]
[-] settings-tickets.inc.php
[edit]
[-] settings-users.inc.php
[edit]
[-] slaplan.inc.php
[edit]
[-] slaplans.inc.php
[edit]
[-] staff.inc.php
[edit]
[-] staffmembers.inc.php
[edit]
[-] syslogs.inc.php
[edit]
[-] system.inc.php
[edit]
[-] task-view.inc.php
[edit]
[-] tasks.inc.php
[edit]
[-] team.inc.php
[edit]
[-] teams.inc.php
[edit]
[-] template.inc.php
[edit]
[+]
templates
[-] templates.inc.php
[edit]
[-] ticket-edit.inc.php
[edit]
[-] ticket-open.inc.php
[edit]
[-] ticket-relations.inc.php
[edit]
[-] ticket-tasks.inc.php
[edit]
[-] ticket-view.inc.php
[edit]
[-] tpl.inc.php
[edit]
[-] user-view.inc.php
[edit]
[-] users.inc.php
[edit]
[-] .htaccess.disabled
[edit]