@ -96,7 +96,7 @@ if ( defined('HESK_DEMO') )
?>
< div class = "row " style = "margin-top: 20px ">
< div class = "row move-down-20 ">
< div class = "col-md-4" >
< div class = "panel panel-default" >
< div class = "panel-heading" > <?php echo $hesklang [ 'installation_information' ]; ?> </ div >
@ -113,14 +113,14 @@ if ( defined('HESK_DEMO') )
if ($latest === true)
{
$cellClass = 'class=" success" ';
$cellClass = 'success';
} elseif ($latest != -1)
{
$cellClass = 'class=" warning" ';
$cellClass = 'warning';
}
}
?>
< td style= "padding-left: 10px" <?php echo $cellClass ; ?> >
< td class= "pad-right-10 <?php echo $cellClass ; ?> " >
<?php echo $hesk_settings [ 'hesk_version' ]; ?>
<?php
if ($hesk_settings['check_updates'])
@ -128,18 +128,18 @@ if ( defined('HESK_DEMO') )
if ($latest === true)
{
echo ' - < span style= "color: green"> ' . $hesklang['hud'] . '< / span > ';
echo ' - < span class= " green"> ' . $hesklang['hud'] . '< / span > ';
}
elseif ($latest != -1)
{
// Is this a beta/dev version?
if ( strpos($hesk_settings['hesk_version'], 'beta') || strpos($hesk_settings['hesk_version'], 'dev') || strpos($hesk_settings['hesk_version'], 'RC') )
{
echo ' < span style= "color:dark orange"> ' . $hesklang['beta'] . '</ span > '; ?> < a href = "http://www.hesk.com/update.php?v= <?php echo $hesk_settings [ 'hesk_version' ]; ?> " target = "_blank" > <?php echo $hesklang [ 'check4updates' ]; ?> </ a > <?php
echo ' < span class= "dark- orange"> ' . $hesklang['beta'] . '</ span > '; ?> < a href = "http://www.hesk.com/update.php?v= <?php echo $hesk_settings [ 'hesk_version' ]; ?> " target = "_blank" > <?php echo $hesklang [ 'check4updates' ]; ?> </ a > <?php
}
else
{
echo ' - < span style= "color:darkorange;font-weight: bold"> ' . $hesklang['hnw'] . '</ span > '; ?> < a href = "http://www.hesk.com/update.php?v= <?php echo $hesk_settings [ 'hesk_version' ]; ?> " target = "_blank" > <?php echo $hesklang [ 'getup' ]; ?> </ a > <?php
echo ' - < span class= "dark-orange bold"> ' . $hesklang['hnw'] . '</ span > '; ?> < a href = "http://www.hesk.com/update.php?v= <?php echo $hesk_settings [ 'hesk_version' ]; ?> " target = "_blank" > <?php echo $hesklang [ 'getup' ]; ?> </ a > <?php
}
}
else
@ -155,7 +155,7 @@ if ( defined('HESK_DEMO') )
< / td >
< / tr >
< tr >
< td class = "text-right " style = "padding-bottom: 5px ">
< td class = "text-right pad-up-5 ">
<?php echo $hesklang [ 'mods_for_hesk_version' ]; ?> :
< / td >
<?php
@ -165,24 +165,24 @@ if ( defined('HESK_DEMO') )
$latest = hesk_checkMfhVersion($modsForHeskVersion);
if ($latest === true)
{
$cellClass = 'class=" success" ';
$cellClass = 'success';
} elseif ($latest != -1)
{
$cellClass = 'class=" warning" ';
$cellClass = 'warning';
}
}
?>
< td <?php echo $cellClass ; ?> style = "padding-left: 10px; padding-bottom: 5px ">
< td class = "pad-right-10 pad-up-5 <?php echo $cellClass ; ?> ">
<?php echo $modsForHeskVersion ; ?>
<?php
if ($hesk_settings['check_updates'])
{
if ($latest === true)
{
echo ' - < span style= "color: green"> ' . $hesklang['mfh_up_to_date'] . '< / span > ';
echo ' - < span class= " green"> ' . $hesklang['mfh_up_to_date'] . '< / span > ';
} else
{
?> - < a href = "https://mods-for-hesk.mkochcs.com" target = "_blank" style= "color:orange;font-weight: bold"> <?php echo $hesklang [ 'hnw' ]; ?> </ a >
?> - < a href = "https://mods-for-hesk.mkochcs.com" target = "_blank" class= "orange bold"> <?php echo $hesklang [ 'hnw' ]; ?> </ a >
<?php
}
} else
@ -195,12 +195,12 @@ if ( defined('HESK_DEMO') )
< / tr >
< tr > < td class = "text-right" >
<?php echo $hesklang [ 'phpv' ]; ?> :
< / td > < td style= "padding-left: 10px ">
< / td > < td class= "pad-right-10 ">
<?php echo defined ( 'HESK_DEMO' ) ? $hesklang [ 'hdemo' ] : PHP_VERSION . ' ' . ( function_exists ( 'mysqli_connect' ) ? '(MySQLi)' : '(MySQL)' ); ?>
< / td > < / tr >
< tr > < td class = "text-right " style = "padding-bottom: 5px ">
< tr > < td class = "text-right pad-up-5 ">
<?php echo $hesklang [ 'mysqlv' ]; ?> :
< / td > < td style= "padding-left: 10px; padding-bottom: 5px ">
< / td > < td class= "pad-right-10 pad-up-5 ">
<?php echo defined ( 'HESK_DEMO' ) ? $hesklang [ 'hdemo' ] : hesk_dbResult ( hesk_dbQuery ( 'SELECT VERSION() AS version' ) ); ?>
< / td > < / tr >
< tr >
@ -211,7 +211,7 @@ if ( defined('HESK_DEMO') )
$heskSettingsWritable = is_writable(HESK_PATH . 'hesk_settings.inc.php');
$cellClass = $heskSettingsWritable ? 'success' : 'danger';
?>
< td style= "padding-left: 10px" class = " <?php echo $cellClass ; ?> " >
< td class= "pad-right-10 <?php echo $cellClass ; ?> " >
<?php
if ($heskSettingsWritable) {
$enable_save_settings=1;
@ -231,7 +231,7 @@ if ( defined('HESK_DEMO') )
$attachmentsWritable = is_writable(HESK_PATH . $hesk_settings['attach_dir']);
$cellClass = $attachmentsExist & & $attachmentsWritable ? 'success' : 'danger';
?>
< td style= "padding-left: 10px" class = " <?php echo $cellClass ; ?> " >
< td class= "pad-right-10 <?php echo $cellClass ; ?> " >
<?php
if ($attachmentsExist)
{
@ -500,7 +500,7 @@ if ( defined('HESK_DEMO') )
< div class = "tab-content summaryList tabPadding" >
<!-- General Settings -->
< div class = "tab-pane fade in active" id = "general" >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'gs' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'gs' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -534,7 +534,7 @@ if ( defined('HESK_DEMO') )
< / div >
< / div >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'lgs' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'lgs' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
< label for = "s_language" class = "col-sm-3 control-label" > <?php echo $hesklang [ 'hesk_lang' ]; ?> < a href = "Javascript:void(0)" onclick = "Javascript:hesk_window(' <?php echo $help_folder ; ?> general.html#9','400','500')" >< i class = "fa fa-question-circle settingsquestionmark" ></ i ></ a ></ label >
@ -559,7 +559,7 @@ if ( defined('HESK_DEMO') )
< / div >
< / div >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'db' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'db' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -594,9 +594,9 @@ if ( defined('HESK_DEMO') )
< / div >
< div class = "form-group" >
< div class = "col-sm-9 col-sm-offset-3" >
< input type = "button" class = "btn btn-default " onclick = "hesk_testMySQL()" value = " <?php echo $hesklang [ 'mysqltest' ]; ?> " style = "margin-top:4px " />
< input type = "button" class = "btn btn-default move-down-4 " onclick = "hesk_testMySQL()" value = " <?php echo $hesklang [ 'mysqltest' ]; ?> " />
<!-- START MYSQL TEST -->
< div id = "mysql_test" style = "display: none">
< div id = "mysql_test" style = "display: none">
< / div >
< script language = "Javascript" type = "text/javascript" >
@ -648,7 +648,7 @@ if ( defined('HESK_DEMO') )
<!-- Helpdesk Settings -->
< div class = "tab-pane fade in" id = "helpdesk" >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'hd' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'hd' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -724,7 +724,7 @@ if ( defined('HESK_DEMO') )
< / div >
< / div >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'features' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'features' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "row" >
< div class = "col-md-6" >
@ -1021,7 +1021,7 @@ if ( defined('HESK_DEMO') )
< / div >
< / div >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'sp' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'sp' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -1125,7 +1125,7 @@ if ( defined('HESK_DEMO') )
< / div >
< / div >
< br / >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'security' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'security' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -1175,7 +1175,7 @@ if ( defined('HESK_DEMO') )
< / div >
< / div >
< br / >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'attachments' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'attachments' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -1267,7 +1267,7 @@ if ( defined('HESK_DEMO') )
< / div >
< div class = "tab-pane fade in" id = "knowledgebase" >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'kb_set' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'kb_set' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
< label for = "s_kb_enable" class = "col-sm-4 control-label" > <?php echo $hesklang [ 's_ekb' ]; ?> < a href = "Javascript:void(0)" onclick = "Javascript:hesk_window(' <?php echo $help_folder ; ?> knowledgebase.html#22','400','500')" >< i class = "fa fa-question-circle settingsquestionmark" ></ i ></ a ></ label >
@ -1443,7 +1443,7 @@ if ( defined('HESK_DEMO') )
< div class = "col-sm-3" >
< input type = "text" class = "form-control" placeholder = " <?php echo htmlspecialchars ( $hesklang [ 's_spop' ]); ?> " name = "s_kb_index_popart" size = "5" maxlength = "2" value = " <?php echo $hesk_settings [ 'kb_index_popart' ]; ?> " />
< / div >
< div class = "col-sm-5 " style = "padding-left:0px ">
< div class = "col-sm-5 pad-right-0 ">
< p class = "form-control-static" > <?php echo $hesklang [ 's_onin' ]; ?> </ p >
< / div >
< / div >
@ -1451,7 +1451,7 @@ if ( defined('HESK_DEMO') )
< div class = "col-sm-3 col-sm-offset-4" >
< input type = "text" class = "form-control" placeholder = " <?php echo htmlspecialchars ( $hesklang [ 's_spop' ]); ?> " name = "s_kb_popart" size = "5" maxlength = "2" value = " <?php echo $hesk_settings [ 'kb_popart' ]; ?> " />
< / div >
< div class = "col-sm-5 " style = "padding-left:0px ">
< div class = "col-sm-5 pad-right-0 ">
< p class = "form-control-static" > <?php echo $hesklang [ 's_onkb' ]; ?> </ p >
< / div >
< / div >
@ -1460,7 +1460,7 @@ if ( defined('HESK_DEMO') )
< div class = "col-sm-3" >
< input type = "text" class = "form-control" placeholder = " <?php echo htmlspecialchars ( $hesklang [ 's_slat' ]); ?> " name = "s_kb_index_latest" size = "5" maxlength = "2" value = " <?php echo $hesk_settings [ 'kb_index_latest' ]; ?> " />
< / div >
< div class = "col-sm-5 " style = "padding-left:0px ">
< div class = "col-sm-5 pad-right-0 ">
< p class = "form-control-static" > <?php echo $hesklang [ 's_onin' ]; ?> </ p >
< / div >
< / div >
@ -1468,7 +1468,7 @@ if ( defined('HESK_DEMO') )
< div class = "col-sm-3 col-sm-offset-4" >
< input type = "text" class = "form-control" placeholder = " <?php echo htmlspecialchars ( $hesklang [ 's_slat' ]); ?> " name = "s_kb_latest" size = "5" maxlength = "2" value = " <?php echo $hesk_settings [ 'kb_latest' ]; ?> " />
< / div >
< div class = "col-sm-5 " style = "padding-left:0px ">
< div class = "col-sm-5 pad-right-0 ">
< p class = "form-control-static" > <?php echo $hesklang [ 's_onkb' ]; ?> </ p >
< / div >
< / div >
@ -1477,7 +1477,7 @@ if ( defined('HESK_DEMO') )
< div class = "col-sm-3" >
< input type = "text" class = "form-control" placeholder = " <?php echo htmlspecialchars ( $hesklang [ 's_relart' ]); ?> " name = "s_kb_related" size = "5" maxlength = "2" value = " <?php echo $hesk_settings [ 'kb_related' ]; ?> " />
< / div >
< div class = "col-sm-5 " style = "padding-left:0px ">
< div class = "col-sm-5 pad-right-0 ">
< p class = "form-control-static" > <?php echo $hesklang [ 's_onin' ]; ?> </ p >
< / div >
< / div >
@ -1485,7 +1485,7 @@ if ( defined('HESK_DEMO') )
<!-- Custom Fields Tab -->
< div class = "tab-pane fade in" id = "customFields" >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'custom_use' ]; ?> < a href = "Javascript:void(0)" onclick = "Javascript:hesk_window(' <?php echo $help_folder ; ?> custom.html#41','400','500')" >< i class = "fa fa-question-circle settingsquestionmark" ></ i ></ a ></ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'custom_use' ]; ?> < a href = "Javascript:void(0)" onclick = "Javascript:hesk_window(' <?php echo $help_folder ; ?> custom.html#41','400','500')" >< i class = "fa fa-question-circle settingsquestionmark" ></ i ></ a ></ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
@ -1572,7 +1572,7 @@ if ( defined('HESK_DEMO') )
<!-- Email Tab -->
< div class = "tab-pane fade in" id = "email" >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'emlsend' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'emlsend' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -1789,7 +1789,7 @@ if ( defined('HESK_DEMO') )
< / div > <!-- END SMTP SETTINGS DIV -->
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'emlpipe' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'emlpipe' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -1805,7 +1805,7 @@ if ( defined('HESK_DEMO') )
< / div >
< / div >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'pop3' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'pop3' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -1897,7 +1897,7 @@ if ( defined('HESK_DEMO') )
< / div >
< div class = "form-group" >
< div class = "col-sm-9 col-sm-offset-3" >
< input type = "button" class = "btn btn-default " onclick = "hesk_testPOP3()" value = " <?php echo $hesklang [ 'pop3test' ]; ?> " style = "margin-top:4px" />
< input type = "button" class = "btn btn-default move-down-4 " onclick = "hesk_testPOP3()" value = " <?php echo $hesklang [ 'pop3test' ]; ?> " />
< / div >
< / div >
< table border = "0" width = "100%" >
@ -1962,7 +1962,7 @@ if ( defined('HESK_DEMO') )
< / div > <!-- END POP3 SETTINGS DIV -->
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'loops' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'loops' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -1976,12 +1976,12 @@ if ( defined('HESK_DEMO') )
< div class = "col-sm-3" >
< input type = "text" class = "form-control" placeholder = " <?php echo htmlspecialchars ( $hesklang [ 'loopt' ]); ?> " name = "s_loop_time" size = "5" maxlength = "5" value = " <?php echo $hesk_settings [ 'loop_time' ]; ?> " />
< / div >
< div class = "col-sm-6 " style = "padding-left: 0px ">
< div class = "col-sm-6 pad-right-0 ">
< p class = "form-control-static" > <?php echo $hesklang [ 'ss' ]; ?> </ p >
< / div >
< / div >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'suge' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'suge' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -2025,7 +2025,7 @@ if ( defined('HESK_DEMO') )
< / table >
< / div >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'custnot' ]; ?> < a href = "Javascript:void(0)" onclick = "Javascript:hesk_window(' <?php echo $help_folder ; ?> email.html#65','400','500')" >< i class = "fa fa-question-circle settingsquestionmark" ></ i ></ a ></ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'custnot' ]; ?> < a href = "Javascript:void(0)" onclick = "Javascript:hesk_window(' <?php echo $help_folder ; ?> email.html#65','400','500')" >< i class = "fa fa-question-circle settingsquestionmark" ></ i ></ a ></ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
< label for = "s_notify_new" class = "col-sm-3 control-label" > <?php echo $hesklang [ 'notnew' ]; ?> </ label >
@ -2054,7 +2054,7 @@ if ( defined('HESK_DEMO') )
< / div >
< / div >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'other' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'other' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -2090,7 +2090,7 @@ if ( defined('HESK_DEMO') )
{
?>
< label >
< i class = "fa fa-ban " style = "color: red; font-size: 1.2em; margin-left: -20px; font-weight: bold "
< i class = "fa fa-ban bold red font-size-120" style = "margin-left: -20px; "
data-toggle="popover"
title="<?php echo $hesklang [ 'feature_disabled' ]; ?> "
data-content="<?php echo $hesklang [ 'multi_eml_disabled' ]; ?> "></ i > <?php echo $hesklang [ 'meml2' ]; ?> </ label >
@ -2232,7 +2232,7 @@ if ( defined('HESK_DEMO') )
<!-- Miscellaneous Tab -->
< div class = "tab-pane fade in" id = "misc" >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'dat' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'dat' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -2250,15 +2250,15 @@ if ( defined('HESK_DEMO') )
< div class = "col-sm-2 col-sm-offset-4" >
< input type = "text" class = "form-control" name = "s_diff_hours" size = "5" maxlength = "3" value = " <?php echo $hesk_settings [ 'diff_hours' ]; ?> " />
< / div >
< div class = "col-sm-6 " style = "padding-left:0px ">
< div class = "col-sm-6 pad-right-0 ">
< p class = "form-control-static" > <?php echo $hesklang [ 't_h' ]; ?> </ p >
< / div >
< / div >
< div class = "row " style = "padding-top:5px ">
< div class = "row pad-right-0 ">
< div class = "col-sm-2 col-sm-offset-4" >
< input type = "text" class = "form-control" name = "s_diff_minutes" size = "5" maxlength = "3" value = " <?php echo $hesk_settings [ 'diff_minutes' ]; ?> " />
< / div >
< div class = "col-sm-6 " style = "padding-left: 0px ">
< div class = "col-sm-6 pad-right-0 ">
< p class = "form-control-static" > <?php echo $hesklang [ 't_m' ]; ?> </ p >
< / div >
< / div >
@ -2282,7 +2282,7 @@ if ( defined('HESK_DEMO') )
< / div >
< / div >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'other' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'other' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "form-group" >
@ -2323,7 +2323,7 @@ if ( defined('HESK_DEMO') )
< label >< input type = "checkbox" name = "s_online" value = "1" <?php if ( $hesk_settings [ 'online' ]) { echo 'checked="checked"' ;} ?> /> <?php echo $hesklang [ 'sonline2' ]; ?> </ label >
< / div >
< / div >
< div class = "col-sm-2 " style = "padding-left:0px ">
< div class = "col-sm-2 pad-right-0 ">
< input type = "text" class = "form-control" name = "s_online_min" size = "5" maxlength = "4" value = " <?php echo $hesk_settings [ 'online_min' ]; ?> " />
< / div >
< / div >
@ -2392,7 +2392,7 @@ if ( defined('HESK_DEMO') )
< / div >
<!-- Mods For Hesk: Color settings -->
< div class = "tab-pane fade in" id = "colors" >
< h6 style= "font-weight: bold"> <?php echo $hesklang [ 'uiColors' ]; ?> </ h6 >
< h6 class= " bold"> <?php echo $hesklang [ 'uiColors' ]; ?> </ h6 >
< div class = "footerWithBorder blankSpace" > < / div >
< div class = "row" >
< div class = "col-sm-6 col-xs-12" >
@ -2714,7 +2714,7 @@ function hesk_cacheMfhLatestVersion($latest)
function hesk_testLanguage($return_options = 0)
{
global $hesk_settings, $hesklang;
global $hesk_settings, $hesklang, $modsForHesk_settings ;
/* Get a list of valid emails */
include_once(HESK_PATH . 'inc/email_functions.inc.php');