PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
include
/
staff
/
templates
<h3 class="drag-handle"><?php echo __('Collaborators'); ?></h3> <b><a class="close" href="#"><i class="icon-remove-circle"></i></a></b> <?php if($info && $info['msg']) { echo sprintf('<p id="msg_notice" style="padding-top:2px;">%s</p>', $info['msg']); } if ($thread->object_type == 'T') $type = '\'tickets\''; if ($thread->object_type == 'A') $type = '\'tasks\''; ?> <hr/> <?php if(($users=$thread->getCollaborators())) {?> <div id="manage_collaborators"> <form method="post" class="collaborators" action="#thread/<?php echo $thread->getId(); ?>/collaborators"> <table border="0" cellspacing="1" cellpadding="1" width="100%"> <?php foreach($users as $user) { $checked = $user->isActive() ? 'checked="checked"' : ''; $cc = $user->isCc() ? 'selected="selected"' : ''; echo sprintf('<tr> <td> <label class="inline checkbox"> <input type="checkbox" name="cid[]" id="c%d" value="%d" %s> </label> <a class="collaborator" href="#thread/%d/collaborators/%d/view">%s%s</a> <div align="left"> <span class="faded"><em>%s</em></span> </div> </td>', $user->getId(), $user->getId(), $checked, $thread->getId(), $user->getId(), (($U = $user->getUser()) && ($A = $U->getAvatar())) ? $U->getAvatar()->getImageTag(24) : '', Format::htmlchars($user->getName()), $user->getEmail()); echo sprintf('<td width="10"> <input type="hidden" name="del[]" id="d%d" value=""> <a class="remove" href="#d%d"> <i class="icon-trash icon-fixed-width"></i> </a> </td> <td width="30"> </td> </tr>',$user->getId(), $user->getId()); } ?> <td> <div><a class="collaborator" id="addcollaborator" href="#thread/<?php echo $thread->getId(); ?>/add-collaborator/addcc" ><i class="icon-plus-sign"></i> <?php echo __('Add Collaborator'); ?></a></div> </td> </table> <hr style="margin-top:1em"/> <div id="savewarning" style="display:none; padding-top:2px;"><p id="msg_warning"><?php echo __('You have made changes that you need to save.'); ?></p></div> <p class="full-width"> <span class="buttons pull-left"> <input type="reset" value="<?php echo __('Reset'); ?>"> <input type="button" value="<?php echo __('Done'); ?>" class="close"> </span> <span class="buttons pull-right"> <input type="submit" value="<?php echo __('Save Changes'); ?>"> </span> </p> </form> <div class="clear"></div> </div> <?php } else { echo __("Bro, not sure how you got here!"); } if ($_POST && $thread) { $collabs = $thread->getCollaborators(); foreach ($collabs as $c) { $options .= sprintf('<option value="%s" %s class="%s">%s</option>', $c->getUserId(), $c->isActive() ? 'selected="selected"' : '', $c->isActive() ? 'active' : 'disabled', $c->getName()); } $recipients = sprintf(__('(%d of %d)'), $thread->getNumActiveCollaborators(), $thread->getNumCollaborators()); ?> <script type="text/javascript"> $(function() { $('#t<?php echo $thread->getId(); ?>-recipients').html('<?php echo $recipients; ?>'); $('#t<?php echo $thread->getId(); ?>-collaborators').html('<?php echo $thread->getNumCollaborators(); ?>'); $('#collabselection').html('<?php echo $options; ?>'); }); </script> <?php } ?> <script type="text/javascript"> $(function() { $(document).on('click', 'form.collaborators a#addcollaborator', function (e) { e.preventDefault(); $('div#manage_collaborators').hide(); $('div#add_collaborator').fadeIn(); return false; }); $(document).on('click', 'form.collaborators a.remove', function (e) { e.preventDefault(); var fObj = $(this).closest('form'); $('input'+$(this).attr('href')) .val($(this).attr('href').substr(2)) .trigger('change'); $(this).closest('tr').addClass('strike'); return false; }); $(document).on('change', 'form.collaborators input:checkbox, input[name="del[]"]', function (e) { var fObj = $(this).closest('form'); $('div#savewarning', fObj).fadeIn(); $('input:submit', fObj).css('color', 'red'); }); $(document).on('click', 'form.collaborators input:reset', function(e) { var fObj = $(this).closest('form'); fObj.find('input[name="del[]"]').val(''); fObj.find('tr').removeClass('strike'); $('div#savewarning', fObj).hide(); $('input:submit', fObj).removeAttr('style'); }); $(document).on('click', 'form.collaborators input.cancel', function (e) { e.preventDefault(); var $elem = $(this); if($elem.attr('data-href')) { var href = $elem.data('href').substr(1); $('.dialog.collaborators .body').load('ajax.php/'+href, function () { }); } else { $('div#manage_collaborators').show(); $('div#add_collaborator').hide(); } 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]