diff --git a/inc/common.inc.php b/inc/common.inc.php index 4f305d95..dcfd87c8 100644 --- a/inc/common.inc.php +++ b/inc/common.inc.php @@ -903,54 +903,49 @@ function hesk_msgToPlain($msg, $specialchars=0, $strip=1) function hesk_showTopBar($page_title) { - global $hesk_settings, $hesklang; + echo $page_title; +} // END hesk_showTopBar() - if ($hesk_settings['can_sel_lang']) - { +function hesk_getLanguagesAsFormIfNecessary() +{ + + global $hesk_settings, $hesklang; + + if ($hesk_settings['can_sel_lang']) + { - $str = '
'; + $str = ''; if ( ! isset($_GET) ) { - $_GET = array(); + $_GET = array(); } - foreach ($_GET as $k => $v) - { - if ($k == 'language') - { - continue; - } - $str .= ''; - } + foreach ($_GET as $k => $v) + { + if ($k == 'language') + { + continue; + } + $str .= ''; + } - $str .= ''; + $str .= '
'; - ?> - - - - - -
+ ?> -
-
+
+
+ +
+
+ +
+

diff --git a/language/en/text.php b/language/en/text.php index 5d50428e..3719f465 100644 --- a/language/en/text.php +++ b/language/en/text.php @@ -21,6 +21,9 @@ $hesklang['_COLLATE']='utf8_unicode_ci'; // This is the email break line that will be used in email piping $hesklang['EMAIL_HR']='------ Reply above this line ------'; +// ADDED OR MODIFIED IN NuMods 1.2.2 +$hesklang['changeLanguage'] = 'Change language to'; + // ADDED OR MODIFIED IN NuMods 1.2 $hesklang['statuses'] = 'Statuses'; $hesklang['basicProperties'] = 'Basic Properties'; diff --git a/nuMods_settings.inc.php b/nuMods_settings.inc.php index ebfbb878..cb3fc65b 100644 --- a/nuMods_settings.inc.php +++ b/nuMods_settings.inc.php @@ -14,6 +14,6 @@ $nuMods_settings['dropdownItemTextHoverBackgroundColor'] = '#f5f5f5'; $nuMods_settings['questionMarkColor'] = '#000000'; /* DO NOT EDIT ANYTHING BELOW THIS LINE */ -$nuMods_settings['version']='1.2.1'; +$nuMods_settings['version']='1.2.2'; ?> diff --git a/ticket.php b/ticket.php index dba649dd..12effbfc 100644 --- a/ticket.php +++ b/ticket.php @@ -216,6 +216,14 @@ require_once(HESK_PATH . 'inc/header.inc.php');
+
+
+ +
+
+ +
+