HESK 2.7.0 RC1 -> Final changes

merge-requests/30/head
Mike Koch 7 yıl önce
ebeveyn 38d56f195f
işleme b1b16fe381

@ -2,7 +2,7 @@
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mkoch227/Mods-for-HESK/blob/master/LICENSE)
[![Join the chat at https://gitter.im/mkoch227/Mods-for-HESK](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mkoch227/Mods-for-HESK?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Mods for HESK is a set of modifications for [HESK](http://www.hesk.com) v2.6.x, a free and popular helpdesk solution.
Mods for HESK is a set of modifications for [HESK](https://www.hesk.com) v2.7.x, a free and popular helpdesk solution.
## Features
<table>

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/
@ -333,21 +333,21 @@ $modsForHesk_settings = mfh_getSettings();
// 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 class="dark-orange">' . $hesklang['beta'] . '</span> '; ?> <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
href="https://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
} else {
echo ' - <span class="dark-orange bold">' . $hesklang['hnw'] . '</span> '; ?> <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
href="https://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['getup']; ?></a><?php
}
} else {
?> - <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
href="https://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
}
} else {
?> - <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
href="https://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
}
?>
@ -374,7 +374,7 @@ $modsForHesk_settings = mfh_getSettings();
if ($hesk_settings['check_updates']) {
if (strpos($modsForHeskVersion, 'beta') || strpos($modsForHeskVersion, 'dev') || strpos($modsForHeskVersion, 'RC')) {
echo ' <span class="dark-orange">' . $hesklang['beta'] . '</span> '; ?> <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
href="https://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
} elseif ($latest === true) {
echo ' - <span class="green">' . $hesklang['mfh_up_to_date'] . '</span>';
@ -3926,7 +3926,7 @@ $modsForHesk_settings = mfh_getSettings();
}
/* Check if language file is for current version */
if (strpos($tmp, '$hesklang[\'refresh_page\']') === false) {
if (strpos($tmp, '$hesklang[\'LANGUAGE_EN\']') === false) {
$err .= " |----> WRONG VERSION (not " . $hesk_settings['hesk_version'] . ")\n";
}

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/
@ -822,7 +822,7 @@ function hesk_getLanguagesArray($returnArray = 0)
$add = 0;
} elseif (!preg_match('/\$hesklang\[\'EMAIL_HR\'\]\=\'(.*)\'\;/', $tmp, $hr)) {
$add = 0;
} elseif (!preg_match('/\$hesklang\[\'refresh_page\'\]/', $tmp)) {
} elseif (!preg_match('/\$hesklang\[\'LANGUAGE_EN\'\]/', $tmp)) {
$add = 0;
}
} else {

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.5 from 28th August 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.1 from 26th February 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.5 from 28th August 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/
define('IN_SCRIPT', 1);

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.8 from 10th August 2016
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/
@ -407,7 +407,7 @@ function show_message()
hesk_dbQuery("UPDATE `".hesk_dbEscape($hesk_settings['db_pfix'])."mail` SET `read`='1' WHERE `id`='".intval($id)."'");
}
$pm['name'] = isset($admins[$pm[$hesk_settings['mailtmp']['other']]]) ? '<a href="mail.php?a=new&amp;id='.$pm[$hesk_settings['mailtmp']['other']].'">'.$admins[$pm[$hesk_settings['mailtmp']['other']]].'</a>' : (($pm['from'] == 9999) ? '<a href="http://www.hesk.com" target="_blank">HESK.com</a>' : $hesklang['e_udel']);
$pm['name'] = isset($admins[$pm[$hesk_settings['mailtmp']['other']]]) ? '<a href="mail.php?a=new&amp;id='.$pm[$hesk_settings['mailtmp']['other']].'">'.$admins[$pm[$hesk_settings['mailtmp']['other']]].'</a>' : (($pm['from'] == 9999) ? '<a href="https://www.hesk.com" target="_blank">HESK.com</a>' : $hesklang['e_udel']);
$pm['dt'] = hesk_dateToString($pm['dt'],0,1,0,true);
?>
@ -564,10 +564,8 @@ function mail_list_messages()
$i = 0;
while ($pm = hesk_dbFetchAssoc($res)) {
if ($i) {
$color = "admin_gray";
$i = 0;
} else {
$color = "admin_white";
$i = 1;
}
@ -575,7 +573,7 @@ function mail_list_messages()
if ($hesk_settings['mailtmp']['this'] == 'to' && !$pm['read']) {
$pm['subject'] = '<b>' . $pm['subject'] . '</b>';
}
$pm['name'] = isset($admins[$pm[$hesk_settings['mailtmp']['other']]]) ? '<a href="mail.php?a=new&amp;id=' . $pm[$hesk_settings['mailtmp']['other']] . '">' . $admins[$pm[$hesk_settings['mailtmp']['other']]] . '</a>' : (($pm['from'] == 9999) ? '<a href="http://www.hesk.com" target="_blank">HESK.com</a>' : $hesklang['e_udel']);
$pm['name'] = isset($admins[$pm[$hesk_settings['mailtmp']['other']]]) ? '<a href="mail.php?a=new&amp;id=' . $pm[$hesk_settings['mailtmp']['other']] . '">' . $admins[$pm[$hesk_settings['mailtmp']['other']]] . '</a>' : (($pm['from'] == 9999) ? '<a href="https://www.hesk.com" target="_blank">HESK.com</a>' : $hesklang['e_udel']);
$pm['dt'] = hesk_dateToString($pm['dt'], 0, 0, 0, true)
?>
<tr>

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.8 from 10th August 2016
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.1 from 26th February 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.1 from 26th February 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.1 from 26th February 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.5 from 28th August 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.1 from 26th February 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.1 from 26th February 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -2,7 +2,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.8 from 10th August 2016
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/
@ -1137,7 +1137,7 @@ function hesk_getLanguage()
define('HESK_DEFAULT_LANGUAGE', $hesk_settings['language']);
/* Can users select language? */
if (empty($hesk_settings['can_sel_lang'])) {
if (defined('NO_HTTP_HEADER') || empty($hesk_settings['can_sel_lang'])) {
return hesk_returnLanguage();
}

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/
@ -75,13 +75,13 @@ yg4LlpjXSordVI1MTInKSkgIT09IGZhbHNlKQ0Kew0KJHMgPSAwOw0KfQ0KZWxzZQ0Kew0KZWNobyAnP
HAgc3R5bGU9InRleHQtYWxpZ246Y2VudGVyO2NvbG9yOnJlZDsiPklOVkFMSUQgTElDRU5TRSAoTk9UI
FJFR0lTVEVSRUQgRk9SICcuJGguJykhPC9wPic7DQp9DQp9DQppZiAoJHMpDQp7DQplY2hvICc8cCBzd
HlsZT0idGV4dC1hbGlnbjpjZW50ZXIiPjxzcGFuIGNsYXNzPSJzbWFsbGVyIj4mbmJzcDs8YnIgLz5Qb
3dlcmVkIGJ5IDxhIGhyZWY9Imh0dHA6Ly93d3cuaGVzay5jb20iIGNsYXNzPSJzbWFsbGVyIiB0aXRsZ
T0iRnJlZSBQSFAgSGVscCBEZXNrIFNvZnR3YXJlIj5IZWxwIERlc2sgU29mdHdhcmU8L2E+IDxiPkhFU
0s8L2I+LCBicm91Z2h0IHRvIHlvdSBieSA8YSBocmVmPSJodHRwczovL3d3dy5zeXNhaWQuY29tLz91d
G1fc291cmNlPUhlc2smYW1wO3V0bV9tZWRpdW09Y3BjJmFtcDt1dG1fY2FtcGFpZ249SGVza1Byb2R1Y
3RfVG9fSFAiPlN5c0FpZDwvYT48L3NwYW4+PC9wPic7DQp9DQplY2hvICc8L3RkPjwvdHI+PC90YWJsZ
T48L2Rpdj4nOw0KaW5jbHVkZShIRVNLX1BBVEggLiAnZm9vdGVyLnR4dCcpOw0KZWNobyAnPC9ib2R5P
jwvaHRtbD4nOw==',"\112");
3dlcmVkIGJ5IDxhIGhyZWY9Imh0dHBzOi8vd3d3Lmhlc2suY29tIiBjbGFzcz0ic21hbGxlciIgdGl0b
GU9IkZyZWUgUEhQIEhlbHAgRGVzayBTb2Z0d2FyZSI+SGVscCBEZXNrIFNvZnR3YXJlPC9hPiA8Yj5IR
VNLPC9iPiwgYnJvdWdodCB0byB5b3UgYnkgPGEgaHJlZj0iaHR0cHM6Ly93d3cuc3lzYWlkLmNvbS8/d
XRtX3NvdXJjZT1IZXNrJmFtcDt1dG1fbWVkaXVtPWNwYyZhbXA7dXRtX2NhbXBhaWduPUhlc2tQcm9kd
WN0X1RvX0hQIj5TeXNBaWQ8L2E+PC9zcGFuPjwvcD4nOw0KfQ0KZWNobyAnPC90ZD48L3RyPjwvdGFib
GU+PC9kaXY+JzsNCmluY2x1ZGUoSEVTS19QQVRIIC4gJ2Zvb3Rlci50eHQnKTsNCmVjaG8gJzwvYm9ke
T48L2h0bWw+Jzs=',"\112");
if (defined('ADMIN_PAGE')) {
echo '</footer>';

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/
@ -239,6 +239,9 @@ if (is_dir(HESK_PATH . 'install')) {
<script type="text/javascript" src="<?php echo HESK_PATH; ?>js/calendar/mods-for-hesk-calendar-readonly.js"></script>
<?php
}
// Include custom head code
include(HESK_PATH . 'head.txt');
?>
</head>

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.8 from 10th August 2016
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2014 Klemen Stirn. All Rights Reserved.
@ -221,7 +221,12 @@ $modsForHesk_settings = mfh_getSettings();
<script src="<?php echo HESK_PATH; ?>js/calendar/fullcalendar.min.js"></script>
<script src="<?php echo HESK_PATH; ?>js/calendar/lang/<?php echo $hesk_settings['languages'][$hesk_settings['language']]['folder'] ?>.js"></script>
<script src="<?php echo HESK_PATH; ?>js/calendar/mods-for-hesk-calendar-admin-readonly.js"></script>
<?php } ?>
<?php
}
// Include custom head code
include(HESK_PATH . 'head.txt');
?>
</head>
<body onload="<?php echo $onload;

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/
/* Check if this is a valid include */

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.8 from 10th August 2016
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.
@ -348,10 +348,10 @@ CREATE TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."mail` (
");
// ---> Insert rate this script email
hesk_dbQuery("INSERT INTO `".hesk_dbEscape($hesk_settings['db_pfix'])."mail` (`id`, `from`, `to`, `subject`, `message`, `dt`, `read`, `deletedby`) VALUES (1, 9999, 1, 'Rate this script', '<div style=\"text-align:justify;padding:3px\">\r\n\r\n<p style=\"color:green;font-weight:bold\">Enjoy using HESK? Please let others know!</p>\r\n\r\n<p>You are invited to rate HESK or even write a short review here:<br />&nbsp;<br /><img src=\"../img/link.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"\" style=\"vertical-align:text-bottom\" /> <a href=\"http://www.hotscripts.com/Detailed/46973.html\" target=\"_blank\">Rate this script @ Hot Scripts</a><br />&nbsp;<br /><img src=\"../img/link.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"\" style=\"vertical-align:text-bottom\" /> <a href=\"http://php.resourceindex.com/detail/04946.html\" target=\"_blank\">Rate this script @ The PHP Resource Index</a></p>\r\n\r\n<p>Thank you,<br />&nbsp;<br />Klemen,<br />\r\n<a href=\"http://www.hesk.com/\" target=\"_blank\">www.hesk.com</a>\r\n\r\n<p>&nbsp;</p>', NOW(), '0', 9999)");
hesk_dbQuery("INSERT INTO `".hesk_dbEscape($hesk_settings['db_pfix'])."mail` (`id`, `from`, `to`, `subject`, `message`, `dt`, `read`, `deletedby`) VALUES (1, 9999, 1, 'Rate this script', '<div style=\"text-align:justify;padding:3px\">\r\n\r\n<p style=\"color:green;font-weight:bold\">Enjoy using HESK? Please let others know!</p>\r\n\r\n<p>You are invited to rate HESK or even write a short review here:<br />&nbsp;<br /><img src=\"../img/link.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"\" style=\"vertical-align:text-bottom\" /> <a href=\"http://www.hotscripts.com/Detailed/46973.html\" target=\"_blank\">Rate this script @ Hot Scripts</a><br />&nbsp;<br /><img src=\"../img/link.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"\" style=\"vertical-align:text-bottom\" /> <a href=\"http://php.resourceindex.com/detail/04946.html\" target=\"_blank\">Rate this script @ The PHP Resource Index</a></p>\r\n\r\n<p>Thank you,<br />&nbsp;<br />Klemen,<br />\r\n<a href=\"https://www.hesk.com/\" target=\"_blank\">www.hesk.com</a>\r\n\r\n<p>&nbsp;</p>', NOW(), '0', 9999)");
// ---> Insert welcome email
hesk_dbQuery("INSERT INTO `".hesk_dbEscape($hesk_settings['db_pfix'])."mail` (`id`, `from`, `to`, `subject`, `message`, `dt`, `read`, `deletedby`) VALUES (2, 9999, 1, 'Welcome to HESK! Here are some quick tips...', '<p style=\"color:green;font-weight:bold\">HESK quick &quot;Getting Started&quot; tips:<br />&nbsp;</p>\r\n\r\n<ol style=\"padding-left:20px;padding-right:10px;text-align:justify\">\r\n<li>Click the Profile link to set your name, email, signature and password.<br />&nbsp;</li>\r\n<li>Click the Settings link in the top menu to get to the Settings page. For additional information about each setting, click the [?] link.<br />&nbsp;</li>\r\n<li>Add new categories (departments) on the Categories page. The default category cannot be deleted, but it can be renamed.<br />&nbsp;</li>\r\n<li>Create new staff accounts on the Users page. You can give them unlimited (Administrator) or restricted (Staff) access.<br />&nbsp;</li>\r\n<li>Use the integrated Knowledgebase. A comprehensive and well-written knowledgebase can drastically reduce the number of support tickets you receive and save a lot of your time in the long run.<br />&nbsp;</li>\r\n<li>You can create response and new ticket templates on the Canned page.<br />&nbsp;</li>\r\n<li>Subscribe to the <a href=\"http://www.hesk.com/newsletter.php\" target=\"_blank\">HESK Newsletter</a> to be notified of updates and new versions.<br />&nbsp;</li>\r\n<li>You should follow HESK on Twitter <a href=\"https://twitter.com/HESKdotCOM\" target=\"_blank\">here</a>.<br />&nbsp;</li>\r\n<li>To remove the &quot;<span class=\"smaller\">Powered by Help Desk Software HESK</span>&quot; links from the bottom of your help desk <a href=\"https://www.hesk.com/buy.php\" target=\"_blank\">buy a license here</a>.<br />&nbsp;</li></ol>\r\n\r\n<p>Enjoy using HESK and please feel free to share your constructive feedback and feature suggestions.</p>\r\n\r\n<p>Klemen Stirn<br />\r\nHESK owner and author<br />\r\n<a href=\"http://www.hesk.com/\" target=\"_blank\">www.hesk.com</a>', NOW(), '0', 9999)");
hesk_dbQuery("INSERT INTO `".hesk_dbEscape($hesk_settings['db_pfix'])."mail` (`id`, `from`, `to`, `subject`, `message`, `dt`, `read`, `deletedby`) VALUES (2, 9999, 1, 'Welcome to HESK! Here are some quick tips...', '<p style=\"color:green;font-weight:bold\">HESK quick &quot;Getting Started&quot; tips:<br />&nbsp;</p>\r\n\r\n<ol style=\"padding-left:20px;padding-right:10px;text-align:justify\">\r\n<li>Click the Profile link to set your name, email, signature and password.<br />&nbsp;</li>\r\n<li>Click the Settings link in the top menu to get to the Settings page. For additional information about each setting, click the [?] link.<br />&nbsp;</li>\r\n<li>Add new categories (departments) on the Categories page. The default category cannot be deleted, but it can be renamed.<br />&nbsp;</li>\r\n<li>Create new staff accounts on the Users page. You can give them unlimited (Administrator) or restricted (Staff) access.<br />&nbsp;</li>\r\n<li>Use the integrated Knowledgebase. A comprehensive and well-written knowledgebase can drastically reduce the number of support tickets you receive and save a lot of your time in the long run.<br />&nbsp;</li>\r\n<li>You can create response and new ticket templates on the Canned page.<br />&nbsp;</li>\r\n<li>Subscribe to the <a href=\"https://www.hesk.com/newsletter.php\" target=\"_blank\">HESK Newsletter</a> to be notified of updates and new versions.<br />&nbsp;</li>\r\n<li>You should follow HESK on Twitter <a href=\"https://twitter.com/HESKdotCOM\" target=\"_blank\">here</a>.<br />&nbsp;</li>\r\n<li>To remove the &quot;<span class=\"smaller\">Powered by Help Desk Software HESK</span>&quot; links from the bottom of your help desk <a href=\"https://www.hesk.com/buy.php\" target=\"_blank\">buy a license here</a>.<br />&nbsp;</li></ol>\r\n\r\n<p>Enjoy using HESK and please feel free to share your constructive feedback and feature suggestions.</p>\r\n\r\n<p>Klemen Stirn<br />\r\nHESK owner and author<br />\r\n<a href=\"https://www.hesk.com/\" target=\"_blank\">www.hesk.com</a>', NOW(), '0', 9999)");
// -> Notes
hesk_dbQuery("

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.8 from 10th August 2016
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.
@ -37,7 +37,7 @@ if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
// We will be installing this HESK version:
define('HESK_NEW_VERSION','2.7.0');
define('MODS_FOR_HESK_NEW_VERSION','3.0.0 beta 1');
define('MODS_FOR_HESK_NEW_VERSION','3.0.0');
define('REQUIRE_PHP_VERSION','5.3.0');
define('REQUIRE_MYSQL_VERSION','5.0.7');
@ -888,7 +888,7 @@ function hesk_iFooter()
global $hesk_settings;
?>
<p style="text-align:center"><span class="smaller">&nbsp;<br />Powered by <a href="http://www.hesk.com" class="smaller" title="Free PHP Help Desk Software">Help Desk Software</a> <b>HESK</b>, brought to you by <a href="https://www.sysaid.com/?utm_source=Hesk&utm_medium=cpc&utm_campaign=HeskProduct_To_HP">SysAid</a></span></p>
<p style="text-align:center"><span class="smaller">&nbsp;<br />Powered by <a href="https://www.hesk.com" class="smaller" title="Free PHP Help Desk Software">Help Desk Software</a> <b>HESK</b>, brought to you by <a href="https://www.sysaid.com/?utm_source=Hesk&utm_medium=cpc&utm_campaign=HeskProduct_To_HP">SysAid</a></span></p>
</div>
</body>

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.1 from 26th February 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -3,7 +3,7 @@
* Title: Help Desk Software HESK
* Version: 2.6.1 from 26th February 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
* Website: https://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -1,17 +1,41 @@
<?php
/*
* Language file for Help Desk Software HESK (www.hesk.com)
* Language: ENGLISH
* Version: 2.6.3
* Author: Klemen Stirn (http://www.hesk.com)
* Language file for Help Desk Software HESK (https://www.hesk.com)
* Language: English
* Version: 2.7.0
*
* ==> CONTRIBUTORS
*
* Klemen Stirn (https://www.hesk.com)
* Mike Koch (https://mods-for-hesk.mkochcs.com)
*
*
* ==> HOW TO TRANSLATE THIS FILE
*
* https://www.hesk.com/knowledgebase/?article=34
*
* ==> HOW TO CUSTOMIZE TEXT
*
* Do NOT customize text inside here, it will be overwritten by updates!
*
* Follow this guide instead:
* https://www.hesk.com/knowledgebase/?article=88
*
* ==> IMPORTANT: FILE ENCODING
*
* !!! This file must be saved in UTF-8 encoding without byte order mark (BOM) !!!
* Test chars: àáâãäåæ
*
* https://www.hesk.com/knowledgebase/?article=87
*
*/
// Change "English" to the name of your language
// Native name of language, for example: Deutsch
$hesklang['LANGUAGE']='English';
// English name of language, for example: German
$hesklang['LANGUAGE_EN'] ='English';
// Language encoding. It MUST be set to UTF-8 for all languages!
$hesklang['ENCODING']='UTF-8';

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

@ -4,10 +4,10 @@
* This file is part of HESK - PHP Help Desk Software.
*
* (c) Copyright Klemen Stirn. All rights reserved.
* http://www.hesk.com
* https://www.hesk.com
*
* For the full copyright and license agreement information visit
* http://www.hesk.com/eula.php
* https://www.hesk.com/eula.php
*
*/

Yükleniyor…
İptal
Kaydet