Browse Source

#8 Now the Hesk UI version number is displayed beneath Hesk's version

merge-requests/2/head
Mike Koch 8 years ago
parent
commit
0272f217a5
  1. 11
      admin/admin_settings.php
  2. 4
      hesk_ui_settings.inc.php
  3. 1
      language/en/text.php

11
admin/admin_settings.php

@ -42,6 +42,7 @@ if (is_dir(HESK_PATH . 'install')) {die('Please delete the <b>install</b> folder
// Get all the required files and functions
require(HESK_PATH . 'hesk_settings.inc.php');
require(HESK_PATH . 'hesk_ui_settings.inc.php');
// Save the default language for the settings page before choosing user's preferred one
$hesk_settings['language_default'] = $hesk_settings['language'];
@ -141,8 +142,16 @@ if ( defined('HESK_DEMO') )
{
?> - <a href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>" target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
}
?>
?>
</td></tr>
<tr>
<td style="text-align: right">
<?php echo $hesklang['heskUiVersion']; ?>:
</td>
<td style="padding-left: 10px">
<?php echo $hesk_ui_settings['version']; ?>
</td>
</tr>
<tr><td style="text-align: right">
<?php echo $hesklang['phpv']; ?>:
</td><td style="padding-left: 10px">

4
hesk_ui_settings.inc.php

@ -0,0 +1,4 @@
<?php
$hesk_ui_settings['version']='1.1.3';
?>

1
language/en/text.php

@ -37,6 +37,7 @@ $hesklang['categoryChange']=' - - Change Category - - ';
$hesklang['navigation']='Navigation';
$hesklang['nti']='<span class="glyphicon glyphicon-plus-sign"></span> New ticket';
$hesklang['savedResponses']='Saved Responses';
$hesklang['heskUiVersion']='Hesk UI Version';
// EMAIL SUBJECTS
$hesklang['new_ticket_staff'] = '[#%%TRACK_ID%%] New ticket: %%SUBJECT%%';

Loading…
Cancel
Save