diff --git a/admin/admin_reply_ticket.php b/admin/admin_reply_ticket.php index 75e6180f..62255dd1 100644 --- a/admin/admin_reply_ticket.php +++ b/admin/admin_reply_ticket.php @@ -201,9 +201,9 @@ if (!empty($_POST['set_priority'])) { } $options = array( - 0 => '' . $hesklang['critical'] . '', - 1 => '' . $hesklang['high'] . '', - 2 => '' . $hesklang['medium'] . '', + 0 => '' . $hesklang['critical'] . '', + 1 => '' . $hesklang['high'] . '', + 2 => '' . $hesklang['medium'] . '', 3 => $hesklang['low'] ); diff --git a/admin/admin_ticket.php b/admin/admin_ticket.php index 557eb193..532c2746 100644 --- a/admin/admin_ticket.php +++ b/admin/admin_ticket.php @@ -31,6 +31,7 @@ define('IN_SCRIPT', 1); define('HESK_PATH', '../'); define('WYSIWYG', 1); +define('VALIDATOR', 1); /* Get all the required files and functions */ require(HESK_PATH . 'hesk_settings.inc.php'); @@ -668,28 +669,51 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php'); @@ -1213,10 +1237,13 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php'); ?>
-
-
+
+ +
+

- +
-

+ data-error="" + placeholder="" class="form-control" required> +
+
+
+
+
@@ -1678,8 +1710,14 @@ function hesk_printReplyForm()
- + + >
- +
- - +
+ + +
- - +

@@ -1733,14 +1771,16 @@ function hesk_printReplyForm() -
- +
+
+ ?> +
- +
- +
- + +
diff --git a/admin/banned_ips.php b/admin/banned_ips.php index 90ab1c7d..d26c5512 100644 --- a/admin/banned_ips.php +++ b/admin/banned_ips.php @@ -127,15 +127,16 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php'); /* This will handle error, success and notice messages */ hesk_handle_messages(); ?> - +
- + +
diff --git a/admin/mail.php b/admin/mail.php index 4d32fb95..e0bd296f 100644 --- a/admin/mail.php +++ b/admin/mail.php @@ -541,13 +541,15 @@ function mail_list_messages()
+ - + + ' . $pm['subject'] . ''; } $pm['name'] = isset($admins[$pm[$hesk_settings['mailtmp']['other']]]) ? '' . $admins[$pm[$hesk_settings['mailtmp']['other']]] . '' : (($pm['from'] == 9999) ? 'HESK.com' : $hesklang['e_udel']); - $pm['dt'] = hesk_dateToString($pm['dt'], 0, 0, 0, true); - - echo << - - - - - - -EOC; + $pm['dt'] = hesk_dateToString($pm['dt'], 0, 0, 0, true) + ?> + + + + + + +
 $pm[subject]$pm[name]$pm[dt]
 
@@ -620,7 +620,7 @@ function show_new_form() global $hesk_settings, $hesklang, $admins; ?>
- +

@@ -629,7 +629,8 @@ global $hesk_settings, $hesklang, $admins;
- $v) { @@ -643,6 +644,7 @@ global $hesk_settings, $hesklang, $admins; } ?> +
@@ -655,21 +657,25 @@ global $hesk_settings, $hesklang, $admins; if (isset($_SESSION['mail']['subject'])) { echo ' value="' . stripslashes($_SESSION['mail']['subject']) . '" '; } - ?> - /> + ?> data-error="" required> +
- - + +
+
+
+
+
-
+
+
: | diff --git a/admin/manage_categories.php b/admin/manage_categories.php index 99ea294d..772d5795 100644 --- a/admin/manage_categories.php +++ b/admin/manage_categories.php @@ -30,6 +30,7 @@ define('IN_SCRIPT', 1); define('HESK_PATH', '../'); +define('VALIDATOR', 1); /* Get all the required files and functions */ require(HESK_PATH . 'hesk_settings.inc.php'); @@ -118,7 +119,7 @@ while ($mycat = hesk_dbFetchAssoc($res)) {
- +

@@ -135,7 +136,9 @@ while ($mycat = hesk_dbFetchAssoc($res)) { echo ' value="' . hesk_input($_SESSION['catname']) . '" '; } ?> - /> + data-error="" + required> +
@@ -193,7 +196,7 @@ while ($mycat = hesk_dbFetchAssoc($res)) {
-
+

@@ -212,7 +215,10 @@ while ($mycat = hesk_dbFetchAssoc($res)) { placeholder="" type="text" name="name" size="40" maxlength="40" /> + } ?> + data-error="" + required> +
diff --git a/admin/manage_knowledgebase.php b/admin/manage_knowledgebase.php index e1c86bea..53eb4915 100644 --- a/admin/manage_knowledgebase.php +++ b/admin/manage_knowledgebase.php @@ -30,6 +30,7 @@ define('IN_SCRIPT',1); define('HESK_PATH','../'); +define('VALIDATOR', 1); /* Get all the required files and functions */ require(HESK_PATH . 'hesk_settings.inc.php'); @@ -351,7 +352,13 @@ if (!isset($_SESSION['hide']['new_article']))

- + + >
@@ -405,9 +412,14 @@ if (!isset($_SESSION['hide']['new_article']))
- /> + required> +
+
+
+ +
-

@@ -427,8 +439,11 @@ if (!isset($_SESSION['hide']['new_article']))
- - + +
+ + +
@@ -497,14 +512,15 @@ if (!isset($_SESSION['hide']['new_category'])) ?>
- +

- +
- + +
@@ -530,8 +546,10 @@ if (!isset($_SESSION['hide']['new_category']))
- - +
+ + +
@@ -1325,8 +1343,13 @@ function edit_article()

- -
+ + >
@@ -1403,9 +1426,15 @@ function edit_article()
- + +
+
+
+ +
-
@@ -1601,10 +1630,13 @@ function manage_category() {
- +
- + +
@@ -1637,12 +1669,14 @@ function manage_category() {
-
+
- - +
+ + +
diff --git a/admin/manage_permission_templates.php b/admin/manage_permission_templates.php index 373a1629..790a9f85 100644 --- a/admin/manage_permission_templates.php +++ b/admin/manage_permission_templates.php @@ -30,6 +30,7 @@ define('IN_SCRIPT', 1); define('HESK_PATH', '../'); +define('VALIDATOR', 1); /* Get all the required files and functions */ require(HESK_PATH . 'hesk_settings.inc.php'); @@ -95,35 +96,38 @@ while ($row = hesk_dbFetchAssoc($res)) { } ?>
-
-

- -

- -
+
- - - - - - - - - - - - - - - + + + +
- - - +
+
+

+ + + + + + +

+
+ + + + + + + + + + + + - - - -
+ + + @@ -141,17 +145,18 @@ while ($row = hesk_dbFetchAssoc($res)) { title=""> - - - -
+ if ($row['id'] != 1 && $row['id'] != 2): + ?> + + + +
+
@@ -287,7 +299,7 @@ function buildCreateModal($features, $categories) aria-hidden="true"> +
diff --git a/admin/manage_statuses.php b/admin/manage_statuses.php index 9a4c4bd8..a30d6020 100644 --- a/admin/manage_statuses.php +++ b/admin/manage_statuses.php @@ -102,7 +102,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');

- + @@ -470,7 +470,9 @@ function buildCreateModal()
+ data-error="" + class="form-control" name="name[]" required> +

@@ -490,7 +492,9 @@ function buildCreateModal()
+ data-error="" + placeholder="" required> +
@@ -571,7 +575,7 @@ function buildEditModal($statusId) aria-labelledby="myLargeModalLabel" aria-hidden="true">