Browse Source

Updated pages for 2.8.0

master^2
Mike Koch 1 year ago
parent
commit
6cad99e6c3
No account linked to committer's email address
3 changed files with 9 additions and 11 deletions
  1. 8
    8
      admin/admin_ticket.php
  2. 0
    2
      print.php
  3. 1
    1
      ticket.php

+ 8
- 8
admin/admin_ticket.php View File

@@ -1338,12 +1338,12 @@ function hesk_getAdminButtons($category_id)
if ($can_edit) {
$tmp = $reply ? '&reply=' . $reply['id'] : '';
$mgr = $isManager ? '&isManager=true' : '';
$options .= '<a id="editticket" title="'.$hesklang['edtt'].'" class="btn btn-default" href="edit_post.php?track=' . $trackingID . $tmp . $mgr . '"><i class="fa fa-pencil orange"></i> ' . $hesklang['edit'] . '</a> ';
$options .= '<a id="editticket" title="'.$hesklang['edtt'].'" class="btn btn-default" href="edit_post.php?track=' . $trackingID . $tmp . $mgr . '"><i class="fa fa-pencil orange"></i> ' . $hesklang['btn_edit'] . '</a> ';
}


/* Print ticket button */
$options .= '<a class="btn btn-default" title="'.$hesklang['printer_friendly'].'" href="../print.php?track=' . $trackingID . '"><i class="fa fa-print"></i> ' . $hesklang['printer_friendly'] . '</a> ';
$options .= '<a class="btn btn-default" title="'.$hesklang['printer_friendly'].'" href="../print.php?track=' . $trackingID . '"><i class="fa fa-print"></i> ' . $hesklang['btn_print'] . '</a> ';

/* Copy ticket button */
$strippedName = strip_tags($ticket['name']);
@@ -1508,8 +1508,8 @@ function hesk_getAdminButtons($category_id)
</div>
</a></div>';
$dropdown .= $ticket['locked']
? sprintf($template, 'unlock', $hesklang['tul'], 0, 'unlock', $hesklang['tul'])
: sprintf($template, 'lock', $hesklang['tlo'], 1, 'lock', $hesklang['tlo']);
? sprintf($template, 'unlock', $hesklang['tul'] . ' - ' . $hesklang['isloc'], 0, 'unlock', $hesklang['btn_unlock'])
: sprintf($template, 'lock', $hesklang['tlo'] . ' - ' . $hesklang['isloc'], 1, 'lock', $hesklang['btn_lock']);
}

/* Tag ticket button */
@@ -1526,8 +1526,8 @@ function hesk_getAdminButtons($category_id)
</a></div>';

$dropdown .= $ticket['archive']
? sprintf($template, 'untag', $hesklang['remove_archive'], 0, $hesklang['remove_archive'])
: sprintf($template, 'tag', $hesklang['add_archive'], 1, $hesklang['add_archive']);
? sprintf($template, 'untag', $hesklang['remove_archive'], 0, $hesklang['btn_untag'])
: sprintf($template, 'tag', $hesklang['add_archive'], 1, $hesklang['btn_tag']);
}

/* Import to knowledgebase button */
@@ -1537,7 +1537,7 @@ function hesk_getAdminButtons($category_id)
<div class="panel panel-default">
<div class="panel-body">
<h4>
<i class="fa fa-lightbulb-o fa-fw"></i> ' . $hesklang['import_kb'] . '
<i class="fa fa-lightbulb-o fa-fw"></i> ' . $hesklang['btn_import_kb'] . '
</h4>
</div>
</div>
@@ -1633,7 +1633,7 @@ function hesk_getAdminButtonsInTicket($reply = 0, $white = 1)
if ($can_edit) {
$tmp = $reply ? '&amp;reply=' . $reply['id'] : '';
$mgr = $isManager ? '&amp;isManager=true' : '';
$options .= '<a class="btn btn-default" href="edit_post.php?track=' . $trackingID . $tmp . $mgr . '"><i class="fa fa-pencil orange"></i> ' . $hesklang['edtt'] . '</a> ';
$options .= '<a class="btn btn-default" href="edit_post.php?track=' . $trackingID . $tmp . $mgr . '"><i class="fa fa-pencil orange"></i> ' . $hesklang['btn_edit'] . '</a> ';
}



+ 0
- 2
print.php View File

@@ -125,8 +125,6 @@ $modsForHesk_settings = mfh_getSettings();

<?php

// Print "end of ticket" message
echo $hesklang['end_ticket'];
require_once(HESK_PATH . 'inc/print_template.inc.php');
?>


+ 1
- 1
ticket.php View File

@@ -781,7 +781,7 @@ function hesk_getCustomerButtons($white = 1)
$style = 'class="option' . $tmp . 'OFF" onmouseover="this.className=\'option' . $tmp . 'ON\'" onmouseout="this.className=\'option' . $tmp . 'OFF\'"';

/* Print ticket button */
$options .= '<a href="print.php?track=' . $trackingID . $hesk_settings['e_query'] . '" title="' . $hesklang['printer_friendly'] . '"><span class="glyphicon glyphicon-print"></span> ' . $hesklang['printer_friendly'] . ' </a> ';
$options .= '<a class="btn btn-default" href="print.php?track=' . $trackingID . $hesk_settings['e_query'] . '" title="' . $hesklang['printer_friendly'] . '"><span class="fa fa-print"></span> ' . $hesklang['btn_print'] . ' </a> ';

/* Return generated HTML */
return $options;

Loading…
Cancel
Save