Browse Source

#371 Move glyphicon to UI, remove hard-coded string

merge-requests/2/head
Mike Koch 6 years ago
parent
commit
0ffd3edf7e
  1. 2
      admin/admin_main.php
  2. 2
      admin/find_tickets.php
  3. 2
      admin/show_tickets.php
  4. 4
      language/en/text.php

2
admin/admin_main.php

@ -70,7 +70,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
echo '
<div class="panel panel-default">
<div class="panel-heading">
<h4>' . $hesklang['open_tickets'] . ' <span class="nu-floatRight panel-button"><a href="new_ticket.php" class="btn btn-success">' . $hesklang['nti'] . '</a></span></h4>
<h4>' . $hesklang['open_tickets'] . ' <span class="nu-floatRight panel-button"><a href="new_ticket.php" class="btn btn-success"><span class="glyphicon glyphicon-plus-sign"></span> ' . $hesklang['nti'] . '</a></span></h4>
</div>'; // The rest of the panel will be printed by print_tickets.inc.php
}

2
admin/find_tickets.php

@ -68,7 +68,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
<div class="panel-heading">
<h4><?php echo $hesklang['tickets_found']; ?> <span class="nu-floatRight panel-button"><a
href="new_ticket.php"
class="btn btn-success"><?php echo $hesklang['nti']; ?></a></span></h4>
class="btn btn-success"><span class="glyphicon glyphicon-plus-sign"></span> <?php echo $hesklang['nti']; ?></a></span></h4>
</div>
<?php

2
admin/show_tickets.php

@ -64,7 +64,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
<div class="panel-heading">
<h4><?php echo $hesklang['tickets']; ?> <span class="nu-floatRight panel-button"><a
href="new_ticket.php" class="btn btn-success"><span
class="glyphicon glyphicon-plus-sign"></span> New ticket</a></span></h4>
class="glyphicon glyphicon-plus-sign"></span> <?php echo $hesklang['nti']; ?></a></span></h4>
</div>
<?php
/* Print the list of tickets */

4
language/en/text.php

@ -390,7 +390,7 @@ $hesklang['quick_help_ticket']='Here is the information on your ticket. You can
$hesklang['search_the_knowledgebase'] = 'Search the Knowledgebase';
$hesklang['view_ticket_nav']='View Ticket';
$hesklang['quick_help']='Quick Help';
$hesklang['quick_help_submit_ticket']='Please fill out the form on the right to submit a ticket. Required fields are marked with a <font class="important">*</font>.';
$hesklang['quick_help_submit_ticket']='Please fill out the form on the right to submit a ticket. Required fields are marked with a <span class="important">*</span>.';
$hesklang['quick_help_view_ticket']='Please fill out the required information on the right to view your ticket. If you forgot your Ticket tracking ID, click "Forgot tracking ID".';
$hesklang['information']='Information';
$hesklang['admin_sidebar_ticket_id']='TICKET ID';
@ -399,7 +399,7 @@ $hesklang['statusChange']=' - - Change Status - - ';
$hesklang['ownerChange']=' - - Change Owner - - ';
$hesklang['categoryChange']=' - - Change Category - - ';
$hesklang['navigation']='Navigation';
$hesklang['nti']='<span class="glyphicon glyphicon-plus-sign"></span> New ticket';
$hesklang['nti']='New ticket';
$hesklang['savedResponses']='Saved Responses';
$hesklang['add_ticket_general_information']='General Information';
$hesklang['add_ticket_your_message']='Your Message';

Loading…
Cancel
Save