Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Commit

Permalink
HESK 2.7.0 RC1 -> Final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-koch committed Nov 18, 2016
1 parent 38d56f1 commit b1b16fe
Show file tree
Hide file tree
Showing 74 changed files with 187 additions and 157 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions admin/admin_main.php
Expand Up @@ -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
*
*/

Expand Down
4 changes: 2 additions & 2 deletions admin/admin_reply_ticket.php
Expand Up @@ -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
*
*/

Expand Down
16 changes: 8 additions & 8 deletions admin/admin_settings.php
Expand Up @@ -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
*
*/

Expand Down Expand Up @@ -333,21 +333,21 @@ function checkRequiredEmail(field) {
// 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
}
?>
Expand All @@ -374,7 +374,7 @@ function checkRequiredEmail(field) {
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>';
Expand Down Expand Up @@ -3926,7 +3926,7 @@ function hesk_testLanguage($return_options = 0)
}

/* 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";
}

Expand Down
6 changes: 3 additions & 3 deletions admin/admin_settings_save.php
Expand Up @@ -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
*
*/

Expand Down Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions admin/admin_submit_ticket.php
Expand Up @@ -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
*
*/

Expand Down
4 changes: 2 additions & 2 deletions admin/admin_ticket.php
Expand Up @@ -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
*
*/

Expand Down
2 changes: 1 addition & 1 deletion admin/api_settings.php
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion admin/assign_owner.php
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions admin/banned_emails.php
Expand Up @@ -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
*
*/

Expand Down
4 changes: 2 additions & 2 deletions admin/banned_ips.php
Expand Up @@ -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
*
*/

Expand Down
2 changes: 1 addition & 1 deletion admin/calendar.php
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions admin/change_status.php
Expand Up @@ -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
*
*/

Expand Down
4 changes: 2 additions & 2 deletions admin/custom_fields.php
Expand Up @@ -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
*
*/

Expand Down
4 changes: 2 additions & 2 deletions admin/delete_tickets.php
Expand Up @@ -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
*
*/

Expand Down
4 changes: 2 additions & 2 deletions admin/edit_note.php
Expand Up @@ -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
*
*/

Expand Down
4 changes: 2 additions & 2 deletions admin/edit_post.php
Expand Up @@ -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
*
*/

Expand Down
4 changes: 2 additions & 2 deletions admin/export.php
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions admin/find_tickets.php
Expand Up @@ -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
*
*/

Expand Down
4 changes: 2 additions & 2 deletions admin/index.php
Expand Up @@ -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
*
*/

Expand Down
2 changes: 1 addition & 1 deletion admin/knowledgebase_private.php
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions admin/lock.php
Expand Up @@ -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
*
*/

Expand Down
10 changes: 4 additions & 6 deletions admin/mail.php
Expand Up @@ -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
*
*/

Expand Down Expand Up @@ -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);
?>
Expand Down Expand Up @@ -564,18 +564,16 @@ function mail_list_messages()
$i = 0;
while ($pm = hesk_dbFetchAssoc($res)) {
if ($i) {
$color = "admin_gray";
$i = 0;
} else {
$color = "admin_white";
$i = 1;
}

$pm['subject'] = '<a href="mail.php?a=read&amp;id=' . $pm['id'] . '">' . $pm['subject'] . '</a>';
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>
Expand Down
4 changes: 2 additions & 2 deletions admin/manage_canned.php
Expand Up @@ -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
*
*/

Expand Down
4 changes: 2 additions & 2 deletions admin/manage_categories.php
Expand Up @@ -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
*
*/

Expand Down
2 changes: 1 addition & 1 deletion admin/manage_knowledgebase.php
Expand Up @@ -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.
Expand Down

0 comments on commit b1b16fe

Please sign in to comment.