Catching the core changes and moving to HTML5.
Mert ALINBAY

Mert ALINBAY commited on 2017-09-03 01:33:27
Showing 35 changed files, with 600 additions and 600 deletions.

... ...
@@ -1,5 +1,5 @@
1 1
 # Force our line endings to be LF, even for Windows
2
-* text
2
+* text=auto
3 3
 
4 4
 # Set certain files to be binary
5 5
 *.png binary
... ...
@@ -240,7 +240,7 @@ form#postmodify .shd_ticket_roundframe
240 240
 {
241 241
 	margin-top: 8px;
242 242
 }
243
-.shd_customfields .input_text
243
+.shd_customfields input[type="text"]
244 244
 {
245 245
 	width: 85%;
246 246
 }
... ...
@@ -231,7 +231,7 @@ shd_attach_select.prototype.addListRow = function (element)
231 231
 	var new_row_button = document.createElement('input');
232 232
 	new_row_button.type = 'button';
233 233
 	new_row_button.value = this.opts.message_txt_delete;
234
-	new_row_button.className = 'button_submit';
234
+	new_row_button.className = 'button';
235 235
 	new_row.element = element;
236 236
 
237 237
 	new_row_button.onclick = function ()
... ...
@@ -421,7 +421,7 @@ function AjaxAssign(oOptions)
421 421
 	this.bCollapsed = true;
422 422
 
423 423
 	// Insert the expand/collapse button
424
-	document.getElementById(this.opt.sId).innerHTML = '<img src="' + this.opt.sImagesUrl + "/" + this.opt.sImageCollapsed + '" id="assign_' + this.opt.sSelf + '" class="shd_assign_button" onclick="' + this.opt.sSelf + '.click();" />';
424
+	document.getElementById(this.opt.sId).innerHTML = '<img src="' + this.opt.sImagesUrl + "/" + this.opt.sImageCollapsed + '" id="assign_' + this.opt.sSelf + '" class="shd_assign_button" onclick="' + this.opt.sSelf + '.click();">';
425 425
 }
426 426
 
427 427
 AjaxAssign.prototype.click = function ()
... ...
@@ -467,7 +467,7 @@ AjaxAssign.prototype.expand_callback = function (XMLDoc)
467 467
 		{
468 468
 			newhtml += '<li class="shd_assignees" onclick="' + this.opt.sSelf + '.assign(' + elements[i].getAttribute('uid') + ');">';
469 469
 			if (elements[i].getAttribute('admin'))
470
-				newhtml += '<img src="' + smf_default_theme_url + '/images/simpledesk/' + (elements[i].getAttribute('admin') == 'yes' ? 'admin' : 'staff') + '.png" alt="" class="shd_smallicon" /> ';
470
+				newhtml += '<img src="' + smf_default_theme_url + '/images/simpledesk/' + (elements[i].getAttribute('admin') == 'yes' ? 'admin' : 'staff') + '.png" alt="" class="shd_smallicon"> ';
471 471
 			newhtml += elements[i].childNodes[0].nodeValue + '</li>';
472 472
 		}
473 473
 
... ...
@@ -42,7 +42,7 @@ $txt['shd_admin_welcome'] = 'Welcome to the main helpdesk administration center!
42 42
 $txt['shd_admin_title'] = 'Helpdesk Administration Center';
43 43
 $txt['shd_staff_list'] = 'Helpdesk staff';
44 44
 $txt['shd_update_available'] = 'New version available!';
45
-$txt['shd_update_message'] = 'A new version of SimpleDesk has been released. We recommened you to <a href="#" id="update-link">update to the latest version</a> in order to stay secure and enjoy all features our modification have to offer.' . "\n\n" . '<span style="display: none;" id="information-link-span"><br />For more information on what is new in this release, please visit <a href="#" id="information-link" target="_blank">our website</a>.</span><br />' . "\n\n" . '<strong>The SimpleDesk Team</strong>';
45
+$txt['shd_update_message'] = 'A new version of SimpleDesk has been released. We recommened you to <a href="#" id="update-link">update to the latest version</a> in order to stay secure and enjoy all features our modification have to offer.' . "\n\n" . '<span style="display: none;" id="information-link-span"><br>For more information on what is new in this release, please visit <a href="#" id="information-link" target="_blank">our website</a>.</span><br>' . "\n\n" . '<strong>The SimpleDesk Team</strong>';
46 46
 //@}
47 47
 
48 48
 //! @name Urgency levels, ties to helpdesk_tickets.urgency
... ...
@@ -309,7 +309,7 @@ $txt['shd_log_admin_plugins_remove'] = 'Removed';
309 309
 //@{
310 310
 $txt['shd_admin_support_form_title'] = 'Support form';
311 311
 $txt['shd_admin_support_what_is_this'] = 'What is this?';
312
-$txt['shd_admin_support_explanation'] = 'This simple form will allow you to send a support request directly to the SimpleDesk website so that the support team there can help you solve any issue you run in to.<br /><br />Please note that you will need an account on our website in order to post as well as replying to your topic in the future. This form will simply speed up the posting process.';
312
+$txt['shd_admin_support_explanation'] = 'This simple form will allow you to send a support request directly to the SimpleDesk website so that the support team there can help you solve any issue you run in to.<br><br>Please note that you will need an account on our website in order to post as well as replying to your topic in the future. This form will simply speed up the posting process.';
313 313
 $txt['shd_admin_support_send'] = 'Send support request';
314 314
 //@}
315 315
 
... ...
@@ -623,7 +623,7 @@ $txt['shd_maint_invalid_dept'] = '%1$d ticket(s) were listed as being in departm
623 623
 $txt['shd_maint_search_settings'] = 'Search Settings';
624 624
 $txt['shd_maint_search_settings_desc'] = 'This page allows you to configure how ticket searching may be performed, and if necessary, rebuild the index used to perform searching.';
625 625
 $txt['shd_maint_rebuild_index'] = 'Rebuild the Search Index';
626
-$txt['shd_maint_rebuild_index_desc'] = 'If you have existing tickets that were around prior to the search facility being provided, or you alter the settings below, you will <strong>need</strong> to rebuild the index after. The index is what is physically used to search, and if the physical index setup is different to how searches are made, you will find searching very unrealiable.<br /><strong>Important:</strong> Building the search index is a very intensive task. It will take a while to carry out, during which time please leave this window open.';
626
+$txt['shd_maint_rebuild_index_desc'] = 'If you have existing tickets that were around prior to the search facility being provided, or you alter the settings below, you will <strong>need</strong> to rebuild the index after. The index is what is physically used to search, and if the physical index setup is different to how searches are made, you will find searching very unrealiable.<br><strong>Important:</strong> Building the search index is a very intensive task. It will take a while to carry out, during which time please leave this window open.';
627 627
 $txt['shd_maint_search_settings_warning'] = 'If you alter these settings, you will need to rebuild the search index.';
628 628
 $txt['shd_search_min_size'] = 'Minimum number of letters to be considered a word (3-15)';
629 629
 $txt['shd_search_max_size'] = 'Maximum number of letters to be considered a word (3-15)';
... ...
@@ -67,7 +67,7 @@ function template_shd_frontpage_admin()
67 67
 							</select>
68 68
 							</dd>
69 69
 					</dl>
70
-					<hr class="hrcolor" />
70
+					<hr>
71 71
 					<dl class="permsettings">
72 72
 						<dt style="width: 30%;">
73 73
 							<a id="setting_shdp_frontpage_type"></a> <span><label id="label_shdp_frontpage_type" for="shdp_frontpage_type">', $txt['shdp_frontpage_type'], '</label></span>
... ...
@@ -95,9 +95,9 @@ function template_shd_frontpage_admin()
95 95
 	echo '
96 96
 							</dd>
97 97
 						</dl>
98
-						<hr class="hrcolor" />
98
+						<hr>
99 99
 						<div class="righttext">
100
-							<input type="submit" value="', $txt['save'], '"', (!empty($context['save_disabled']) ? ' disabled="disabled"' : ''), (!empty($context['settings_save_onclick']) ? ' onclick="' . $context['settings_save_onclick'] . '"' : ''), ' class="button_submit" />
100
+							<input type="submit" value="', $txt['save'], '"', (!empty($context['save_disabled']) ? ' disabled="disabled"' : ''), (!empty($context['settings_save_onclick']) ? ' onclick="' . $context['settings_save_onclick'] . '"' : ''), ' class="button">
101 101
 						</div>
102 102
 
103 103
 					</div>
... ...
@@ -106,12 +106,12 @@ function template_shd_frontpage_admin()
106 106
 			</div>';
107 107
 	if (isset($context['admin-dbsc_token']))
108 108
 		echo '
109
-		<input type="hidden" name="', $context['admin-dbsc_token_var'], '" value="', $context['admin-dbsc_token'], '" />';
109
+		<input type="hidden" name="', $context['admin-dbsc_token_var'], '" value="', $context['admin-dbsc_token'], '">';
110 110
 	echo '
111
-		<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
111
+		<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
112 112
 		</form>
113 113
 	</div>
114
-	<br class="clear" />';
114
+	<br>';
115 115
 	if (!empty($context['settings_post_javascript']))
116 116
 		echo '
117 117
 	<script type="text/javascript"><!-- // --><![CDATA[
... ...
@@ -55,7 +55,7 @@ $txt['closed_tickets'] = 'Closed Tickets';
55 55
 		<div class="title_bar">
56 56
 			<h4 class="titlebg">
57 57
 				<span class="ie6_header floatleft">
58
-					<img src="', $settings['images_url'], '/stats_info.png" class="icon" alt="" /> ', $txt['general_stats'], '
58
+					<img src="', $settings['images_url'], '/stats_info.png" class="icon" alt=""> ', $txt['general_stats'], '
59 59
 				</span>
60 60
 			</h4>
61 61
 		</div>
... ...
@@ -115,7 +115,7 @@ $txt['closed_tickets'] = 'Closed Tickets';
115 115
 		<div class="title_bar">
116 116
 			<h4 class="titlebg">
117 117
 				<span class="ie6_header floatleft">
118
-					<img src="', $settings['images_url'], '/stats_posters.png" class="icon" alt="" /> ', $txt['urgency_stats'], '
118
+					<img src="', $settings['images_url'], '/stats_posters.png" class="icon" alt=""> ', $txt['urgency_stats'], '
119 119
 				</span>
120 120
 			</h4>
121 121
 		</div>
... ...
@@ -160,7 +160,7 @@ $txt['closed_tickets'] = 'Closed Tickets';
160 160
 		<div class="cat_bar">
161 161
 			<h3 class="catbg">
162 162
 				<span class="ie6_header floatleft">
163
-					<img src="', $settings['images_url'], '/stats_history.png" class="icon" alt="" /> ', $txt['ticket_history'], '
163
+					<img src="', $settings['images_url'], '/stats_history.png" class="icon" alt=""> ', $txt['ticket_history'], '
164 164
 				</span>
165 165
 			</h3>
166 166
 		</div>
... ...
@@ -185,10 +185,10 @@ function shd_admin_info()
185 185
 		'description' => $txt['shd_admin_options_desc'],
186 186
 		'tabs' => array(
187 187
 			'main' => array(
188
-				'description' => '<strong>' . $txt['hello_guest'] . ' ' . $context['user']['name'] . '!</strong><br />' . $txt['shd_admin_info_desc'],
188
+				'description' => '<strong>' . $txt['hello_guest'] . ' ' . $context['user']['name'] . '!</strong><br>' . $txt['shd_admin_info_desc'],
189 189
 			),
190 190
 			'actionlog' => array(
191
-				'description' => $txt['shd_admin_actionlog_desc'] . '<br />' . (!empty($modSettings['shd_disable_action_log']) ? '<span class="smalltext">' . $txt['shd_action_log_disabled'] . '</span>' : ''),
191
+				'description' => $txt['shd_admin_actionlog_desc'] . '<br>' . (!empty($modSettings['shd_disable_action_log']) ? '<span class="smalltext">' . $txt['shd_action_log_disabled'] . '</span>' : ''),
192 192
 			),
193 193
 			'adminlog' => array(
194 194
 				'description' => $txt['shd_admin_adminlog_desc'],
... ...
@@ -203,7 +203,7 @@ function shd_admin_info()
203 203
 	$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subactions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'main';
204 204
 
205 205
 	// Now that we have validated the subaction.	
206
-	$context[$context['admin_menu_name']]['tab_data']['title'] = '<img src="' . $settings['images_url'] . '/admin/shd/' . $subactions[$_REQUEST['sa']]['icon'] . '" class="icon" alt="*" />' . $subactions[$_REQUEST['sa']]['title'];
206
+	$context[$context['admin_menu_name']]['tab_data']['title'] = '<img src="' . $settings['images_url'] . '/admin/shd/' . $subactions[$_REQUEST['sa']]['icon'] . '" class="icon" alt="*">' . $subactions[$_REQUEST['sa']]['title'];
207 207
 
208 208
 	// Are we doing the main page, or leaving here?
209 209
 	if (!empty($subactions[$_REQUEST['sa']]['function']))
... ...
@@ -264,7 +264,7 @@ function shd_admin_options($return_config)
264 264
 	';
265 265
 
266 266
 	$context[$context['admin_menu_name']]['tab_data'] = array(
267
-		'title' => '<img src="' . $settings['default_images_url'] . '/simpledesk/status.png" class="icon" alt="*" />' . $txt['shd_admin_options'],
267
+		'title' => '<img src="' . $settings['default_images_url'] . '/simpledesk/status.png" class="icon" alt="*">' . $txt['shd_admin_options'],
268 268
 		'description' => $txt['shd_admin_options_desc'],
269 269
 		'tabs' => array(
270 270
 			'display' => array(
... ...
@@ -1003,9 +1003,9 @@ function shd_credits()
1003 1003
 					'icon' => 'others.png',
1004 1004
 					'members' => array(
1005 1005
 						array('Fluffy - ' . sprintf($txt['shd_fluffy'],'onclick="window.location.href=\'' . $scripturl . '?action=admin;area=helpdesk_info;cookies\'"'),false),
1006
-						array('<br />' . $txt['shd_credits_translators'],false),
1007
-						array('<br />' . sprintf($txt['shd_credits_icons'], 'http://p.yusukekamiyamane.com/', 'http://wefunction.com/2008/07/function-free-icon-set/', 'http://www.famfamfam.com/lab/icons/flags/', 'http://www.everaldo.com/crystal/'),false),
1008
-						array('<br />' . $txt['shd_credits_user'],false),
1006
+						array('<br>' . $txt['shd_credits_translators'],false),
1007
+						array('<br>' . sprintf($txt['shd_credits_icons'], 'http://p.yusukekamiyamane.com/', 'http://wefunction.com/2008/07/function-free-icon-set/', 'http://www.famfamfam.com/lab/icons/flags/', 'http://www.everaldo.com/crystal/'),false),
1008
+						array('<br>' . $txt['shd_credits_user'],false),
1009 1009
 					),
1010 1010
 				),
1011 1011
 			),
... ...
@@ -78,7 +78,7 @@ function shd_admin_maint()
78 78
 	$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subactions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'main';
79 79
 
80 80
 	$context[$context['admin_menu_name']]['tab_data'] = array(
81
-		'title' => '<img src="' . $settings['default_theme_url'] . '/images/simpledesk/' . $subactions[$_REQUEST['sa']]['icon'] . '" class="icon" alt="*" />' . $subactions[$_REQUEST['sa']]['title'],
81
+		'title' => '<img src="' . $settings['default_theme_url'] . '/images/simpledesk/' . $subactions[$_REQUEST['sa']]['icon'] . '" class="icon" alt="*">' . $subactions[$_REQUEST['sa']]['title'],
82 82
 		'description' => $txt['shd_admin_options_desc'],
83 83
 		'tabs' => array(
84 84
 			'main' => array(
... ...
@@ -381,27 +381,27 @@ function shd_admin_maint_massdeptmove()
381 381
 	$context['continue_countdown'] = 3;
382 382
 	$context['continue_get_data'] = '?action=admin;area=helpdesk_maint;sa=massdeptmove;' . $context['session_var'] . '=' . $context['session_id'];
383 383
 	$context['continue_post_data'] = '
384
-		<input type="hidden" name="id_dept_from" value="' . $_POST['id_dept_from'] . '" />
385
-		<input type="hidden" name="id_dept_to" value="' . $_POST['id_dept_to'] . '" />
386
-		<input type="hidden" name="tickets_done" value="' . $_POST['tickets_done'] . '" />
387
-		<input type="hidden" name="massdeptmove" value="' . $_POST['massdeptmove'] . '" />';
384
+		<input type="hidden" name="id_dept_from" value="' . $_POST['id_dept_from'] . '">
385
+		<input type="hidden" name="id_dept_to" value="' . $_POST['id_dept_to'] . '">
386
+		<input type="hidden" name="tickets_done" value="' . $_POST['tickets_done'] . '">
387
+		<input type="hidden" name="massdeptmove" value="' . $_POST['massdeptmove'] . '">';
388 388
 	if (!empty($_POST['moveopen']))
389 389
 		$context['continue_post_data'] .= '
390
-		<input type="hidden" name="moveopen" value="' . $_POST['moveopen'] . '" />';
390
+		<input type="hidden" name="moveopen" value="' . $_POST['moveopen'] . '">';
391 391
 	if (!empty($_POST['moveclosed']))
392 392
 		$context['continue_post_data'] .= '
393
-		<input type="hidden" name="moveclosed" value="' . $_POST['moveclosed'] . '" />';
393
+		<input type="hidden" name="moveclosed" value="' . $_POST['moveclosed'] . '">';
394 394
 	if (!empty($_POST['movedeleted']))
395 395
 		$context['continue_post_data'] .= '
396
-		<input type="hidden" name="movedeleted" value="' . $_POST['movedeleted'] . '" />';
396
+		<input type="hidden" name="movedeleted" value="' . $_POST['movedeleted'] . '">';
397 397
 	if ($_POST['movelast_less_days'] > 0)
398 398
 		$context['continue_post_data'] .= '
399
-		<input type="hidden" name="movelast_less" value="1" />
400
-		<input type="hidden" name="movelast_less_days" value="' . $_POST['movelast_less_days'] . '" />';
399
+		<input type="hidden" name="movelast_less" value="1">
400
+		<input type="hidden" name="movelast_less_days" value="' . $_POST['movelast_less_days'] . '">';
401 401
 	if ($_POST['movelast_more_days'] > 0)
402 402
 		$context['continue_post_data'] .= '
403
-		<input type="hidden" name="movelast_more" value="1" />
404
-		<input type="hidden" name="movelast_more_days" value="' . $_POST['movelast_more_days'] . '" />';
403
+		<input type="hidden" name="movelast_more" value="1">
404
+		<input type="hidden" name="movelast_more_days" value="' . $_POST['movelast_more_days'] . '">';
405 405
 
406 406
 	$context['sub_template'] = 'not_done';
407 407
 	$context['continue_percent'] = $_POST['tickets_done'] > $_POST['massdeptmove'] ? 100 : floor($_POST['tickets_done'] / $_POST['massdeptmove'] * 100);
... ...
@@ -512,7 +512,7 @@ function shd_maint_zero_entries()
512 512
 	}
513 513
 
514 514
 	// This is a short operation, no suboperation, so just tell it to go onto the next step.
515
-	$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '" />';
515
+	$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '">';
516 516
 }
517 517
 
518 518
 // Ensure that the count of number of replies/deleted replies/whether ticket contains deleted replies are all correct.
... ...
@@ -612,13 +612,13 @@ function shd_maint_deleted()
612 612
 	if ($_REQUEST['start'] > $ticket_count)
613 613
 	{
614 614
 		// All done
615
-		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '" />';
615
+		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '">';
616 616
 	}
617 617
 	else
618 618
 	{
619 619
 		// More to do, call back - and provide the subtitle
620
-		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . $context['step'] . '" />
621
-		<input type="hidden" name="start" value="' . $_REQUEST['start'] . '" />';
620
+		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . $context['step'] . '">
621
+		<input type="hidden" name="start" value="' . $_REQUEST['start'] . '">';
622 622
 		$context['substep_enabled'] = true;
623 623
 		$context['substep_title'] = $txt['shd_admin_maint_findrepair_status'];
624 624
 		$context['substep_continue_percent'] = round(100 * $_REQUEST['start'] / $ticket_count);
... ...
@@ -703,13 +703,13 @@ function shd_maint_first_last()
703 703
 	if ($_REQUEST['start'] > $ticket_count)
704 704
 	{
705 705
 		// All done
706
-		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '" />';
706
+		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '">';
707 707
 	}
708 708
 	else
709 709
 	{
710 710
 		// More to do, call back - and provide the subtitle
711
-		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . $context['step'] . '" />
712
-		<input type="hidden" name="start" value="' . $_REQUEST['start'] . '" />';
711
+		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . $context['step'] . '">
712
+		<input type="hidden" name="start" value="' . $_REQUEST['start'] . '">';
713 713
 		$context['substep_enabled'] = true;
714 714
 		$context['substep_title'] = $txt['shd_admin_maint_findrepair_firstlast'];
715 715
 		$context['substep_continue_percent'] = round(100 * $_REQUEST['start'] / $ticket_count);
... ...
@@ -794,13 +794,13 @@ function shd_maint_starter_updater()
794 794
 	if ($_REQUEST['start'] > $ticket_count)
795 795
 	{
796 796
 		// All done
797
-		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '" />';
797
+		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '">';
798 798
 	}
799 799
 	else
800 800
 	{
801 801
 		// More to do, call back - and provide the subtitle
802
-		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . $context['step'] . '" />
803
-		<input type="hidden" name="start" value="' . $_REQUEST['start'] . '" />';
802
+		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . $context['step'] . '">
803
+		<input type="hidden" name="start" value="' . $_REQUEST['start'] . '">';
804 804
 		$context['substep_enabled'] = true;
805 805
 		$context['substep_title'] = $txt['shd_admin_maint_findrepair_starterupdater'];
806 806
 		$context['substep_continue_percent'] = round(100 * $_REQUEST['start'] / $ticket_count);
... ...
@@ -881,13 +881,13 @@ function shd_maint_status()
881 881
 	if ($_REQUEST['start'] > $ticket_count)
882 882
 	{
883 883
 		// All done
884
-		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '" />';
884
+		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '">';
885 885
 	}
886 886
 	else
887 887
 	{
888 888
 		// More to do, call back - and provide the subtitle
889
-		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . $context['step'] . '" />
890
-		<input type="hidden" name="start" value="' . $_REQUEST['start'] . '" />';
889
+		$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . $context['step'] . '">
890
+		<input type="hidden" name="start" value="' . $_REQUEST['start'] . '">';
891 891
 		$context['substep_enabled'] = true;
892 892
 		$context['substep_title'] = $txt['shd_admin_maint_findrepair_firstlast'];
893 893
 		$context['substep_continue_percent'] = round(100 * $_REQUEST['start'] / $ticket_count);
... ...
@@ -947,7 +947,7 @@ function shd_maint_invalid_dept()
947 947
 	}
948 948
 
949 949
 	// This is a simple operation, no suboperation, so just tell it to go onto the next step.
950
-	$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '" />';
950
+	$context['continue_post_data'] .= '<input type="hidden" name="step" value="' . ($context['step'] + 1) . '">';
951 951
 }
952 952
 
953 953
 // Make sure all SimpleDesk cache items are forcibly flushed.
... ...
@@ -1109,8 +1109,8 @@ function shd_admin_maint_search()
1109 1109
 		$context['sub_template'] = 'not_done';
1110 1110
 		$context['continue_percent'] = $pc_done;
1111 1111
 		$context['continue_get_data'] = '?action=admin;area=helpdesk_maint;sa=search;' . $context['session_var'] . '=' . $context['session_id'];
1112
-		$context['continue_post_data'] = '<input type="hidden" name="start" value="' . $start . '" />
1113
-		<input type="hidden" name="rebuild" value="1" />';
1112
+		$context['continue_post_data'] = '<input type="hidden" name="start" value="' . $start . '">
1113
+		<input type="hidden" name="rebuild" value="1">';
1114 1114
 
1115 1115
 		// Make SURE we never mess with the other settings.
1116 1116
 		unset($_REQUEST['save']);
... ...
@@ -84,9 +84,9 @@ function shd_ajax()
84 84
 		{
85 85
 			foreach ($context['ajax_return'] as $key => $value)
86 86
 			{
87
-				if (empty($value)) // for <tag />
87
+				if (empty($value)) // for <tag>
88 88
 					echo '
89
-	<', $key, ' />';
89
+	<', $key, '>';
90 90
 				else
91 91
 				{
92 92
 					$value = (array) $value;
... ...
@@ -345,7 +345,7 @@ function shd_ajax_quote()
345 345
 				require_once($sourcedir . '/Subs-Editor.php');
346 346
 				$row['body'] = strtr($row['body'], array('&lt;' => '#smlt#', '&gt;' => '#smgt#', '&amp;' => '#smamp#'));
347 347
 				$row['body'] = bbc_to_html($row['body']);
348
-				$lb = '<br />';
348
+				$lb = '<br>';
349 349
 			}
350 350
 			else
351 351
 				$lb = "\n";
... ...
@@ -795,26 +795,26 @@ function shd_ajax_notify()
795 795
 		}
796 796
 
797 797
 		if (!empty($notify_list['being_notified']))
798
-			echo '<span class="shd_ajax_head">', $txt['shd_ping_already_' . (count($notify_list['being_notified']) == 1 ? '1' : 'n')], '</span><br />', implode(', ', $notify_list['being_notified']);
798
+			echo '<span class="shd_ajax_head">', $txt['shd_ping_already_' . (count($notify_list['being_notified']) == 1 ? '1' : 'n')], '</span><br>', implode(', ', $notify_list['being_notified']);
799 799
 
800 800
 		if (!empty($notify_list['optional']))
801 801
 		{
802 802
 			if (!empty($notify_list['being_notified']))
803
-				echo '<br /><br />';
803
+				echo '<br><br>';
804 804
 
805
-			echo '<span class="shd_ajax_head">', $txt['shd_ping_' . (count($notify_list['optional']) == 1 ? '1' : 'n')], '</span><br />';
805
+			echo '<span class="shd_ajax_head">', $txt['shd_ping_' . (count($notify_list['optional']) == 1 ? '1' : 'n')], '</span><br>';
806 806
 			foreach ($notify_list['optional'] as $id => $member)
807
-				echo '<div class="shd_ajaxnotify"><input type="checkbox" name="notify[', $id, ']" value="', $id, '"', in_array($id, $selected) ? ' checked="checked"' : '', ' class="input_check" /> ', $member, '</div>';
807
+				echo '<div class="shd_ajaxnotify"><input type="checkbox" name="notify[', $id, ']" value="', $id, '"', in_array($id, $selected) ? ' checked="checked"' : '', ' > ', $member, '</div>';
808 808
 		}
809 809
 
810 810
 		if (!empty($notify_list['optional_butoff']))
811 811
 		{
812 812
 			if (!empty($notify_list['being_notified']) || !empty($notify_list['optional_butoff']))
813
-				echo '<br /><br />';
813
+				echo '<br><br>';
814 814
 
815
-			echo '<span class="shd_ajax_head">', $txt['shd_ping_none_' . (count($notify_list['optional_butoff']) == 1 ? '1' : 'n')], '</span><br />';
815
+			echo '<span class="shd_ajax_head">', $txt['shd_ping_none_' . (count($notify_list['optional_butoff']) == 1 ? '1' : 'n')], '</span><br>';
816 816
 			foreach ($notify_list['optional_butoff'] as $id => $member)
817
-				echo '<div class="shd_ajaxnotify"><input type="checkbox" name="notify[', $id, ']" value="', $id, '"', in_array($id, $selected) ? ' checked="checked"' : '', ' class="input_check" /> ', $member, '</div>';
817
+				echo '<div class="shd_ajaxnotify"><input type="checkbox" name="notify[', $id, ']" value="', $id, '"', in_array($id, $selected) ? ' checked="checked"' : '', ' > ', $member, '</div>';
818 818
 		}
819 819
 
820 820
 		echo ']', ']></notify>';
... ...
@@ -1264,9 +1264,9 @@ function shd_attach_icon($filename)
1264 1264
 	$extension = ($filename != '') ? strtolower(substr(strrchr($filename, '.'), 1)) : '';
1265 1265
 
1266 1266
 	if (isset($extension_map[$extension]))
1267
-		$image = '<img src="' . $settings['default_images_url'] . '/simpledesk/attach/' . $extension_map[$extension] . '"' . (!empty($txt['shd_attachtype_' . $extension]) ? ' alt="' . $txt['shd_attachtype_' . $extension] . '" title="' . $txt['shd_attachtype_' . $extension] . '"' : ' alt=""') . ' />';
1267
+		$image = '<img src="' . $settings['default_images_url'] . '/simpledesk/attach/' . $extension_map[$extension] . '"' . (!empty($txt['shd_attachtype_' . $extension]) ? ' alt="' . $txt['shd_attachtype_' . $extension] . '" title="' . $txt['shd_attachtype_' . $extension] . '"' : ' alt=""') . '>';
1268 1268
 	else
1269
-		$image = '<img src="' . $settings['default_images_url'] . '/simpledesk/attach/blank.png" alt="" />';
1269
+		$image = '<img src="' . $settings['default_images_url'] . '/simpledesk/attach/blank.png" alt="">';
1270 1270
 
1271 1271
 	return $image;
1272 1272
 }
... ...
@@ -396,7 +396,7 @@ function shd_notify_users($notify_data)
396 396
 	if (isset($notify_data['poster_name']))
397 397
 		$replacements['{poster_name}'] = $notify_data['poster_name'];
398 398
 	if (isset($notify_data['body']))
399
-		$replacements['{body}'] = trim(un_htmlspecialchars(strip_tags(strtr(shd_format_text($notify_data['body'], false), array('<br />' => "\n", '</div>' => "\n", '</li>' => "\n", '&#91;' => '[', '&#93;' => ']')))));
399
+		$replacements['{body}'] = trim(un_htmlspecialchars(strip_tags(strtr(shd_format_text($notify_data['body'], false), array('<br>' => "\n", '</div>' => "\n", '</li>' => "\n", '&#91;' => '[', '&#93;' => ']')))));
400 400
 	$withbody = isset($notify_data['body']) && !empty($modSettings['shd_notify_with_body']) ? 'bodyfull' : 'body';
401 401
 
402 402
 	// Also note, we may not be coming from the post code... so make sure sendmail() is available
... ...
@@ -540,7 +540,7 @@ function shd_notify_popup()
540 540
 	}
541 541
 
542 542
 	// Now we have all the usernames for this instance, let's go and build this entry.
543
-	$context['help_text'] = $txt['shd_log_notify_to'] . '<br />';
543
+	$context['help_text'] = $txt['shd_log_notify_to'] . '<br>';
544 544
 
545 545
 	$new_content = '';
546 546
 	if (!empty($users))
... ...
@@ -551,7 +551,7 @@ function shd_notify_popup()
551 551
 			if (empty($user_profile[$user]))
552 552
 				continue;
553 553
 
554
-			$new_content .= ($first ? '<img src="' . shd_image_url('user.png') . '" alt="" /> ' : ', ') . shd_profile_link($user_profile[$user]['real_name'], $user);
554
+			$new_content .= ($first ? '<img src="' . shd_image_url('user.png') . '" alt=""> ' : ', ') . shd_profile_link($user_profile[$user]['real_name'], $user);
555 555
 			$first = false;
556 556
 		}
557 557
 	}
... ...
@@ -564,25 +564,25 @@ function shd_notify_popup()
564 564
 		{
565 565
 			foreach ($emails as $key => $value)
566 566
 				$emails[$key] = '<a href="mailto:' . $value . '">' . $value . '</a>';
567
-			$new_content .= '<img src="' . shd_image_url('log_notify.png') . '" alt="" /> ' . implode(', ', $emails);
567
+			$new_content .= '<img src="' . shd_image_url('log_notify.png') . '" alt=""> ' . implode(', ', $emails);
568 568
 		}
569 569
 		// No-one else can at the moment.
570 570
 		else
571
-			$new_content .= '<img src="' . shd_image_url('log_notify.png') . '" alt="" /> ' . (count($emails) == 1 ? $txt['shd_log_notify_hiddenemail_1'] : sprintf($txt['shd_log_notify_hiddenemail'], count($emails)));
571
+			$new_content .= '<img src="' . shd_image_url('log_notify.png') . '" alt=""> ' . (count($emails) == 1 ? $txt['shd_log_notify_hiddenemail_1'] : sprintf($txt['shd_log_notify_hiddenemail'], count($emails)));
572 572
 	}
573 573
 	if (!empty($new_content))
574 574
 		$context['help_text'] .= $new_content;
575 575
 
576
-	$context['help_text'] .= '<hr />';
576
+	$context['help_text'] .= '<hr>';
577 577
 
578 578
 	// So the general prep is done. Now let's rebuild the email contents.
579 579
 	if (empty($row['extra']['withbody']) || empty($row['body']))
580 580
 		$body = '';
581 581
 	else
582
-		$body = trim(un_htmlspecialchars(strip_tags(strtr(shd_format_text($row['body'], false), array('<br />' => "\n", '</div>' => "\n", '</li>' => "\n", '&#91;' => '[', '&#93;' => ']')))));
582
+		$body = trim(un_htmlspecialchars(strip_tags(strtr(shd_format_text($row['body'], false), array('<br>' => "\n", '</div>' => "\n", '</li>' => "\n", '&#91;' => '[', '&#93;' => ']')))));
583 583
 
584 584
 	$replacements = array(
585
-		"\n" => '<br />',
585
+		"\n" => '<br>',
586 586
 		'{ticket_id}' => str_pad($row['id_ticket'], $modSettings['shd_zerofill'], '0', STR_PAD_LEFT),
587 587
 		'{subject}' => empty($row['extra']['subject']) ? $txt['no_subject'] : $row['extra']['subject'],
588 588
 		'{ticketlink}' => $scripturl . '?action=helpdesk;sa=ticket;ticket=' . $row['id_ticket'] . (empty($row['id_msg']) ? '.0' : '.msg' . $row['id_msg'] . '#msg' . $row['id_msg']),
... ...
@@ -593,7 +593,7 @@ function shd_notify_popup()
593 593
 	$email_subject = str_replace(array_keys($replacements), array_values($replacements), $txt['template_subject_notify_' . $email_type]);
594 594
 	$email_body = str_replace(array_keys($replacements), array_values($replacements), $txt['template_' . (empty($row['extra']['withbody']) || empty($row['body']) ? 'body' : 'bodyfull') . '_notify_' . $email_type]);
595 595
 
596
-	$context['help_text'] .= '<strong>' . $txt['subject'] . ':</strong> ' . $email_subject . '<br /><br />' . $email_body;
596
+	$context['help_text'] .= '<strong>' . $txt['subject'] . ':</strong> ' . $email_subject . '<br><br>' . $email_body;
597 597
 }
598 598
 
599 599
 function shd_notify_ticket_options()
... ...
@@ -889,7 +889,7 @@ function shd_post_reply()
889 889
 				require_once($sourcedir . '/Subs-Editor.php');
890 890
 				$row['body'] = strtr($row['body'], array('&lt;' => '#smlt#', '&gt;' => '#smgt#', '&amp;' => '#smamp#'));
891 891
 				$row['body'] = bbc_to_html($row['body']);
892
-				$lb = '<br />';
892
+				$lb = '<br>';
893 893
 			}
894 894
 			else
895 895
 				$lb = "\n";
... ...
@@ -1715,7 +1715,7 @@ function shd_check_attachments()
1715 1715
 					if (!in_array(strtolower(substr(strrchr($uplfile['name'], '.'), 1)), explode(',', strtolower($modSettings['attachmentExtensions']))))
1716 1716
 					{
1717 1717
 						checkSubmitOnce('free');
1718
-						fatal_error($uplfile['name'] . '.<br />' . $txt['cant_upload_type'] . ' ' . $modSettings['attachmentExtensions'] . '.', false);
1718
+						fatal_error($uplfile['name'] . '.<br>' . $txt['cant_upload_type'] . ' ' . $modSettings['attachmentExtensions'] . '.', false);
1719 1719
 					}
1720 1720
 				}
1721 1721
 
... ...
@@ -1979,7 +1979,7 @@ function shd_handle_attachments()
1979 1979
 				if (in_array('bad_extension', $attachmentOptions['errors']))
1980 1980
 				{
1981 1981
 					checkSubmitOnce('free');
1982
-					fatal_error($attachmentOptions['name'] . '.<br />' . $txt['cant_upload_type'] . ' ' . strtr($modSettings['attachmentExtensions'], array(',' => ', ')) . '.', false);
1982
+					fatal_error($attachmentOptions['name'] . '.<br>' . $txt['cant_upload_type'] . ' ' . strtr($modSettings['attachmentExtensions'], array(',' => ', ')) . '.', false);
1983 1983
 				}
1984 1984
 				if (in_array('directory_full', $attachmentOptions['errors']))
1985 1985
 				{
... ...
@@ -1989,7 +1989,7 @@ function shd_handle_attachments()
1989 1989
 				if (in_array('bad_filename', $attachmentOptions['errors']))
1990 1990
 				{
1991 1991
 					checkSubmitOnce('free');
1992
-					fatal_error(basename($attachmentOptions['name']) . '.<br />' . $txt['restricted_filename'] . '.', 'critical');
1992
+					fatal_error(basename($attachmentOptions['name']) . '.<br>' . $txt['restricted_filename'] . '.', 'critical');
1993 1993
 				}
1994 1994
 				if (in_array('taken_filename', $attachmentOptions['errors']))
1995 1995
 				{
... ...
@@ -274,7 +274,7 @@ function shd_profile_frontpage($memID)
274 274
 			$ban_explanation = sprintf($txt['user_cannot_due_to'], implode(', ', $ban_restrictions), '<a href="' . $scripturl . '?action=admin;area=ban;sa=edit;bg=' . $row['id_ban_group'] . '">' . $row['name'] . '</a>');
275 275
 
276 276
 			$context['member']['bans'][$row['id_ban_group']] = array(
277
-				'reason' => empty($row['reason']) ? '' : '<br /><br /><strong>' . $txt['ban_reason'] . ':</strong> ' . $row['reason'],
277
+				'reason' => empty($row['reason']) ? '' : '<br><br><strong>' . $txt['ban_reason'] . ':</strong> ' . $row['reason'],
278 278
 				'cannot' => array(
279 279
 					'access' => !empty($row['cannot_access']),
280 280
 					'register' => !empty($row['cannot_register']),
... ...
@@ -378,8 +378,8 @@ function ssi_staffMembers($honour_admin_setting = true, $output_method = 'echo')
378 378
 			<tr>
379 379
 				<td align="right" valign="top" nowrap="nowrap">
380 380
 					', $query_members[$member]['link'], '
381
-					<br />', $query_members[$member]['blurb'], '
382
-					<br />', $query_members[$member]['avatar']['image'], '
381
+					<br>', $query_members[$member]['blurb'], '
382
+					<br>', $query_members[$member]['avatar']['image'], '
383 383
 				</td>
384 384
 			</tr>';
385 385
 	}
... ...
@@ -826,7 +826,7 @@ function shd_append_custom_fields(&$body, $id_msg, $type)
826 826
 	}
827 827
 
828 828
 	if (!empty($content))
829
-		$body .= '[hr]<br />' . implode('<br />', $content);
829
+		$body .= '[hr]<br>' . implode('<br>', $content);
830 830
 }
831 831
 
832 832
 /**
... ...
@@ -983,7 +983,7 @@ function shd_helpdesk_listing()
983 983
 				'new_href' => ($row['id_last_msg'] <= $row['log_read']) ? '' : ($scripturl . '?action=helpdesk;sa=ticket;ticket=' . $row['id_ticket'] . '.new' . ($_REQUEST['sa'] == 'recyclebin' ? ';recycle' : '') . '#new'),
984 984
 				'private' => $row['private'],
985 985
 				'actions' => array(
986
-					'movedept' => !empty($context['shd_multi_dept']) && (shd_allowed_to('shd_move_dept_any', $context['shd_department']) || ($is_own && shd_allowed_to('shd_move_dept_own', $context['shd_department']))) ? '<a href="' . $scripturl . '?action=helpdesk;sa=movedept;ticket=' . $row['id_ticket'] . ';home;' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_move_dept'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/movedept.png" alt="' . $txt['shd_move_dept'] . '" /></a>' : '',
986
+					'movedept' => !empty($context['shd_multi_dept']) && (shd_allowed_to('shd_move_dept_any', $context['shd_department']) || ($is_own && shd_allowed_to('shd_move_dept_own', $context['shd_department']))) ? '<a href="' . $scripturl . '?action=helpdesk;sa=movedept;ticket=' . $row['id_ticket'] . ';home;' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_move_dept'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/movedept.png" alt="' . $txt['shd_move_dept'] . '"></a>' : '',
987 987
 				),
988 988
 				'num_replies' => $row['num_replies'],
989 989
 				'replies_href' => $scripturl . '?action=helpdesk;sa=ticket;ticket=' . $row['id_ticket'] . '.msg' . $row['id_last_msg'] . '#msg' . $row['id_last_msg'] . ($_REQUEST['sa'] == 'recyclebin' ? ';recycle' : ''),
... ...
@@ -993,14 +993,14 @@ function shd_helpdesk_listing()
993 993
 			if ($row['status'] == TICKET_STATUS_CLOSED)
994 994
 			{
995 995
 				$new_block['actions'] += array(
996
-					'resolve' => shd_allowed_to('shd_unresolve_ticket_any', $context['shd_department']) || ($is_own && shd_allowed_to('shd_unresolve_ticket_own', $context['shd_department'])) ? '<a href="' . $scripturl . '?action=helpdesk;sa=resolveticket;ticket=' . $row['id_ticket'] . ';home;' . $context['shd_dept_link'] . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_ticket_unresolved'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/unresolved.png" alt="' . $txt['shd_ticket_unresolved'] . '" /></a>' : '',
996
+					'resolve' => shd_allowed_to('shd_unresolve_ticket_any', $context['shd_department']) || ($is_own && shd_allowed_to('shd_unresolve_ticket_own', $context['shd_department'])) ? '<a href="' . $scripturl . '?action=helpdesk;sa=resolveticket;ticket=' . $row['id_ticket'] . ';home;' . $context['shd_dept_link'] . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_ticket_unresolved'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/unresolved.png" alt="' . $txt['shd_ticket_unresolved'] . '"></a>' : '',
997 997
 				);
998 998
 			}
999 999
 			elseif ($row['status'] == TICKET_STATUS_DELETED) // and thus, we're in the recycle bin
1000 1000
 			{
1001 1001
 				$new_block['actions'] += array(
1002
-					'restore' => shd_allowed_to('shd_restore_ticket_any', $context['shd_department']) || ($is_own && shd_allowed_to('shd_restore_ticket_own', $context['shd_department'])) ? '<a href="' . $scripturl . '?action=helpdesk;sa=restoreticket;ticket=' . $row['id_ticket'] . ';home;' . $context['shd_dept_link'] . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_ticket_restore'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/restore.png" alt="' . $txt['shd_ticket_restore'] . '" /></a>' : '',
1003
-					'permadelete' => shd_allowed_to('shd_delete_recycling', $context['shd_department']) ? '<a href="' . $scripturl . '?action=helpdesk;sa=permadelete;ticket=' . $row['id_ticket'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_delete_permanently'] . '" onclick="return confirm(' . JavaScriptEscape($txt['shd_delete_permanently_confirm']) . ');"><img src="' . $settings['default_images_url'] . '/simpledesk/delete.png" alt="' . $txt['shd_delete_permanently'] . '" /></a>' : '',
1002
+					'restore' => shd_allowed_to('shd_restore_ticket_any', $context['shd_department']) || ($is_own && shd_allowed_to('shd_restore_ticket_own', $context['shd_department'])) ? '<a href="' . $scripturl . '?action=helpdesk;sa=restoreticket;ticket=' . $row['id_ticket'] . ';home;' . $context['shd_dept_link'] . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_ticket_restore'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/restore.png" alt="' . $txt['shd_ticket_restore'] . '"></a>' : '',
1003
+					'permadelete' => shd_allowed_to('shd_delete_recycling', $context['shd_department']) ? '<a href="' . $scripturl . '?action=helpdesk;sa=permadelete;ticket=' . $row['id_ticket'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_delete_permanently'] . '" onclick="return confirm(' . JavaScriptEscape($txt['shd_delete_permanently_confirm']) . ');"><img src="' . $settings['default_images_url'] . '/simpledesk/delete.png" alt="' . $txt['shd_delete_permanently'] . '"></a>' : '',
1004 1004
 				);
1005 1005
 			}
1006 1006
 			else
... ...
@@ -1012,12 +1012,12 @@ function shd_helpdesk_listing()
1012 1012
 					$langstring = $row['id_member_assigned'] == $context['user']['id'] ? $txt['shd_ticket_unassign'] : $txt['shd_ticket_assign_self'];
1013 1013
 
1014 1014
 				if (!empty($langstring))
1015
-					$new_block['actions']['assign'] = '<a href="' . $scripturl . '?action=helpdesk;sa=assign;ticket=' . $row['id_ticket'] . ';home;' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $langstring . '"><img src="' . $settings['default_images_url'] . '/simpledesk/assign.png" alt="' . $langstring . '" /></a>';
1015
+					$new_block['actions']['assign'] = '<a href="' . $scripturl . '?action=helpdesk;sa=assign;ticket=' . $row['id_ticket'] . ';home;' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $langstring . '"><img src="' . $settings['default_images_url'] . '/simpledesk/assign.png" alt="' . $langstring . '"></a>';
1016 1016
 
1017 1017
 				$new_block['actions'] += array(
1018
-					'resolve' => shd_allowed_to('shd_resolve_ticket_any', $context['shd_department']) || ($is_own && shd_allowed_to('shd_resolve_ticket_own', $context['shd_department'])) ? '<a href="' . $scripturl . '?action=helpdesk;sa=resolveticket;ticket=' . $row['id_ticket'] . ';home;' . $context['shd_dept_link'] . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_ticket_resolved'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/resolved.png" alt="' . $txt['shd_ticket_resolved'] . '" /></a>' : '',
1019
-					'tickettotopic' => empty($modSettings['shd_helpdesk_only']) && shd_allowed_to('shd_ticket_to_topic', $context['shd_department']) && ($row['deleted_replies'] == 0 || shd_allowed_to('shd_access_recyclebin')) ? '<a href="' . $scripturl . '?action=helpdesk;sa=tickettotopic;ticket=' . $row['id_ticket'] . ';' . $context['shd_dept_link'] . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_ticket_move_to_topic'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/tickettotopic.png" alt="' . $txt['shd_ticket_move_to_topic'] . '" /></a>' : '',
1020
-					'delete' => shd_allowed_to('shd_delete_ticket_any', $context['shd_department']) || ($is_own && shd_allowed_to('shd_delete_ticket_own')) ? '<a href="' . $scripturl . '?action=helpdesk;sa=deleteticket;ticket=' . $row['id_ticket'] . ';' . $context['shd_dept_link'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_ticket_delete'] . '" onclick="return confirm(' . JavaScriptEscape($txt['shd_delete_confirm']) . ');"><img src="' . $settings['default_images_url'] . '/simpledesk/delete.png" alt="' . $txt['shd_ticket_delete'] . '" /></a>' : '',
1018
+					'resolve' => shd_allowed_to('shd_resolve_ticket_any', $context['shd_department']) || ($is_own && shd_allowed_to('shd_resolve_ticket_own', $context['shd_department'])) ? '<a href="' . $scripturl . '?action=helpdesk;sa=resolveticket;ticket=' . $row['id_ticket'] . ';home;' . $context['shd_dept_link'] . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_ticket_resolved'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/resolved.png" alt="' . $txt['shd_ticket_resolved'] . '"></a>' : '',
1019
+					'tickettotopic' => empty($modSettings['shd_helpdesk_only']) && shd_allowed_to('shd_ticket_to_topic', $context['shd_department']) && ($row['deleted_replies'] == 0 || shd_allowed_to('shd_access_recyclebin')) ? '<a href="' . $scripturl . '?action=helpdesk;sa=tickettotopic;ticket=' . $row['id_ticket'] . ';' . $context['shd_dept_link'] . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_ticket_move_to_topic'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/tickettotopic.png" alt="' . $txt['shd_ticket_move_to_topic'] . '"></a>' : '',
1020
+					'delete' => shd_allowed_to('shd_delete_ticket_any', $context['shd_department']) || ($is_own && shd_allowed_to('shd_delete_ticket_own')) ? '<a href="' . $scripturl . '?action=helpdesk;sa=deleteticket;ticket=' . $row['id_ticket'] . ';' . $context['shd_dept_link'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_ticket_delete'] . '" onclick="return confirm(' . JavaScriptEscape($txt['shd_delete_confirm']) . ');"><img src="' . $settings['default_images_url'] . '/simpledesk/delete.png" alt="' . $txt['shd_ticket_delete'] . '"></a>' : '',
1021 1021
 				);
1022 1022
 			}
1023 1023
 
... ...
@@ -193,7 +193,7 @@ function shd_load_action_log_entries($start = 0, $items_per_page = 10, $sort = '
193 193
 			$content = '';
194 194
 			foreach ($action['extra']['emails'] as $email_type => $recipients)
195 195
 			{
196
-				$this_content = '<br /><a href="' . $scripturl . '?action=helpdesk;sa=emaillog;log=' . $action['id'] . ';template=' . $email_type . '" onclick="return reqWin(this.href);">' . $txt['template_log_notify_' . $email_type] . '</a> - ';
196
+				$this_content = '<br><a href="' . $scripturl . '?action=helpdesk;sa=emaillog;log=' . $action['id'] . ';template=' . $email_type . '" onclick="return reqWin(this.href);">' . $txt['template_log_notify_' . $email_type] . '</a> - ';
197 197
 
198 198
 				$new_content = '';
199 199
 				if (!empty($recipients['u']))
... ...
@@ -1036,37 +1036,37 @@ function shd_load_admin_log_entries($start = 0, $items_per_page = 10, $sort = 'l
1036 1036
 			$actions[$k]['action_text'] = isset($txt['shd_log_' . $action['action']]) ? $txt['shd_log_' . $action['action']] : $action['action'];
1037 1037
 
1038 1038
 		if (!empty($action['extra']['setting']) && isset($txt[$action['extra']['setting']]))
1039
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_setting'] . ': <span title="' . $action['extra']['setting'] . '">' . $txt[$action['extra']['setting']] . '</span>';
1039
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_setting'] . ': <span title="' . $action['extra']['setting'] . '">' . $txt[$action['extra']['setting']] . '</span>';
1040 1040
 		elseif (!empty($action['extra']['setting']))
1041
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_setting'] . ': ' . $action['extra']['setting'];
1041
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_setting'] . ': ' . $action['extra']['setting'];
1042 1042
 		elseif (!empty($action['type']) && isset($txt['shd_log_' . $action['action'] . '_' . $action['type']]))
1043
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_action'] . ': ' . $txt['shd_log_' . $action['action'] . '_' . $action['type']];
1043
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_action'] . ': ' . $txt['shd_log_' . $action['action'] . '_' . $action['type']];
1044 1044
 		elseif (!empty($action['type']))
1045
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_action'] . ': ' . $action['type'];
1045
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_action'] . ': ' . $action['type'];
1046 1046
 		elseif (!empty($action['extra']['action']) && isset($txt['shd_log_' . $action['action'] . '_' . $action['extra']['action']]))
1047
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_action'] . ': ' . $txt['shd_log_' . $action['action'] . '_' . $action['extra']['action']];
1047
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_action'] . ': ' . $txt['shd_log_' . $action['action'] . '_' . $action['extra']['action']];
1048 1048
 		elseif (!empty($action['extra']['action']))
1049
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_action'] . ': shd_log_' . $action['action'] . '_' . $action['extra']['action'];
1049
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_action'] . ': shd_log_' . $action['action'] . '_' . $action['extra']['action'];
1050 1050
 
1051 1051
 
1052 1052
 		if (isset($action['id_name']))
1053
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_name'] . ': <span title="' . $action['extra']['id'] . '">' . $action['id_name'] . '</span>';
1053
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_name'] . ': <span title="' . $action['extra']['id'] . '">' . $action['id_name'] . '</span>';
1054 1054
 		elseif (isset($action['extra']['id']))
1055
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_name'] . ': ' . $action['extra']['id'];
1055
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_name'] . ': ' . $action['extra']['id'];
1056 1056
 
1057 1057
 		if (isset($action['from_name']))
1058
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_from'] . ': <span title="' . $action['extra']['from'] . '">' . $action['from_name'] . '</span>';
1058
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_from'] . ': <span title="' . $action['extra']['from'] . '">' . $action['from_name'] . '</span>';
1059 1059
 		elseif (isset($action['extra']['from']) && $action['type'] == 'check')
1060
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_from'] . ': <span title="' . $action['extra']['from'] . '">' . (empty($action['extra']['from']) ? $txt['shd_admin_default_state_off'] : $txt['shd_admin_default_state_on']) . '</span>';
1060
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_from'] . ': <span title="' . $action['extra']['from'] . '">' . (empty($action['extra']['from']) ? $txt['shd_admin_default_state_off'] : $txt['shd_admin_default_state_on']) . '</span>';
1061 1061
 		elseif (isset($action['extra']['from']))
1062
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_from'] . ': ' . $action['extra']['from'];
1062
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_from'] . ': ' . $action['extra']['from'];
1063 1063
 
1064 1064
 		if (isset($action['to_name']))
1065
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_to'] . ': <span title="' . $action['extra']['to'] . '">' . $action['to_name'] . '</span>';
1065
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_to'] . ': <span title="' . $action['extra']['to'] . '">' . $action['to_name'] . '</span>';
1066 1066
 		elseif (isset($action['extra']['to']) && $action['type'] == 'check')
1067
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_to'] . ': <span title="' . $action['extra']['to'] . '">' . (empty($action['extra']['to']) ? $txt['shd_admin_default_state_off'] : $txt['shd_admin_default_state_on']) . '</span>';
1067
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_to'] . ': <span title="' . $action['extra']['to'] . '">' . (empty($action['extra']['to']) ? $txt['shd_admin_default_state_off'] : $txt['shd_admin_default_state_on']) . '</span>';
1068 1068
 		elseif (isset($action['extra']['to']))
1069
-			$actions[$k]['action_text'] .= '<br />' . $txt['shd_admin_adminlog_to'] . ': ' . $action['extra']['to'];
1069
+			$actions[$k]['action_text'] .= '<br>' . $txt['shd_admin_adminlog_to'] . ': ' . $action['extra']['to'];
1070 1070
 
1071 1071
 		// Debug stuff.
1072 1072
 		$actions[$k]['action_text'] .= '<!--' . print_r($actions[$k], true) . '-->';
... ...
@@ -113,7 +113,7 @@ function shd_add_to_boardindex($boardIndexOptions, &$categories)
113 113
 				'is_collapsed' => isset($this_cat['can_collapse']) && $this_cat['can_collapse'] == 1 && $this_cat['is_collapsed'] > 0,
114 114
 				'can_collapse' => isset($this_cat['can_collapse']) && $this_cat['can_collapse'] == 1,
115 115
 				'collapse_href' => isset($this_cat['can_collapse']) ? $scripturl . '?action=collapse;c=' . $this_cat['id_cat'] . ';sa=' . ($this_cat['is_collapsed'] > 0 ? 'expand;' : 'collapse;') . $context['session_var'] . '=' . $context['session_id'] . '#c' . $this_cat['id_cat'] : '',
116
-				'collapse_image' => isset($this_cat['can_collapse']) ? '<img src="' . $settings['images_url'] . '/' . ($this_cat['is_collapsed'] > 0 ? 'expand.png" alt="+"' : 'collapse.png" alt="-"') . ' />' : '',
116
+				'collapse_image' => isset($this_cat['can_collapse']) ? '<img src="' . $settings['images_url'] . '/' . ($this_cat['is_collapsed'] > 0 ? 'expand.png" alt="+"' : 'collapse.png" alt="-"') . '>' : '',
117 117
 				'href' => $scripturl . '#c' . $this_cat['id_cat'],
118 118
 				'boards' => array(),
119 119
 				'new' => false,
... ...
@@ -248,11 +248,11 @@ function shd_admin_browse_attachments($list_title = '')
248 248
 			),
249 249
 			'check' => array(
250 250
 				'header' => array(
251
-					'value' => '<input type="checkbox" onclick="invertAll(this, this.form);" class="input_check" />',
251
+					'value' => '<input type="checkbox" onclick="invertAll(this, this.form);" >',
252 252
 				),
253 253
 				'data' => array(
254 254
 					'sprintf' => array(
255
-						'format' => '<input type="checkbox" name="remove[%1$d]" class="input_check" />',
255
+						'format' => '<input type="checkbox" name="remove[%1$d]" >',
256 256
 						'params' => array(
257 257
 							'id_attach' => false,
258 258
 						),
... ...
@@ -272,7 +272,7 @@ function shd_admin_browse_attachments($list_title = '')
272 272
 		'additional_rows' => array(
273 273
 			array(
274 274
 				'position' => 'below_table_data',
275
-				'value' => '<input type="submit" name="remove_submit" class="button_submit" value="' . $txt['quickmod_delete_selected'] . '" onclick="return confirm(\'' . $txt['confirm_delete_attachments'] . '\');" />',
275
+				'value' => '<input type="submit" name="remove_submit" class="button" value="' . $txt['quickmod_delete_selected'] . '" onclick="return confirm(\'' . $txt['confirm_delete_attachments'] . '\');">',
276 276
 				'class' => 'titlebg',
277 277
 				'style' => 'text-align: right;',
278 278
 			),
... ...
@@ -42,9 +42,9 @@ function template_shd_admin()
42 42
 			<div id="live_news" class="floatleft">
43 43
 				<div class="cat_bar">
44 44
 					<h3 class="catbg">
45
-						<img src="', $settings['default_images_url'], '/simpledesk/live.png" alt="*" />
45
+						<img src="', $settings['default_images_url'], '/simpledesk/live.png" alt="*">
46 46
 						', $txt['shd_live_from'], '
47
-						<span class="righttext"><a href="', $scripturl, '?action=helpadmin;help=shd_admin_help_live" onclick="return reqWin(this.href);"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '" /></a></span>
47
+						<span class="righttext"><a href="', $scripturl, '?action=helpadmin;help=shd_admin_help_live" onclick="return reqWin(this.href);"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '"></a></span>
48 48
 					</h3>
49 49
 				</div>
50 50
 				<div class="windowbg nopadding">
... ...
@@ -57,21 +57,21 @@ function template_shd_admin()
57 57
 			<div id="supportVersionsTable" class="floatright">
58 58
 				<div class="cat_bar">
59 59
 					<h3 class="catbg">
60
-						<img src="', $settings['default_images_url'], '/simpledesk/modification.png" alt="*" />
60
+						<img src="', $settings['default_images_url'], '/simpledesk/modification.png" alt="*">
61 61
 						', $txt['shd_mod_information'], '
62
-						<span class="righttext"><a href="', $scripturl, '?action=helpadmin;help=shd_admin_help_modification" onclick="return reqWin(this.href);"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '" /></a></span>
62
+						<span class="righttext"><a href="', $scripturl, '?action=helpadmin;help=shd_admin_help_modification" onclick="return reqWin(this.href);"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '"></a></span>
63 63
 					</h3>
64 64
 				</div>
65 65
 				<div class="windowbg nopadding">
66 66
 					<div class="padding">
67
-							<img src="', $settings['default_images_url'], '/simpledesk/support.png" alt="*" class="shd_icon_minihead" /> <strong>', $txt['shd_need_support'], '</strong><br>
67
+							<img src="', $settings['default_images_url'], '/simpledesk/support.png" alt="*" class="shd_icon_minihead"> <strong>', $txt['shd_need_support'], '</strong><br>
68 68
 							', sprintf($txt['shd_support_start_here'], $scripturl . '?action=admin;area=helpdesk_info;sa=support'), '<br>
69
-							<img src="', $settings['default_images_url'], '/simpledesk/versions.png" alt="*" class="shd_icon_minihead" /> <strong>', $txt['support_versions'], ':</strong><br>
69
+							<img src="', $settings['default_images_url'], '/simpledesk/versions.png" alt="*" class="shd_icon_minihead"> <strong>', $txt['support_versions'], ':</strong><br>
70 70
 							', $txt['shd_your_version'], ':
71 71
 						<em id="yourVersion">', SHD_VERSION, '</em><br>
72 72
 							', $txt['shd_current_version'], ':
73 73
 						<em id="sdVersion">??</em><br>
74
-							<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" alt="*" class="shd_icon_minihead" /> <strong>', $txt['shd_ticket_information'], ':</strong><br>
74
+							<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" alt="*" class="shd_icon_minihead"> <strong>', $txt['shd_ticket_information'], ':</strong><br>
75 75
 							', $txt['shd_total_tickets'], ':
76 76
 						<em id="totalTickets">
77 77
 								<a href="javascript: shd_ticket_total_information();" >', $context['total_tickets'], '</a>
... ...
@@ -87,7 +87,7 @@ function template_shd_admin()
87 87
 	// That gets the data. Up to here how it should be displayed.
88 88
 	echo '
89 89
 						<div class="block">
90
-							<img src="', $settings['default_images_url'], '/simpledesk/staff.png" alt="*" class="shd_icon_minihead" /> <strong>', $txt['shd_staff_list'], ':</strong>
90
+							<img src="', $settings['default_images_url'], '/simpledesk/staff.png" alt="*" class="shd_icon_minihead"> <strong>', $txt['shd_staff_list'], ':</strong>
91 91
 							', implode(', ', $context['staff']),'
92 92
 						</div>';
93 93
 
... ...
@@ -102,9 +102,9 @@ function template_shd_admin()
102 102
 		<div id="sd_credits">
103 103
 			<div class="title_bar">
104 104
 				<h3 class="titlebg">
105
-					<a href="', $scripturl, '?action=helpadmin;help=shd_admin_help_credits" onclick="return reqWin(this.href);"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '" /></a>
105
+					<a href="', $scripturl, '?action=helpadmin;help=shd_admin_help_credits" onclick="return reqWin(this.href);"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '"></a>
106 106
 					', $txt['shd_credits'], '
107
-					<span class="righttext"><a href="', $scripturl, '?action=helpadmin;help=shd_admin_help_credits" onclick="return reqWin(this.href);"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '" /></a></span>
107
+					<span class="righttext"><a href="', $scripturl, '?action=helpadmin;help=shd_admin_help_credits" onclick="return reqWin(this.href);"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '"></a></span>
108 108
 				</h3>
109 109
 			</div>';
110 110
 
... ...
@@ -123,7 +123,7 @@ function template_shd_admin()
123 123
 					// Pretty icons! :D
124 124
 					if (isset($group['icon']))
125 125
 					echo '
126
-						<img src="', $settings['default_images_url'], '/simpledesk/credits/', $group['icon'], '" alt="" class="floatleft" />
126
+						<img src="', $settings['default_images_url'], '/simpledesk/credits/', $group['icon'], '" alt="" class="floatleft">
127 127
 						<div class="shd_credits_names">';
128 128
 
129 129
 					if (isset($group['title']))
... ...
@@ -150,7 +150,7 @@ function template_shd_admin()
150 150
 				}
151 151
 
152 152
 					echo '
153
-						<span class="smalltext">&nbsp;<img src="', $settings['default_images_url'], '/simpledesk/update.png" alt="*" class="shd_tinyicon" /> ', $txt['shd_former_contributors'], '</span>
153
+						<span class="smalltext">&nbsp;<img src="', $settings['default_images_url'], '/simpledesk/update.png" alt="*" class="shd_tinyicon"> ', $txt['shd_former_contributors'], '</span>
154 154
 				</div>
155 155
 			</div>';
156 156
 		}
... ...
@@ -201,9 +201,9 @@ function template_shd_admin()
201 201
 				sUpdateNotificationTemplate: ', JavaScriptEscape('
202 202
 					<div class="cat_bar" id="update_title">
203 203
 						<h3 class="catbg">
204
-							<img src="' . $settings['default_images_url'] . '/simpledesk/update.png" alt="" />
204
+							<img src="' . $settings['default_images_url'] . '/simpledesk/update.png" alt="">
205 205
 							%title%
206
-							<span class="righttext"><a href="' . $scripturl . '?action=helpadmin;help=shd_admin_help_update" onclick="return reqWin(this.href);"><img src="'. $settings['images_url'] . '/helptopics.png" alt="' . $txt['help'] . '" /></a></span>
206
+							<span class="righttext"><a href="' . $scripturl . '?action=helpadmin;help=shd_admin_help_update" onclick="return reqWin(this.href);"><img src="'. $settings['images_url'] . '/helptopics.png" alt="' . $txt['help'] . '"></a></span>
207 207
 						</h3>
208 208
 					</div>
209 209
 					<div class="windowbg" id="update_container">
... ...
@@ -293,7 +293,7 @@ function template_shd_show_settings()
293 293
 		echo '
294 294
 			<div class="cat_bar">
295 295
 				<h3 class="catbg">
296
-					<img src="', shd_image_url($context['settings_icon']), '" class="icon" alt="*" /> ', $context['settings_title'], '
296
+					<img src="', shd_image_url($context['settings_icon']), '" class="icon" alt="*"> ', $context['settings_title'], '
297 297
 				</h3>
298 298
 			</div>';
299 299
 
... ...
@@ -327,7 +327,7 @@ function template_shd_show_settings()
327 327
 				echo '
328 328
 					<div class="cat_bar">
329 329
 						<h3 class="', !empty($config_var['class']) ? $config_var['class'] : 'catbg', '"', !empty($config_var['force_div_id']) ? ' id="' . $config_var['force_div_id'] . '"' : '', '>
330
-							', ($config_var['help'] ? '<a href="' . $scripturl . '?action=helpadmin;help=' . $config_var['help'] . '" onclick="return reqWin(this.href);" class="help"><img src="' . $settings['images_url'] . '/helptopics.png" alt="' . $txt['help'] . '" /></a>' : ''), '
330
+							', ($config_var['help'] ? '<a href="' . $scripturl . '?action=helpadmin;help=' . $config_var['help'] . '" onclick="return reqWin(this.href);" class="help"><img src="' . $settings['images_url'] . '/helptopics.png" alt="' . $txt['help'] . '"></a>' : ''), '
331 331
 							', $config_var['label'], '
332 332
 						</h3>
333 333
 					</div>';
... ...
@@ -369,7 +369,7 @@ function template_shd_show_settings()
369 369
 			if ($config_var['type'] == 'hidden')
370 370
 			{
371 371
 				echo '
372
-						<input type="hidden" name="', $config_var['name'], '" value="', $config_var['value'], '" />';
372
+						<input type="hidden" name="', $config_var['name'], '" value="', $config_var['value'], '">';
373 373
 			}
374 374
 			// A check-all option?
375 375
 			elseif ($config_var['type'] == 'checkall')
... ...
@@ -381,7 +381,7 @@ function template_shd_show_settings()
381 381
 				echo '
382 382
 					<dt></dt>
383 383
 					<dd>
384
-						<input type="checkbox" name="all" id="', $config_var['name'], '" value="" onclick="invert_', $config_var['name'], '(this);" class="input_check floatleft">
384
+						<input type="checkbox" name="all" id="', $config_var['name'], '" value="" onclick="invert_', $config_var['name'], '(this);" class="floatleft">
385 385
 						<label for="check_all" class="floatleft">', $txt['check_all'], '</label>
386 386
 					</dd>
387 387
 					<script type="text/javascript"><!-- // --><![CDATA[
... ...
@@ -414,7 +414,7 @@ function template_shd_show_settings()
414 414
 				// Show the [?] button.
415 415
 				if ($config_var['help'])
416 416
 					echo '
417
-							<a id="setting_', $config_var['name'], '" href="', $scripturl, '?action=helpadmin;help=', $config_var['help'], '" onclick="return reqWin(this.href);" class="help"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '" border="0" /></a><span', ($config_var['disabled'] ? ' class="disabled"' : ($config_var['invalid'] ? ' class="error"' : '')), '><label id="label_', $config_var['name'], '" for="', $config_var['name'], '">', $config_var['label'], '</label>', $subtext, ($config_var['type'] == 'password' ? '<br><em>' . $txt['admin_confirm_password'] . '</em>' : ''), '</span>
417
+							<a id="setting_', $config_var['name'], '" href="', $scripturl, '?action=helpadmin;help=', $config_var['help'], '" onclick="return reqWin(this.href);" class="help"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '" border="0"></a><span', ($config_var['disabled'] ? ' class="disabled"' : ($config_var['invalid'] ? ' class="error"' : '')), '><label id="label_', $config_var['name'], '" for="', $config_var['name'], '">', $config_var['label'], '</label>', $subtext, ($config_var['type'] == 'password' ? '<br><em>' . $txt['admin_confirm_password'] . '</em>' : ''), '</span>
418 418
 						</dt>';
419 419
 				else
420 420
 					echo '
... ...
@@ -428,12 +428,12 @@ function template_shd_show_settings()
428 428
 				// Show a check box.
429 429
 				if ($config_var['type'] == 'check')
430 430
 					echo '
431
-							<input type="checkbox"', $javascript, $disabled, ' name="', $config_var['name'], '" id="', $config_var['name'], '"', ($config_var['value'] ? ' checked="checked"' : ''), ' value="1" class="input_check" />';
431
+							<input type="checkbox"', $javascript, $disabled, ' name="', $config_var['name'], '" id="', $config_var['name'], '"', ($config_var['value'] ? ' checked="checked"' : ''), ' value="1" >';
432 432
 				// Escape (via htmlspecialchars.) the text box.
433 433
 				elseif ($config_var['type'] == 'password')
434 434
 					echo '
435
-							<input type="password"', $disabled, $javascript, ' name="', $config_var['name'], '[0]"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' value="*#fakepass#*" onfocus="this.value = \'\'; this.form.', $config_var['name'], '.disabled = false;" class="input_password" /><br>
436
-							<input type="password" disabled="disabled" id="', $config_var['name'], '" name="', $config_var['name'], '[1]"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' class="input_password" />';
435
+							<input type="password"', $disabled, $javascript, ' name="', $config_var['name'], '[0]"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' value="*#fakepass#*" onfocus="this.value = \'\'; this.form.', $config_var['name'], '.disabled = false;" class="input_password"><br>
436
+							<input type="password" disabled="disabled" id="', $config_var['name'], '" name="', $config_var['name'], '[1]"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' class="input_password">';
437 437
 				// Show a selection box.
438 438
 				elseif ($config_var['type'] == 'select')
439 439
 				{
... ...
@@ -469,11 +469,11 @@ function template_shd_show_settings()
469 469
 						foreach ($bbcColumn as $bbcTag)
470 470
 							echo '
471 471
 										<li class="list_bbc align_left shd_bbc_list">
472
-											<input type="checkbox" name="', $config_var['name'], '_enabledTags[]" id="tag_', $config_var['name'], '_', $bbcTag['tag'], '" value="', $bbcTag['tag'], '"', in_array($bbcTag['tag'], $context['enabled_tags'][$config_var['name']]) ? ' checked="checked"' : '', ' class="input_check" /> <label for="tag_', $config_var['name'], '_', $bbcTag['tag'], '">', $bbcTag['tag'], '</label>', $bbcTag['show_help'] ? ' (<a href="' . $scripturl . '?action=helpadmin;help=tag_' . $bbcTag['tag'] . '" onclick="return reqWin(this.href);">?</a>)' : '', '
472
+											<input type="checkbox" name="', $config_var['name'], '_enabledTags[]" id="tag_', $config_var['name'], '_', $bbcTag['tag'], '" value="', $bbcTag['tag'], '"', in_array($bbcTag['tag'], $context['enabled_tags'][$config_var['name']]) ? ' checked="checked"' : '', ' > <label for="tag_', $config_var['name'], '_', $bbcTag['tag'], '">', $bbcTag['tag'], '</label>', $bbcTag['show_help'] ? ' (<a href="' . $scripturl . '?action=helpadmin;help=tag_' . $bbcTag['tag'] . '" onclick="return reqWin(this.href);">?</a>)' : '', '
473 473
 										</li>';
474 474
 					}
475 475
 					echo '			</ul>
476
-								<br class="clear" /><input type="checkbox" id="select_all" onclick="invertAll(this, this.form, \'', $config_var['name'], '_enabledTags\');"', $context['all_enabled'][$config_var['name']] ? ' checked="checked"' : '', ' class="input_check" /> <label for="select_all"><em>', $txt['bbcTagsToUse_select_all'], '</em></label>
476
+								<br><input type="checkbox" id="select_all" onclick="invertAll(this, this.form, \'', $config_var['name'], '_enabledTags\');"', $context['all_enabled'][$config_var['name']] ? ' checked="checked"' : '', ' > <label for="select_all"><em>', $txt['bbcTagsToUse_select_all'], '</em></label>
477 477
 							</fieldset>';
478 478
 				}
479 479
 				// A simple message?
... ...
@@ -483,7 +483,7 @@ function template_shd_show_settings()
483 483
 				// Assume it must be a text box.
484 484
 				else
485 485
 					echo '
486
-							<input type="text"', $javascript, $disabled, ' name="', $config_var['name'], '" id="', $config_var['name'], '" value="', $config_var['value'], '"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' class="input_text" />';
486
+							<input type="text"', $javascript, $disabled, ' name="', $config_var['name'], '" id="', $config_var['name'], '" value="', $config_var['value'], '"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' >';
487 487
 
488 488
 				echo isset($config_var['postinput']) ? '
489 489
 							' . $config_var['postinput'] : '',
... ...
@@ -515,7 +515,7 @@ function template_shd_show_settings()
515 515
 		echo '
516 516
 						<hr>
517 517
 						<div class="righttext">
518
-							<input type="submit" value="', $txt['save'], '"', (!empty($context['save_disabled']) ? ' disabled="disabled"' : ''), (!empty($context['settings_save_onclick']) ? ' onclick="' . $context['settings_save_onclick'] . '"' : ''), ' class="button_submit" />
518
+							<input type="submit" value="', $txt['save'], '"', (!empty($context['save_disabled']) ? ' disabled="disabled"' : ''), (!empty($context['settings_save_onclick']) ? ' onclick="' . $context['settings_save_onclick'] . '"' : ''), ' class="button">
519 519
 						</div>';
520 520
 
521 521
 	if ($is_open)
... ...
@@ -524,10 +524,10 @@ function template_shd_show_settings()
524 524
 
525 525
 	if (isset($context['admin-dbsc_token']))
526 526
 		echo '
527
-		<input type="hidden" name="', $context['admin-dbsc_token_var'], '" value="', $context['admin-dbsc_token'], '" />';
527
+		<input type="hidden" name="', $context['admin-dbsc_token_var'], '" value="', $context['admin-dbsc_token'], '">';
528 528
 
529 529
 	echo '
530
-		<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
530
+		<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
531 531
 		</form>
532 532
 	</div>';
533 533
 
... ...
@@ -559,46 +559,46 @@ function template_shd_action_log()
559 559
 		<div class="cat_bar">
560 560
 			<h3 class="catbg">
561 561
 				<span class="floatright smalltext">', $context['page_index'], '</span>
562
-				<img src="', $settings['default_images_url'], '/simpledesk/log.png" class="icon" alt="*" />
562
+				<img src="', $settings['default_images_url'], '/simpledesk/log.png" class="icon" alt="*">
563 563
 				', $txt['shd_admin_actionlog_title'], '
564 564
 			</h3>
565 565
 		</div>
566 566
 		<table class="table_grid">
567 567
 			<tr class="title_bar">
568 568
 				<td width="38%" colspan="2">
569
-					<img src="', $settings['default_images_url'], '/simpledesk/action.png" class="shd_smallicon" alt="" />
569
+					<img src="', $settings['default_images_url'], '/simpledesk/action.png" class="shd_smallicon" alt="">
570 570
 					<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=actionlog', $context['sort'] == $sort_types['action'] && !isset($_REQUEST['asc']) ? ';sort=action;asc' : ';sort=action', '">
571 571
 						', $txt['shd_admin_actionlog_action'], '
572 572
 					</a>
573
-					', ($context['sort'] == $sort_types['action'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="" />' : ''), '
573
+					', ($context['sort'] == $sort_types['action'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="">' : ''), '
574 574
 				</td>
575 575
 				<td width="20%">
576
-					<img src="', $settings['default_images_url'], '/simpledesk/time.png" class="shd_smallicon" alt="" />
576
+					<img src="', $settings['default_images_url'], '/simpledesk/time.png" class="shd_smallicon" alt="">
577 577
 					<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=actionlog', $context['sort'] == $sort_types['time'] && !isset($_REQUEST['asc']) ? ';sort=time;asc' : ';sort=time', '">
578 578
 						', $txt['shd_admin_actionlog_date'], '
579 579
 					</a>
580
-					', ($context['sort'] == $sort_types['time'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="" />' : ''), '
580
+					', ($context['sort'] == $sort_types['time'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="">' : ''), '
581 581
 				</td>
582 582
 				<td width="16%">
583
-					<img src="', $settings['default_images_url'], '/simpledesk/user.png" class="shd_smallicon" alt="" />
583
+					<img src="', $settings['default_images_url'], '/simpledesk/user.png" class="shd_smallicon" alt="">
584 584
 					<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=actionlog', $context['sort'] == $sort_types['member'] && !isset($_REQUEST['asc']) ? ';sort=member;asc' : ';sort=member', '">
585 585
 						', $txt['shd_admin_actionlog_member'], '
586 586
 					</a>
587
-					', ($context['sort'] == $sort_types['member'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="" />' : ''), '
587
+					', ($context['sort'] == $sort_types['member'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="">' : ''), '
588 588
 				</td>
589 589
 				<td width="16%">
590
-					<img src="', $settings['default_images_url'], '/simpledesk/position.png" class="shd_smallicon" alt="" />
590
+					<img src="', $settings['default_images_url'], '/simpledesk/position.png" class="shd_smallicon" alt="">
591 591
 					<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=actionlog', $context['sort'] == $sort_types['position'] && !isset($_REQUEST['asc']) ? ';sort=position;asc' : ';sort=position', '">
592 592
 						', $txt['shd_admin_actionlog_position'], '
593 593
 					</a>
594
-					', ($context['sort'] == $sort_types['position'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="" />' : ''), '
594
+					', ($context['sort'] == $sort_types['position'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="">' : ''), '
595 595
 				</td>
596 596
 				<td width="10%">
597
-					<img src="', $settings['default_images_url'], '/simpledesk/ip.png" class="shd_smallicon" alt="" />
597
+					<img src="', $settings['default_images_url'], '/simpledesk/ip.png" class="shd_smallicon" alt="">
598 598
 					<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=actionlog', $context['sort'] == $sort_types['ip'] && !isset($_REQUEST['asc']) ? ';sort=ip;asc' : ';sort=ip', '">
599 599
 						', $txt['shd_admin_actionlog_ip'], '
600 600
 					</a>
601
-					', ($context['sort'] == $sort_types['ip'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="" />' : ''), '
601
+					', ($context['sort'] == $sort_types['ip'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="">' : ''), '
602 602
 				</td>
603 603
 				<td width="2%">&nbsp;</td>
604 604
 			</tr>';
... ...
@@ -614,13 +614,13 @@ function template_shd_action_log()
614 614
 		{
615 615
 			echo '
616 616
 			<tr class="windowbg">
617
-				<td width="1%"><img src="', shd_image_url($action['action_icon']), '" alt="" class="shd_smallicon" /></td>
617
+				<td width="1%"><img src="', shd_image_url($action['action_icon']), '" alt="" class="shd_smallicon"></td>
618 618
 				<td class="smalltext">', $action['action_text'], '</td>
619 619
 				<td>', $action['time'], '</td>
620 620
 				<td>', $action['member']['link'], '</td>
621 621
 				<td>', $action['member']['group'], '</td>
622 622
 				<td>', !empty($action['member']['ip']) ? $action['member']['ip'] : $txt['shd_admin_actionlog_hidden'], '</td>
623
-				<td>', $action['can_remove'] && $context['can_delete'] ? '<a href="' . $scripturl . '?action=admin;area=helpdesk_info;sa=actionlog;remove='. $action['id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/delete.png" alt="' . $txt['shd_delete_item'] . '" /></a>' : '', '</td>
623
+				<td>', $action['can_remove'] && $context['can_delete'] ? '<a href="' . $scripturl . '?action=admin;area=helpdesk_info;sa=actionlog;remove='. $action['id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/delete.png" alt="' . $txt['shd_delete_item'] . '"></a>' : '', '</td>
624 624
 			</tr>';
625 625
 		}
626 626
 	}
... ...
@@ -629,7 +629,7 @@ function template_shd_action_log()
629 629
 			<tr class="titlebg">
630 630
 				<td colspan="7">
631 631
 					<span class="floatright smalltext">', $context['page_index'], '</span>
632
-					<span class="smalltext shd_empty_log"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" alt="X" /> <a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=actionlog', $context['url_sort'], $context['url_order'], ';removeall" onclick="return confirm(', JavaScriptEscape(sprintf($txt['shd_admin_actionlog_removeall_confirm'], $context['hoursdisable'])), ');">', $txt['shd_admin_actionlog_removeall'], '</a></span>
632
+					<span class="smalltext shd_empty_log"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" alt="X"> <a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=actionlog', $context['url_sort'], $context['url_order'], ';removeall" onclick="return confirm(', JavaScriptEscape(sprintf($txt['shd_admin_actionlog_removeall_confirm'], $context['hoursdisable'])), ');">', $txt['shd_admin_actionlog_removeall'], '</a></span>
633 633
 				</td>
634 634
 			</tr>
635 635
 		</table>';
... ...
@@ -653,46 +653,46 @@ function template_shd_admin_log()
653 653
 		<div class="cat_bar">
654 654
 			<h3 class="catbg">
655 655
 				<span class="floatright smalltext shd_pages">', $context['page_index'], '</span>
656
-				<img src="', $settings['default_images_url'], '/simpledesk/log.png" class="icon" alt="*" />
656
+				<img src="', $settings['default_images_url'], '/simpledesk/log.png" class="icon" alt="*">
657 657
 				', $txt['shd_admin_actionlog_title'], '
658 658
 			</h3>
659 659
 		</div>
660 660
 		<table class="table_grid">
661 661
 			<tr class="title_bar">
662 662
 				<td class="shd_33">
663
-					<img src="', $settings['default_images_url'], '/simpledesk/action.png" class="shd_smallicon" alt="" />
663
+					<img src="', $settings['default_images_url'], '/simpledesk/action.png" class="shd_smallicon" alt="">
664 664
 					<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=adminlog', $context['sort'] == $sort_types['action'] && !isset($_REQUEST['asc']) ? ';sort=action;asc' : ';sort=action', '">
665 665
 						', $txt['shd_admin_actionlog_action'], '
666 666
 					</a>
667
-					', ($context['sort'] == $sort_types['action'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="" />' : ''), '
667
+					', ($context['sort'] == $sort_types['action'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="">' : ''), '
668 668
 				</td>
669 669
 				<td class="shd_20">
670
-					<img src="', $settings['default_images_url'], '/simpledesk/time.png" class="shd_smallicon" alt="" />
670
+					<img src="', $settings['default_images_url'], '/simpledesk/time.png" class="shd_smallicon" alt="">
671 671
 					<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=adminlog', $context['sort'] == $sort_types['time'] && !isset($_REQUEST['asc']) ? ';sort=time;asc' : ';sort=time', '">
672 672
 						', $txt['shd_admin_actionlog_date'], '
673 673
 					</a>
674
-					', ($context['sort'] == $sort_types['time'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="" />' : ''), '
674
+					', ($context['sort'] == $sort_types['time'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="">' : ''), '
675 675
 				</td>
676 676
 				<td class="shd_20">
677
-					<img src="', $settings['default_images_url'], '/simpledesk/user.png" class="shd_smallicon" alt="" />
677
+					<img src="', $settings['default_images_url'], '/simpledesk/user.png" class="shd_smallicon" alt="">
678 678
 					<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=adminlog', $context['sort'] == $sort_types['member'] && !isset($_REQUEST['asc']) ? ';sort=member;asc' : ';sort=member', '">
679 679
 						', $txt['shd_admin_actionlog_member'], '
680 680
 					</a>
681
-					', ($context['sort'] == $sort_types['member'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="" />' : ''), '
681
+					', ($context['sort'] == $sort_types['member'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="">' : ''), '
682 682
 				</td>
683 683
 				<td class="shd_10">
684
-					<img src="', $settings['default_images_url'], '/simpledesk/position.png" class="shd_smallicon" alt="" />
684
+					<img src="', $settings['default_images_url'], '/simpledesk/position.png" class="shd_smallicon" alt="">
685 685
 					<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=adminlog', $context['sort'] == $sort_types['position'] && !isset($_REQUEST['asc']) ? ';sort=position;asc' : ';sort=position', '">
686 686
 						', $txt['shd_admin_actionlog_position'], '
687 687
 					</a>
688
-					', ($context['sort'] == $sort_types['position'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="" />' : ''), '
688
+					', ($context['sort'] == $sort_types['position'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="">' : ''), '
689 689
 				</td>
690 690
 				<td class="shd_10" ', $context['can_delete'] ? 'colspan="2"' : '','>
691
-					<img src="', $settings['default_images_url'], '/simpledesk/ip.png" class="shd_smallicon" alt="" />
691
+					<img src="', $settings['default_images_url'], '/simpledesk/ip.png" class="shd_smallicon" alt="">
692 692
 					<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=adminlog', $context['sort'] == $sort_types['ip'] && !isset($_REQUEST['asc']) ? ';sort=ip;asc' : ';sort=ip', '">
693 693
 						', $txt['shd_admin_actionlog_ip'], '
694 694
 					</a>
695
-					', ($context['sort'] == $sort_types['ip'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="" />' : ''), '
695
+					', ($context['sort'] == $sort_types['ip'] ? '<img src="' . $settings['default_images_url'] . '/' . (isset($_REQUEST['asc']) ? 'simpledesk/move_up.png' : 'simpledesk/move_down.png' ). '" alt="">' : ''), '
696 696
 				</td>
697 697
 				', $context['can_delete'] ? '<td class="shd_5">&nbsp;</td>' : '','
698 698
 			</tr>';
... ...
@@ -713,7 +713,7 @@ function template_shd_admin_log()
713 713
 				<td>', $action['member']['link'], '</td>
714 714
 				<td>', $action['member']['group'], '</td>
715 715
 				<td ', $action['can_remove'] && $context['can_delete'] ? 'colspan="2"' : '','>', !empty($action['member']['ip']) ? $action['member']['ip'] : $txt['shd_admin_actionlog_hidden'], '</td>
716
-				', $action['can_remove'] && $context['can_delete'] ? '<td><a href="' . $scripturl . '?action=admin;area=helpdesk_info;sa=adminlog;remove='. $action['id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/delete.png" alt="' . $txt['shd_delete_item'] . '" /></a></td>' : '', '
716
+				', $action['can_remove'] && $context['can_delete'] ? '<td><a href="' . $scripturl . '?action=admin;area=helpdesk_info;sa=adminlog;remove='. $action['id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/delete.png" alt="' . $txt['shd_delete_item'] . '"></a></td>' : '', '
717 717
 			</tr>';
718 718
 		}
719 719
 	}
... ...
@@ -722,7 +722,7 @@ function template_shd_admin_log()
722 722
 			<tr class="windowbg">
723 723
 				<td ', $context['can_delete'] ? 'colspan="6"' : 'colspan="5"','>
724 724
 					<span class="floatright smalltext">', $context['page_index'], '</span>
725
-					<span class="smalltext shd_empty_log"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" alt="X" /> <a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=adminlog', $context['url_sort'], $context['url_order'], ';removeall" onclick="return confirm(', JavaScriptEscape(sprintf($txt['shd_admin_actionlog_removeall_confirm'], $context['daysdisable'])), ');">', $txt['shd_admin_actionlog_removeall'], '</a></span>
725
+					<span class="smalltext shd_empty_log"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" alt="X"> <a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=adminlog', $context['url_sort'], $context['url_order'], ';removeall" onclick="return confirm(', JavaScriptEscape(sprintf($txt['shd_admin_actionlog_removeall_confirm'], $context['daysdisable'])), ');">', $txt['shd_admin_actionlog_removeall'], '</a></span>
726 726
 				</td>
727 727
 			</tr>
728 728
 		</table>';
... ...
@@ -744,27 +744,27 @@ function template_shd_support()
744 744
 	<div class="shd_admin_leftcolumn floatleft">
745 745
 		<div class="cat_bar">
746 746
 			<h3 class="catbg">
747
-				<img src="', $settings['default_images_url'], '/simpledesk/edit.png" alt="*" /> ', $txt['shd_admin_support_form_title'], '
747
+				<img src="', $settings['default_images_url'], '/simpledesk/edit.png" alt="*"> ', $txt['shd_admin_support_form_title'], '
748 748
 			</h3>
749 749
 		</div>
750 750
 		<div class="windowbg2 noup">
751 751
 			<form action="', $context['shd_support_url'], '" method="post">
752 752
 				<dl id="post_header">
753 753
 					<dt><span id="caption_subject">', $txt['subject'], '</span></dt>
754
-					<dd><input type="text" name="subject" tabindex="1" size="80" maxlength="80" class="input_text" /></dd>
754
+					<dd><input type="text" name="subject" tabindex="1" size="80" maxlength="80" ></dd>
755 755
 				</dl>
756 756
 				<textarea class="editor" name="message" rows="12" cols="60" tabindex="2" style="width: 90%; height: 150px;"></textarea>
757 757
 				<br><br>
758
-				<input type="hidden" value="', $forum_version, '" name="smf_version" />
759
-				<input type="hidden" value="', SHD_VERSION, '" name="shd_version" />
760
-				<input type="submit" value="', $txt['shd_admin_support_send'], '" tabindex="3" accesskey="s" class="button_submit" />
758
+				<input type="hidden" value="', $forum_version, '" name="smf_version">
759
+				<input type="hidden" value="', SHD_VERSION, '" name="shd_version">
760
+				<input type="submit" value="', $txt['shd_admin_support_send'], '" tabindex="3" accesskey="s" class="button">
761 761
 			</form>
762 762
 		</div>
763 763
 	</div>
764 764
 	<div class="shd_admin_rightcolumn floatleft">
765 765
 		<div class="cat_bar">
766 766
 			<h3 class="catbg">
767
-				<img src="', $settings['images_url'], '/helptopics.png" alt="?" /> ', $txt['shd_admin_support_what_is_this'], '
767
+				<img src="', $settings['images_url'], '/helptopics.png" alt="?"> ', $txt['shd_admin_support_what_is_this'], '
768 768
 			</h3>
769 769
 		</div>
770 770
 		<div class="information smalltext">
... ...
@@ -782,7 +782,7 @@ function template_shd_support()
782 782
 function template_shd_nojs_above()
783 783
 {
784 784
 	global $txt, $settings;
785
-	echo '<noscript><div class="errorbox"><img src="', $settings['default_images_url'], '/simpledesk/warning.png" alt="*" class="shd_icon_minihead" /> &nbsp;', $txt['shd_helpdesk_nojs'], '</div></noscript>';
785
+	echo '<noscript><div class="errorbox"><img src="', $settings['default_images_url'], '/simpledesk/warning.png" alt="*" class="shd_icon_minihead"> &nbsp;', $txt['shd_helpdesk_nojs'], '</div></noscript>';
786 786
 }
787 787
 
788 788
 /**
... ...
@@ -47,9 +47,9 @@ function template_shd_cannedreplies_home()
47 47
 			<div class="cat_bar">
48 48
 				<h3 class="catbg">
49 49
 					', $cat['name'], '
50
-					', !empty($cat['move_up']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_cannedreplies;sa=movecat;cat=' . $cat_id . ';direction=up;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_up.png" alt="' . $txt['shd_admin_move_up'] . '" title="' . $txt['shd_admin_move_up'] . '" /></a>') : '', '
51
-					', !empty($cat['move_down']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_cannedreplies;sa=movecat;cat=' . $cat_id . ';direction=down;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_down.png" alt="' . $txt['shd_admin_move_down'] . '" title="' . $txt['shd_admin_move_down'] . '" /></a>') : '', '
52
-					<a href="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=editcat;cat=' . $cat_id . ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['default_images_url'], '/simpledesk/edit.png" class="icon" alt="', $txt['shd_ticket_edit'],'" title="', $txt['shd_ticket_edit'], '" /></a>
50
+					', !empty($cat['move_up']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_cannedreplies;sa=movecat;cat=' . $cat_id . ';direction=up;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_up.png" alt="' . $txt['shd_admin_move_up'] . '" title="' . $txt['shd_admin_move_up'] . '"></a>') : '', '
51
+					', !empty($cat['move_down']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_cannedreplies;sa=movecat;cat=' . $cat_id . ';direction=down;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_down.png" alt="' . $txt['shd_admin_move_down'] . '" title="' . $txt['shd_admin_move_down'] . '"></a>') : '', '
52
+					<a href="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=editcat;cat=' . $cat_id . ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['default_images_url'], '/simpledesk/edit.png" class="icon" alt="', $txt['shd_ticket_edit'],'" title="', $txt['shd_ticket_edit'], '"></a>
53 53
 				</h3>
54 54
 			</div>
55 55
 			<table class="table_grid">
... ...
@@ -77,17 +77,17 @@ function template_shd_cannedreplies_home()
77 77
 						<tr class="windowbg">
78 78
 							<td>', $reply['title'], '</td>
79 79
 							<td>', $reply['depts'], '</td>
80
-							<td><img src="', $settings['default_images_url'], '/simpledesk/cf_', $reply['active_string'], '.png" alt="', $txt['shd_admin_custom_fields_' . $reply['active_string']], '" title="', $txt['shd_admin_custom_fields_' . $reply['active_string']], '" /></td>
80
+							<td><img src="', $settings['default_images_url'], '/simpledesk/cf_', $reply['active_string'], '.png" alt="', $txt['shd_admin_custom_fields_' . $reply['active_string']], '" title="', $txt['shd_admin_custom_fields_' . $reply['active_string']], '"></td>
81 81
 							<td>
82
-								', !empty($reply['vis_user']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/user.png" class="icon" alt="*" />' : '', '
83
-								', !empty($reply['vis_staff']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/staff.png" class="icon" alt="*" />' : '', '
84
-								<img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="" />
82
+								', !empty($reply['vis_user']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/user.png" class="icon" alt="*">' : '', '
83
+								', !empty($reply['vis_staff']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/staff.png" class="icon" alt="*">' : '', '
84
+								<img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="">
85 85
 							</td>
86
-							<td>', !empty($reply['move_up']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_cannedreplies;sa=movereply;reply=' . $reply['id_reply'] . ';direction=up;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_up.png" alt="' . $txt['shd_admin_move_up'] . '" title="' . $txt['shd_admin_move_up'] . '" /></a>') : '', '</td>
87
-							<td>', !empty($reply['move_down']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_cannedreplies;sa=movereply;reply=' . $reply['id_reply'] . ';direction=down;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_down.png" alt="' . $txt['shd_admin_move_down'] . '" title="' . $txt['shd_admin_move_down'] . '" /></a>') : '', '</td>
88
-							<td>', $context['move_between_cats'] ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_cannedreplies;sa=movereplycat;reply=' . $reply['id_reply'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/movedept.png" alt="' . $txt['shd_admin_cannedreplies_move_between_cat'] . '" title="' . $txt['shd_admin_cannedreplies_move_between_cat'] . '" /></a>') : '', '</td>
89
-							<td><a href="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=editreply;reply=' . $reply['id_reply'] . ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['default_images_url'], '/simpledesk/edit.png" class="icon" alt="', $txt['shd_ticket_edit'],'" title="', $txt['shd_ticket_edit'], '" /></a></td>
90
-							<td><a href="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=savereply;reply=' . $reply['id_reply'] . ';delete=yes;', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(' . JavaScriptEscape($txt['shd_admin_cannedreplies_deletereply_confirm']). ');"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" class="icon" alt="', $txt['shd_ticket_delete'],'" title="', $txt['shd_ticket_delete'], '" /></a></td>
86
+							<td>', !empty($reply['move_up']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_cannedreplies;sa=movereply;reply=' . $reply['id_reply'] . ';direction=up;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_up.png" alt="' . $txt['shd_admin_move_up'] . '" title="' . $txt['shd_admin_move_up'] . '"></a>') : '', '</td>
87
+							<td>', !empty($reply['move_down']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_cannedreplies;sa=movereply;reply=' . $reply['id_reply'] . ';direction=down;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_down.png" alt="' . $txt['shd_admin_move_down'] . '" title="' . $txt['shd_admin_move_down'] . '"></a>') : '', '</td>
88
+							<td>', $context['move_between_cats'] ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_cannedreplies;sa=movereplycat;reply=' . $reply['id_reply'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/movedept.png" alt="' . $txt['shd_admin_cannedreplies_move_between_cat'] . '" title="' . $txt['shd_admin_cannedreplies_move_between_cat'] . '"></a>') : '', '</td>
89
+							<td><a href="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=editreply;reply=' . $reply['id_reply'] . ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['default_images_url'], '/simpledesk/edit.png" class="icon" alt="', $txt['shd_ticket_edit'],'" title="', $txt['shd_ticket_edit'], '"></a></td>
90
+							<td><a href="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=savereply;reply=' . $reply['id_reply'] . ';delete=yes;', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(' . JavaScriptEscape($txt['shd_admin_cannedreplies_deletereply_confirm']). ');"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" class="icon" alt="', $txt['shd_ticket_delete'],'" title="', $txt['shd_ticket_delete'], '"></a></td>
91 91
 						</tr>';
92 92
 				}
93 93
 			}
... ...
@@ -115,7 +115,7 @@ function template_shd_edit_canned_category()
115 115
 	echo '
116 116
 		<div class="cat_bar">
117 117
 			<h3 class="catbg">
118
-				<img src="', $settings['default_images_url'], '/simpledesk/cannedreplies.png" class="icon" alt="*" />
118
+				<img src="', $settings['default_images_url'], '/simpledesk/cannedreplies.png" class="icon" alt="*">
119 119
 				', $txt['shd_admin_cannedreplies_home'], '
120 120
 			</h3>
121 121
 		</div>
... ...
@@ -124,7 +124,7 @@ function template_shd_edit_canned_category()
124 124
 		</div>
125 125
 		<div class="cat_bar">
126 126
 			<h3 class="catbg">
127
-				<img src="', $settings['default_images_url'], '/simpledesk/additional_information.png" alt="*" />
127
+				<img src="', $settings['default_images_url'], '/simpledesk/additional_information.png" alt="*">
128 128
 				', $context['page_title'], '
129 129
 			</h3>
130 130
 		</div>
... ...
@@ -132,18 +132,18 @@ function template_shd_edit_canned_category()
132 132
 			<form action="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=savecat" method="post">
133 133
 				<dl class="settings">
134 134
 					<dt><strong>', $txt['shd_admin_cannedreplies_categoryname'], '</strong></dt>
135
-					<dd><input type="text" name="catname" id="catname" class="input_text" size="30" value="', $context['category_name'], '" /></dd>
135
+					<dd><input type="text" name="catname" id="catname"  size="30" value="', $context['category_name'], '"></dd>
136 136
 				</dl>
137
-				<input type="submit" value="', $context['page_title'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />';
137
+				<input type="submit" value="', $context['page_title'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">';
138 138
 
139 139
 	if ($_REQUEST['cat'] != 'new')
140 140
 		echo '
141
-				<input type="submit" name="delete" value="', $txt['shd_admin_cannedreplies_deletecat'], '" onclick="return confirm(', JavaScriptEscape($txt['shd_admin_cannedreplies_delete_confirm']), ') && submitThisOnce(this);" class="button_submit" />';
141
+				<input type="submit" name="delete" value="', $txt['shd_admin_cannedreplies_deletecat'], '" onclick="return confirm(', JavaScriptEscape($txt['shd_admin_cannedreplies_delete_confirm']), ') && submitThisOnce(this);" class="button">';
142 142
 
143 143
 	echo '
144
-				<input type="hidden" name="cat" value="', $_REQUEST['cat'], '" />
145
-				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
146
-				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
144
+				<input type="hidden" name="cat" value="', $_REQUEST['cat'], '">
145
+				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
146
+				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">
147 147
 			</form>
148 148
 		</div>';
149 149
 }
... ...
@@ -157,7 +157,7 @@ function template_shd_edit_canned_reply()
157 157
 	echo '
158 158
 		<div class="cat_bar">
159 159
 			<h3 class="catbg">
160
-				<img src="', $settings['default_images_url'], '/simpledesk/cannedreplies.png" class="icon" alt="*" />
160
+				<img src="', $settings['default_images_url'], '/simpledesk/cannedreplies.png" class="icon" alt="*">
161 161
 				', $txt['shd_admin_cannedreplies_home'], '
162 162
 			</h3>
163 163
 		</div>
... ...
@@ -167,14 +167,14 @@ function template_shd_edit_canned_reply()
167 167
 		<form action="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=savereply" method="post" accept-charset="', $context['character_set'], '" name="cannedreply" id="cannedreply" onsubmit="', 'submitonce(this);smc_saveEntities(\'cannedreply\', [\'title\', \'', $context['post_box_name'], '\']);" enctype="multipart/form-data" style="margin: 0;">
168 168
 			<div class="cat_bar">
169 169
 				<h3 class="catbg">
170
-					<img src="', $settings['default_images_url'], '/simpledesk/additional_information.png" alt="*" />
170
+					<img src="', $settings['default_images_url'], '/simpledesk/additional_information.png" alt="*">
171 171
 					', $context['page_title'], '
172 172
 				</h3>
173 173
 			</div>
174 174
 			<div class="roundframe noup">
175 175
 				<dl class="settings">
176 176
 					<dt><strong>', $txt['shd_admin_cannedreplies_replytitle'], '</strong></dt>
177
-					<dd><input type="text" class="input_text" value="', $context['canned_reply']['title'], '" name="title" size="80" /></dd>
177
+					<dd><input type="text"  value="', $context['canned_reply']['title'], '" name="title" size="80"></dd>
178 178
 				</dl>
179 179
 				<p><strong>', $txt['shd_admin_cannedreplies_content'], '</strong></p>
180 180
 				<div class="block">
... ...
@@ -184,19 +184,19 @@ function template_shd_edit_canned_reply()
184 184
 				</div>
185 185
 				<dl class="settings">
186 186
 					<dt><strong>', $txt['shd_admin_cannedreplies_active'], '</strong></dt>
187
-					<dd><input type="checkbox" name="active" class="input_check"', !empty($context['canned_reply']['active']) ? ' checked="checked"' : '', ' />
187
+					<dd><input type="checkbox" name="active" ', !empty($context['canned_reply']['active']) ? ' checked="checked"' : '', '>
188 188
 					<dt><strong>', $txt['shd_admin_cannedreplies_selectvisible'], '</strong></dt>
189 189
 					<dd>
190
-						<input type="checkbox" name="vis_user" class="input_check"', !empty($context['canned_reply']['vis_user']) ? ' checked="checked"' : '', ' /> <img src="', $settings['default_images_url'], '/simpledesk/user.png" class="icon" alt="', $txt['shd_admin_custom_field_users'], '" title="', $txt['shd_admin_custom_field_users'], '">
191
-						<input type="checkbox" name="vis_staff" class="input_check"', !empty($context['canned_reply']['vis_staff']) ? ' checked="checked"' : '', ' /> <img src="', $settings['default_images_url'], '/simpledesk/staff.png" class="icon" alt="', $txt['shd_admin_custom_field_staff'], '" title="', $txt['shd_admin_custom_field_staff'], '">
192
-						<input type="checkbox" name="vis_admin" class="input_check" checked="checked" disabled="disabled"> <img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="', $txt['shd_admin_custom_field_admins'], '" title="', $txt['shd_admin_custom_field_admins'], '">
190
+						<input type="checkbox" name="vis_user" ', !empty($context['canned_reply']['vis_user']) ? ' checked="checked"' : '', '> <img src="', $settings['default_images_url'], '/simpledesk/user.png" class="icon" alt="', $txt['shd_admin_custom_field_users'], '" title="', $txt['shd_admin_custom_field_users'], '">
191
+						<input type="checkbox" name="vis_staff" ', !empty($context['canned_reply']['vis_staff']) ? ' checked="checked"' : '', '> <img src="', $settings['default_images_url'], '/simpledesk/staff.png" class="icon" alt="', $txt['shd_admin_custom_field_staff'], '" title="', $txt['shd_admin_custom_field_staff'], '">
192
+						<input type="checkbox" name="vis_admin"  checked="checked" disabled="disabled"> <img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="', $txt['shd_admin_custom_field_admins'], '" title="', $txt['shd_admin_custom_field_admins'], '">
193 193
 					</dd>
194 194
 				</dl>
195 195
 			</div>
196 196
 			<br>
197 197
 			<div class="cat_bar">
198 198
 				<h3 class="catbg">
199
-					<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="*" />
199
+					<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="*">
200 200
 					', $txt['shd_admin_cannedreplies_departments'], '
201 201
 				</h3>
202 202
 			</div>
... ...
@@ -207,24 +207,24 @@ function template_shd_edit_canned_reply()
207 207
 	{
208 208
 		echo '
209 209
 					<dt><strong>', $dept_name, '</strong></dt>
210
-					<dd><input type="checkbox" name="dept_', $dept_id, '"', in_array($dept_id, $context['canned_reply']['depts_selected']) ? ' checked="checked"' : '', ' class="input_check" /></dd>';
210
+					<dd><input type="checkbox" name="dept_', $dept_id, '"', in_array($dept_id, $context['canned_reply']['depts_selected']) ? ' checked="checked"' : '', ' ></dd>';
211 211
 	}
212 212
 
213 213
 	echo '
214 214
 				</dl>
215 215
 			</div>
216 216
 			<br>
217
-			<input type="submit" value="', isset($editor_context['labels']['post_button']) ? $editor_context['labels']['post_button'] : $txt['save'], '" tabindex="', $context['tabindex']++, '" accesskey="s" class="button_submit" />';
217
+			<input type="submit" value="', isset($editor_context['labels']['post_button']) ? $editor_context['labels']['post_button'] : $txt['save'], '" tabindex="', $context['tabindex']++, '" accesskey="s" class="button">';
218 218
 
219 219
 	if ($context['canned_reply']['id'] != 'new')
220 220
 		echo '
221
-			<input type="submit" name="delete" value="', $txt['shd_admin_cannedreplies_deletereply'], '" onclick="return confirm(', JavaScriptEscape($txt['shd_admin_cannedreplies_deletereply_confirm']), ') && submitThisOnce(this);" class="button_submit" />';
221
+			<input type="submit" name="delete" value="', $txt['shd_admin_cannedreplies_deletereply'], '" onclick="return confirm(', JavaScriptEscape($txt['shd_admin_cannedreplies_deletereply_confirm']), ') && submitThisOnce(this);" class="button">';
222 222
 
223 223
 	echo '
224
-			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
225
-			<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
226
-			<input type="hidden" name="reply" value="', $context['canned_reply']['id'], '" />
227
-			<input type="hidden" name="cat" value="', $context['canned_reply']['cat'], '" />
224
+			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
225
+			<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">
226
+			<input type="hidden" name="reply" value="', $context['canned_reply']['id'], '">
227
+			<input type="hidden" name="cat" value="', $context['canned_reply']['cat'], '">
228 228
 		</form>';
229 229
 }
230 230
 
... ...
@@ -235,7 +235,7 @@ function template_shd_move_reply_cat()
235 235
 	echo '
236 236
 		<div class="cat_bar">
237 237
 			<h3 class="catbg">
238
-				<img src="', $settings['default_images_url'], '/simpledesk/cannedreplies.png" class="icon" alt="*" />
238
+				<img src="', $settings['default_images_url'], '/simpledesk/cannedreplies.png" class="icon" alt="*">
239 239
 				', $txt['shd_admin_cannedreplies_home'], '
240 240
 			</h3>
241 241
 		</div>
... ...
@@ -244,7 +244,7 @@ function template_shd_move_reply_cat()
244 244
 		</div>
245 245
 		<div class="cat_bar">
246 246
 			<h3 class="catbg">
247
-				<img src="', $settings['default_images_url'], '/simpledesk/movedept.png" alt="*" />
247
+				<img src="', $settings['default_images_url'], '/simpledesk/movedept.png" alt="*">
248 248
 				', $context['page_title'], '
249 249
 			</h3>
250 250
 		</div>
... ...
@@ -264,10 +264,10 @@ function template_shd_move_reply_cat()
264 264
 						</select>
265 265
 					</dd>
266 266
 				</dl>
267
-				<input type="submit" value="', $txt['shd_admin_cannedreplies_movereply'], '" onclick="return submitThisOnce(this);" class="button_submit" />
268
-				<input type="hidden" name="reply" value="', $_REQUEST['reply'], '" />
269
-				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
270
-				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
267
+				<input type="submit" value="', $txt['shd_admin_cannedreplies_movereply'], '" onclick="return submitThisOnce(this);" class="button">
268
+				<input type="hidden" name="reply" value="', $_REQUEST['reply'], '">
269
+				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
270
+				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">
271 271
 			</form>
272 272
 		</div>';
273 273
 }
274 274
\ No newline at end of file
... ...
@@ -15,7 +15,7 @@ function template_shd_custom_field_home()
15 15
 	echo '
16 16
 		<div class="cat_bar">
17 17
 			<h3 class="catbg">
18
-				<img src="', $settings['default_images_url'], '/simpledesk/custom_fields.png" class="icon" alt="*" />
18
+				<img src="', $settings['default_images_url'], '/simpledesk/custom_fields.png" class="icon" alt="*">
19 19
 				', $txt['shd_admin_custom_fields_long'], '
20 20
 			</h3>
21 21
 		</div>
... ...
@@ -25,11 +25,11 @@ function template_shd_custom_field_home()
25 25
 		<table class="table_grid">
26 26
 			<tr class="title_bar">
27 27
 				<td width="30%" colspan="2">
28
-					<img src="', $settings['default_images_url'], '/simpledesk/name.png" class="icon" alt="*" />
28
+					<img src="', $settings['default_images_url'], '/simpledesk/name.png" class="icon" alt="*">
29 29
 					', $txt['shd_admin_custom_fields_fieldname'], '
30 30
 				</td>
31 31
 				<td colspan="2">
32
-					<img src="', $settings['default_images_url'], '/simpledesk/fieldtype.png" class="icon" alt="*" />
32
+					<img src="', $settings['default_images_url'], '/simpledesk/fieldtype.png" class="icon" alt="*">
33 33
 					', $txt['shd_admin_custom_fields_fieldtype'], '
34 34
 				</td>
35 35
 				<td>', $txt['shd_admin_custom_fields_active'], '</td>
... ...
@@ -50,31 +50,31 @@ function template_shd_custom_field_home()
50 50
 		{
51 51
 			echo '
52 52
 			<tr class="windowbg">
53
-				<td width="2%">', empty($field['icon']) ? '' : '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" class="icon" alt="*" />', '</td>
53
+				<td width="2%">', empty($field['icon']) ? '' : '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" class="icon" alt="*">', '</td>
54 54
 				<td>', $field['field_name'], '<br><span class="smalltext">', $field['field_desc'], '</span></td>
55
-				<td width="2%"><img src="' . $settings['default_images_url'] . '/simpledesk/cf_ui_' . $field['field_type'] . '.png" class="icon" alt="', $txt['shd_admin_custom_fields_ui_' . $field['field_type']], '" /></td>
55
+				<td width="2%"><img src="' . $settings['default_images_url'] . '/simpledesk/cf_ui_' . $field['field_type'] . '.png" class="icon" alt="', $txt['shd_admin_custom_fields_ui_' . $field['field_type']], '"></td>
56 56
 				<td>', $txt['shd_admin_custom_fields_ui_' . $field['field_type']], '</td>
57
-				<td><img src="', $settings['default_images_url'], '/simpledesk/cf_', $field['active_string'], '.png" alt="', $txt['shd_admin_custom_fields_' . $field['active_string']], '" title="', $txt['shd_admin_custom_fields_' . $field['active_string']], '" /></td>
57
+				<td><img src="', $settings['default_images_url'], '/simpledesk/cf_', $field['active_string'], '.png" alt="', $txt['shd_admin_custom_fields_' . $field['active_string']], '" title="', $txt['shd_admin_custom_fields_' . $field['active_string']], '"></td>
58 58
 				<td>
59
-					', ($field['field_loc'] & CFIELD_TICKET) !== 0 ? ('<img src="' . $settings['default_images_url'] . '/simpledesk/ticket.png" alt="' . $txt['shd_admin_custom_fields_inticket'] . '" title="' . $txt['shd_admin_custom_fields_inticket'] . '" />') : '', '
60
-					', ($field['field_loc'] & CFIELD_REPLY) !== 0 ? ('<img src="' . $settings['default_images_url'] . '/simpledesk/replies.png" alt="' . $txt['shd_admin_custom_fields_inreply'] . '" title="' . $txt['shd_admin_custom_fields_inreply'] . '" />') : '', '
59
+					', ($field['field_loc'] & CFIELD_TICKET) !== 0 ? ('<img src="' . $settings['default_images_url'] . '/simpledesk/ticket.png" alt="' . $txt['shd_admin_custom_fields_inticket'] . '" title="' . $txt['shd_admin_custom_fields_inticket'] . '">') : '', '
60
+					', ($field['field_loc'] & CFIELD_REPLY) !== 0 ? ('<img src="' . $settings['default_images_url'] . '/simpledesk/replies.png" alt="' . $txt['shd_admin_custom_fields_inreply'] . '" title="' . $txt['shd_admin_custom_fields_inreply'] . '">') : '', '
61 61
 				</td>
62 62
 				<td>
63 63
 					<strong>', $txt['shd_admin_custom_field_view'], ':</strong>
64
-						', $field['can_see'][0] == 1 ? '<img src="' . $settings['default_images_url'] . '/simpledesk/user.png" class="icon" alt="*" />' : '','
65
-						', $field['can_see'][1] == 1 ? '<img src="' . $settings['default_images_url'] . '/simpledesk/staff.png" class="icon" alt="*" />' : '','
66
-						<img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="*" />
64
+						', $field['can_see'][0] == 1 ? '<img src="' . $settings['default_images_url'] . '/simpledesk/user.png" class="icon" alt="*">' : '','
65
+						', $field['can_see'][1] == 1 ? '<img src="' . $settings['default_images_url'] . '/simpledesk/staff.png" class="icon" alt="*">' : '','
66
+						<img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="*">
67 67
 					&nbsp;&nbsp;&nbsp;
68 68
 					<strong>', $txt['shd_admin_custom_field_edit'], ':</strong>
69
-						', $field['can_edit'][0] == 1 ? '<img src="' . $settings['default_images_url'] . '/simpledesk/user.png" class="icon" alt="*" />' : '','
70
-						', $field['can_edit'][1] == 1 ? '<img src="' . $settings['default_images_url'] . '/simpledesk/staff.png" class="icon" alt="*" />' : '','
71
-						<img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="*" />
69
+						', $field['can_edit'][0] == 1 ? '<img src="' . $settings['default_images_url'] . '/simpledesk/user.png" class="icon" alt="*">' : '','
70
+						', $field['can_edit'][1] == 1 ? '<img src="' . $settings['default_images_url'] . '/simpledesk/staff.png" class="icon" alt="*">' : '','
71
+						<img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="*">
72 72
 				</td>
73
-				<td>', empty($field['is_first']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_customfield;sa=move;field=' . $field['id_field'] . ';direction=up;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_up.png" alt="' . $txt['shd_admin_move_up'] . '" title="' . $txt['shd_admin_move_up'] . '" /></a>') : '', '</td>
74
-				<td>', empty($field['is_last']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_customfield;sa=move;field=' . $field['id_field'] . ';direction=down;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_down.png" alt="' . $txt['shd_admin_move_down'] . '" title="' . $txt['shd_admin_move_down'] . '" /></a>') : '', '</td>
73
+				<td>', empty($field['is_first']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_customfield;sa=move;field=' . $field['id_field'] . ';direction=up;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_up.png" alt="' . $txt['shd_admin_move_up'] . '" title="' . $txt['shd_admin_move_up'] . '"></a>') : '', '</td>
74
+				<td>', empty($field['is_last']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_customfield;sa=move;field=' . $field['id_field'] . ';direction=down;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_down.png" alt="' . $txt['shd_admin_move_down'] . '" title="' . $txt['shd_admin_move_down'] . '"></a>') : '', '</td>
75 75
 				<td>
76
-					<a href="', $scripturl, '?action=admin;area=helpdesk_customfield;sa=edit;field=', $field['id_field'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['default_images_url'], '/simpledesk/edit.png" class="icon" alt="', $txt['shd_ticket_edit'],'" title="', $txt['shd_ticket_edit'], '" /></a>
77
-					<a href="', $scripturl, '?action=admin;area=helpdesk_customfield;sa=save;field=', $field['id_field'], ';delete;', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(' . JavaScriptEscape($txt['shd_admin_delete_custom_field_confirm']). ');"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" class="icon" alt="', $txt['shd_ticket_delete'],'" title="', $txt['shd_ticket_delete'], '" /></a>
76
+					<a href="', $scripturl, '?action=admin;area=helpdesk_customfield;sa=edit;field=', $field['id_field'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['default_images_url'], '/simpledesk/edit.png" class="icon" alt="', $txt['shd_ticket_edit'],'" title="', $txt['shd_ticket_edit'], '"></a>
77
+					<a href="', $scripturl, '?action=admin;area=helpdesk_customfield;sa=save;field=', $field['id_field'], ';delete;', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(' . JavaScriptEscape($txt['shd_admin_delete_custom_field_confirm']). ');"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" class="icon" alt="', $txt['shd_ticket_delete'],'" title="', $txt['shd_ticket_delete'], '"></a>
78 78
 				</td>
79 79
 			</tr>';
80 80
 		}
... ...
@@ -164,12 +164,12 @@ function template_shd_custom_field_edit()
164 164
 					var newHTML = \'<br><input type="radio" id="radio_\' + startOptID + \'" name="default_select" value="\' + startOptID + \'" id="\' + startOptID + \'"\';
165 165
 					if (ftype == ', CFIELD_TYPE_MULTI, ')
166 166
 						newHTML += \' style="display:none;"\';
167
-					newHTML += \' class="input_radio" />\' + "\n";
167
+					newHTML += \' >\' + "\n";
168 168
 					newHTML += \'<input type="checkbox" id="multi_\' + startOptID + \'" name="default_select_multi[\' + startOptID + \']" value="\' + startOptID + \'"\';
169 169
 					if (ftype != ', CFIELD_TYPE_MULTI, ')
170 170
 						newHTML += \' style="display:none;"\';
171
-					newHTML += \' class="input_check" />\' + "\n";
172
-					newHTML += \'<input type="text" name="select_option[\' + startOptID + \']" value="" class="input_text" /><span id="addopt"></span>\';
171
+					newHTML += \' >\' + "\n";
172
+					newHTML += \'<input type="text" name="select_option[\' + startOptID + \']" value="" ><span id="addopt"></span>\';
173 173
 
174 174
 					setOuterHTML(document.getElementById("addopt"), newHTML);
175 175
 					startOptID++;
... ...
@@ -209,7 +209,7 @@ function template_shd_custom_field_edit()
209 209
 				<form action="', $scripturl, '?action=admin;area=helpdesk_customfield;sa=save', !empty($context['new_field']) ? ';new' : '', '" method="post">
210 210
 					<div class="cat_bar">
211 211
 						<h3 class="catbg">
212
-							<img src="', $settings['default_images_url'], '/simpledesk/custom_fields.png" class="icon" alt="*" />
212
+							<img src="', $settings['default_images_url'], '/simpledesk/custom_fields.png" class="icon" alt="*">
213 213
 							', $context['section_title'], '
214 214
 						</h3>
215 215
 					</div>
... ...
@@ -218,18 +218,18 @@ function template_shd_custom_field_edit()
218 218
 					</div>
219 219
 					<div class="cat_bar">
220 220
 						<h3 class="catbg">
221
-							<img src="', $settings['default_images_url'], '/simpledesk/name.png" alt="*" />
221
+							<img src="', $settings['default_images_url'], '/simpledesk/name.png" alt="*">
222 222
 							', $txt['shd_admin_custom_fields_general'], '
223 223
 						</h3>
224 224
 					</div>
225 225
 					<div class="roundframe">
226 226
 						<dl class="settings">
227 227
 							<dt><strong>', $txt['shd_admin_custom_fields_fieldname'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_fields_fieldname_desc'], '</span></dt>
228
-							<dd><input type="text" name="field_name" id="cf_fieldname"', !empty($context['custom_field']['field_name']) ? ' value="' . $context['custom_field']['field_name'] . '"' : '', ' class="input_text" size="30" /></dd>
228
+							<dd><input type="text" name="field_name" id="cf_fieldname"', !empty($context['custom_field']['field_name']) ? ' value="' . $context['custom_field']['field_name'] . '"' : '', '  size="30"></dd>
229 229
 							<dt><strong>', $txt['shd_admin_custom_fields_description'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_fields_description_desc'], '</span></dt>
230 230
 							<dd><textarea name="description" id="cf_description" cols="40" rows="4">', !empty($context['custom_field']['field_desc']) ? $context['custom_field']['field_desc'] : '', '</textarea></dd>
231 231
 							<dt><strong>', $txt['shd_admin_custom_fields_active'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_fields_active_desc'], '</span></dt>
232
-							<dd><input type="checkbox" name="active" id="cf_active"', $context['field_active'],'class="input_check" /></dd>
232
+							<dd><input type="checkbox" name="active" id="cf_active"', $context['field_active'],'></dd>
233 233
 							<dt><strong>', $txt['shd_admin_custom_fields_icon'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_fields_icon_desc'], '</span></dt>
234 234
 							<dd class="nowrap">
235 235
 								<span id="cf_fieldicon_icon"', $context['field_icon_value'] != '' ? ' style="background: url(' . $settings['images_url'] . '/simpledesk/cf/' . $context['field_icon_value'] . ') no-repeat left;"' : '','></span>
... ...
@@ -265,21 +265,21 @@ function template_shd_custom_field_edit()
265 265
 							</dd>
266 266
 							<dt><strong>', $txt['shd_admin_custom_field_can_see'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_field_can_see_desc'], '</span></dt>
267 267
 							<dd>
268
-								<input type="checkbox" name="see_users" class="input_check" ', !empty($context['custom_field']['can_see'][0]) && $context['custom_field']['can_see'][0] == 1 ? 'checked="checked"' : '' ,' onchange="javascript:update_permissions(this.value,\'users\');"/> <img src="', $settings['default_images_url'], '/simpledesk/user.png" class="icon" alt="', $txt['shd_admin_custom_field_users'], '" title="', $txt['shd_admin_custom_field_users'], '"/>
269
-								<input type="checkbox" name="see_staff" class="input_check" ', !empty($context['custom_field']['can_see'][1]) && $context['custom_field']['can_see'][1] == 1 ? 'checked="checked"' : '' ,' onchange="javascript:update_permissions(this.value,\'staff\');"/> <img src="', $settings['default_images_url'], '/simpledesk/staff.png" class="icon" alt="', $txt['shd_admin_custom_field_staff'], '" title="', $txt['shd_admin_custom_field_staff'], '"/>
270
-								<input type="checkbox" name="see_admin" class="input_check" checked="checked" disabled="disabled" /> <img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="', $txt['shd_admin_custom_field_admins'], '" title="', $txt['shd_admin_custom_field_admins'], '" />
268
+								<input type="checkbox" name="see_users"  ', !empty($context['custom_field']['can_see'][0]) && $context['custom_field']['can_see'][0] == 1 ? 'checked="checked"' : '' ,' onchange="javascript:update_permissions(this.value,\'users\');"/> <img src="', $settings['default_images_url'], '/simpledesk/user.png" class="icon" alt="', $txt['shd_admin_custom_field_users'], '" title="', $txt['shd_admin_custom_field_users'], '"/>
269
+								<input type="checkbox" name="see_staff"  ', !empty($context['custom_field']['can_see'][1]) && $context['custom_field']['can_see'][1] == 1 ? 'checked="checked"' : '' ,' onchange="javascript:update_permissions(this.value,\'staff\');"/> <img src="', $settings['default_images_url'], '/simpledesk/staff.png" class="icon" alt="', $txt['shd_admin_custom_field_staff'], '" title="', $txt['shd_admin_custom_field_staff'], '"/>
270
+								<input type="checkbox" name="see_admin"  checked="checked" disabled="disabled"> <img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="', $txt['shd_admin_custom_field_admins'], '" title="', $txt['shd_admin_custom_field_admins'], '">
271 271
 							</dd>
272 272
 							<dt><strong>', $txt['shd_admin_custom_field_can_edit'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_field_can_edit_desc'], '</span></dt>
273 273
 							<dd>
274
-								<input type="checkbox" name="edit_users" id="edit_users" class="input_check" ', !empty($context['custom_field']['can_edit'][0]) && $context['custom_field']['can_edit'][0] == 1 ? 'checked="checked"' : '', ' ', !empty($context['custom_field']['can_see'][0]) && $context['custom_field']['can_see'][0] == 1 ? '"' : 'disabled="disabled"', '/> <img src="', $settings['default_images_url'], '/simpledesk/user.png" class="icon" alt="', $txt['shd_admin_custom_field_users'], '" title="', $txt['shd_admin_custom_field_users'], '"/>
275
-								<input type="checkbox" name="edit_staff" id="edit_staff" class="input_check" ', !empty($context['custom_field']['can_edit'][1]) && $context['custom_field']['can_edit'][1] == 1 ? 'checked="checked"' : '', ' ', !empty($context['custom_field']['can_see'][1]) && $context['custom_field']['can_see'][1] == 1 ? '"' : 'disabled="disabled"', '/> <img src="', $settings['default_images_url'], '/simpledesk/staff.png" class="icon" alt="', $txt['shd_admin_custom_field_staff'], '" title="', $txt['shd_admin_custom_field_staff'], '"/>
276
-								<input type="checkbox" name="edit_admin" class="input_check" checked="checked" disabled="disabled" /> <img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="', $txt['shd_admin_custom_field_admins'], '" title="', $txt['shd_admin_custom_field_admins'], '"/>
274
+								<input type="checkbox" name="edit_users" id="edit_users"  ', !empty($context['custom_field']['can_edit'][0]) && $context['custom_field']['can_edit'][0] == 1 ? 'checked="checked"' : '', ' ', !empty($context['custom_field']['can_see'][0]) && $context['custom_field']['can_see'][0] == 1 ? '"' : 'disabled="disabled"', '/> <img src="', $settings['default_images_url'], '/simpledesk/user.png" class="icon" alt="', $txt['shd_admin_custom_field_users'], '" title="', $txt['shd_admin_custom_field_users'], '"/>
275
+								<input type="checkbox" name="edit_staff" id="edit_staff"  ', !empty($context['custom_field']['can_edit'][1]) && $context['custom_field']['can_edit'][1] == 1 ? 'checked="checked"' : '', ' ', !empty($context['custom_field']['can_see'][1]) && $context['custom_field']['can_see'][1] == 1 ? '"' : 'disabled="disabled"', '/> <img src="', $settings['default_images_url'], '/simpledesk/staff.png" class="icon" alt="', $txt['shd_admin_custom_field_staff'], '" title="', $txt['shd_admin_custom_field_staff'], '"/>
276
+								<input type="checkbox" name="edit_admin"  checked="checked" disabled="disabled"> <img src="', $settings['default_images_url'], '/simpledesk/admin.png" class="icon" alt="', $txt['shd_admin_custom_field_admins'], '" title="', $txt['shd_admin_custom_field_admins'], '"/>
277 277
 							</dd>
278 278
 						</dl>
279 279
 					</div>
280 280
 					<div class="cat_bar">
281 281
 						<h3 class="catbg">
282
-							<img src="', $settings['default_images_url'], '/simpledesk/fieldtype.png" alt="*" />
282
+							<img src="', $settings['default_images_url'], '/simpledesk/fieldtype.png" alt="*">
283 283
 							', $txt['shd_admin_custom_fields_fieldtype'], '
284 284
 						</h3>
285 285
 					</div>
... ...
@@ -302,18 +302,18 @@ function template_shd_custom_field_edit()
302 302
 							</dd>
303 303
 							<dt id="max_length_dt"', in_array($context['field_type_value'], array(CFIELD_TYPE_TEXT, CFIELD_TYPE_LARGETEXT)) ? '' : ' style="display: none;"','><strong>', $txt['shd_admin_custom_field_maxlength'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_field_maxlength_desc'], '</span></dt>
304 304
 							<dd id="max_length_dd"', in_array($context['field_type_value'], array(CFIELD_TYPE_TEXT, CFIELD_TYPE_LARGETEXT)) ? '' : ' style="display: none;"','>
305
-								<input type="text" value="', isset($context['custom_field']['field_length']) ? $context['custom_field']['field_length'] : 255, '" size="7" maxlength="6" name="field_length" id="cf_field_length" />
305
+								<input type="text" value="', isset($context['custom_field']['field_length']) ? $context['custom_field']['field_length'] : 255, '" size="7" maxlength="6" name="field_length" id="cf_field_length">
306 306
 							</dd>
307 307
 							<dt id="dimension_dt"', $context['field_type_value'] == CFIELD_TYPE_LARGETEXT ? '' : ' style="display: none;"','>
308 308
 								<strong>', $txt['shd_admin_custom_field_dimensions'], ':</strong>
309 309
 							</dt>
310 310
 							<dd id="dimension_dd"', $context['field_type_value'] == CFIELD_TYPE_LARGETEXT ? '' : ' style="display: none;"','>
311
-								<strong>', $txt['shd_admin_custom_field_dimensions_rows'], ':</strong> <input type="text" name="rows" value="', !empty($context['custom_field']['dimensions'][0]) ? $context['custom_field']['dimensions'][0] : 4, '" size="5" maxlength="3" class="input_text" />
312
-								<strong>', $txt['shd_admin_custom_field_dimensions_columns'], ':</strong> <input type="text" name="cols" value="', !empty($context['custom_field']['dimensions'][1]) ? $context['custom_field']['dimensions'][1] : 30, '" size="5" maxlength="3" class="input_text" />
311
+								<strong>', $txt['shd_admin_custom_field_dimensions_rows'], ':</strong> <input type="text" name="rows" value="', !empty($context['custom_field']['dimensions'][0]) ? $context['custom_field']['dimensions'][0] : 4, '" size="5" maxlength="3" >
312
+								<strong>', $txt['shd_admin_custom_field_dimensions_columns'], ':</strong> <input type="text" name="cols" value="', !empty($context['custom_field']['dimensions'][1]) ? $context['custom_field']['dimensions'][1] : 30, '" size="5" maxlength="3" >
313 313
 							</dd>
314 314
 							<dt id="bbc_dt"', $context['field_type_value'] == CFIELD_TYPE_TEXT || $context['field_type_value'] == CFIELD_TYPE_LARGETEXT ? '' : ' style="display: none;"','><strong',empty($modSettings['shd_allow_ticket_bbc']) ? ' class="disabled"' : '', '>', $txt['shd_admin_custom_field_bbc'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_field_bbc_note'], '</span><br>', empty($modSettings['shd_allow_ticket_bbc']) ? '<span class="smalltext error">' . sprintf($txt['shd_admin_custom_field_bbc_off'], $scripturl . '?action=admin;area=helpdesk_options;sa=posting'). '</span>' : '', '</dt>
315 315
 							<dd id="bbc_dd"', $context['field_type_value'] == CFIELD_TYPE_TEXT || $context['field_type_value'] == CFIELD_TYPE_LARGETEXT ? '' : ' style="display: none;"','>
316
-								<input type="checkbox" name="bbc" id="cf_bbc"',empty($modSettings['shd_allow_ticket_bbc']) ? ' disabled="disabled"' : (!empty($context['custom_field']['bbc']) ? ' checked="checked"' : ''), ' />
316
+								<input type="checkbox" name="bbc" id="cf_bbc"',empty($modSettings['shd_allow_ticket_bbc']) ? ' disabled="disabled"' : (!empty($context['custom_field']['bbc']) ? ' checked="checked"' : ''), '>
317 317
 							</dd>
318 318
 							<dt id="options_dt"', in_array($context['field_type_value'], array(CFIELD_TYPE_SELECT, CFIELD_TYPE_RADIO, CFIELD_TYPE_MULTI)) ? '' : ' style="display: none;"','>
319 319
 								<strong>', $txt['shd_admin_custom_field_options'], ':</strong>
... ...
@@ -324,7 +324,7 @@ function template_shd_custom_field_edit()
324 324
 								</div>
325 325
 							</dt>
326 326
 							<dd id="options_dd"', in_array($context['field_type_value'], array(CFIELD_TYPE_SELECT, CFIELD_TYPE_RADIO, CFIELD_TYPE_MULTI)) ? '' : ' style="display: none;"','>
327
-								<input type="radio" id="radio_0" name="default_select" value="0"', $context['custom_field']['default_value'] == 0 ? ' checked="checked"' : '', $context['field_type_value'] != CFIELD_TYPE_MULTI ? '' : ' style="display:none;"', ' class="input_radio" /> <span id="radio_text_0"', $context['field_type_value'] != CFIELD_TYPE_MULTI ? '' : ' style="display:none;"', '>', $txt['shd_admin_custom_field_no_selected_default'], '</span>';
327
+								<input type="radio" id="radio_0" name="default_select" value="0"', $context['custom_field']['default_value'] == 0 ? ' checked="checked"' : '', $context['field_type_value'] != CFIELD_TYPE_MULTI ? '' : ' style="display:none;"', ' > <span id="radio_text_0"', $context['field_type_value'] != CFIELD_TYPE_MULTI ? '' : ' style="display:none;"', '>', $txt['shd_admin_custom_field_no_selected_default'], '</span>';
328 328
 
329 329
 	// Convert it to an array for displaying the main doodah
330 330
 	if ($context['field_type_value'] == CFIELD_TYPE_MULTI)
... ...
@@ -337,9 +337,9 @@ function template_shd_custom_field_edit()
337 337
 
338 338
 		echo '
339 339
 								<br>
340
-								<input type="radio" id="radio_', $k, '" name="default_select" value="', $k, '"', $context['field_type_value'] != CFIELD_TYPE_MULTI && $context['custom_field']['default_value'] == $k ? ' checked="checked"' : '', $context['field_type_value'] != CFIELD_TYPE_MULTI ? '' : ' style="display:none;"', ' class="input_radio" />
341
-								<input type="checkbox" id="multi_', $k, '" name="default_select_multi[', $k, ']" value="', $k, '"', $context['field_type_value'] == CFIELD_TYPE_MULTI && in_array($k, $context['custom_field']['default_value']) ? ' checked="checked"' : '', $context['field_type_value'] == CFIELD_TYPE_MULTI ? '' : ' style="display:none;"', ' class="input_check" />
342
-								<input type="text" name="select_option[', $k, ']" value="', $option, '" class="input_text" />';
340
+								<input type="radio" id="radio_', $k, '" name="default_select" value="', $k, '"', $context['field_type_value'] != CFIELD_TYPE_MULTI && $context['custom_field']['default_value'] == $k ? ' checked="checked"' : '', $context['field_type_value'] != CFIELD_TYPE_MULTI ? '' : ' style="display:none;"', ' >
341
+								<input type="checkbox" id="multi_', $k, '" name="default_select_multi[', $k, ']" value="', $k, '"', $context['field_type_value'] == CFIELD_TYPE_MULTI && in_array($k, $context['custom_field']['default_value']) ? ' checked="checked"' : '', $context['field_type_value'] == CFIELD_TYPE_MULTI ? '' : ' style="display:none;"', ' >
342
+								<input type="text" name="select_option[', $k, ']" value="', $option, '" >';
343 343
 	}
344 344
 
345 345
 	echo '
... ...
@@ -350,12 +350,12 @@ function template_shd_custom_field_edit()
350 350
 								<strong>', $txt['shd_admin_custom_field_default_state'], ':</strong>
351 351
 							</dt>
352 352
 							<dd id="default_dd"', $context['field_type_value'] == CFIELD_TYPE_CHECKBOX ? '' : ' style="display: none;"', '>
353
-								<input type="checkbox" name="default_check" class="input_check"',($context['custom_field']['default_value'] == 1 ? ' checked="checked"' : ''), ' onclick="update_default_label(this.checked);" />
353
+								<input type="checkbox" name="default_check" ',($context['custom_field']['default_value'] == 1 ? ' checked="checked"' : ''), ' onclick="update_default_label(this.checked);">
354 354
 								<span class="smalltext" id="default_label">', $txt['shd_admin_default_state_' . ($context['custom_field']['default_value'] == 1 ? 'on' : 'off')], '</span>
355 355
 							</dd>
356 356
 							<dt id="display_empty_dt"><strong>', $txt['shd_admin_custom_field_display_empty'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_field_display_empty_desc'], '</span></dt>
357 357
 							<dd id="display_empty_dd">
358
-								<input type="checkbox" class="input_check"', (!empty($context['custom_field']['display_empty']) && $context['custom_field']['display_empty'] == 1 ? ' checked="checked"' : ''), ' name="display_empty" id="cf_display_empty"', (!empty($context['custom_field']['required']) && $context['custom_field']['required'] == 1 ? ' disabled="disabled"' : ''), '/>
358
+								<input type="checkbox" ', (!empty($context['custom_field']['display_empty']) && $context['custom_field']['display_empty'] == 1 ? ' checked="checked"' : ''), ' name="display_empty" id="cf_display_empty"', (!empty($context['custom_field']['required']) && $context['custom_field']['required'] == 1 ? ' disabled="disabled"' : ''), '/>
359 359
 							</dd>
360 360
 						</dl>
361 361
 					</div>';
... ...
@@ -365,7 +365,7 @@ function template_shd_custom_field_edit()
365 365
 		echo '
366 366
 					<div class="cat_bar">
367 367
 						<h3 class="catbg">
368
-							<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="*" />
368
+							<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="*">
369 369
 							', $txt['shd_admin_custom_field_department'], '
370 370
 						</h3>
371 371
 					</div>
... ...
@@ -375,10 +375,10 @@ function template_shd_custom_field_edit()
375 375
 			echo '
376 376
 							<dt id="required_dt', $id, '"><strong>', $row['dept_name'], '</strong></dt>
377 377
 							<dd id="required_dd', $id, '">
378
-								<span id="present_dept', $id, '_span">', $txt['shd_admin_custom_field_dept_applies'], ': <input type="checkbox" name="present_dept', $id, '" id="present_dept', $id, '" class="input_check"', !empty($row['present']) ? ' checked="checked"' : '', ' onclick="updateDeptHidden(', $id, ');" /></span>
378
+								<span id="present_dept', $id, '_span">', $txt['shd_admin_custom_field_dept_applies'], ': <input type="checkbox" name="present_dept', $id, '" id="present_dept', $id, '" ', !empty($row['present']) ? ' checked="checked"' : '', ' onclick="updateDeptHidden(', $id, ');"></span>
379 379
 								<span id="required_dept', $id, '_span">', $txt['shd_admin_custom_field_dept_required'], ':
380
-									<input type="checkbox" name="required_dept', $id, '" id="required_dept', $id, '" class="input_check"', !empty($row['required']) ? ' checked="checked"' : '', empty($row['present']) ? ' disabled="disabled"' : '', $context['field_type_value'] != CFIELD_TYPE_MULTI ? '' : ' style="display: none;"', ' />
381
-									<input type="text" name="required_dept_multi_', $id, '" id="required_dept_multi_', $id, '" class="input_text" size="3" maxlength="3" value="', $row['required'], '"', empty($row['present']) ? ' disabled="disabled"' : '', $context['field_type_value'] == CFIELD_TYPE_MULTI ? '' : ' style="display: none;"', ' />
380
+									<input type="checkbox" name="required_dept', $id, '" id="required_dept', $id, '" ', !empty($row['required']) ? ' checked="checked"' : '', empty($row['present']) ? ' disabled="disabled"' : '', $context['field_type_value'] != CFIELD_TYPE_MULTI ? '' : ' style="display: none;"', '>
381
+									<input type="text" name="required_dept_multi_', $id, '" id="required_dept_multi_', $id, '"  size="3" maxlength="3" value="', $row['required'], '"', empty($row['present']) ? ' disabled="disabled"' : '', $context['field_type_value'] == CFIELD_TYPE_MULTI ? '' : ' style="display: none;"', '>
382 382
 								</span>
383 383
 							</dd>';
384 384
 
... ...
@@ -389,10 +389,10 @@ function template_shd_custom_field_edit()
389 389
 
390 390
 	echo '
391 391
 					<br>
392
-					<input type="submit" value="', $txt['shd_admin_save_custom_field'], '" accesskey="s" class="button_submit" />
393
-					', !empty($context['new_field']) ? '' : '<input type="submit" value="' .$txt['shd_admin_delete_custom_field'] . '" onclick="return confirm(' . JavaScriptEscape($txt['shd_admin_delete_custom_field_confirm']). ');" name="delete" class="button_submit" />', '
394
-					<input type="submit" value="', $txt['shd_admin_cancel_custom_field'], '" name="cancel" class="button_submit" />
395
-					<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
396
-					<input type="hidden" name="field" value="', empty($context['custom_field']['id_field']) ? 0 : $context['custom_field']['id_field'], '" />
392
+					<input type="submit" value="', $txt['shd_admin_save_custom_field'], '" accesskey="s" class="button">
393
+					', !empty($context['new_field']) ? '' : '<input type="submit" value="' .$txt['shd_admin_delete_custom_field'] . '" onclick="return confirm(' . JavaScriptEscape($txt['shd_admin_delete_custom_field_confirm']). ');" name="delete" class="button">', '
394
+					<input type="submit" value="', $txt['shd_admin_cancel_custom_field'], '" name="cancel" class="button">
395
+					<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
396
+					<input type="hidden" name="field" value="', empty($context['custom_field']['id_field']) ? 0 : $context['custom_field']['id_field'], '">
397 397
 				</form>';
398 398
 }
399 399
\ No newline at end of file
... ...
@@ -84,9 +84,9 @@ function template_shd_departments_home()
84 84
 
85 85
 		echo '
86 86
 				</td>
87
-				<td>', empty($department['is_first']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_depts;sa=move;dept=' . $department['id_dept'] . ';direction=up;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_up.png" alt="' . $txt['shd_admin_move_up'] . '" title="' . $txt['shd_admin_move_up'] . '" /></a>') : '', '</td>
88
-				<td>', empty($department['is_last']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_depts;sa=move;dept=' . $department['id_dept'] . ';direction=down;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_down.png" alt="' . $txt['shd_admin_move_down'] . '" title="' . $txt['shd_admin_move_down'] . '" /></a>') : '', '</td>
89
-				<td><a href="', $scripturl, '?action=admin;area=helpdesk_depts;sa=editdept;dept=', $department['id_dept'], '"><img src="', $settings['default_images_url'], '/simpledesk/edit.png" class="icon" alt="', $txt['shd_edit_dept'],'" title="', $txt['shd_edit_dept'], '" /></a></td>';
87
+				<td>', empty($department['is_first']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_depts;sa=move;dept=' . $department['id_dept'] . ';direction=up;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_up.png" alt="' . $txt['shd_admin_move_up'] . '" title="' . $txt['shd_admin_move_up'] . '"></a>') : '', '</td>
88
+				<td>', empty($department['is_last']) ? ('<a href="' . $scripturl . '?action=admin;area=helpdesk_depts;sa=move;dept=' . $department['id_dept'] . ';direction=down;' . $context['session_var'] . '=' . $context['session_id'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_down.png" alt="' . $txt['shd_admin_move_down'] . '" title="' . $txt['shd_admin_move_down'] . '"></a>') : '', '</td>
89
+				<td><a href="', $scripturl, '?action=admin;area=helpdesk_depts;sa=editdept;dept=', $department['id_dept'], '"><img src="', $settings['default_images_url'], '/simpledesk/edit.png" class="icon" alt="', $txt['shd_edit_dept'],'" title="', $txt['shd_edit_dept'], '"></a></td>';
90 90
 
91 91
 		echo '
92 92
 			</tr>';
... ...
@@ -108,7 +108,7 @@ function template_shd_create_dept()
108 108
 	echo '
109 109
 		<div class="cat_bar">
110 110
 			<h3 class="catbg">
111
-				<img src="', $settings['default_images_url'], '/simpledesk/departments.png" class="icon" alt="*" />
111
+				<img src="', $settings['default_images_url'], '/simpledesk/departments.png" class="icon" alt="*">
112 112
 				', $txt['shd_admin_departments_home'], '
113 113
 			</h3>
114 114
 		</div>
... ...
@@ -117,7 +117,7 @@ function template_shd_create_dept()
117 117
 		</div>
118 118
 		<div class="cat_bar">
119 119
 			<h3 class="catbg">
120
-				<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*" />
120
+				<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*">
121 121
 				', $txt['shd_create_dept'], '
122 122
 			</h3>
123 123
 		</div>
... ...
@@ -125,7 +125,7 @@ function template_shd_create_dept()
125 125
 			<form action="', $scripturl, '?action=admin;area=helpdesk_depts;sa=createdept;part=2" method="post">
126 126
 				<dl class="settings">
127 127
 					<dt><strong>', $txt['shd_new_dept_name'], '</strong></dt>
128
-					<dd><input type="text" name="dept_name" id="dept_name" value="" class="input_text" size="30" /></dd>
128
+					<dd><input type="text" name="dept_name" id="dept_name" value=""  size="30"></dd>
129 129
 					<dt><strong>', $txt['shd_dept_description'], '</strong></dt>
130 130
 					<dd><textarea name="dept_desc" rows="3" cols="35" style="width: 99%"></textarea></dd>
131 131
 					<dt><strong>', $txt['shd_dept_boardindex_cat'], '</strong></dt>
... ...
@@ -147,9 +147,9 @@ function template_shd_create_dept()
147 147
 						</select>
148 148
 					</dd>
149 149
 				</dl>
150
-				<input type="submit" value="', $txt['shd_create_dept'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
151
-				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
152
-				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
150
+				<input type="submit" value="', $txt['shd_create_dept'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
151
+				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
152
+				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">
153 153
 			</form>
154 154
 		</div>';
155 155
 }
... ...
@@ -162,7 +162,7 @@ function template_shd_edit_dept()
162 162
 		<form action="', $scripturl, '?action=admin;area=helpdesk_depts;sa=savedept" method="post">
163 163
 			<div class="cat_bar">
164 164
 				<h3 class="catbg">
165
-					<img src="', $settings['default_images_url'], '/simpledesk/departments.png" class="icon" alt="*" />
165
+					<img src="', $settings['default_images_url'], '/simpledesk/departments.png" class="icon" alt="*">
166 166
 					', $txt['shd_admin_departments_home'], '
167 167
 				</h3>
168 168
 			</div>
... ...
@@ -171,14 +171,14 @@ function template_shd_edit_dept()
171 171
 			</div>
172 172
 			<div class="cat_bar">
173 173
 				<h3 class="catbg">
174
-					<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*" />
174
+					<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*">
175 175
 					', $txt['shd_edit_dept'], '
176 176
 				</h3>
177 177
 			</div>
178 178
 			<div class="roundframe">
179 179
 				<dl class="settings">
180 180
 					<dt><strong>', $txt['shd_department_name'], '</strong></dt>
181
-					<dd><input type="text" name="dept_name" id="dept_name" value="', $context['shd_dept']['dept_name'], '" class="input_text" size="30" /></dd>
181
+					<dd><input type="text" name="dept_name" id="dept_name" value="', $context['shd_dept']['dept_name'], '"  size="30"></dd>
182 182
 					<dt><strong>', $txt['shd_dept_description'], '</strong></dt>
183 183
 					<dd><textarea name="dept_desc" rows="3" cols="35" style="width: 99%">', $context['shd_dept']['description'], '</textarea></dd>
184 184
 					<dt><strong>', $txt['shd_dept_boardindex_cat'], '</strong></dt>
... ...
@@ -205,7 +205,7 @@ function template_shd_edit_dept()
205 205
 	if (empty($context['dept_theme_list']) || count($context['dept_theme_list']) == 1)
206 206
 	{
207 207
 		echo '
208
-						<input type="hidden" name="dept_theme" value="0" />', $txt['shd_dept_theme_use_default'];
208
+						<input type="hidden" name="dept_theme" value="0">', $txt['shd_dept_theme_use_default'];
209 209
 	}
210 210
 	else
211 211
 	{
... ...
@@ -227,14 +227,14 @@ function template_shd_edit_dept()
227 227
 						<div class="smalltext">', $txt['shd_dept_autoclose_days_note'], '</div>
228 228
 					</dt>
229 229
 					<dd>
230
-						<input type="text" name="autoclose_days" id="autoclose_days" value="', $context['shd_dept']['autoclose_days'], '" class="input_text" size="5" /></dd>
230
+						<input type="text" name="autoclose_days" id="autoclose_days" value="', $context['shd_dept']['autoclose_days'], '"  size="5"></dd>
231 231
 					</dd>
232 232
 				</dl>
233 233
 			</div>
234 234
 			<div class="floatleft" style="width: 100%;">
235 235
 				<div class="cat_bar">
236 236
 					<h3 class="catbg">
237
-						<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*" />
237
+						<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*">
238 238
 						', $txt['shd_roles_in_dept'], '
239 239
 					</h3>
240 240
 				</div>
... ...
@@ -254,7 +254,7 @@ function template_shd_edit_dept()
254 254
 			echo '
255 255
 					<tr class="windowbg">
256 256
 						<td><img src="', $settings['default_images_url'], '/simpledesk/', $context['shd_permissions']['roles'][$role['template']]['icon'], '"> <a href="', $scripturl, '?action=admin;area=helpdesk_permissions;sa=editrole;role=', $role['id_role'], '">', $role['role_name'], '</a></td>
257
-						<td><input type="checkbox" class="input_check" name="role', $id_role, '"', !empty($role['in_dept']) ? ' checked="checked"' : '', ' /></td>
257
+						<td><input type="checkbox"  name="role', $id_role, '"', !empty($role['in_dept']) ? ' checked="checked"' : '', '></td>
258 258
 					</tr>';
259 259
 		}
260 260
 	}
... ...
@@ -269,10 +269,10 @@ function template_shd_edit_dept()
269 269
 				<br>
270 270
 			</div>
271 271
 			<div class="floatleft">
272
-				<input type="submit" value="', $txt['shd_edit_dept'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
273
-				<input type="submit" value="', $txt['shd_delete_dept'], '" onclick="return confirm(' . JavaScriptEscape($txt['shd_delete_dept_confirm']) . ');" name="delete" class="button_submit" />
274
-				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
275
-				<input type="hidden" name="dept" value="', $context['shd_dept']['id_dept'], '" />
272
+				<input type="submit" value="', $txt['shd_edit_dept'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
273
+				<input type="submit" value="', $txt['shd_delete_dept'], '" onclick="return confirm(' . JavaScriptEscape($txt['shd_delete_dept_confirm']) . ');" name="delete" class="button">
274
+				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
275
+				<input type="hidden" name="dept" value="', $context['shd_dept']['id_dept'], '">
276 276
 			</div>
277 277
 		</form>';
278 278
 }
279 279
\ No newline at end of file
... ...
@@ -28,7 +28,7 @@ function template_shd_admin_maint_home()
28 28
 		<div class="information">
29 29
 			<form action="', $scripturl, '?action=admin;area=helpdesk_maint;sa=findrepair" method="post">
30 30
 				<p>', $txt['shd_admin_maint_findrepair_desc'], '</p><br>
31
-				<input type="submit" value="', $txt['maintain_run_now'], '" onclick="return submitThisOnce(this);" class="button_submit">
31
+				<input type="submit" value="', $txt['maintain_run_now'], '" onclick="return submitThisOnce(this);" class="button">
32 32
 				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
33 33
 			</form>
34 34
 		</div>';
... ...
@@ -89,22 +89,22 @@ function template_shd_admin_maint_home()
89 89
 						<strong>', $txt['shd_admin_maint_reattribute_posts_made'], '</strong>
90 90
 					</dt>
91 91
 					<dt>
92
-						<label for="type_email"><input type="radio" name="type" id="type_email" value="email" checked="checked" class="input_radio">', $txt['shd_admin_maint_reattribute_posts_email'], '</label>
92
+						<label for="type_email"><input type="radio" name="type" id="type_email" value="email" checked="checked" >', $txt['shd_admin_maint_reattribute_posts_email'], '</label>
93 93
 					</dt>
94 94
 					<dd>
95 95
 						<input type="text" name="from_email" id="from_email" value="" onclick="document.getElementById(\'type_email\').checked = \'checked\'; document.getElementById(\'from_name\').value = \'\'; document.getElementById(\'from_starter\').value = \'\';">
96 96
 					</dd>
97 97
 					<dt>
98
-						<label for="type_name"><input type="radio" name="type" id="type_name" value="name" class="input_radio">', $txt['shd_admin_maint_reattribute_posts_user'], '</label>
98
+						<label for="type_name"><input type="radio" name="type" id="type_name" value="name" >', $txt['shd_admin_maint_reattribute_posts_user'], '</label>
99 99
 					</dt>
100 100
 					<dd>
101
-						<input type="text" name="from_name" id="from_name" value="" onclick="document.getElementById(\'type_name\').checked = \'checked\'; document.getElementById(\'from_email\').value = \'\'; document.getElementById(\'from_starter\').value = \'\';" class="input_text">
101
+						<input type="text" name="from_name" id="from_name" value="" onclick="document.getElementById(\'type_name\').checked = \'checked\'; document.getElementById(\'from_email\').value = \'\'; document.getElementById(\'from_starter\').value = \'\';" >
102 102
 					</dd>
103 103
 					<dt>
104
-						<label for="type_name"><input type="radio" name="type" id="type_starter" value="starter" class="input_radio">', $txt['shd_admin_maint_reattribute_posts_starter'], '</label>
104
+						<label for="type_name"><input type="radio" name="type" id="type_starter" value="starter" >', $txt['shd_admin_maint_reattribute_posts_starter'], '</label>
105 105
 					</dt>
106 106
 					<dd>
107
-						<input type="text" name="from_starter" id="from_starter" value="" onclick="document.getElementById(\'type_starter\').checked = \'checked\'; document.getElementById(\'from_email\').value = \'\'; document.getElementById(\'from_name\').value = \'\';" class="input_text">
107
+						<input type="text" name="from_starter" id="from_starter" value="" onclick="document.getElementById(\'type_starter\').checked = \'checked\'; document.getElementById(\'from_email\').value = \'\'; document.getElementById(\'from_name\').value = \'\';" >
108 108
 					</dd>
109 109
 				</dl>
110 110
 				<dl class="settings">
... ...
@@ -112,10 +112,10 @@ function template_shd_admin_maint_home()
112 112
 						<label for="to"><strong>', $txt['shd_admin_maint_reattribute_posts_to'], '</strong></label>
113 113
 					</dt>
114 114
 					<dd>
115
-						<input type="text" name="to" id="to" value="" class="input_text">
115
+						<input type="text" name="to" id="to" value="" >
116 116
 					</dd>
117 117
 				</dl>
118
-				<input type="submit" id="do_attribute" value="', $txt['shd_admin_maint_reattribute_btn'], '" onclick="if (!checkAttributeValidity()) return false; return confirm(warningMessage);" class="button_submit" />
118
+				<input type="submit" id="do_attribute" value="', $txt['shd_admin_maint_reattribute_btn'], '" onclick="if (!checkAttributeValidity()) return false; return confirm(warningMessage);" class="button">
119 119
 				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
120 120
 			</form>
121 121
 		</div>
... ...
@@ -175,16 +175,16 @@ function template_shd_admin_maint_home()
175 175
 					</select>
176 176
 				</p>
177 177
 				<dl class="settings">
178
-					<dt><input type="checkbox" checked="checked" id="moveopen" name="moveopen" class="input_check" /> <label for="moveopen">', $txt['shd_admin_maint_massdeptmove_open'], '</label></dt>
179
-					<dt><input type="checkbox" checked="checked" id="moveclosed" name="moveclosed" class="input_check" /> <label for="moveclosed">', $txt['shd_admin_maint_massdeptmove_closed'], '</label></dt>
180
-					<dt><input type="checkbox" checked="checked" id="movedeleted" name="movedeleted" class="input_check" /> <label for="movedeleted">', $txt['shd_admin_maint_massdeptmove_deleted'], '</label></dt>
178
+					<dt><input type="checkbox" checked="checked" id="moveopen" name="moveopen" > <label for="moveopen">', $txt['shd_admin_maint_massdeptmove_open'], '</label></dt>
179
+					<dt><input type="checkbox" checked="checked" id="moveclosed" name="moveclosed" > <label for="moveclosed">', $txt['shd_admin_maint_massdeptmove_closed'], '</label></dt>
180
+					<dt><input type="checkbox" checked="checked" id="movedeleted" name="movedeleted" > <label for="movedeleted">', $txt['shd_admin_maint_massdeptmove_deleted'], '</label></dt>
181 181
 				</dl>
182 182
 				<br>
183 183
 				<dl class="settings">
184
-					<dt><input type="checkbox" id="movelast_less" name="movelast_less" class="input_check" /> ', sprintf($txt['shd_admin_maint_massdeptmove_lastupd_less'], '<input type="text" name="movelast_less_days" value="30" size="3" />'), '</dt>
185
-					<dt><input type="checkbox" id="movelast_more" name="movelast_more" class="input_check" /> ', sprintf($txt['shd_admin_maint_massdeptmove_lastupd_more'], '<input type="text" name="movelast_more_days" value="30" size="3" />'), '</dt>
184
+					<dt><input type="checkbox" id="movelast_less" name="movelast_less" > ', sprintf($txt['shd_admin_maint_massdeptmove_lastupd_less'], '<input type="text" name="movelast_less_days" value="30" size="3">'), '</dt>
185
+					<dt><input type="checkbox" id="movelast_more" name="movelast_more" > ', sprintf($txt['shd_admin_maint_massdeptmove_lastupd_more'], '<input type="text" name="movelast_more_days" value="30" size="3">'), '</dt>
186 186
 				</dl>
187
-				<input type="submit" value="', $txt['shd_admin_maint_massdeptmove'], '" onclick="return submitThisOnce(this);" class="button_submit">
187
+				<input type="submit" value="', $txt['shd_admin_maint_massdeptmove'], '" onclick="return submitThisOnce(this);" class="button">
188 188
 				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
189 189
 			</form>
190 190
 		</div>';
... ...
@@ -291,8 +291,8 @@ function template_shd_admin_maint_search()
291 291
 		<div class="information">
292 292
 			<form action="', $scripturl, '?action=admin;area=helpdesk_maint;sa=search" method="post">
293 293
 				<p>', $txt['shd_maint_rebuild_index_desc'], '</p>
294
-				<input type="submit" name="rebuild" value="', $txt['maintain_run_now'], '" onclick="return submitThisOnce(this);" class="button_submit">
295
-				<input type="hidden" name="start" value="0" />
294
+				<input type="submit" name="rebuild" value="', $txt['maintain_run_now'], '" onclick="return submitThisOnce(this);" class="button">
295
+				<input type="hidden" name="start" value="0">
296 296
 				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
297 297
 			</form>
298 298
 		</div>
... ...
@@ -310,20 +310,20 @@ function template_shd_admin_maint_search()
310 310
 						', $txt['shd_search_min_size'], '
311 311
 					</dt>
312 312
 					<dd>
313
-						<input type="text" class="input_text" name="shd_search_min_size" size="4" value="', $modSettings['shd_search_min_size'], '" />
313
+						<input type="text"  name="shd_search_min_size" size="4" value="', $modSettings['shd_search_min_size'], '">
314 314
 					</dd>
315 315
 					<dt>
316 316
 						', $txt['shd_search_max_size'], '
317 317
 					</dt>
318 318
 					<dd>
319
-						<input type="text" class="input_text" name="shd_search_max_size" size="4" value="', $modSettings['shd_search_max_size'], '" />
319
+						<input type="text"  name="shd_search_max_size" size="4" value="', $modSettings['shd_search_max_size'], '">
320 320
 					</dd>
321 321
 					<dt>
322 322
 						<a id="setting_shd_search_prefix_size" href="', $scripturl, '?action=helpadmin;help=shd_search_prefix_size_help" onclick="return reqWin(this.href);" class="help"><img src="', $settings['images_url'], '/helptopics.png" class="icon" alt="?"></a>
323 323
 						<span>', $txt['shd_search_prefix_size'], '</span>
324 324
 					</dt>
325 325
 					<dd>
326
-						<input type="text" class="input_text" name="shd_search_prefix_size" size="4" value="', $modSettings['shd_search_prefix_size'], '" />
326
+						<input type="text"  name="shd_search_prefix_size" size="4" value="', $modSettings['shd_search_prefix_size'], '">
327 327
 					</dd>
328 328
 					<dt>
329 329
 						', $txt['shd_search_charset'], '
... ...
@@ -332,7 +332,7 @@ function template_shd_admin_maint_search()
332 332
 						<textarea name="shd_search_charset" rows="3" cols="35" style="width: 99%;">', htmlspecialchars($modSettings['shd_search_charset']), '</textarea>
333 333
 					</dd>
334 334
 				</dl>
335
-				<input type="submit" name="save" value="', $txt['save'], '" class="button_submit" />
335
+				<input type="submit" name="save" value="', $txt['save'], '" class="button">
336 336
 				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
337 337
 			</form>
338 338
 		</div>';
... ...
@@ -20,7 +20,7 @@ function template_shd_permissions_home()
20 20
 	echo '
21 21
 		<div class="cat_bar">
22 22
 			<h3 class="catbg">
23
-				<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*" />
23
+				<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*">
24 24
 				', $txt['shd_admin_permissions'], '
25 25
 			</h3>
26 26
 		</div>
... ...
@@ -29,7 +29,7 @@ function template_shd_permissions_home()
29 29
 		</div>
30 30
 		<div class="title_bar">
31 31
 			<h3 class="titlebg">
32
-				<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*" />
32
+				<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*">
33 33
 				', $txt['shd_role_templates'], '
34 34
 			</h3>
35 35
 		</div>
... ...
@@ -46,7 +46,7 @@ function template_shd_permissions_home()
46 46
 	{
47 47
 		echo '
48 48
 			<tr class="windowbg">
49
-				<td>', !empty($role_details['icon']) ? ('<img src="' . $settings['default_images_url'] . '/simpledesk/' . $role_details['icon'] . '" alt="" />') : '', '</td>
49
+				<td>', !empty($role_details['icon']) ? ('<img src="' . $settings['default_images_url'] . '/simpledesk/' . $role_details['icon'] . '" alt="">') : '', '</td>
50 50
 				<td>
51 51
 					', $txt[$role_details['description']], '
52 52
 					<div class="smalltext">[<a href="', $scripturl, '?action=admin;area=helpdesk_permissions;sa=createrole;template=', $role_id, '">', $txt['shd_create_role'], '</a>]</div>
... ...
@@ -59,7 +59,7 @@ function template_shd_permissions_home()
59 59
 		</table>
60 60
 		<div class="title_bar">
61 61
 			<h3 class="titlebg">
62
-				<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*" />
62
+				<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*">
63 63
 				', $txt['shd_roles'], '
64 64
 			</h3>
65 65
 		</div>
... ...
@@ -87,7 +87,7 @@ function template_shd_permissions_home()
87 87
 		{
88 88
 			echo '
89 89
 			<tr class="windowbg">
90
-				<td>', !empty($role_details['template_icon']) ? ('<img src="' . $settings['default_images_url'] . '/simpledesk/' . $role_details['template_icon'] . '" alt="" title="' . sprintf($txt['shd_based_on'], $role_details['template_name']) . '" />') : '', '</td>
90
+				<td>', !empty($role_details['template_icon']) ? ('<img src="' . $settings['default_images_url'] . '/simpledesk/' . $role_details['template_icon'] . '" alt="" title="' . sprintf($txt['shd_based_on'], $role_details['template_name']) . '">') : '', '</td>
91 91
 				<td>
92 92
 					', $role_details['name'], '
93 93
 					<div class="smalltext">
... ...
@@ -167,7 +167,7 @@ function template_shd_display_permission_list($permissions)
167 167
 		}
168 168
 
169 169
 		if (!empty($permtitle))
170
-			$permission_set[$group][] = '<img src="' . shd_image_url($icon) . '" alt="" title="' . $permtitle . '" />';
170
+			$permission_set[$group][] = '<img src="' . shd_image_url($icon) . '" alt="" title="' . $permtitle . '">';
171 171
 	}
172 172
 
173 173
 	foreach ($context['shd_permissions']['group_display'] as $cell => $rows)
... ...
@@ -197,7 +197,7 @@ function template_shd_create_role()
197 197
 	echo '
198 198
 		<div class="cat_bar">
199 199
 			<h3 class="catbg">
200
-				<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*" />
200
+				<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*">
201 201
 				', $txt['shd_admin_permissions'], '
202 202
 			</h3>
203 203
 		</div>
... ...
@@ -206,7 +206,7 @@ function template_shd_create_role()
206 206
 		</div>
207 207
 		<div class="cat_bar">
208 208
 			<h3 class="catbg">
209
-				<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*" />
209
+				<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*">
210 210
 				', $txt['shd_create_role'], '
211 211
 			</h3>
212 212
 		</div>
... ...
@@ -215,16 +215,16 @@ function template_shd_create_role()
215 215
 				<dl class="settings">
216 216
 					<dt><strong>', $txt['shd_create_based_on'], ':</strong></dt>
217 217
 					<dd>
218
-						<img alt="*" src="', $settings['default_images_url'], '/simpledesk/', $context['shd_permissions']['roles'][$_REQUEST['template']]['icon'], '" />
218
+						<img alt="*" src="', $settings['default_images_url'], '/simpledesk/', $context['shd_permissions']['roles'][$_REQUEST['template']]['icon'], '">
219 219
 						', $txt[$context['shd_permissions']['roles'][$_REQUEST['template']]['description']], '
220 220
 					</dd>
221 221
 					<dt><strong>', $txt['shd_create_name'], '</strong></dt>
222
-					<dd><input type="text" name="rolename" id="rolename" value="" class="input_text" size="30" /></dd>
222
+					<dd><input type="text" name="rolename" id="rolename" value=""  size="30"></dd>
223 223
 				</dl>
224
-				<input type="submit" value="', $txt['shd_create_role'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
225
-				<input type="hidden" name="template" value="', $_REQUEST['template'], '" />
226
-				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
227
-				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
224
+				<input type="submit" value="', $txt['shd_create_role'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
225
+				<input type="hidden" name="template" value="', $_REQUEST['template'], '">
226
+				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
227
+				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">
228 228
 			</form>
229 229
 		</div>';
230 230
 }
... ...
@@ -245,7 +245,7 @@ function template_shd_edit_role()
245 245
 	echo '
246 246
 		<div class="cat_bar">
247 247
 			<h3 class="catbg">
248
-				<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*" />
248
+				<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*">
249 249
 				', $txt['shd_admin_permissions'], '
250 250
 			</h3>
251 251
 		</div>
... ...
@@ -297,7 +297,7 @@ function template_shd_edit_role()
297 297
 		<form action="', $scripturl, '?action=admin;area=helpdesk_permissions;sa=saverole" method="post">
298 298
 			<div class="cat_bar cat_collapsed">
299 299
 				<h3 class="catbg">
300
-					<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*" />
300
+					<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*">
301 301
 					', $txt['shd_edit_role'], '
302 302
 				</h3>
303 303
 			</div>
... ...
@@ -305,11 +305,11 @@ function template_shd_edit_role()
305 305
 				<dl class="settings">
306 306
 					<dt><strong>', $txt['shd_is_based_on'], ':</strong></dt>
307 307
 					<dd>
308
-						<img alt="*" src="', $settings['default_images_url'], '/simpledesk/', $role['template_icon'], '" />
308
+						<img alt="*" src="', $settings['default_images_url'], '/simpledesk/', $role['template_icon'], '">
309 309
 						', $role['template_name'], '
310 310
 					</dd>
311 311
 					<dt><strong>', $txt['shd_role_name'], ':</strong></dt>
312
-					<dd><input type="text" name="rolename" id="rolename" value="', $role['name'], '" class="input_text" size="30" /></dd>
312
+					<dd><input type="text" name="rolename" id="rolename" value="', $role['name'], '"  size="30"></dd>
313 313
 				</dl>
314 314
 			</div>';
315 315
 
... ...
@@ -340,10 +340,10 @@ function template_shd_edit_role()
340 340
 					<h3 class="catbg">
341 341
 						<span class="floatright">
342 342
 							<a class="permcollapse" href="#" onclick="shd_toggleblock(\'', $rowitem, '\'); return false;">
343
-								<img src="', $settings['images_url'], '/selected_open.png" id="permexpandicon_', $rowitem, '" style="display:none;" />
343
+								<img src="', $settings['images_url'], '/selected_open.png" id="permexpandicon_', $rowitem, '" style="display:none;">
344 344
 							</a>
345 345
 						</span>
346
-						<img src="', $settings['default_images_url'], '/simpledesk/', $rowicon, '" alt="*" />
346
+						<img src="', $settings['default_images_url'], '/simpledesk/', $rowicon, '" alt="*">
347 347
 						<a href="#" onclick="shd_toggleblock(\'', $rowitem, '\'); return false;">', $txt['shd_permgroup_' . $rowitem], '</a>
348 348
 					</h3>
349 349
 				</div>
... ...
@@ -373,7 +373,7 @@ function template_shd_edit_role()
373 373
 				}
374 374
 
375 375
 				echo '
376
-						<dt', (empty($txt['permissionhelp_' . $permission]) ? '' : ' title="' . $txt['permissionhelp_' . $permission] . '"') . '><img src="', shd_image_url($icon), '" alt="*" />', $txt['permissionname_' . $permission], '</dt>
376
+						<dt', (empty($txt['permissionhelp_' . $permission]) ? '' : ' title="' . $txt['permissionhelp_' . $permission] . '"') . '><img src="', shd_image_url($icon), '" alt="*">', $txt['permissionname_' . $permission], '</dt>
377 377
 						<dd>
378 378
 							<span id="perm_', $permission, '_icon" class="', $perm_class, '"></span>
379 379
 							<select name="perm_', $permission, '" id="perm_', $permission, '" onchange="javascript:shd_chicon(this);">
... ...
@@ -428,7 +428,7 @@ function template_shd_edit_role()
428 428
 		<div class="floatleft" style="width: 100%;">
429 429
 			<div class="cat_bar">
430 430
 				<h3 class="catbg">
431
-					<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*" />
431
+					<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*">
432 432
 					', $txt['shd_role_membergroups'], '
433 433
 				</h3>
434 434
 			</div>
... ...
@@ -453,12 +453,12 @@ function template_shd_edit_role()
453 453
 		{
454 454
 			$icons = explode('#', $group['icons']);
455 455
 			if (!empty($icons[0]) && !empty($icons[1]))
456
-				echo str_repeat('<img src="' . $settings['images_url'] . '/membericons/' . $icons[1] . '" alt="" />', $icons[0]);
456
+				echo str_repeat('<img src="' . $settings['images_url'] . '/membericons/' . $icons[1] . '" alt="">', $icons[0]);
457 457
 		}
458 458
 
459 459
 		echo '
460 460
 					</td>
461
-					<td><input type="checkbox" class="input_check" name="group', $id_group, '"', (in_array($id_group, $context['role_groups']) ? ' checked="checked"' : ''), ' /></td>
461
+					<td><input type="checkbox"  name="group', $id_group, '"', (in_array($id_group, $context['role_groups']) ? ' checked="checked"' : ''), '></td>
462 462
 				</tr>
463 463
 			</div>';
464 464
 	}
... ...
@@ -468,7 +468,7 @@ function template_shd_edit_role()
468 468
 			<div class="floatleft" style="width: 100%;">
469 469
 				<div class="cat_bar">
470 470
 					<h3 class="catbg">
471
-						<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="*" />
471
+						<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="*">
472 472
 						', $txt['shd_role_departments'], '
473 473
 					</h3>
474 474
 				</div>
... ...
@@ -486,17 +486,17 @@ function template_shd_edit_role()
486 486
 		echo '
487 487
 					<tr class="windowbg">
488 488
 						<td>', $dept['dept_name'], '</td>
489
-						<td><input type="checkbox" class="input_check" name="dept', $id_dept, '"', !empty($dept['is_role']) ? ' checked="checked"' : '', ' /></td>
489
+						<td><input type="checkbox"  name="dept', $id_dept, '"', !empty($dept['is_role']) ? ' checked="checked"' : '', '></td>
490 490
 					</tr>';
491 491
 	}
492 492
 
493 493
 	echo '
494 494
 				</table>
495 495
 			</div>
496
-			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
497
-			<input type="hidden" name="role" value="', $_REQUEST['role'], '" />
498
-			<input type="submit" value="', $txt['shd_edit_role'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
499
-			<input type="submit" value="', $txt['shd_delete_role'], '" onclick="return confirm(' . JavaScriptEscape($txt['shd_delete_role_confirm']) . ');" name="delete" class="button_submit" />
496
+			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
497
+			<input type="hidden" name="role" value="', $_REQUEST['role'], '">
498
+			<input type="submit" value="', $txt['shd_edit_role'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
499
+			<input type="submit" value="', $txt['shd_delete_role'], '" onclick="return confirm(' . JavaScriptEscape($txt['shd_delete_role_confirm']) . ');" name="delete" class="button">
500 500
 		</form>';
501 501
 }
502 502
 
... ...
@@ -512,7 +512,7 @@ function template_shd_copy_role()
512 512
 	echo '
513 513
 		<div class="cat_bar">
514 514
 			<h3 class="catbg">
515
-				<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*" />
515
+				<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*">
516 516
 				', $txt['shd_admin_permissions'], '
517 517
 			</h3>
518 518
 		</div>
... ...
@@ -521,7 +521,7 @@ function template_shd_copy_role()
521 521
 		</div>
522 522
 		<div class="cat_bar">
523 523
 			<h3 class="catbg">
524
-				<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*" />
524
+				<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*">
525 525
 				', $txt['shd_copy_role'], '
526 526
 			</h3>
527 527
 		</div>
... ...
@@ -530,18 +530,18 @@ function template_shd_copy_role()
530 530
 				<dl class="settings">
531 531
 					<dt><strong>', $txt['shd_create_based_on'], ':</strong></dt>
532 532
 					<dd>
533
-						<img alt="*" src="', $settings['default_images_url'], '/simpledesk/', $context['shd_permissions']['user_defined_roles'][$_REQUEST['role']]['template_icon'], '" />
533
+						<img alt="*" src="', $settings['default_images_url'], '/simpledesk/', $context['shd_permissions']['user_defined_roles'][$_REQUEST['role']]['template_icon'], '">
534 534
 						', $context['shd_permissions']['user_defined_roles'][$_REQUEST['role']]['name'], '
535 535
 					</dd>
536 536
 					<dt><strong>', $txt['shd_create_name'], '</strong></dt>
537
-					<dd><input type="text" name="rolename" id="rolename" value="" class="input_text" size="30" /></dd>
537
+					<dd><input type="text" name="rolename" id="rolename" value=""  size="30"></dd>
538 538
 					<dt><strong>', $txt['shd_copy_role_groups'], '</strong></dt>
539
-					<dd><input type="checkbox" name="copygroups" id="copygroups" value="1" class="input_check" /></dd>
539
+					<dd><input type="checkbox" name="copygroups" id="copygroups" value="1" ></dd>
540 540
 				</dl>
541
-				<input type="submit" value="', $txt['shd_copy_role'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
542
-				<input type="hidden" name="role" value="', $_REQUEST['role'], '" />
543
-				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
544
-				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
541
+				<input type="submit" value="', $txt['shd_copy_role'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
542
+				<input type="hidden" name="role" value="', $_REQUEST['role'], '">
543
+				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
544
+				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">
545 545
 			</form>
546 546
 		</div>';
547 547
 }
548 548
\ No newline at end of file
... ...
@@ -40,7 +40,7 @@ function template_shd_plugin_listing()
40 40
 		<form action="', $scripturl, '?action=admin;area=helpdesk_plugins;save;" method="post" accept-charset="', $context['character_set'], '">
41 41
 			<div class="cat_bar">
42 42
 				<h3 class="catbg">
43
-					<img src="', $settings['default_images_url'], '/simpledesk/plugins.png" class="icon" alt="*" />
43
+					<img src="', $settings['default_images_url'], '/simpledesk/plugins.png" class="icon" alt="*">
44 44
 					', $txt['shd_admin_plugins'], '
45 45
 				</h3>
46 46
 			</div>
... ...
@@ -58,7 +58,7 @@ function template_shd_plugin_listing()
58 58
 			echo '
59 59
 					<div class="features_switch" id="js_feature_', $id, '" style="display: none;">
60 60
 						<a href="', $scripturl, '?action=admin;area=helpdesk_plugins;save;', $context['session_var'], '=', $context['session_id'], ';toggle=', $id, ';state=', $plugin['enabled'] ? 0 : 1, '" onclick="return toggleItem(\'', $id, '\', \'', $settings['images_url'], '\', \'', $txt['shd_admin_plugins_on'], '\',  \'', $txt['shd_admin_plugins_off'], '\');">
61
-							<input type="hidden" name="feature_', $id, '" id="feature_', $id, '" value="', $plugin['enabled'] ? 1 : 0, '" /><img src="', $settings['images_url'], '/simpledesk/switch_', $plugin['enabled'] ? 'on' : 'off', '.png" id="switch_', $id, '" style="margin-top: 1.3em;" alt="', $txt['shd_admin_plugins_' . ($plugin['enabled'] ? 'off' : 'on')], '" title="', $txt['shd_admin_plugins_' . ($plugin['enabled'] ? 'off' : 'on')], '" />
61
+							<input type="hidden" name="feature_', $id, '" id="feature_', $id, '" value="', $plugin['enabled'] ? 1 : 0, '"><img src="', $settings['images_url'], '/simpledesk/switch_', $plugin['enabled'] ? 'on' : 'off', '.png" id="switch_', $id, '" style="margin-top: 1.3em;" alt="', $txt['shd_admin_plugins_' . ($plugin['enabled'] ? 'off' : 'on')], '" title="', $txt['shd_admin_plugins_' . ($plugin['enabled'] ? 'off' : 'on')], '">
62 62
 						</a>
63 63
 					</div>';
64 64
 		else
... ...
@@ -81,7 +81,7 @@ function template_shd_plugin_listing()
81 81
 			{
82 82
 				if (!empty($txt['shd_admin_plugins_lang_' . $language]))
83 83
 					echo '
84
-						<img src="', $settings['default_images_url'], '/simpledesk/flags/', $language, '.png" alt="', $txt['shd_admin_plugins_lang_' . $language], '" title="', $txt['shd_admin_plugins_lang_' . $language], '" />';
84
+						<img src="', $settings['default_images_url'], '/simpledesk/flags/', $language, '.png" alt="', $txt['shd_admin_plugins_lang_' . $language], '" title="', $txt['shd_admin_plugins_lang_' . $language], '">';
85 85
 			}
86 86
 			echo '
87 87
 					</div>';
... ...
@@ -100,8 +100,8 @@ function template_shd_plugin_listing()
100 100
 		if (!empty($plugin['installable']))
101 101
 			echo '
102 102
 					<div id="plain_feature_', $id, '">
103
-						<label for="plain_feature_', $id, '_radio_on"><input type="radio" name="feature_plain_', $id, '" id="plain_feature_', $id, '_radio_on" value="1"', $plugin['enabled'] ? ' checked="checked"' : '', ' class="input_radio" />', $txt['shd_admin_plugins_enabled'], '</label>
104
-						<label for="plain_feature_', $id, '_radio_off"><input type="radio" name="feature_plain_', $id, '" id="plain_feature_', $id, '_radio_off" value="0"', !$plugin['enabled'] ? ' checked="checked"' : '', ' class="input_radio" />', $txt['shd_admin_plugins_disabled'], '</label>
103
+						<label for="plain_feature_', $id, '_radio_on"><input type="radio" name="feature_plain_', $id, '" id="plain_feature_', $id, '_radio_on" value="1"', $plugin['enabled'] ? ' checked="checked"' : '', ' >', $txt['shd_admin_plugins_enabled'], '</label>
104
+						<label for="plain_feature_', $id, '_radio_off"><input type="radio" name="feature_plain_', $id, '" id="plain_feature_', $id, '_radio_off" value="0"', !$plugin['enabled'] ? ' checked="checked"' : '', ' >', $txt['shd_admin_plugins_disabled'], '</label>
105 105
 					</div>';
106 106
 
107 107
 		echo '
... ...
@@ -110,9 +110,9 @@ function template_shd_plugin_listing()
110 110
 	}
111 111
 
112 112
 	echo '
113
-			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
114
-			<input type="hidden" value="0" name="js_worked" id="js_worked" />
115
-			<input type="submit" value="', $txt['save'], '" name="save" class="button_submit" />
113
+			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
114
+			<input type="hidden" value="0" name="js_worked" id="js_worked">
115
+			<input type="submit" value="', $txt['save'], '" name="save" class="button">
116 116
 		</form>
117 117
 	</div>
118 118
 	<script type="text/javascript"><!-- // --><![CDATA[
... ...
@@ -31,7 +31,7 @@ function template_assign()
31 31
 	echo '
32 32
 	<div class="cat_bar">
33 33
 		<h3 class="catbg">
34
-			<img src="', $settings['default_images_url'], '/simpledesk/assign.png" alt="*" />
34
+			<img src="', $settings['default_images_url'], '/simpledesk/assign.png" alt="*">
35 35
 			', $txt['shd_ticket_assign_ticket'], '
36 36
 		</h3>
37 37
 	</div>
... ...
@@ -58,13 +58,13 @@ function template_assign()
58 58
 					</select>
59 59
 				</dd>
60 60
 			</dl>
61
-			<input type="submit" name="cancel" value="', ($context['shd_return_to'] == 'home' ? $txt['shd_cancel_home'] : $txt['shd_cancel_ticket']), '" accesskey="c" class="button_submit" />
62
-			<input type="submit" value="', $txt['shd_ticket_assign_ticket'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
63
-			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />';
61
+			<input type="submit" name="cancel" value="', ($context['shd_return_to'] == 'home' ? $txt['shd_cancel_home'] : $txt['shd_cancel_ticket']), '" accesskey="c" class="button">
62
+			<input type="submit" value="', $txt['shd_ticket_assign_ticket'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
63
+			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">';
64 64
 
65 65
 	if ($context['shd_return_to'] == 'home')
66 66
 		echo '
67
-			<input type="hidden" name="home" value="1" />';
67
+			<input type="hidden" name="home" value="1">';
68 68
 
69 69
 	echo '
70 70
 		</form>
... ...
@@ -44,19 +44,19 @@ function template_viewticket()
44 44
 		foreach ($context['ticket_navigation'] as $button)
45 45
 			if (!empty($button['display']))
46 46
 				echo '
47
-					<a href="', $button['url'], '"', (!empty($button['is_last']) ? ' id="last"' : ''), '', (!empty($button['onclick']) ? ' onclick="' . $button['onclick'] . '"' : ''), '><img src="', $settings['default_images_url'], '/simpledesk/', $button['icon'], '.png" alt="', $button['alt'], '" title="', $txt[$button['text']], '" /> ', $txt[$button['text']], '</a>';
47
+					<a href="', $button['url'], '"', (!empty($button['is_last']) ? ' id="last"' : ''), '', (!empty($button['onclick']) ? ' onclick="' . $button['onclick'] . '"' : ''), '><img src="', $settings['default_images_url'], '/simpledesk/', $button['icon'], '.png" alt="', $button['alt'], '" title="', $txt[$button['text']], '"> ', $txt[$button['text']], '</a>';
48 48
 	}
49 49
 	elseif ($modSettings['shd_ticketnav_style'] == 'sdcompact')
50 50
 	{
51 51
 		foreach ($context['ticket_navigation'] as $button)
52 52
 			if (!empty($button['display']))
53 53
 				echo '
54
-					<a href="', $button['url'], '"', (!empty($button['is_last']) ? ' id="last"' : ''), '', (!empty($button['onclick']) ? ' onclick="' . $button['onclick'] . '"' : ''), '><img src="', $settings['default_images_url'], '/simpledesk/', $button['icon'], '.png" alt="', $button['alt'], '" title="', $txt[$button['text']], '" /></a>';
54
+					<a href="', $button['url'], '"', (!empty($button['is_last']) ? ' id="last"' : ''), '', (!empty($button['onclick']) ? ' onclick="' . $button['onclick'] . '"' : ''), '><img src="', $settings['default_images_url'], '/simpledesk/', $button['icon'], '.png" alt="', $button['alt'], '" title="', $txt[$button['text']], '"></a>';
55 55
 	}
56 56
 
57 57
 	echo '
58 58
 				</span>
59
-				<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" alt="x" /> ', $txt['shd_ticket'], ' [', $context['ticket']['display_id'], ']
59
+				<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" alt="x"> ', $txt['shd_ticket'], ' [', $context['ticket']['display_id'], ']
60 60
 			</h3>
61 61
 		</div>
62 62
 		<div class="windowbg noup">
... ...
@@ -65,7 +65,7 @@ function template_viewticket()
65 65
 			// General ticket details
66 66
 			echo '
67 67
 				<div class="shd_ticketdetails">
68
-					<strong><img src="', $settings['default_images_url'], '/simpledesk/details.png" alt="" class="shd_smallicon shd_icon_minihead" /> ', $txt['shd_ticket_details'], '</strong>
68
+					<strong><img src="', $settings['default_images_url'], '/simpledesk/details.png" alt="" class="shd_smallicon shd_icon_minihead"> ', $txt['shd_ticket_details'], '</strong>
69 69
 					<hr>
70 70
 					<dl class="stats nobb">
71 71
 						<dt><span class="generic_icons inbox" title="', $txt['shd_ticket_id'], '"></span> ', $txt['shd_ticket_id'], ':</dt>
... ...
@@ -74,29 +74,29 @@ function template_viewticket()
74 74
 						<dd>', $context['ticket']['member']['link'], '</dd>
75 75
 						<dt><span class="generic_icons calendar" title="', $txt['shd_ticket_date'], '"></span> ', $txt['shd_ticket_date'], ':</dt>
76 76
 						<dd>', $context['ticket']['poster_time'], '</dd>
77
-						<dt><img src="', $settings['default_images_url'], '/simpledesk/urgency.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_urgency'], ':</dt>
77
+						<dt><img src="', $settings['default_images_url'], '/simpledesk/urgency.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_urgency'], ':</dt>
78 78
 						<dd id="item_urgency"><span id="urgency">', $context['ticket']['urgency']['label'], '</span>
79 79
 							<span id="urgency_increase">', (!empty($context['ticket']['urgency']['increase']) ? '<a id="urglink_increase" href="' . $scripturl . '?action=helpdesk;sa=urgencychange;ticket=' . $context['ticket']['id'] . ';change=increase;' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_urgency_increase'] . '"><span class="generic_icons urgency_increase" title="' . $txt['shd_urgency_increase'] . '"></span></a>' : ''), '</span>
80 80
 							<span id="urgency_decrease">', (!empty($context['ticket']['urgency']['decrease']) ? '<a id="urglink_decrease" href="' . $scripturl . '?action=helpdesk;sa=urgencychange;ticket=' . $context['ticket']['id'] . ';change=decrease;' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_urgency_decrease'] . '"><span class="generic_icons urgency_decrease" title="' . $txt['shd_urgency_decrease'] . '"></span></a>' : ''), '</span>
81 81
 						</dd>
82
-						<dt><img src="', $settings['default_images_url'], '/simpledesk/staff.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_assignedto'], ':</dt>
82
+						<dt><img src="', $settings['default_images_url'], '/simpledesk/staff.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_assignedto'], ':</dt>
83 83
 						<dd><span id="assigned_to">', $context['ticket']['assigned']['link'], '</span><span id="assigned_button"></span></dd>
84 84
 						<dt class="full_width">
85 85
 							<ul id="assigned_list" style="display:none;"></ul>
86 86
 						</dt>
87 87
 						<dt><img src="', $settings['default_images_url'], '/simpledesk/status.png" alt="" class="shd_smallicon"/> ', $txt['shd_ticket_status'], ':</dt>
88 88
 						<dd>', $context['ticket']['status']['label'], '</dd>
89
-						<dt><img src="', $settings['default_images_url'], '/simpledesk/replies.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_num_replies'], ':</dt>
89
+						<dt><img src="', $settings['default_images_url'], '/simpledesk/replies.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_num_replies'], ':</dt>
90 90
 						<dd><a href="#replies">', (empty($context['ticket']['display_recycle']) ? $context['ticket']['num_replies'] : (int) $context['ticket']['num_replies'] + (int) $context['ticket']['deleted_replies']), '</a></dd>';
91 91
 
92 92
 				if (!empty($context['display_private']))
93 93
 					echo '
94
-						<dt><img src="', $settings['default_images_url'], '/simpledesk/private.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_privacy'], ':</dt>
94
+						<dt><img src="', $settings['default_images_url'], '/simpledesk/private.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_privacy'], ':</dt>
95 95
 						<dd><span id="privacy">', $context['ticket']['privacy']['label'], '</span>', ($context['ticket']['privacy']['can_change'] ? ' (<a id="privlink" href="' . $scripturl . '?action=helpdesk;sa=privacychange;ticket=' . $context['ticket']['id'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '">' . $txt['shd_ticket_change'] . '</a>)' : ''), '</dd>';
96 96
 
97 97
 				if (!empty($context['ticket']['ip_address']))
98 98
 					echo '
99
-						<dt><img src="', $settings['default_images_url'], '/simpledesk/ip.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_ip'], ':</dt>
99
+						<dt><img src="', $settings['default_images_url'], '/simpledesk/ip.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_ip'], ':</dt>
100 100
 						<dd>', $context['ticket']['ip_address'], '</dd>';
101 101
 
102 102
 				echo '
... ...
@@ -129,7 +129,7 @@ function template_viewticket()
129 129
 							echo '
130 130
 								<li>
131 131
 									<dl>
132
-										<dt>', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" class="shd_smallicon" />' : '', ' ', $field['name'],':</dt>
132
+										<dt>', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" class="shd_smallicon">' : '', ' ', $field['name'],':</dt>
133 133
 										<dd>';
134 134
 
135 135
 							if (empty($field['value']) && $field['display_empty'])
... ...
@@ -179,7 +179,7 @@ function template_viewticket()
179 179
 				{
180 180
 					echo '
181 181
 					<div class="information shd_additional_details">
182
-						<strong><img src="', $settings['default_images_url'], '/simpledesk/additional_details.png" alt="" class="shd_smallicon shd_icon_minihead" /> ', $txt['shd_ticket_additional_details'], '</strong>
182
+						<strong><img src="', $settings['default_images_url'], '/simpledesk/additional_details.png" alt="" class="shd_smallicon shd_icon_minihead"> ', $txt['shd_ticket_additional_details'], '</strong>
183 183
 						<hr>
184 184
 							<ul>';
185 185
 
... ...
@@ -190,7 +190,7 @@ function template_viewticket()
190 190
 							echo '
191 191
 								<li>
192 192
 									<dl>
193
-										<dt>', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" class="shd_smallicon" />' : '', ' ', $field['name'],':</dt>
193
+										<dt>', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" class="shd_smallicon">' : '', ' ', $field['name'],':</dt>
194 194
 										<dd>';
195 195
 
196 196
 							if ($field['type'] == CFIELD_TYPE_CHECKBOX)
... ...
@@ -235,11 +235,11 @@ function template_viewticket()
235 235
 			if (!empty($context['ticket']['display_recycle']))
236 236
 				echo '
237 237
 					<div class="errorbox" id="recycle_warning">
238
-						<img src="', $settings['default_images_url'], '/simpledesk/delete.png" alt="" /> ', $context['ticket']['display_recycle'], '
238
+						<img src="', $settings['default_images_url'], '/simpledesk/delete.png" alt=""> ', $context['ticket']['display_recycle'], '
239 239
 					</div>';
240 240
 
241 241
 			echo '
242
-					<img src="', $settings['default_images_url'], '/simpledesk/name.png" alt="" class="shd_smallicon shd_icon_minihead" /> <strong>';
242
+					<img src="', $settings['default_images_url'], '/simpledesk/name.png" alt="" class="shd_smallicon shd_icon_minihead"> <strong>';
243 243
 
244 244
 			$output = '';
245 245
 			foreach ($context['ticket']['custom_fields']['prefix'] AS $field)
... ...
@@ -400,7 +400,7 @@ function template_viewticketattach()
400 400
 		echo '
401 401
 			<div class="title_bar">
402 402
 				<h3 class="titlebg">
403
-					<img src="', $settings['default_images_url'], '/simpledesk/attachments.png" alt="" />', $txt['shd_ticket_attachments'], ' (', count($context['ticket_attach']['ticket']), ')
403
+					<img src="', $settings['default_images_url'], '/simpledesk/attachments.png" alt="">', $txt['shd_ticket_attachments'], ' (', count($context['ticket_attach']['ticket']), ')
404 404
 				</h3>
405 405
 			</div>
406 406
 			<div class="windowbg2">
... ...
@@ -415,10 +415,10 @@ function template_viewticketattach()
415 415
 			{
416 416
 				if ($attachment['thumbnail']['has_thumb'])
417 417
 					echo '
418
-								<a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" onclick="', $attachment['thumbnail']['javascript'], '"><img src="', $attachment['thumbnail']['href'], '" alt="" id="thumb_', $attachment['id'], '" class="shd_thumb" /></a><br>';
418
+								<a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" onclick="', $attachment['thumbnail']['javascript'], '"><img src="', $attachment['thumbnail']['href'], '" alt="" id="thumb_', $attachment['id'], '" class="shd_thumb"></a><br>';
419 419
 				else
420 420
 					echo '
421
-								<img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" class="shd_thumb" /><br>';
421
+								<img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" class="shd_thumb"><br>';
422 422
 			}
423 423
 
424 424
 			echo '
... ...
@@ -428,7 +428,7 @@ function template_viewticketattach()
428 428
 
429 429
 			if (!empty($attachment['can_delete']))
430 430
 				echo '
431
-							<a href="', $scripturl, '?action=helpdesk;sa=deleteattach;ticket=', $context['ticket_id'], ';attach=', $attachment['id'], '" onclick="return confirm(', $remove_txt, ');"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" title="', $txt['shd_delete_attach'], '" alt="', $txt['shd_delete_attach'], '" /></a>';
431
+							<a href="', $scripturl, '?action=helpdesk;sa=deleteattach;ticket=', $context['ticket_id'], ';attach=', $attachment['id'], '" onclick="return confirm(', $remove_txt, ');"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" title="', $txt['shd_delete_attach'], '" alt="', $txt['shd_delete_attach'], '"></a>';
432 432
 
433 433
 			echo '
434 434
 						</span>
... ...
@@ -456,7 +456,7 @@ function template_viewnotifications()
456 456
 	echo '
457 457
 		<div class="cat_bar">
458 458
 			<h3 class="catbg">
459
-				<img src="', $settings['default_images_url'], '/simpledesk/log_notify.png" alt="" />', $txt['shd_ticket_notify'], '
459
+				<img src="', $settings['default_images_url'], '/simpledesk/log_notify.png" alt="">', $txt['shd_ticket_notify'], '
460 460
 			</h3>
461 461
 		</div>
462 462
 		<div class="information">';
... ...
@@ -487,7 +487,7 @@ function template_viewnotifications()
487 487
 			if (!empty($context['display_notifications']['can_change']))
488 488
 				echo '
489 489
 					<form action="', $scripturl, '?action=profile;area=hd_prefs;u=', $context['user']['id'], '" method="post">
490
-						<input type="submit" value="', $txt['shd_ticket_notify_changeprefs'], '" class="button_submit" />
490
+						<input type="submit" value="', $txt['shd_ticket_notify_changeprefs'], '" class="button">
491 491
 					</form>';
492 492
 		}
493 493
 
... ...
@@ -503,16 +503,16 @@ function template_viewnotifications()
503 503
 			if (!$context['display_notifications']['is_monitoring'])
504 504
 				echo '
505 505
 						<p>', $txt['shd_ticket_monitor_on_note'], '</p>
506
-						<input type="hidden" name="notifyaction" value="monitor_on" />
507
-						<input type="submit" value="', $txt['shd_ticket_monitor_on'], '" class="button_submit" />';
506
+						<input type="hidden" name="notifyaction" value="monitor_on">
507
+						<input type="submit" value="', $txt['shd_ticket_monitor_on'], '" class="button">';
508 508
 			else
509 509
 				echo '
510
-						<p><img src="', $settings['default_images_url'], '/simpledesk/cf_active.png" alt="" /> ', $txt['shd_ticket_notify_me_always'], '<br><br>', $txt['shd_ticket_monitor_off_note'], '</p>
511
-						<input type="hidden" name="notifyaction" value="monitor_off" />
512
-						<input type="submit" value="', $txt['shd_ticket_monitor_off'], '" class="button_submit" />';
510
+						<p><img src="', $settings['default_images_url'], '/simpledesk/cf_active.png" alt=""> ', $txt['shd_ticket_notify_me_always'], '<br><br>', $txt['shd_ticket_monitor_off_note'], '</p>
511
+						<input type="hidden" name="notifyaction" value="monitor_off">
512
+						<input type="submit" value="', $txt['shd_ticket_monitor_off'], '" class="button">';
513 513
 
514 514
 			echo '
515
-						<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
515
+						<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
516 516
 					</form>';
517 517
 			$displayed_something = true;
518 518
 		}
... ...
@@ -530,16 +530,16 @@ function template_viewnotifications()
530 530
 		if (!$context['display_notifications']['is_ignoring'])
531 531
 			echo '
532 532
 						<p>', $txt['shd_ticket_notify_me_never_note'], '</p>
533
-						<input type="hidden" name="notifyaction" value="ignore_on" />
534
-						<input type="submit" value="', $txt['shd_ticket_notify_me_never_on'], '" class="button_submit" />';
533
+						<input type="hidden" name="notifyaction" value="ignore_on">
534
+						<input type="submit" value="', $txt['shd_ticket_notify_me_never_on'], '" class="button">';
535 535
 		else
536 536
 			echo '
537
-						<p><img src="', $settings['default_images_url'], '/simpledesk/cf_inactive.png" alt="" /> ', $txt['shd_ticket_notify_me_never'], '</p>
538
-						<input type="hidden" name="notifyaction" value="ignore_off" />
539
-						<input type="submit" value="', $txt['shd_ticket_notify_me_never_off'], '" class="button_submit" />';
537
+						<p><img src="', $settings['default_images_url'], '/simpledesk/cf_inactive.png" alt=""> ', $txt['shd_ticket_notify_me_never'], '</p>
538
+						<input type="hidden" name="notifyaction" value="ignore_off">
539
+						<input type="submit" value="', $txt['shd_ticket_notify_me_never_off'], '" class="button">';
540 540
 
541 541
 		echo '
542
-						<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
542
+						<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
543 543
 					</form>';
544 544
 	}
545 545
 
... ...
@@ -577,8 +577,8 @@ function template_additional_fields()
577 577
 		echo '
578 578
 			<div class="title_bar" id="additionalinfoheader">
579 579
 				<h3 class="titlebg">
580
-					<span class="floatright"><a href="javascript:oCustomFields.infoswap();"><img src="', $settings['images_url'], '/collapse.png" alt="+" id="shd_custom_fields_swap" class="icon" /></a></span>
581
-					<img src="', $settings['default_images_url'], '/simpledesk/additional_information.png" alt="x" />
580
+					<span class="floatright"><a href="javascript:oCustomFields.infoswap();"><img src="', $settings['images_url'], '/collapse.png" alt="+" id="shd_custom_fields_swap" class="icon"></a></span>
581
+					<img src="', $settings['default_images_url'], '/simpledesk/additional_information.png" alt="x">
582 582
 					<a href="javascript:oCustomFields.infoswap();">', $txt['shd_ticket_additional_information'], '</a>
583 583
 				</h3>
584 584
 			</div>
... ...
@@ -590,7 +590,7 @@ function template_additional_fields()
590 590
 				{
591 591
 					echo '
592 592
 					<div class="information">
593
-						', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" class="shd_smallicon" />' : '','
593
+						', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" class="shd_smallicon">' : '','
594 594
 						<strong>', $field['name'],':</strong><hr>';
595 595
 
596 596
 					if ($field['type'] == CFIELD_TYPE_CHECKBOX)
... ...
@@ -642,8 +642,8 @@ function template_quickreply()
642 642
 		echo '
643 643
 			<div class="title_bar" id="quickreplyheader">
644 644
 				<h3 class="titlebg">
645
-					<span class="floatright"><a href="#" onclick="oQuickReply.swap(); return false;"><img src="', $settings['images_url'], '/', $options['display_quick_reply'] == 2 ? 'selected_open' : 'selected', '.png" alt="+" id="quickReplyExpand" class="icon" style="display:none;" /></a></span>
646
-					<img src="', $settings['default_images_url'], '/simpledesk/respond.png" alt="x" />
645
+					<span class="floatright"><a href="#" onclick="oQuickReply.swap(); return false;"><img src="', $settings['images_url'], '/', $options['display_quick_reply'] == 2 ? 'selected_open' : 'selected', '.png" alt="+" id="quickReplyExpand" class="icon" style="display:none;"></a></span>
646
+					<img src="', $settings['default_images_url'], '/simpledesk/respond.png" alt="x">
647 647
 					<a href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';num_replies=', $context['ticket']['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="oQuickReply.swap(); return false;">', $txt['shd_reply_ticket'], '</a>
648 648
 				</h3>
649 649
 			</div>
... ...
@@ -717,10 +717,10 @@ function template_inline_attachments($msg)
717 717
 			{
718 718
 				if ($attachment['thumbnail']['has_thumb'])
719 719
 					echo '
720
-										<a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" onclick="', $attachment['thumbnail']['javascript'], '"><img src="', $attachment['thumbnail']['href'], '" alt="" id="thumb_', $attachment['id'], '" class="shd_thumb" /></a><br>';
720
+										<a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" onclick="', $attachment['thumbnail']['javascript'], '"><img src="', $attachment['thumbnail']['href'], '" alt="" id="thumb_', $attachment['id'], '" class="shd_thumb"></a><br>';
721 721
 				else
722 722
 					echo '
723
-										<img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" class="shd_thumb" /><br>';
723
+										<img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" class="shd_thumb"><br>';
724 724
 			}
725 725
 
726 726
 			echo '
... ...
@@ -729,7 +729,7 @@ function template_inline_attachments($msg)
729 729
 
730 730
 			if (!empty($attachment['can_delete']))
731 731
 				echo '
732
-									<a href="', $scripturl, '?action=helpdesk;sa=deleteattach;ticket=', $context['ticket_id'], ';attach=', $attachment['id'], '" onclick="return confirm(', $remove_txt, ');"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" title="', $txt['shd_delete_attach'], '" alt="', $txt['shd_delete_attach'], '" /></a>';
732
+									<a href="', $scripturl, '?action=helpdesk;sa=deleteattach;ticket=', $context['ticket_id'], ';attach=', $attachment['id'], '" onclick="return confirm(', $remove_txt, ');"><img src="', $settings['default_images_url'], '/simpledesk/delete.png" title="', $txt['shd_delete_attach'], '" alt="', $txt['shd_delete_attach'], '"></a>';
733 733
 
734 734
 			echo '
735 735
 									</td>';
... ...
@@ -764,7 +764,7 @@ function template_viewreplies()
764 764
 		<div class="title_bar">
765 765
 			<h3 class="titlebg">
766 766
 				<span class="floatright smalltext">', $context['page_index'], '</span>
767
-				<img src="', $settings['default_images_url'], '/simpledesk/replies.png" alt="x" /> ', $txt['shd_ticket_replies'], '
767
+				<img src="', $settings['default_images_url'], '/simpledesk/replies.png" alt="x"> ', $txt['shd_ticket_replies'], '
768 768
 			</h3>
769 769
 		</div>
770 770
 		<div id="replies">';
... ...
@@ -789,7 +789,7 @@ function template_viewreplies()
789 789
 								', $reply['member']['link'], '
790 790
 							</strong>
791 791
 							<br>
792
-							', $reply['member']['group'], '<br class="shd_groupmargin" />';
792
+							', $reply['member']['group'], '<br class="shd_groupmargin">';
793 793
 
794 794
 			if (!empty($modSettings['shd_display_avatar']) && empty($options['show_no_avatars']) && !empty($reply['member']['avatar']['image']))
795 795
 					echo '
... ...
@@ -802,7 +802,7 @@ function template_viewreplies()
802 802
 							', $reply['member']['group_icons'];
803 803
 			elseif (!empty($reply['is_staff']) && $modSettings['shd_staff_badge'] == 'nobadge')
804 804
 				echo '<br>
805
-							<img src="', $settings['default_images_url'] . '/simpledesk/staff.png" class="shd_smallicon" title="', $txt['shd_ticket_staff'], '" alt="', $txt['shd_ticket_staff'], '" />';
805
+							<img src="', $settings['default_images_url'] . '/simpledesk/staff.png" class="shd_smallicon" title="', $txt['shd_ticket_staff'], '" alt="', $txt['shd_ticket_staff'], '">';
806 806
 
807 807
 			echo '
808 808
 						</span>
... ...
@@ -811,19 +811,19 @@ function template_viewreplies()
811 811
 								<span class="floatright shd_ticketlinks">';
812 812
 			if ($context['can_quote'])
813 813
 				echo '
814
-									<img src="', $settings['default_images_url'], '/simpledesk/quote.png" class="shd_smallicon" alt="*" /><a onclick="return oQuickReply.quote(', $reply['id'], ', \'', $context['session_id'], '\', \'', $context['session_var'], '\', true);" href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';quote=', $reply['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_quote_short'], '</a>';
814
+									<img src="', $settings['default_images_url'], '/simpledesk/quote.png" class="shd_smallicon" alt="*"><a onclick="return oQuickReply.quote(', $reply['id'], ', \'', $context['session_id'], '\', \'', $context['session_var'], '\', true);" href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';quote=', $reply['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_quote_short'], '</a>';
815 815
 			if ($reply['can_edit'])
816 816
 				echo '
817
-									<img src="', $settings['default_images_url'], '/simpledesk/edit.png" class="shd_smallicon" alt="*" /><a href="', $scripturl, '?action=helpdesk;sa=editreply;ticket=', $context['ticket_id'], ';msg=', $reply['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_edit'], '</a>';
817
+									<img src="', $settings['default_images_url'], '/simpledesk/edit.png" class="shd_smallicon" alt="*"><a href="', $scripturl, '?action=helpdesk;sa=editreply;ticket=', $context['ticket_id'], ';msg=', $reply['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_edit'], '</a>';
818 818
 			if ($reply['can_delete'])
819 819
 				echo '
820
-									<img src="', $settings['default_images_url'], '/simpledesk/delete.png" class="shd_smallicon" alt="*" /><a href="', $scripturl, '?action=helpdesk;sa=deletereply;reply=', $reply['id'], ';ticket=', $context['ticket']['id'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(', JavaScriptEscape($txt['shd_delete_reply_confirm']), ');">', $txt['shd_ticket_delete'], '</a>';
820
+									<img src="', $settings['default_images_url'], '/simpledesk/delete.png" class="shd_smallicon" alt="*"><a href="', $scripturl, '?action=helpdesk;sa=deletereply;reply=', $reply['id'], ';ticket=', $context['ticket']['id'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(', JavaScriptEscape($txt['shd_delete_reply_confirm']), ');">', $txt['shd_ticket_delete'], '</a>';
821 821
 			if ($reply['can_restore'])
822 822
 				echo '
823
-									<img src="', $settings['default_images_url'], '/simpledesk/restore.png" class="shd_smallicon" alt="*" /><a href="', $scripturl, '?action=helpdesk;sa=restorereply;reply=', $reply['id'], ';ticket=', $context['ticket']['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_restore'], '</a>';
823
+									<img src="', $settings['default_images_url'], '/simpledesk/restore.png" class="shd_smallicon" alt="*"><a href="', $scripturl, '?action=helpdesk;sa=restorereply;reply=', $reply['id'], ';ticket=', $context['ticket']['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_restore'], '</a>';
824 824
 			if ($reply['can_permadelete'])
825 825
 				echo '
826
-									<img src="', $settings['default_images_url'], '/simpledesk/delete.png" class="shd_smallicon" alt="*" /><a href="', $scripturl, '?action=helpdesk;sa=permadelete;reply=', $reply['id'], ';ticket=', $context['ticket']['id'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(', JavaScriptEscape($txt['shd_delete_permanently_confirm']), ');">', $txt['shd_delete_permanently'], '</a>';
826
+									<img src="', $settings['default_images_url'], '/simpledesk/delete.png" class="shd_smallicon" alt="*"><a href="', $scripturl, '?action=helpdesk;sa=permadelete;reply=', $reply['id'], ';ticket=', $context['ticket']['id'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(', JavaScriptEscape($txt['shd_delete_permanently_confirm']), ');">', $txt['shd_delete_permanently'], '</a>';
827 827
 
828 828
 			echo '
829 829
 								</span>
... ...
@@ -844,7 +844,7 @@ function template_viewreplies()
844 844
 				if ($field['display_empty'] || !empty($field['value']) || $field['type'] == CFIELD_TYPE_CHECKBOX)
845 845
 				{
846 846
 					echo '
847
-							', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" class="shd_smallicon" />' : '','
847
+							', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" class="shd_smallicon">' : '','
848 848
 							<strong>', $field['name'],': </strong>';
849 849
 
850 850
 					if ($field['type'] == CFIELD_TYPE_CHECKBOX)
... ...
@@ -885,7 +885,7 @@ function template_viewreplies()
885 885
 
886 886
 			if (!empty($reply['ip_address']))
887 887
 				echo '
888
-						<span class="floatright"><img src="', $settings['default_images_url'], '/simpledesk/ip.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_ip'], ': ', $reply['ip_address'], '</span>';
888
+						<span class="floatright"><img src="', $settings['default_images_url'], '/simpledesk/ip.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_ip'], ': ', $reply['ip_address'], '</span>';
889 889
 
890 890
 			echo '
891 891
 						<br>
... ...
@@ -895,7 +895,7 @@ function template_viewreplies()
895 895
 
896 896
 	echo '
897 897
 		<div class="information">
898
-			<span class="floatleft"><a href="#replies" title="', $txt['shd_go_to_replies_start'], '"><img src="', $settings['default_images_url'], '/simpledesk/move_up.png" alt="" /><img src="', $settings['default_images_url'], '/simpledesk/replies.png" alt="" /></a></span>
898
+			<span class="floatleft"><a href="#replies" title="', $txt['shd_go_to_replies_start'], '"><img src="', $settings['default_images_url'], '/simpledesk/move_up.png" alt=""><img src="', $settings['default_images_url'], '/simpledesk/replies.png" alt=""></a></span>
899 899
 			<span class="floatright smalltext">', $context['page_index'], '</span>
900 900
 		</div>';
901 901
 }
... ...
@@ -916,7 +916,7 @@ function template_viewrelationships()
916 916
 		echo '
917 917
 			<div class="cat_bar">
918 918
 				<h3 class="catbg">
919
-					<img src="', $settings['default_images_url'], '/simpledesk/relationships.png" alt="" />', $txt['shd_ticket_relationships'], ' (', $context['relationships_count'], ')
919
+					<img src="', $settings['default_images_url'], '/simpledesk/relationships.png" alt="">', $txt['shd_ticket_relationships'], ' (', $context['relationships_count'], ')
920 920
 				</h3>
921 921
 			</div>
922 922
 			<div class="information">
... ...
@@ -928,12 +928,12 @@ function template_viewrelationships()
928 928
 				continue;
929 929
 
930 930
 			echo '
931
-					<img src="', $settings['default_images_url'], '/simpledesk/rel_', $rel_type, '.png" alt="" /> <strong>', $txt['shd_ticket_reltype_' . $rel_type], ':</strong><br>';
931
+					<img src="', $settings['default_images_url'], '/simpledesk/rel_', $rel_type, '.png" alt=""> <strong>', $txt['shd_ticket_reltype_' . $rel_type], ':</strong><br>';
932 932
 
933 933
 			foreach ($relationships as $rel)
934 934
 			{
935 935
 				if (!empty($context['delete_relationships']))
936
-					echo '<a href="', $scripturl, '?action=helpdesk;sa=relation;ticket=', $context['ticket_id'], ';otherticket=', $rel['id'], ';relation=delete;', $context['session_var'], '=', $context['session_id'], '"><img class="shd_smallicon" src="', $settings['default_images_url'], '/simpledesk/delete.png" alt="', $txt['shd_ticket_delete_relationship'], '" title="', $txt['shd_ticket_delete_relationship'], '" /></a>';
936
+					echo '<a href="', $scripturl, '?action=helpdesk;sa=relation;ticket=', $context['ticket_id'], ';otherticket=', $rel['id'], ';relation=delete;', $context['session_var'], '=', $context['session_id'], '"><img class="shd_smallicon" src="', $settings['default_images_url'], '/simpledesk/delete.png" alt="', $txt['shd_ticket_delete_relationship'], '" title="', $txt['shd_ticket_delete_relationship'], '"></a>';
937 937
 
938 938
 				echo '<span class="smalltext">[', $rel['display_id'], '] <a href="', $scripturl, '?action=helpdesk;sa=ticket;ticket=', $rel['id'], '">', $rel['subject'], '</a> (', $rel['status_txt'], ')</span><br>';
939 939
 			}
... ...
@@ -958,10 +958,10 @@ function template_viewrelationships()
958 958
 
959 959
 			echo '
960 960
 					</select>
961
-					<input type="text" class="input_text" name="otherticket" value="" size="5" />
962
-					<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
963
-					<input type="hidden" name="ticket" value="', $context['ticket_id'], '" />
964
-					<input type="submit" class="button_submit" value="', $txt['shd_go'], '" />
961
+					<input type="text"  name="otherticket" value="" size="5">
962
+					<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
963
+					<input type="hidden" name="ticket" value="', $context['ticket_id'], '">
964
+					<input type="submit" class="button" value="', $txt['shd_go'], '">
965 965
 				</form>';
966 966
 		}
967 967
 
... ...
@@ -987,8 +987,8 @@ function template_ticketactionlog()
987 987
 		echo '
988 988
 			<div class="cat_bar" id="ticket_log_header">
989 989
 				<h3 class="titlebg">
990
-					<span class="floatright shd_ticket_log_expand_container"> <a href="#" onclick="ActionLog.swap(); return false;"><img src="', $settings['images_url'], '/expand.png" alt="+" id="shd_ticket_log_expand" class="icon" style="display:none;" /></a></span>
991
-					<img src="', $settings['default_images_url'], '/simpledesk/log.png" class="icon" alt="*" />
990
+					<span class="floatright shd_ticket_log_expand_container"> <a href="#" onclick="ActionLog.swap(); return false;"><img src="', $settings['images_url'], '/expand.png" alt="+" id="shd_ticket_log_expand" class="icon" style="display:none;"></a></span>
991
+					<img src="', $settings['default_images_url'], '/simpledesk/log.png" class="icon" alt="*">
992 992
 					<a href="#" onclick="ActionLog.swap(); return false;">', $txt['shd_ticket_log'], '</a>
993 993
 					<span class="smalltext">(', $context['ticket_log_count'] == 1 ? $txt['shd_ticket_log_count_one'] : sprintf($txt['shd_ticket_log_count_more'], $context['ticket_log_count']), ')</span>
994 994
 				</h3>
... ...
@@ -996,15 +996,15 @@ function template_ticketactionlog()
996 996
 			<table class="table_grid" id="ticket_log">
997 997
 				<tr class="title_bar">
998 998
 					<td class="quarter_table">
999
-						<img src="', $settings['default_images_url'], '/simpledesk/time.png" class="shd_smallicon" alt="" />
999
+						<img src="', $settings['default_images_url'], '/simpledesk/time.png" class="shd_smallicon" alt="">
1000 1000
 						', $txt['shd_ticket_log_date'], '
1001 1001
 					</td>
1002 1002
 					<td class="quarter_table">
1003
-						<img src="', $settings['default_images_url'], '/simpledesk/user.png" class="shd_smallicon" alt="" />
1003
+						<img src="', $settings['default_images_url'], '/simpledesk/user.png" class="shd_smallicon" alt="">
1004 1004
 						', $txt['shd_ticket_log_member'], '
1005 1005
 					</td>
1006 1006
 					<td class="half_table">
1007
-						<img src="', $settings['default_images_url'], '/simpledesk/action.png" class="shd_smallicon" alt="" />
1007
+						<img src="', $settings['default_images_url'], '/simpledesk/action.png" class="shd_smallicon" alt="">
1008 1008
 						', $txt['shd_ticket_log_action'], '
1009 1009
 					</td>
1010 1010
 				</tr>';
... ...
@@ -1023,7 +1023,7 @@ function template_ticketactionlog()
1023 1023
 					<td class="smalltext">', $action['time'], '</td>
1024 1024
 					<td', !empty($action['member']['ip']) ? ' title="' . $txt['shd_ticket_log_ip'] . ' ' . $action['member']['ip'] . '"' : '', '>', $action['member']['link'], ' <span class="smalltext">(', $action['member']['group'], ')</span></td>
1025 1025
 					<td class="smalltext">
1026
-						<img src="', $settings['default_images_url'], '/simpledesk/', $action['action_icon'], '" alt="" class="shd_smallicon" />
1026
+						<img src="', $settings['default_images_url'], '/simpledesk/', $action['action_icon'], '" alt="" class="shd_smallicon">
1027 1027
 						', $action['action_text'], '
1028 1028
 					</td>
1029 1029
 				</tr>';
... ...
@@ -1033,8 +1033,8 @@ function template_ticketactionlog()
1033 1033
 		echo '
1034 1034
 				<tr class="bot_page">
1035 1035
 					<td colspan="3">
1036
-						<span class="floatright"><a href="#replies" title="', $txt['shd_go_to_replies_start'], '"><img src="', $settings['default_images_url'], '/simpledesk/move_up.png" alt="" /><img src="', $settings['default_images_url'], '/simpledesk/replies.png" alt="" /></a></span>
1037
-						', !empty($context['ticket_full_log']) ? '<span class="smalltext shd_main_log"><img src="' . $settings['default_images_url'] . '/simpledesk/browse.png" alt="" /> <a href="' . $scripturl . '?action=admin;area=helpdesk_info;sa=actionlog">' . $txt['shd_ticket_log_full'] . '</a></span>' : '', '
1036
+						<span class="floatright"><a href="#replies" title="', $txt['shd_go_to_replies_start'], '"><img src="', $settings['default_images_url'], '/simpledesk/move_up.png" alt=""><img src="', $settings['default_images_url'], '/simpledesk/replies.png" alt=""></a></span>
1037
+						', !empty($context['ticket_full_log']) ? '<span class="smalltext shd_main_log"><img src="' . $settings['default_images_url'] . '/simpledesk/browse.png" alt=""> <a href="' . $scripturl . '?action=admin;area=helpdesk_info;sa=actionlog">' . $txt['shd_ticket_log_full'] . '</a></span>' : '', '
1038 1038
 					</td>
1039 1039
 				</tr>
1040 1040
 			</table>
... ...
@@ -1061,7 +1061,7 @@ function template_ticketactionlog()
1061 1061
 function template_shd_display_nojs_above()
1062 1062
 {
1063 1063
 	global $txt, $settings;
1064
-	echo '<noscript><div class="errorbox"><img src="', $settings['default_images_url'], '/simpledesk/warning.png" alt="*" class="shd_icon_minihead" /> &nbsp;', $txt['shd_display_nojs'], '</div></noscript>';
1064
+	echo '<noscript><div class="errorbox"><img src="', $settings['default_images_url'], '/simpledesk/warning.png" alt="*" class="shd_icon_minihead"> &nbsp;', $txt['shd_display_nojs'], '</div></noscript>';
1065 1065
 }
1066 1066
 
1067 1067
 /**
... ...
@@ -30,7 +30,7 @@ function template_movedept()
30 30
 	echo '
31 31
 	<div class="cat_bar">
32 32
 		<h3 class="catbg">
33
-			<img src="', $settings['default_images_url'], '/simpledesk/movedept.png" alt="*" />
33
+			<img src="', $settings['default_images_url'], '/simpledesk/movedept.png" alt="*">
34 34
 			', $txt['shd_ticket_move_dept'], '
35 35
 		</h3>
36 36
 	</div>
... ...
@@ -63,7 +63,7 @@ function template_movedept()
63 63
 					<strong>', $txt['shd_move_send_pm'], ':</strong>
64 64
 				</dt>
65 65
 				<dd>
66
-					<input type="checkbox" name="send_pm" id="send_pm" checked="checked" onclick="document.getElementById(\'pm_message\').style.display = this.checked ? \'block\' : \'none\';" class="input_check" />
66
+					<input type="checkbox" name="send_pm" id="send_pm" checked="checked" onclick="document.getElementById(\'pm_message\').style.display = this.checked ? \'block\' : \'none\';" >
67 67
 				</dd>
68 68
 			</dl>
69 69
 			<fieldset id="pm_message">
... ...
@@ -76,15 +76,15 @@ function template_movedept()
76 76
 					</dd>
77 77
 				</dl>
78 78
 			</fieldset>
79
-			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />';
79
+			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">';
80 80
 
81 81
 	if ($context['shd_return_to'] == 'home')
82 82
 		echo '
83
-			<input type="hidden" name="home" value="1" />';
83
+			<input type="hidden" name="home" value="1">';
84 84
 
85 85
 	echo '
86
-			<input type="submit" name="cancel" value="', ($context['shd_return_to'] == 'home' ? $txt['shd_cancel_home'] : $txt['shd_cancel_ticket']), '" accesskey="c" class="button_submit" />
87
-			<input type="submit" value="', $txt['shd_ticket_move'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
86
+			<input type="submit" name="cancel" value="', ($context['shd_return_to'] == 'home' ? $txt['shd_cancel_home'] : $txt['shd_cancel_ticket']), '" accesskey="c" class="button">
87
+			<input type="submit" value="', $txt['shd_ticket_move'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
88 88
 		</form>
89 89
 	</div>';
90 90
 }
91 91
\ No newline at end of file
... ...
@@ -85,7 +85,7 @@ function template_ticket_info()
85 85
 			<form action="', $context['ticket_form']['form_action'], '" method="post" accept-charset="', $context['character_set'], '" name="postmodify" id="postmodify" onsubmit="', 'submitonce(this);smc_saveEntities(\'postmodify\', [\'subject\', \'', $context['post_box_name'], '\'], \'field\');" enctype="multipart/form-data" style="margin: 0;">
86 86
 			<div class="cat_bar">
87 87
 				<h3 class="catbg">
88
-					<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" alt="x" /> ', $context['ticket_form']['form_title'], '
88
+					<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" alt="x"> ', $context['ticket_form']['form_title'], '
89 89
 				</h3>
90 90
 			</div>
91 91
 			<div class="roundframe shd_ticket_roundframe">
... ...
@@ -95,28 +95,28 @@ function template_ticket_info()
95 95
 	// General ticket details
96 96
 	echo '
97 97
 					<div class="shd_ticketdetails">
98
-						<strong><img src="', $settings['default_images_url'], '/simpledesk/details.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_details'], '</strong>
98
+						<strong><img src="', $settings['default_images_url'], '/simpledesk/details.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_details'], '</strong>
99 99
 						<hr>
100 100
 						<ul class="reset">';
101 101
 
102 102
 	if (!empty($context['ticket_form']['display_id']))
103 103
 		echo '
104
-							<li><img src="', $settings['default_images_url'], '/simpledesk/id.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_id'], ': ', $context['ticket_form']['display_id'], '</li>';
104
+							<li><img src="', $settings['default_images_url'], '/simpledesk/id.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_id'], ': ', $context['ticket_form']['display_id'], '</li>';
105 105
 
106 106
 	if (!empty($context['ticket_form']['member']['link']))
107 107
 		echo '
108
-							<li><img src="', $settings['default_images_url'], '/simpledesk/user.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_user'], ': ', $context['ticket_form']['member']['link'], '</li>';
108
+							<li><img src="', $settings['default_images_url'], '/simpledesk/user.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_user'], ': ', $context['ticket_form']['member']['link'], '</li>';
109 109
 
110 110
 	echo '
111 111
 							<li>
112
-								<img src="', $settings['default_images_url'], '/simpledesk/urgency.png" alt="" class="shd_smallicon" />
112
+								<img src="', $settings['default_images_url'], '/simpledesk/urgency.png" alt="" class="shd_smallicon">
113 113
 								', $txt['shd_ticket_urgency'], ': ', template_ticket_option('urgency'), '
114 114
 							</li>';
115 115
 
116 116
 	// New tickets aren't assigned - ever - but existing ones might be
117 117
 	if (!empty($context['ticket_form']['ticket']))
118 118
 		echo '
119
-							<li><img src="', $settings['default_images_url'], '/simpledesk/staff.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_assignedto'], ': ', !empty($context['ticket_form']['assigned']['link']) ? $context['ticket_form']['assigned']['link'] : '<span class="error">' . $txt['shd_unassigned'] . '</span>', '</li>';
119
+							<li><img src="', $settings['default_images_url'], '/simpledesk/staff.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_assignedto'], ': ', !empty($context['ticket_form']['assigned']['link']) ? $context['ticket_form']['assigned']['link'] : '<span class="error">' . $txt['shd_unassigned'] . '</span>', '</li>';
120 120
 
121 121
 	echo '
122 122
 							<li><img src="', $settings['default_images_url'], '/simpledesk/status.png" alt="" class="shd_smallicon"/> ', $txt['shd_ticket_status'], ': ', $txt['shd_status_' . $context['ticket_form']['status']], '</li>';
... ...
@@ -124,7 +124,7 @@ function template_ticket_info()
124 124
 	if (!empty($context['display_private']))
125 125
 		echo '
126 126
 							<li>
127
-								<img src="', $settings['default_images_url'], '/simpledesk/private.png" alt="" class="shd_smallicon" />
127
+								<img src="', $settings['default_images_url'], '/simpledesk/private.png" alt="" class="shd_smallicon">
128 128
 								', $txt['shd_ticket_privacy'], ': ', template_ticket_option('private'), '
129 129
 							</li>
130 130
 						</ul>';
... ...
@@ -177,7 +177,7 @@ function template_ticket_custom_fields()
177 177
 					<div id="field_', $field['id'], '_container"', $field['hidden'] ? ' style="display:none;"' : '', '>
178 178
 						<dl class="settings">
179 179
 							<dt id="field-' . $field['id'] . '" style="width:98%;">
180
-								', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" />' : '', '
180
+								', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="">' : '', '
181 181
 								<strong>' . $field['name'] . ': </strong><br>
182 182
 								<span class="smalltext">' . $field['desc'] . '</span><br>
183 183
 								<textarea name="field-', $field['id'], '"', !empty($field['default_value']) ? ' rows="' . $field['default_value'][0] . '" cols="' . $field['default_value'][1] . '" ' : '', ' style="width:auto; height:auto;">', $field['value'], '</textarea>
... ...
@@ -192,7 +192,7 @@ function template_ticket_custom_fields()
192 192
 					<div id="field_', $field['id'], '_container"', $field['hidden'] ? ' style="display:none;"' : '', '>
193 193
 						<dl class="settings">
194 194
 							<dt id="field-' . $field['id'] . '">
195
-								', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" />' : '', '
195
+								', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="">' : '', '
196 196
 								<strong>' . $field['name'] . ': </strong><br>
197 197
 								<span class="smalltext">' . $field['desc'] . '</span>
198 198
 							</dt>';
... ...
@@ -201,19 +201,19 @@ function template_ticket_custom_fields()
201 201
 				if ($field['type'] == CFIELD_TYPE_TEXT)
202 202
 				{
203 203
 					echo '
204
-							<dd><input type="text" name="field-', $field['id'], '" value="', $field['value'], '" class="input_text" /></dd>';
204
+							<dd><input type="text" name="field-', $field['id'], '" value="', $field['value'], '" ></dd>';
205 205
 				}
206 206
 				// Integers only
207 207
 				elseif ($field['type'] == CFIELD_TYPE_INT)
208 208
 				{
209 209
 					echo '
210
-							<dd><input name="field-', $field['id'], '" value="', $field['value'], '" size="10" class="input_text" /></dd>';
210
+							<dd><input name="field-', $field['id'], '" value="', $field['value'], '" size="10" ></dd>';
211 211
 				}
212 212
 				// Floating numbers
213 213
 				elseif ($field['type'] == CFIELD_TYPE_FLOAT)
214 214
 				{
215 215
 					echo '
216
-							<dd><input name="field-', $field['id'], '" value="', $field['value'], '" size="10" class="input_text" /></dd>';
216
+							<dd><input name="field-', $field['id'], '" value="', $field['value'], '" size="10" ></dd>';
217 217
 				}
218 218
 				// Select boxes
219 219
 				elseif ($field['type'] == CFIELD_TYPE_SELECT)
... ...
@@ -240,7 +240,7 @@ function template_ticket_custom_fields()
240 240
 				elseif ($field['type'] == CFIELD_TYPE_CHECKBOX)
241 241
 				{
242 242
 					echo '
243
-							<dd><input name="field-', $field['id'], '" type="checkbox"', !empty($field['value']) ? ' checked="checked"' : '', ' class="input_check" /></dd>';
243
+							<dd><input name="field-', $field['id'], '" type="checkbox"', !empty($field['value']) ? ' checked="checked"' : '', ' ></dd>';
244 244
 				}
245 245
 				// Magical multi-select!
246 246
 				elseif ($field['type'] == CFIELD_TYPE_MULTI)
... ...
@@ -260,11 +260,11 @@ function template_ticket_custom_fields()
260 260
 						// If the field is active, display it normally
261 261
 						if (!in_array($key, $field['options']['inactive']))
262 262
 							echo '
263
-								<input name="field-', $field['id'], '-', $key, '" type="checkbox" value="', $key, '"', in_array($key, $field['value']) ? ' checked="checked"' : '', ' /> <span>', $option, '</span><br>';
263
+								<input name="field-', $field['id'], '-', $key, '" type="checkbox" value="', $key, '"', in_array($key, $field['value']) ? ' checked="checked"' : '', '> <span>', $option, '</span><br>';
264 264
 						// If it's not required and inactive and present, display a hidden form item for it.
265 265
 						elseif (empty($field['is_required']) && in_array($key, $field['options']['inactive']) && in_array($key, $field['value']))
266 266
 							echo '
267
-								<input type="hidden" name="field-', $field['id'], '-', $key, '" value="', $key, '" />';
267
+								<input type="hidden" name="field-', $field['id'], '-', $key, '" value="', $key, '">';
268 268
 					}
269 269
 
270 270
 					echo '
... ...
@@ -277,7 +277,7 @@ function template_ticket_custom_fields()
277 277
 							<dd>';
278 278
 					if (empty($field['is_required']))
279 279
 						echo '
280
-								<input name="field-', $field['id'], '" type="radio" value="0"', $field['value'] == 0 ? ' checked="checked"' : '', ' class="input_radio" /> <span>', $txt['shd_no_value'], '</span><br>';
280
+								<input name="field-', $field['id'], '" type="radio" value="0"', $field['value'] == 0 ? ' checked="checked"' : '', ' > <span>', $txt['shd_no_value'], '</span><br>';
281 281
 
282 282
 					foreach ($field['options'] as $key => $option)
283 283
 					{
... ...
@@ -285,7 +285,7 @@ function template_ticket_custom_fields()
285 285
 							continue;
286 286
 
287 287
 						echo '
288
-								<input name="field-', $field['id'], '" type="radio" value="', $key, '"', $field['value'] == $key ? ' checked="checked"' : '', ' /> <span>', $option, '</span><br>';
288
+								<input name="field-', $field['id'], '" type="radio" value="', $key, '"', $field['value'] == $key ? ' checked="checked"' : '', '> <span>', $option, '</span><br>';
289 289
 					}
290 290
 
291 291
 					echo '
... ...
@@ -294,7 +294,7 @@ function template_ticket_custom_fields()
294 294
 				// Default to a text input field
295 295
 				else
296 296
 					echo '
297
-							<dd><input type="text" name="field-' . $field['id'] . '" value="' . $field['value'] . '" size="50" /></dd>';
297
+							<dd><input type="text" name="field-' . $field['id'] . '" value="' . $field['value'] . '" size="50"></dd>';
298 298
 
299 299
 				echo '
300 300
 						</dl>
... ...
@@ -342,14 +342,14 @@ function template_ticket_subjectbox()
342 342
 
343 343
 	template_ticket_posterrors();
344 344
 	echo '
345
-						<img src="', $settings['default_images_url'], '/simpledesk/name.png" alt="" class="shd_smallicon" /> <strong>', $txt['shd_ticket_subject'], ':</strong>
346
-						<input type="text" name="subject" size="50" maxlength="100" class="input_text" value="', $context['ticket_form']['subject'], '" tabindex="', $context['tabindex']++, '" />';
345
+						<img src="', $settings['default_images_url'], '/simpledesk/name.png" alt="" class="shd_smallicon"> <strong>', $txt['shd_ticket_subject'], ':</strong>
346
+						<input type="text" name="subject" size="50" maxlength="100"  value="', $context['ticket_form']['subject'], '" tabindex="', $context['tabindex']++, '">';
347 347
 
348 348
 	if (!empty($context['ticket_form']['selecting_dept']) && !empty($context['postable_dept_list']))
349 349
 	{
350 350
 		echo '
351 351
 						<br>
352
-						<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="" class="shd_smallicon" /> <strong>', $txt['shd_ticket_dept'], '</strong>
352
+						<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="" class="shd_smallicon"> <strong>', $txt['shd_ticket_dept'], '</strong>
353 353
 						<select name="newdept" onchange="updateDeptCFs(this.value)">
354 354
 							<option value="0">', $txt['shd_select_dept'], '</option>';
355 355
 		foreach ($context['postable_dept_list'] as $id => $dept)
... ...
@@ -398,9 +398,9 @@ function template_ticket_subjectbox()
398 398
 	{
399 399
 		echo '
400 400
 						<br>
401
-						<input type="hidden" name="proxy" value="" />
402
-						<img src="', $settings['default_images_url'], '/simpledesk/proxy.png" alt="" class="shd_smallicon" /> <strong>', $txt['shd_ticket_proxy'], ':</strong>
403
-						<input type="text" name="proxy_author" id="proxy_author" size="50" maxlength="100" class="input_text" value="', (empty($context['ticket_form']['proxy']) ? '' : $context['ticket_form']['proxy']), '" tabindex="', $context['tabindex']++, '" />';
401
+						<input type="hidden" name="proxy" value="">
402
+						<img src="', $settings['default_images_url'], '/simpledesk/proxy.png" alt="" class="shd_smallicon"> <strong>', $txt['shd_ticket_proxy'], ':</strong>
403
+						<input type="text" name="proxy_author" id="proxy_author" size="50" maxlength="100"  value="', (empty($context['ticket_form']['proxy']) ? '' : $context['ticket_form']['proxy']), '" tabindex="', $context['tabindex']++, '">';
404 404
 	}
405 405
 
406 406
 	echo '
... ...
@@ -438,7 +438,7 @@ function template_ticket_content()
438 438
 
439 439
 	template_ticket_posterrors();
440 440
 	echo '
441
-						<img src="', $settings['default_images_url'], '/simpledesk/name.png" alt="" class="shd_smallicon" /> <strong>', $context['ticket_form']['subject'], '</strong>
441
+						<img src="', $settings['default_images_url'], '/simpledesk/name.png" alt="" class="shd_smallicon"> <strong>', $context['ticket_form']['subject'], '</strong>
442 442
 						<hr><br>
443 443
 							', $context['ticket_form']['message'];
444 444
 
... ...
@@ -457,24 +457,24 @@ function template_ticket_meta()
457 457
 
458 458
 	// Management/meta information
459 459
 	echo '
460
-						<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
461
-						<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />';
460
+						<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
461
+						<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">';
462 462
 
463 463
 	if (!empty($context['ticket_form']['ticket']))
464 464
 		echo '
465
-						<input type="hidden" name="ticket" value="', $context['ticket_form']['ticket'], '" />';
465
+						<input type="hidden" name="ticket" value="', $context['ticket_form']['ticket'], '">';
466 466
 
467 467
 	if (!empty($context['ticket_form']['msg']))
468 468
 		echo '
469
-						<input type="hidden" name="msg" value="', $context['ticket_form']['msg'], '" />';
469
+						<input type="hidden" name="msg" value="', $context['ticket_form']['msg'], '">';
470 470
 
471 471
 	if (!empty($context['ticket_form']['num_replies']))
472 472
 		echo '
473
-						<input type="hidden" name="num_replies" value="', $context['ticket_form']['num_replies'], '" />';
473
+						<input type="hidden" name="num_replies" value="', $context['ticket_form']['num_replies'], '">';
474 474
 
475 475
 	if (!empty($context['ticket_form']['dept']) && empty($context['ticket_form']['selecting_dept']))
476 476
 		echo '
477
-						<input type="hidden" name="dept" value="', $context['ticket_form']['dept'], '" />';
477
+						<input type="hidden" name="dept" value="', $context['ticket_form']['dept'], '">';
478 478
 }
479 479
 
480 480
 function template_ticket_shd_replyarea()
... ...
@@ -484,7 +484,7 @@ function template_ticket_shd_replyarea()
484 484
 			<div class="tborder">
485 485
 				<div class="title_bar">
486 486
 					<h3 class="titlebg">
487
-						<img src="', $settings['default_images_url'], '/simpledesk/respond.png" alt="x" />
487
+						<img src="', $settings['default_images_url'], '/simpledesk/respond.png" alt="x">
488 488
 						', !empty($context['ticket_form']['form_title']) ? $context['ticket_form']['form_title'] : $txt['shd_reply_ticket'], '
489 489
 					</h3>
490 490
 				</div>
... ...
@@ -530,10 +530,10 @@ function template_ticket_postbox()
530 530
 	template_ticket_cannedreplies();
531 531
 
532 532
 	echo '
533
-						<br class="clear" />
533
+						<br>
534 534
 						<span class="smalltext"><br>', $context['browser']['is_firefox'] ? $txt['shortcuts_firefox'] : $txt['shortcuts'], '</span><br>
535
-						<input type="submit" value="', isset($editor_context['labels']['post_button']) ? $editor_context['labels']['post_button'] : $txt['post'], '" tabindex="', $context['tabindex']++, '" accesskey="s" class="button_submit" />
536
-						<input class="button_submit" type="submit" name="preview" value="', $txt['preview'], '" accesskey="p" tabindex="', $context['tabindex']++, '" />';
535
+						<input type="submit" value="', isset($editor_context['labels']['post_button']) ? $editor_context['labels']['post_button'] : $txt['post'], '" tabindex="', $context['tabindex']++, '" accesskey="s" class="button">
536
+						<input class="button" type="submit" name="preview" value="', $txt['preview'], '" accesskey="p" tabindex="', $context['tabindex']++, '">';
537 537
 
538 538
 }
539 539
 
... ...
@@ -565,7 +565,7 @@ function template_ticket_cannedreplies()
565 565
 
566 566
 	echo '
567 567
 						</select>
568
-						<input type="button" class="button_submit" value="', $txt['canned_replies_insert'], '" onclick="oCannedReplies.getReply();" />
568
+						<input type="button" class="button" value="', $txt['canned_replies_insert'], '" onclick="oCannedReplies.getReply();">
569 569
 					</div>
570 570
 					<script type="text/javascript"><!-- // --><![CDATA[
571 571
 					var oCannedReplies = new CannedReply({
... ...
@@ -592,7 +592,7 @@ function template_ticket_footer()
592 592
 	echo '
593 593
 					</div>
594 594
 				</div>
595
-				<br class="clear" />
595
+				<br>
596 596
 			</div>
597 597
 			<br>';
598 598
 }
... ...
@@ -607,7 +607,7 @@ function template_preview()
607 607
 			<div class="tborder">
608 608
 			<div class="title_bar">
609 609
 				<h3 class="titlebg">
610
-					<img src="', $settings['default_images_url'], '/simpledesk/preview.png" alt="x" />
610
+					<img src="', $settings['default_images_url'], '/simpledesk/preview.png" alt="x">
611 611
 					', !empty($context['ticket_form']['preview']['title']) ? $context['ticket_form']['preview']['title'] : $txt['preview'], '
612 612
 				</h3>
613 613
 			</div>
... ...
@@ -633,7 +633,7 @@ function template_ticket_additional_options()
633 633
 	{
634 634
 		if (!empty($details['show']))
635 635
 			echo '
636
-							<li><label for="', $key, '"><input type="checkbox" name="', $key, '" id="', $key, '"', (!empty($details['checked']) ? ' checked="checked"' : ''), ' value="1" class="input_check" /> ', $details['text'], '</label></li>';
636
+							<li><label for="', $key, '"><input type="checkbox" name="', $key, '" id="', $key, '"', (!empty($details['checked']) ? ' checked="checked"' : ''), ' value="1" > ', $details['text'], '</label></li>';
637 637
 	}
638 638
 
639 639
 	echo '
... ...
@@ -667,13 +667,13 @@ function template_ticket_additional_options()
667 667
 
668 668
 			echo '
669 669
 							<dd class="smalltext">
670
-								<input type="hidden" name="attach_del[]" value="0" />
670
+								<input type="hidden" name="attach_del[]" value="0">
671 671
 								', $txt['uncheck_unwatchd_attach'], ':
672 672
 							</dd>';
673 673
 			foreach ($context['current_attachments'] as $attachment)
674 674
 				echo '
675 675
 							<dd class="smalltext">
676
-								<label for="attachment_', $attachment['id'], '"><input type="checkbox" id="attachment_', $attachment['id'], '" name="attach_del[]" value="', $attachment['id'], '"', empty($attachment['unchecked']) ? ' checked="checked"' : '', ' class="input_check" onclick="javascript:oAttach.checkActive();" /> ', $attachment['name'], '</label>
676
+								<label for="attachment_', $attachment['id'], '"><input type="checkbox" id="attachment_', $attachment['id'], '" name="attach_del[]" value="', $attachment['id'], '"', empty($attachment['unchecked']) ? ' checked="checked"' : '', '  onclick="javascript:oAttach.checkActive();"> ', $attachment['name'], '</label>
677 677
 							</dd>';
678 678
 		}
679 679
 		else
... ...
@@ -696,7 +696,7 @@ function template_ticket_additional_options()
696 696
 								', $txt['attach'], ':
697 697
 							</dt>
698 698
 							<dd class="smalltext">
699
-								<input type="file" size="60" name="attachment" id="shd_attach" class="input_file" />
699
+								<input type="file" size="60" name="attachment" id="shd_attach" class="input_file">
700 700
 								<div id="shd_attachlist_container"></div>
701 701
 							</dd>';
702 702
 
... ...
@@ -755,7 +755,7 @@ function template_singleton_email()
755 755
 
756 756
 		if (!empty($context['notification_ping_list']))
757 757
 			echo '
758
-							<input type="hidden" name="list" value="', $context['notification_ping_list'], '" />';
758
+							<input type="hidden" name="list" value="', $context['notification_ping_list'], '">';
759 759
 
760 760
 		echo '
761 761
 						</div>
... ...
@@ -796,7 +796,7 @@ function template_ticket_do_replies()
796 796
 		<div class="tborder">
797 797
 		<div class="title_bar">
798 798
 			<h3 class="titlebg">
799
-				<img src="', $settings['default_images_url'], '/simpledesk/replies.png" alt="x" /> ', $txt['shd_ticket_replies'], '
799
+				<img src="', $settings['default_images_url'], '/simpledesk/replies.png" alt="x"> ', $txt['shd_ticket_replies'], '
800 800
 			</h3>
801 801
 		</div>
802 802
 		<div class="roundframe" id="replies">
... ...
@@ -810,7 +810,7 @@ function template_ticket_do_replies()
810 810
 					<div class="windowbg" id="reply', $reply['id'], '">
811 811
 						<div class="poster">
812 812
 							<h4>', $reply['member']['link'], '</h4>
813
-									', $reply['member']['group'], '<br class="shd_groupmargin" />';
813
+									', $reply['member']['group'], '<br class="shd_groupmargin">';
814 814
 
815 815
 			if (!empty($modSettings['shd_display_avatar']) && empty($options['show_no_avatars']) && !empty($reply['member']['avatar']['image']))
816 816
 					echo '
... ...
@@ -821,7 +821,7 @@ function template_ticket_do_replies()
821 821
 							', $reply['member']['group_stars'];
822 822
 			elseif (!empty($reply['is_staff']) && $modSettings['shd_staff_badge'] == 'nobadge')
823 823
 				echo '<br>
824
-							<img src="', $settings['default_images_url'] . '/simpledesk/staff.png" class="shd_smallicon" title="', $txt['shd_ticket_staff'], '" alt="', $txt['shd_ticket_staff'], '" />';
824
+							<img src="', $settings['default_images_url'] . '/simpledesk/staff.png" class="shd_smallicon" title="', $txt['shd_ticket_staff'], '" alt="', $txt['shd_ticket_staff'], '">';
825 825
 
826 826
 			echo '
827 827
 						</div>
... ...
@@ -831,7 +831,7 @@ function template_ticket_do_replies()
831 831
 
832 832
 			if ($context['can_quote'])
833 833
 				echo '
834
-											<img src="', $settings['default_images_url'], '/simpledesk/quote.png" class="shd_smallicon" alt="*" /><a onclick="return oQuickReply.quote(', $reply['id'], ', \'', $context['session_id'], '\', \'', $context['session_var'], '\', true);" href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';quote=', $reply['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_quote_short'], '</a>';
834
+											<img src="', $settings['default_images_url'], '/simpledesk/quote.png" class="shd_smallicon" alt="*"><a onclick="return oQuickReply.quote(', $reply['id'], ', \'', $context['session_id'], '\', \'', $context['session_var'], '\', true);" href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';quote=', $reply['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_quote_short'], '</a>';
835 835
 
836 836
 			echo '
837 837
 								</span>
... ...
@@ -870,10 +870,10 @@ function template_ticket_do_replies()
870 870
 
871 871
 			if (!empty($context['can_see_ip']) && !empty($reply['ip_address']))
872 872
 				echo '
873
-						<span class="floatright"><img src="', $settings['default_images_url'], '/simpledesk/ip.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_ip'], ': ', $reply['ip_address'], '</span>';
873
+						<span class="floatright"><img src="', $settings['default_images_url'], '/simpledesk/ip.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_ip'], ': ', $reply['ip_address'], '</span>';
874 874
 
875 875
 			echo '
876
-						<br class="clear" />
876
+						<br>
877 877
 					</div>';
878 878
 		}
879 879
 	}
... ...
@@ -890,7 +890,7 @@ function template_ticket_end_replies()
890 890
 	// Close the table
891 891
 	echo '
892 892
 		</div>
893
-		<br class="clear" />';
893
+		<br>';
894 894
 }
895 895
 
896 896
 function template_ticket_pageend()
... ...
@@ -914,14 +914,14 @@ function template_shd_thank_posting()
914 914
 	<div id="fatal_error">
915 915
 		<div class="cat_bar">
916 916
 			<h3 class="catbg">
917
-				<img src="', $settings['default_images_url'], '/simpledesk/', $context['page_icon'], '" alt="x" class="shd_icon_minihead" /> ', $context['page_title'], '
917
+				<img src="', $settings['default_images_url'], '/simpledesk/', $context['page_icon'], '" alt="x" class="shd_icon_minihead"> ', $context['page_title'], '
918 918
 			</h3>
919 919
 		</div>
920 920
 		<div class="windowbg">
921 921
 			<div class="padding">', $context['page_body'], '</div>
922 922
 		</div>
923 923
 	</div>
924
-	<br class="clear" />';
924
+	<br>';
925 925
 }
926 926
 
927 927
 /**
... ...
@@ -933,7 +933,7 @@ function template_shd_thank_posting()
933 933
 function template_shd_post_nojs_above()
934 934
 {
935 935
 	global $txt, $settings;
936
-	echo '<noscript><div class="errorbox"><img src="', $settings['default_images_url'], '/simpledesk/warning.png" alt="*" class="shd_icon_minihead" /> &nbsp;', $txt['shd_display_nojs'], '</div></noscript>';
936
+	echo '<noscript><div class="errorbox"><img src="', $settings['default_images_url'], '/simpledesk/warning.png" alt="*" class="shd_icon_minihead"> &nbsp;', $txt['shd_display_nojs'], '</div></noscript>';
937 937
 }
938 938
 
939 939
 /**
... ...
@@ -20,13 +20,13 @@ function template_shd_profile_main()
20 20
 	echo '
21 21
 		<div class="cat_bar">
22 22
 			<h3 class="catbg">
23
-				<img src="', $settings['default_images_url'], '/simpledesk/user.png" alt="" class="shd_icon_minihead" />
23
+				<img src="', $settings['default_images_url'], '/simpledesk/user.png" alt="" class="shd_icon_minihead">
24 24
 				', sprintf($txt['shd_profile_heading'], $context['member']['name']), '
25 25
 			</h3>
26 26
 		</div>
27 27
 		<div class="windowbg noup">
28 28
 			<div class="content">
29
-			<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" alt="" class="shd_icon_minihead" /> <strong>', $txt['shd_profile_tickets'], '</strong><hr>
29
+			<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" alt="" class="shd_icon_minihead"> <strong>', $txt['shd_profile_tickets'], '</strong><hr>
30 30
 				', $txt['shd_profile_tickets_created'], ': <a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';area=hd_showtickets">', $context['shd_numtickets'], '</a>';
31 31
 	if (!empty($context['shd_numopentickets']))
32 32
 		echo ' <span class="smalltext">(', $context['shd_numopentickets'], ' ', $txt['shd_profile_currently_open'], ')</span>';
... ...
@@ -58,13 +58,13 @@ function template_shd_profile_main()
58 58
 	<div class="tborder shd_profile_navigation" id="tracking">
59 59
 		<div class="cat_bar">
60 60
 			<h3 class="catbg">
61
-				<img src="', $settings['default_images_url'], '/simpledesk/user.png" alt="" class="shd_icon_minihead" />
61
+				<img src="', $settings['default_images_url'], '/simpledesk/user.png" alt="" class="shd_icon_minihead">
62 62
 				', $txt['summary'], ' - ', $context['member']['name'], '
63 63
 			</h3>
64 64
 		</div>
65 65
 		<div class="windowbg">
66 66
 			<div class="content">
67
-			<img src="', $settings['default_images_url'], '/simpledesk/user.png" alt="" class="shd_icon_minihead" /> <strong>', $txt['shd_acct_information'], '</strong><hr>
67
+			<img src="', $settings['default_images_url'], '/simpledesk/user.png" alt="" class="shd_icon_minihead"> <strong>', $txt['shd_acct_information'], '</strong><hr>
68 68
 				<dl>';
69 69
 
70 70
 		if ($context['user']['is_owner'] || $context['user']['is_admin'])
... ...
@@ -168,7 +168,7 @@ function template_shd_profile_preferences()
168 168
 	echo '
169 169
 				<div class="cat_bar">
170 170
 					<h3 class="catbg">
171
-						<img src="', $settings['default_images_url'], '/simpledesk/preferences.png" class="icon" alt="*" />
171
+						<img src="', $settings['default_images_url'], '/simpledesk/preferences.png" class="icon" alt="*">
172 172
 						', sprintf($txt['shd_profile_preferences_header'], $context['member']['name']), '
173 173
 					</h3>
174 174
 				</div>
... ...
@@ -210,10 +210,10 @@ function template_shd_profile_preferences()
210 210
 							<h3 class="catbg">
211 211
 								<span id="prefexpand_', $group, '" class="floatright toggle_up" onclick="shd_toggleblock(\'', $group, '\'); return false;">&nbsp;<!--
212 212
 									<a class="permcollapse" href="#" onclick="shd_toggleblock(\'', $group, '\'); return false;">
213
-										<img src="', $settings['images_url'], '/selected_open.png" id="prefexpandicon_', $group, '" style="display:none;" />
213
+										<img src="', $settings['images_url'], '/selected_open.png" id="prefexpandicon_', $group, '" style="display:none;">
214 214
 									</a>-->
215 215
 								</span>
216
-								<img src="', shd_image_url($details['icon']), '" class="icon" alt="*" />
216
+								<img src="', shd_image_url($details['icon']), '" class="icon" alt="*">
217 217
 								<a class="prefcollapse" href="#prefheader_', $group, '" onclick="shd_toggleblock(\'', $group, '\'); return false;">', $txt['shd_pref_group_' . $group], '</a>
218 218
 							</h3>
219 219
 						</div>
... ...
@@ -226,7 +226,7 @@ function template_shd_profile_preferences()
226 226
 			$thispref = $context['shd_preferences_options']['prefs'][$pref];
227 227
 			echo '
228 228
 									<dt>
229
-										', empty($thispref['icon']) ? '' : ('<img src="' . shd_image_url($thispref['icon']) . '" class="icon" alt="*" /> '), '
229
+										', empty($thispref['icon']) ? '' : ('<img src="' . shd_image_url($thispref['icon']) . '" class="icon" alt="*"> '), '
230 230
 										', $txt['shd_pref_' . $pref], '
231 231
 									</dt>
232 232
 									<dd>';
... ...
@@ -235,11 +235,11 @@ function template_shd_profile_preferences()
235 235
 			{
236 236
 				case 'check':
237 237
 					echo '
238
-									<input type="checkbox" value="1" name="', $pref, '"', (empty($context['member']['shd_preferences'][$pref]) ? '' : ' checked="checked"'), ' />';
238
+									<input type="checkbox" value="1" name="', $pref, '"', (empty($context['member']['shd_preferences'][$pref]) ? '' : ' checked="checked"'), '>';
239 239
 					break;
240 240
 				case 'int':
241 241
 					echo '
242
-									<input type="number" size="', isset($thispref['size']) ? $thispref['size'] : '5', '" value="', !isset($context['member']['shd_preferences'][$pref]) ? $thispref['default'] : $context['member']['shd_preferences'][$pref], '" name="', $pref, '" />';
242
+									<input type="number" size="', isset($thispref['size']) ? $thispref['size'] : '5', '" value="', !isset($context['member']['shd_preferences'][$pref]) ? $thispref['default'] : $context['member']['shd_preferences'][$pref], '" name="', $pref, '">';
243 243
 					break;
244 244
 				case 'select':
245 245
 					echo '
... ...
@@ -264,7 +264,7 @@ function template_shd_profile_preferences()
264 264
 		{
265 265
 			echo '
266 266
 								<div id="checkall_div_', $group, '" style="display:none;">
267
-									<input type="checkbox" name="all" id="check_all" value="" onclick="invertAll(this, this.form, \'', $group, '\');" class="input_check floatleft">
267
+									<input type="checkbox" name="all" id="check_all" value="" onclick="invertAll(this, this.form, \'', $group, '\');" class="floatleft">
268 268
 									<label for="check_all" class="floatleft">', $txt['check_all'], '</label>
269 269
 								</div>';
270 270
 			$checkall_items[] = $group;
... ...
@@ -305,8 +305,8 @@ function template_shd_profile_preferences()
305 305
 	if ($display_save)
306 306
 		echo '
307 307
 						<br>
308
-						<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
309
-						<input type="submit" value="', $txt['shd_profile_save_prefs'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />';
308
+						<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
309
+						<input type="submit" value="', $txt['shd_profile_save_prefs'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">';
310 310
 	else
311 311
 		echo '
312 312
 						<br>
... ...
@@ -335,7 +335,7 @@ function template_shd_profile_show_tickets()
335 335
 				<div class="tborder">
336 336
 					<div class="cat_bar">
337 337
 						<h3 class="catbg">
338
-							<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" class="icon" alt="*" />
338
+							<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" class="icon" alt="*">
339 339
 							', sprintf($txt['shd_profile_show_tickets_header'], $context['member']['name']), '
340 340
 						</h3>
341 341
 					</div>
... ...
@@ -377,7 +377,7 @@ function template_shd_profile_show_tickets()
377 377
 						</div>
378 378
 					</div>
379 379
 				</div>
380
-				<br class="clear" />
380
+				<br>
381 381
 			</div>
382 382
 		</div>';
383 383
 	}
... ...
@@ -401,7 +401,7 @@ function template_shd_profile_show_notify_override()
401 401
 				<div class="tborder">
402 402
 					<div class="cat_bar">
403 403
 						<h3 class="catbg">
404
-							<img src="', $settings['default_images_url'], '/simpledesk/log_', $context['notify_type'], '.png" class="icon" alt="*" />
404
+							<img src="', $settings['default_images_url'], '/simpledesk/log_', $context['notify_type'], '.png" class="icon" alt="*">
405 405
 							', $txt['shd_profile_show_' . $context['notify_type'] . '_header'], '
406 406
 						</h3>
407 407
 					</div>
... ...
@@ -459,7 +459,7 @@ function template_shd_profile_permissions()
459 459
 				<div class="tborder">
460 460
 					<div class="cat_bar">
461 461
 						<h3 class="catbg">
462
-							<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*" />
462
+							<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*">
463 463
 							', sprintf($txt['shd_profile_permissions_header'], $context['member']['name']), '
464 464
 						</h3>
465 465
 					</div>';
... ...
@@ -496,7 +496,7 @@ function template_shd_profile_permissions()
496 496
 
497 497
 	echo '
498 498
 						</select>
499
-						<input type="submit" class="button_submit" value="', $txt['go'], '" />
499
+						<input type="submit" class="button" value="', $txt['go'], '">
500 500
 					</form>
501 501
 				</div>';
502 502
 	// We're done?
... ...
@@ -508,7 +508,7 @@ function template_shd_profile_permissions()
508 508
 				<div class="tborder">
509 509
 					<div class="cat_bar">
510 510
 						<h3 class="catbg">
511
-							<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*" />
511
+							<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*">
512 512
 							', $txt['shd_roles'], '
513 513
 						</h3>
514 514
 					</div>
... ...
@@ -534,7 +534,7 @@ function template_shd_profile_permissions()
534 534
 		{
535 535
 			echo '
536 536
 						<tr class="windowbg">
537
-							<td>', !empty($context['shd_permissions']['roles'][$role['template']]['icon']) ? ('<img src="' . $settings['default_images_url'] . '/simpledesk/' . $context['shd_permissions']['roles'][$role['template']]['icon'] . '" alt="" />') : '', '</td>
537
+							<td>', !empty($context['shd_permissions']['roles'][$role['template']]['icon']) ? ('<img src="' . $settings['default_images_url'] . '/simpledesk/' . $context['shd_permissions']['roles'][$role['template']]['icon'] . '" alt="">') : '', '</td>
538 538
 							<td>', $role['name'], '</td>
539 539
 							<td>';
540 540
 
... ...
@@ -565,7 +565,7 @@ function template_shd_profile_permissions()
565 565
 				<div class="tborder">
566 566
 					<div class="cat_bar">
567 567
 						<h3 class="catbg">
568
-							<img src="', $settings['default_images_url'], '/simpledesk/perm_yes.png" alt="*" />
568
+							<img src="', $settings['default_images_url'], '/simpledesk/perm_yes.png" alt="*">
569 569
 							', $txt['shd_profile_granted'], '
570 570
 						</h3>
571 571
 					</div>
... ...
@@ -611,14 +611,14 @@ function template_shd_profile_permissions()
611 611
 				}
612 612
 				echo '
613 613
 						<tr class="catbg">
614
-							<td colspan="3">', (empty($thisicon) ? '' : '<img src="' . shd_image_url($thisicon) . '" alt="" />'), ' ', $txt['shd_permgroup_' . $category], '</td>
614
+							<td colspan="3">', (empty($thisicon) ? '' : '<img src="' . shd_image_url($thisicon) . '" alt="">'), ' ', $txt['shd_permgroup_' . $category], '</td>
615 615
 						</tr>';
616 616
 				$last_permission_cat = $category;
617 617
 			}
618 618
 
619 619
 			echo '
620 620
 						<tr class="windowbg">
621
-							<td><img src="', shd_image_url($icon), '" alt="" /></td>';
621
+							<td><img src="', shd_image_url($icon), '" alt=""></td>';
622 622
 
623 623
 			if ($ownany)
624 624
 			{
... ...
@@ -652,7 +652,7 @@ function template_shd_profile_permissions()
652 652
 				if ($done_first)
653 653
 					echo ', ';
654 654
 
655
-				echo '<span><img src="', $settings['default_images_url'], '/simpledesk/', $context['shd_permissions']['roles'][$context['member_roles'][$role]['template']]['icon'], '" alt="" />&nbsp;', $context['member_roles'][$role]['name'], '</span>';
655
+				echo '<span><img src="', $settings['default_images_url'], '/simpledesk/', $context['shd_permissions']['roles'][$context['member_roles'][$role]['template']]['icon'], '" alt="">&nbsp;', $context['member_roles'][$role]['name'], '</span>';
656 656
 				$done_first = true;
657 657
 			}
658 658
 
... ...
@@ -677,7 +677,7 @@ function template_shd_profile_actionlog()
677 677
 				<div class="tborder">
678 678
 					<div class="cat_bar">
679 679
 						<h3 class="catbg" id="ticket_log_header">
680
-							<img src="', $settings['default_images_url'], '/simpledesk/log.png" class="icon" alt="*" />
680
+							<img src="', $settings['default_images_url'], '/simpledesk/log.png" class="icon" alt="*">
681 681
 							', sprintf($txt['shd_profile_log'], $context['member']['name']), '
682 682
 							<span class="smalltext">(', $context['action_log_count'] == 1 ? $txt['shd_profile_log_count_one'] : sprintf($txt['shd_profile_log_count_more'], $context['action_log_count']) , ')</span>
683 683
 						</h3>
... ...
@@ -685,11 +685,11 @@ function template_shd_profile_actionlog()
685 685
 					<table class="table_grid" id="ticket_log">
686 686
 						<tr class="title_bar">
687 687
 							<td class="quarter_table">
688
-								<img src="', $settings['default_images_url'], '/simpledesk/time.png" class="shd_smallicon" alt="" />
688
+								<img src="', $settings['default_images_url'], '/simpledesk/time.png" class="shd_smallicon" alt="">
689 689
 								', $txt['shd_ticket_log_date'], '
690 690
 							</td>
691 691
 							<td class="half_table">
692
-								<img src="', $settings['default_images_url'], '/simpledesk/action.png" class="shd_smallicon" alt="" />
692
+								<img src="', $settings['default_images_url'], '/simpledesk/action.png" class="shd_smallicon" alt="">
693 693
 								', $txt['shd_ticket_log_action'], '
694 694
 							</td>
695 695
 						</tr>';
... ...
@@ -707,7 +707,7 @@ function template_shd_profile_actionlog()
707 707
 						<tr class="windowbg">
708 708
 							<td class="smalltext">', $action['time'], '</td>
709 709
 							<td class="smalltext">
710
-								<img src="', $settings['default_images_url'], '/simpledesk/', $action['action_icon'], '" alt="" class="shd_smallicon" />
710
+								<img src="', $settings['default_images_url'], '/simpledesk/', $action['action_icon'], '" alt="" class="shd_smallicon">
711 711
 								', $action['action_text'], '
712 712
 							</td>
713 713
 						</tr>';
... ...
@@ -717,7 +717,7 @@ function template_shd_profile_actionlog()
717 717
 	echo '
718 718
 						<tr class="titlebg">
719 719
 							<td class="bot_page" colspan="2">
720
-								', !empty($context['action_full_log']) ? '<span class="smalltext shd_main_log"><img src="' . $settings['default_images_url'] . '/simpledesk/browse.png" alt="" /> <a href="' . $scripturl . '?action=admin;area=helpdesk_info;sa=actionlog">' . $txt['shd_profile_log_full'] . '</a></span>' : '', '
720
+								', !empty($context['action_full_log']) ? '<span class="smalltext shd_main_log"><img src="' . $settings['default_images_url'] . '/simpledesk/browse.png" alt=""> <a href="' . $scripturl . '?action=admin;area=helpdesk_info;sa=actionlog">' . $txt['shd_profile_log_full'] . '</a></span>' : '', '
721 721
 							</td>
722 722
 						</tr>
723 723
 					</table>
... ...
@@ -739,7 +739,7 @@ function template_shd_profile_navigation_above()
739 739
 		{
740 740
 			echo '
741 741
 						<li', (!empty($menuitem['is_last']) ? ' class="shd_inline_last"' : ''), '>
742
-							<img src="', $settings['default_images_url'], '/simpledesk/', $menuitem['image'], '" alt="x" class="floatright" />
742
+							<img src="', $settings['default_images_url'], '/simpledesk/', $menuitem['image'], '" alt="x" class="floatright">
743 743
 							<a href="', $menuitem['link'], '"><strong>', $menuitem['text'], '</strong></a>
744 744
 							', (empty($options['use_sidebar_menu']) && empty($menuitem['is_last'])) ? '<hr>' : '', '
745 745
 						</li>';
... ...
@@ -748,7 +748,7 @@ function template_shd_profile_navigation_above()
748 748
 
749 749
 	echo '
750 750
 					</ul>
751
-					', !empty($options['use_sidebar_menu']) ? '<br class="clear" />' : '', '
751
+					', !empty($options['use_sidebar_menu']) ? '<br>' : '', '
752 752
 				</div>
753 753
 			</div>
754 754
 		</div>
... ...
@@ -760,7 +760,7 @@ function template_shd_profile_navigation_below()
760 760
 {
761 761
 	echo '
762 762
 		</div>
763
-		<br class="clear" />';
763
+		<br>';
764 764
 }
765 765
 
766 766
 function template_shd_profile_summary_wrapper()
... ...
@@ -778,33 +778,33 @@ function template_profile_shd_theme_settings()
778 778
 						</dl>
779 779
 						<ul id="theme_settings">
780 780
 							<li>
781
-								<input type="hidden" name="default_options[use_sidebar_menu]" value="0" />
782
-								<label for="use_sidebar_menu"><input type="checkbox" name="default_options[use_sidebar_menu]" id="use_sidebar_menu" value="1"', !empty($context['member']['options']['use_sidebar_menu']) ? ' checked="checked"' : '', ' class="input_check" /> ', $txt['use_sidebar_menu'], '</label>
781
+								<input type="hidden" name="default_options[use_sidebar_menu]" value="0">
782
+								<label for="use_sidebar_menu"><input type="checkbox" name="default_options[use_sidebar_menu]" id="use_sidebar_menu" value="1"', !empty($context['member']['options']['use_sidebar_menu']) ? ' checked="checked"' : '', ' > ', $txt['use_sidebar_menu'], '</label>
783 783
 							</li>';
784 784
 
785 785
 	if ($settings['allow_no_censored'])
786 786
 		echo '
787 787
 							<li>
788
-								<input type="hidden" name="default_options[show_no_censored]" value="0" />
789
-								<label for="show_no_censored"><input type="checkbox" name="default_options[show_no_censored]" id="show_no_censored" value="1"' . (!empty($context['member']['options']['show_no_censored']) ? ' checked="checked"' : '') . ' class="input_check" /> ' . $txt['show_no_censored'] . '</label>
788
+								<input type="hidden" name="default_options[show_no_censored]" value="0">
789
+								<label for="show_no_censored"><input type="checkbox" name="default_options[show_no_censored]" id="show_no_censored" value="1"' . (!empty($context['member']['options']['show_no_censored']) ? ' checked="checked"' : '') . ' > ' . $txt['show_no_censored'] . '</label>
790 790
 							</li>';
791 791
 
792 792
 	echo '
793 793
 							<li>
794
-								<input type="hidden" name="default_options[return_to_post]" value="0" />
795
-								<label for="return_to_post"><input type="checkbox" name="default_options[return_to_post]" id="return_to_post" value="1"', !empty($context['member']['options']['return_to_post']) ? ' checked="checked"' : '', ' class="input_check" /> ', $txt['return_to_post'], '</label>
794
+								<input type="hidden" name="default_options[return_to_post]" value="0">
795
+								<label for="return_to_post"><input type="checkbox" name="default_options[return_to_post]" id="return_to_post" value="1"', !empty($context['member']['options']['return_to_post']) ? ' checked="checked"' : '', ' > ', $txt['return_to_post'], '</label>
796 796
 							</li>
797 797
 							<li>
798
-								<input type="hidden" name="default_options[no_new_reply_warning]" value="0" />
799
-								<label for="no_new_reply_warning"><input type="checkbox" name="default_options[no_new_reply_warning]" id="no_new_reply_warning" value="1"', !empty($context['member']['options']['no_new_reply_warning']) ? ' checked="checked"' : '', ' class="input_check" /> ', $txt['no_new_reply_warning'], '</label>
798
+								<input type="hidden" name="default_options[no_new_reply_warning]" value="0">
799
+								<label for="no_new_reply_warning"><input type="checkbox" name="default_options[no_new_reply_warning]" id="no_new_reply_warning" value="1"', !empty($context['member']['options']['no_new_reply_warning']) ? ' checked="checked"' : '', ' > ', $txt['no_new_reply_warning'], '</label>
800 800
 							</li>';
801 801
 
802 802
 	// Choose WYSIWYG settings?
803 803
 	if (empty($modSettings['disable_wysiwyg']))
804 804
 		echo '
805 805
 							<li>
806
-								<input type="hidden" name="default_options[wysiwyg_default]" value="0" />
807
-								<label for="wysiwyg_default"><input type="checkbox" name="default_options[wysiwyg_default]" id="wysiwyg_default" value="1"', !empty($context['member']['options']['wysiwyg_default']) ? ' checked="checked"' : '', ' class="input_check" /> ', $txt['wysiwyg_default'], '</label>
806
+								<input type="hidden" name="default_options[wysiwyg_default]" value="0">
807
+								<label for="wysiwyg_default"><input type="checkbox" name="default_options[wysiwyg_default]" id="wysiwyg_default" value="1"', !empty($context['member']['options']['wysiwyg_default']) ? ' checked="checked"' : '', ' > ', $txt['wysiwyg_default'], '</label>
808 808
 							</li>';
809 809
 
810 810
 	if (!empty($modSettings['cal_enabled']))
... ...
@@ -23,12 +23,12 @@ function template_search()
23 23
 
24 24
 	if (!empty($modSettings['shd_new_search_index']))
25 25
 		echo '
26
-	<div class="errorbox"><img src="', $settings['default_images_url'], '/simpledesk/warning.png" alt="*" class="shd_icon_minihead" /> &nbsp;', shd_allowed_to('admin_helpdesk', 0) ? $txt['shd_search_warning_admin'] : $txt['shd_search_warning_nonadmin'], '</div>';
26
+	<div class="errorbox"><img src="', $settings['default_images_url'], '/simpledesk/warning.png" alt="*" class="shd_icon_minihead"> &nbsp;', shd_allowed_to('admin_helpdesk', 0) ? $txt['shd_search_warning_admin'] : $txt['shd_search_warning_nonadmin'], '</div>';
27 27
 
28 28
 	echo '
29 29
 	<div class="cat_bar">
30 30
 		<h3 class="catbg">
31
-			<img src="', $settings['default_images_url'], '/simpledesk/search.png" alt="*" />
31
+			<img src="', $settings['default_images_url'], '/simpledesk/search.png" alt="*">
32 32
 			', $txt['shd_search'], '
33 33
 		</h3>
34 34
 	</div>
... ...
@@ -41,7 +41,7 @@ function template_search()
41 41
 						<strong>', $txt['shd_search_text'], '</strong>
42 42
 					</dt>
43 43
 					<dd>
44
-						<input type="text" name="search" value="" size="40" maxlength="100" class="input_text" />
44
+						<input type="text" name="search" value="" size="40" maxlength="100" >
45 45
 					</dd>
46 46
 					<dt>
47 47
 						<strong>', $txt['shd_search_match'], '</strong>
... ...
@@ -59,9 +59,9 @@ function template_search()
59 59
 						<strong>', $txt['shd_search_where'], '</strong>
60 60
 					</dt>
61 61
 					<dd>
62
-						<input type="checkbox" class="input_check" checked="checked" name="search_subjects" /> ', $txt['shd_search_where_subjects'], '<br>
63
-						<input type="checkbox" class="input_check" checked="checked" name="search_tickets" /> ', $txt['shd_search_where_tickets'], '<br>
64
-						<input type="checkbox" class="input_check" checked="checked" name="search_replies" /> ', $txt['shd_search_where_replies'], '<br>
62
+						<input type="checkbox"  checked="checked" name="search_subjects"> ', $txt['shd_search_where_subjects'], '<br>
63
+						<input type="checkbox"  checked="checked" name="search_tickets"> ', $txt['shd_search_where_tickets'], '<br>
64
+						<input type="checkbox"  checked="checked" name="search_replies"> ', $txt['shd_search_where_replies'], '<br>
65 65
 					</dd>
66 66
 				</dl>';
67 67
 
... ...
@@ -69,7 +69,7 @@ function template_search()
69 69
 	{
70 70
 		$array = array_keys($context['dept_list']);
71 71
 		echo '
72
-					<input type="hidden" name="search_dept[]" value="', $array[0], '" />';
72
+					<input type="hidden" name="search_dept[]" value="', $array[0], '">';
73 73
 	}
74 74
 	else
75 75
 	{
... ...
@@ -83,7 +83,7 @@ function template_search()
83 83
 
84 84
 		foreach ($context['dept_list'] as $id => $name)
85 85
 			echo '
86
-							<input type="checkbox" class="input_check" checked="checked" name="search_dept[]" value="', $id, '" /> &nbsp;', $name, '<br>';
86
+							<input type="checkbox"  checked="checked" name="search_dept[]" value="', $id, '"> &nbsp;', $name, '<br>';
87 87
 
88 88
 		echo '
89 89
 					</dd>
... ...
@@ -97,9 +97,9 @@ function template_search()
97 97
 						<strong>', $txt['shd_search_scope'], '</strong>
98 98
 					</dt>
99 99
 					<dd>
100
-						<input type="checkbox" class="input_check" checked="checked" name="scope_open" /> &nbsp;', $txt['shd_search_scope_open'], '<br>
101
-						<input type="checkbox" class="input_check" checked="checked" name="scope_closed" /> &nbsp;', $txt['shd_search_scope_closed'], '<br>
102
-						<input type="checkbox" class="input_check" checked="checked" name="scope_recycle" /> &nbsp;', $txt['shd_search_scope_recycle'], '<br>
100
+						<input type="checkbox"  checked="checked" name="scope_open"> &nbsp;', $txt['shd_search_scope_open'], '<br>
101
+						<input type="checkbox"  checked="checked" name="scope_closed"> &nbsp;', $txt['shd_search_scope_closed'], '<br>
102
+						<input type="checkbox"  checked="checked" name="scope_recycle"> &nbsp;', $txt['shd_search_scope_recycle'], '<br>
103 103
 					</dd>
104 104
 				</dl>
105 105
 				<hr>
... ...
@@ -112,7 +112,7 @@ function template_search()
112 112
 	// All the urgency levels, currently 0-5.
113 113
 	for ($i = 0; $i <= 5; $i++)
114 114
 		echo '
115
-						<input type="checkbox" class="input_check" checked="checked" name="urgency[]" value="', $i, '" /> &nbsp;', $txt['shd_urgency_' . $i], '<br>';
115
+						<input type="checkbox"  checked="checked" name="urgency[]" value="', $i, '"> &nbsp;', $txt['shd_urgency_' . $i], '<br>';
116 116
 
117 117
 	echo '
118 118
 					</dd>
... ...
@@ -124,8 +124,8 @@ function template_search()
124 124
 						<div class="smalltext">', $txt['shd_search_ticket_named_person'], '</div>
125 125
 					</dt>
126 126
 					<dd>
127
-						<input type="hidden" name="starter" value="" />
128
-						<input type="text" name="starter_name" id="starter_name" size="40" maxlength="100" class="input_text" value="" />
127
+						<input type="hidden" name="starter" value="">
128
+						<input type="text" name="starter_name" id="starter_name" size="40" maxlength="100"  value="">
129 129
 						<div id="starter_name_container"></div>
130 130
 					</dd>
131 131
 				</dl>
... ...
@@ -136,8 +136,8 @@ function template_search()
136 136
 						<div class="smalltext">', $txt['shd_search_ticket_named_person'], '</div>
137 137
 					</dt>
138 138
 					<dd>
139
-						<input type="hidden" name="assignee" value="" />
140
-						<input type="text" name="assignee_name" id="assignee_name" size="40" maxlength="100" class="input_text" value="" />
139
+						<input type="hidden" name="assignee" value="">
140
+						<input type="text" name="assignee_name" id="assignee_name" size="40" maxlength="100"  value="">
141 141
 						<div id="assignee_name_container"></div>
142 142
 					</dd>
143 143
 				</dl>
... ...
@@ -173,7 +173,7 @@ function template_search()
173 173
 				// ]', ']></script>
174 174
 				<hr>
175 175
 				<br>
176
-				<input type="submit" value="', $txt['shd_search'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
176
+				<input type="submit" value="', $txt['shd_search'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
177 177
 			</div>
178 178
 		</form>
179 179
 	</div>';
... ...
@@ -189,7 +189,7 @@ function template_search_no_results()
189 189
 	echo '
190 190
 	<div class="cat_bar">
191 191
 		<h3 class="catbg">
192
-			<img src="', $settings['default_images_url'], '/simpledesk/search.png" alt="*" />
192
+			<img src="', $settings['default_images_url'], '/simpledesk/search.png" alt="*">
193 193
 			', $txt['shd_search'], '
194 194
 		</h3>
195 195
 	</div>';
... ...
@@ -302,7 +302,7 @@ function template_search_results()
302 302
 	echo '
303 303
 	<div class="cat_bar">
304 304
 		<h3 class="catbg">
305
-			<img src="', $settings['default_images_url'], '/simpledesk/search.png" alt="*" />
305
+			<img src="', $settings['default_images_url'], '/simpledesk/search.png" alt="*">
306 306
 			', $txt['shd_search_results'], '
307 307
 		</h3>
308 308
 	</div>';
... ...
@@ -324,7 +324,7 @@ function template_search_results()
324 324
 					<h5>', $result['dept_link'], '<a href="', $scripturl, '?action=helpdesk;sa=ticket;ticket=', $result['id_ticket'], '">', sprintf($result['is_ticket'] ? $txt['shd_search_result_ticket'] : $txt['shd_search_result_reply'], $result['display_id']), '</a> - ', $result['subject'], ' (', $txt['shd_search_last_updated'], ' ', timeformat($result['last_updated']), ')</h5>
325 325
 					<span class="smalltext">&#171;&nbsp;<strong>', $result['is_ticket'] ? $txt['shd_search_ticket_opened_by'] : $txt['shd_search_ticket_replied_by'], ' ', shd_profile_link($result['poster_name'], $result['id_member']), '</strong>&nbsp;', $txt['on'], '&nbsp;<em>', timeformat($result['poster_time']), '</em>&nbsp;&#187;</span>
326 326
 				</div>
327
-				<br class="clear">
327
+				<br>
328 328
 				<div class="list_posts double_height">', $result['body'], '</div>
329 329
 			</div>
330 330
 		</div>
... ...
@@ -373,7 +373,7 @@ function template_search_navigation($page = 'next')
373 373
 	{
374 374
 		$array = array_keys($context['dept_list']);
375 375
 		echo '
376
-		<input type="hidden" name="search_dept[]" value="', $array[0], '" />';
376
+		<input type="hidden" name="search_dept[]" value="', $array[0], '">';
377 377
 	}
378 378
 	elseif (isset($context['search_params']['visible_depts']))
379 379
 		foreach ($context['search_params']['visible_depts'] as $dept)
... ...
@@ -411,16 +411,16 @@ function template_search_navigation($page = 'next')
411 411
 
412 412
 	if ($page === 'prev')
413 413
 		echo '
414
-		<input type="hidden" name="page" value="', $context['prev_page'], '" />
415
-		<input type="submit" value="Previous" onclick="return submitThisOnce(this);" class="button_submit floatleft" />';
414
+		<input type="hidden" name="page" value="', $context['prev_page'], '">
415
+		<input type="submit" value="Previous" onclick="return submitThisOnce(this);" class="button floatleft">';
416 416
 	elseif (is_int($page) && $page > 0)
417 417
 		echo '
418
-		<input type="hidden" name="page" value="', $page, '" />
419
-		<input type="submit" value="Page ', $page, '" onclick="return submitThisOnce(this);" class="button_submit floatleft', $context['current_page'] == $page ? ' active' : '', '" />';
418
+		<input type="hidden" name="page" value="', $page, '">
419
+		<input type="submit" value="Page ', $page, '" onclick="return submitThisOnce(this);" class="button floatleft', $context['current_page'] == $page ? ' active' : '', '">';
420 420
 	else
421 421
 		echo '
422
-		<input type="hidden" name="page" value="', $context['next_page'], '" />
423
-		<input type="submit" value="Next" onclick="return submitThisOnce(this);" class="button_submit" />';
422
+		<input type="hidden" name="page" value="', $context['next_page'], '">
423
+		<input type="submit" value="Next" onclick="return submitThisOnce(this);" class="button">';
424 424
 
425 425
 	echo '</form>';
426 426
 }
427 427
\ No newline at end of file
... ...
@@ -31,7 +31,7 @@ function template_shd_tickettotopic()
31 31
 	echo '
32 32
 		<div class="cat_bar">
33 33
 			<h3 class="catbg">
34
-				<img src="', $settings['default_images_url'] , '/simpledesk/tickettotopic.png" alt="*" />
34
+				<img src="', $settings['default_images_url'] , '/simpledesk/tickettotopic.png" alt="*">
35 35
 				', $txt['shd_move_ticket_to_topic'], '
36 36
 			</h3>
37 37
 		</div>
... ...
@@ -63,7 +63,7 @@ function template_shd_tickettotopic()
63 63
 						<strong>', $txt['shd_change_ticket_subject'], ':</strong>
64 64
 					</dt>
65 65
 					<dd>
66
-						<input type="checkbox" name="change_subject" id="change_subject" onclick="document.getElementById(\'new_subject\').style.display = this.checked ? \'block\' : \'none\';" class="input_check" />
66
+						<input type="checkbox" name="change_subject" id="change_subject" onclick="document.getElementById(\'new_subject\').style.display = this.checked ? \'block\' : \'none\';" >
67 67
 					</dd>
68 68
 				</dl>
69 69
 				<dl class="settings" style="display: none;" id="new_subject">
... ...
@@ -71,7 +71,7 @@ function template_shd_tickettotopic()
71 71
 						<strong>', $txt['shd_new_subject'], ':</strong>
72 72
 					</dt>
73 73
 					<dd>
74
-						<input type="text" name="subject" id="subject" value="', $context['ticket_subject'], '" />
74
+						<input type="text" name="subject" id="subject" value="', $context['ticket_subject'], '">
75 75
 					</dd>
76 76
 				</dl>
77 77
 				<dl class="settings">
... ...
@@ -79,7 +79,7 @@ function template_shd_tickettotopic()
79 79
 						<strong>', $txt['shd_move_send_pm'], ':</strong>
80 80
 					</dt>
81 81
 					<dd>
82
-						<input type="checkbox" name="send_pm" id="send_pm" checked="checked" onclick="document.getElementById(\'pm_message\').style.display = this.checked ? \'block\' : \'none\';" class="input_check" />
82
+						<input type="checkbox" name="send_pm" id="send_pm" checked="checked" onclick="document.getElementById(\'pm_message\').style.display = this.checked ? \'block\' : \'none\';" >
83 83
 					</dd>
84 84
 				</dl>
85 85
 				<fieldset id="pm_message">
... ...
@@ -133,13 +133,13 @@ function template_shd_tickettotopic()
133 133
 
134 134
 			if (!empty($field['visible_warn']))
135 135
 				echo '
136
-							<img src="' . $settings['default_images_url'] . '/simpledesk/warning.png" alt="', $txt['shd_ticket_move_cfs_warn_user'], '" title="', $txt['shd_ticket_move_cfs_warn_user'], '" />';
136
+							<img src="' . $settings['default_images_url'] . '/simpledesk/warning.png" alt="', $txt['shd_ticket_move_cfs_warn_user'], '" title="', $txt['shd_ticket_move_cfs_warn_user'], '">';
137 137
 			else
138 138
 				echo '
139
-							<img src="' . $settings['default_images_url'] . '/simpledesk/perm_yes.png" alt="', $txt['shd_ticket_move_ok'], '" title="', $txt['shd_ticket_move_ok'], '" />';
139
+							<img src="' . $settings['default_images_url'] . '/simpledesk/perm_yes.png" alt="', $txt['shd_ticket_move_ok'], '" title="', $txt['shd_ticket_move_ok'], '">';
140 140
 
141 141
 			echo '
142
-							<img src="', $settings['default_images_url'], '/simpledesk/cf_ui_', $context['field_types'][$field['type']][1], '.png" class="icon" alt="', $context['field_types'][$field['type']][0], '" title="', $context['field_types'][$field['type']][0], '" />', $field['name'];
142
+							<img src="', $settings['default_images_url'], '/simpledesk/cf_ui_', $context['field_types'][$field['type']][1], '.png" class="icon" alt="', $context['field_types'][$field['type']][0], '" title="', $context['field_types'][$field['type']][0], '">', $field['name'];
143 143
 
144 144
 			foreach ($field['visible'] as $group => $visible)
145 145
 			{
... ...
@@ -147,7 +147,7 @@ function template_shd_tickettotopic()
147 147
 					continue;
148 148
 
149 149
 				echo '
150
-							<img src="' . $settings['default_images_url'] . '/simpledesk/', $group, '.png" alt="', $txt['shd_ticket_move_cfs_' . $group], '" title="', $txt['shd_ticket_move_cfs_' . $group], '" style="margin-right:0px;" />';
150
+							<img src="' . $settings['default_images_url'] . '/simpledesk/', $group, '.png" alt="', $txt['shd_ticket_move_cfs_' . $group], '" title="', $txt['shd_ticket_move_cfs_' . $group], '" style="margin-right:0px;">';
151 151
 
152 152
 			}
153 153
 
... ...
@@ -173,7 +173,7 @@ function template_shd_tickettotopic()
173 173
 							<strong>', $txt['shd_ticket_move_accept'], '</strong>
174 174
 							<div class="error">', $txt['shd_ticket_move_reqd'], '</div>
175 175
 						</dt>
176
-						<dd><input type="checkbox" name="accept_move" class="input_check" /></dd>
176
+						<dd><input type="checkbox" name="accept_move" ></dd>
177 177
 					</dl>';
178 178
 
179 179
 		echo '
... ...
@@ -181,10 +181,10 @@ function template_shd_tickettotopic()
181 181
 	}
182 182
 
183 183
 	echo '
184
-				<input type="submit" value="', $txt['shd_move_ticket'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
185
-				<input type="submit" name="cancel" value="', $txt['shd_cancel_ticket'], '" accesskey="c" class="button_submit" />
186
-				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
187
-				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
184
+				<input type="submit" value="', $txt['shd_move_ticket'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
185
+				<input type="submit" name="cancel" value="', $txt['shd_cancel_ticket'], '" accesskey="c" class="button">
186
+				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
187
+				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">
188 188
 		</form>
189 189
 		</div>';
190 190
 }
... ...
@@ -206,7 +206,7 @@ function template_shd_topictoticket()
206 206
 	echo '
207 207
 		<div class="cat_bar">
208 208
 			<h3 class="catbg">
209
-				<img src="', $settings['default_images_url'] , '/simpledesk/topictoticket.png" alt="*" />
209
+				<img src="', $settings['default_images_url'] , '/simpledesk/topictoticket.png" alt="*">
210 210
 				', $txt['shd_move_topic_to_ticket'], '
211 211
 			</h3>
212 212
 		</div>
... ...
@@ -217,7 +217,7 @@ function template_shd_topictoticket()
217 217
 						<strong>', $txt['shd_change_topic_subject'], ':</strong>
218 218
 					</dt>
219 219
 					<dd>
220
-						<input type="checkbox" name="change_subject" id="change_subject" onclick="document.getElementById(\'new_subject\').style.display = this.checked ? \'block\' : \'none\';" class="input_check" />
220
+						<input type="checkbox" name="change_subject" id="change_subject" onclick="document.getElementById(\'new_subject\').style.display = this.checked ? \'block\' : \'none\';" >
221 221
 					</dd>
222 222
 				</dl>
223 223
 				<dl class="settings" style="display: none;" id="new_subject">
... ...
@@ -225,7 +225,7 @@ function template_shd_topictoticket()
225 225
 						<strong>', $txt['shd_new_subject'], ':</strong>
226 226
 					</dt>
227 227
 					<dd>
228
-						<input type="text" name="subject" id="subject" value="', $context['topic_subject'], '" />
228
+						<input type="text" name="subject" id="subject" value="', $context['topic_subject'], '">
229 229
 					</dd>
230 230
 				</dl>
231 231
 				<dl class="settings">
... ...
@@ -233,7 +233,7 @@ function template_shd_topictoticket()
233 233
 						<strong>', $txt['shd_move_send_pm_topic'], ':</strong>
234 234
 					</dt>
235 235
 					<dd>
236
-						<input type="checkbox" name="send_pm" id="send_pm" checked="checked" onclick="document.getElementById(\'pm_message\').style.display = this.checked ? \'block\' : \'none\';" class="input_check" />
236
+						<input type="checkbox" name="send_pm" id="send_pm" checked="checked" onclick="document.getElementById(\'pm_message\').style.display = this.checked ? \'block\' : \'none\';" >
237 237
 					</dd>
238 238
 				</dl>
239 239
 				<fieldset id="pm_message">
... ...
@@ -254,7 +254,7 @@ function template_shd_topictoticket()
254 254
 		echo '
255 255
 				<dl class="settings">
256 256
 					<dt>', $context['ttm_move_dept'], '</dt>
257
-					<input type="hidden" name="dept" value="', $dept[0], '" />
257
+					<input type="hidden" name="dept" value="', $dept[0], '">
258 258
 				</dl>';
259 259
 	}
260 260
 	else
... ...
@@ -280,10 +280,10 @@ function template_shd_topictoticket()
280 280
 	}
281 281
 
282 282
 	echo '
283
-				<input type="submit" value="', $txt['shd_move_topic'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
284
-				<input type="submit" name="cancel" value="', $txt['shd_cancel_topic'], '" accesskey="c" class="button_submit" />
285
-				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
286
-				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
283
+				<input type="submit" value="', $txt['shd_move_topic'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button">
284
+				<input type="submit" name="cancel" value="', $txt['shd_cancel_topic'], '" accesskey="c" class="button">
285
+				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
286
+				<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">
287 287
 		</form>
288 288
 		</div>';
289 289
 }
... ...
@@ -36,10 +36,10 @@ function template_main()
36 36
 			<div class="floatright smalltext">
37 37
 				<form action="', $scripturl, '?action=helpdesk;sa=ticket" method="get">
38 38
 					', $txt['shd_go_to_ticket'], ':
39
-					<input type="hidden" name="action" value="helpdesk" />
40
-					<input type="hidden" name="sa" value="ticket" />
41
-					<input type="text" class="input_text" id="ticketJump" name="ticket" size="4" />
42
-					<input type="submit" class="button_submit" value="', $txt['shd_go'], '" onclick="shd_quickTicketJump(this.parentNode.ticketJump.value);" />
39
+					<input type="hidden" name="action" value="helpdesk">
40
+					<input type="hidden" name="sa" value="ticket">
41
+					<input type="text"  id="ticketJump" name="ticket" size="4">
42
+					<input type="submit" class="button" value="', $txt['shd_go'], '" onclick="shd_quickTicketJump(this.parentNode.ticketJump.value);">
43 43
 				</form>
44 44
 			</div>
45 45
 			<div class="floatleft">
... ...
@@ -105,10 +105,10 @@ function template_shd_depts()
105 105
 			<div class="shd_gototicket smalltext">
106 106
 				<form action="', $scripturl, '?action=helpdesk;sa=ticket" method="get">
107 107
 					', $txt['shd_go_to_ticket'], ':
108
-					<input type="hidden" name="action" value="helpdesk" />
109
-					<input type="hidden" name="sa" value="ticket" />
110
-					<input type="text" class="input_text" id="ticketJump" name="ticket" size="4" />
111
-					<input type="submit" class="button_submit" value="', $txt['shd_go'], '" onclick="shd_quickTicketJump(this.parentNode.ticketJump.value);" />
108
+					<input type="hidden" name="action" value="helpdesk">
109
+					<input type="hidden" name="sa" value="ticket">
110
+					<input type="text"  id="ticketJump" name="ticket" size="4">
111
+					<input type="submit" class="button" value="', $txt['shd_go'], '" onclick="shd_quickTicketJump(this.parentNode.ticketJump.value);">
112 112
 				</form>
113 113
 			</div>
114 114
 			<div id="welcome">
... ...
@@ -117,7 +117,7 @@ function template_shd_depts()
117 117
 			</div>
118 118
 			<div class="cat_bar">
119 119
 				<h3 class="catbg">
120
-					<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="*" />
120
+					<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="*">
121 121
 					', $txt['shd_departments'], '
122 122
 				</h3>
123 123
 			</div>
... ...
@@ -134,7 +134,7 @@ function template_shd_depts()
134 134
 
135 135
 		echo '
136 136
 					<tr class="windowbg2">
137
-						<td class="icon windowbg"><img src="', $icon, '" alt="*" /></td>
137
+						<td class="icon windowbg"><img src="', $icon, '" alt="*"></td>
138 138
 						<td class="info"><a href="', $scripturl, '?', $context['shd_home'], ';dept=', $dept['id_dept'], '">', $dept['dept_name'], '</a></td>
139 139
 						<td class="stats windowbg">', $dept['tickets']['open'], ' open<br>', $dept['tickets']['closed'], ' closed</td>
140 140
 						<td class="lastpost"></td>
... ...
@@ -173,9 +173,9 @@ function template_closedtickets()
173 173
 			<div class="shd_gototicket smalltext">
174 174
 				<form action="', $scripturl, '?action=helpdesk" method="post">
175 175
 					', $txt['shd_go_to_ticket'], ':
176
-					<input type="text" name="ticket" size="4" />
177
-					<input type="submit" value="', $txt['shd_go'], '" />
178
-					<input type="hidden" name="sa" value="ticket" />
176
+					<input type="text" name="ticket" size="4">
177
+					<input type="submit" value="', $txt['shd_go'], '">
178
+					<input type="hidden" name="sa" value="ticket">
179 179
 				</form>
180 180
 			</div>
181 181
 			<div id="welcome">
... ...
@@ -239,9 +239,9 @@ function template_recyclebin()
239 239
 			<div class="shd_gototicket smalltext">
240 240
 				<form action="', $scripturl, '?action=helpdesk" method="post">
241 241
 					', $txt['shd_go_to_ticket'], ':
242
-					<input type="text" name="ticket" size="4" />
243
-					<input type="submit" value="', $txt['shd_go'], '" />
244
-					<input type="hidden" name="sa" value="ticket" />
242
+					<input type="text" name="ticket" size="4">
243
+					<input type="submit" value="', $txt['shd_go'], '">
244
+					<input type="hidden" name="sa" value="ticket">
245 245
 				</form>
246 246
 			</div>
247 247
 			<div id="welcome">
... ...
@@ -294,7 +294,7 @@ function template_collapsed_ticket_block()
294 294
 	echo '
295 295
 		<div class="cat_bar">
296 296
 			<h3 class="catbg">
297
-				<img src="', $settings['default_images_url'], '/simpledesk/', $context['ticket_blocks'][$context['current_block']]['block_icon'], '" alt="*" />
297
+				<img src="', $settings['default_images_url'], '/simpledesk/', $context['ticket_blocks'][$context['current_block']]['block_icon'], '" alt="*">
298 298
 				', (empty($context['block_link']) ? '' : '<a href="' . $context['block_link'] . '">'), $context['ticket_blocks'][$context['current_block']]['title'], '
299 299
 				<span class="smalltext">(', $context['ticket_blocks'][$context['current_block']]['count'], ' ', ($context['ticket_blocks'][$context['current_block']]['count'] == 1 ? $txt['shd_count_ticket_1'] : $txt['shd_count_tickets']), ')</span>', (empty($context['block_link']) ? '' : '</a>'), '
300 300
 			</h3>
... ...
@@ -320,7 +320,7 @@ function template_ticket_block()
320 320
 		<div class="cat_bar">
321 321
 			<h3 id="shd_block_', $context['current_block'], '" class="catbg">
322 322
 				', !empty($context['ticket_blocks'][$context['current_block']]['page_index']) ? '<span class="floatright smalltext">' . $context['ticket_blocks'][$context['current_block']]['page_index'] . '</span>' : '', '
323
-				<img src="', $settings['default_images_url'], '/simpledesk/', $context['ticket_blocks'][$context['current_block']]['block_icon'], '" alt="*" />
323
+				<img src="', $settings['default_images_url'], '/simpledesk/', $context['ticket_blocks'][$context['current_block']]['block_icon'], '" alt="*">
324 324
 				', (empty($context['block_link']) ? '' : '<a href="' . $context['block_link'] . '">'), $context['ticket_blocks'][$context['current_block']]['title'], '
325 325
 				<span class="smalltext">(', $context['ticket_blocks'][$context['current_block']]['count'], ' ', ($context['ticket_blocks'][$context['current_block']]['count'] == 1 ? $txt['shd_count_ticket_1'] : $txt['shd_count_tickets']), ')</span>', (empty($context['block_link']) ? '' : '</a>'), '
326 326
 			</h3>
... ...
@@ -336,7 +336,7 @@ function template_ticket_block()
336 336
 		{
337 337
 			case 'ticket_id':
338 338
 				echo '
339
-							<td width="8%" colspan="2"><img src="', $settings['default_images_url'], '/simpledesk/ticket.png" class="shd_smallicon" alt="" /> ', template_shd_menu_header('ticketid', $txt['shd_ticket']), '</td>';
339
+							<td width="8%" colspan="2"><img src="', $settings['default_images_url'], '/simpledesk/ticket.png" class="shd_smallicon" alt=""> ', template_shd_menu_header('ticketid', $txt['shd_ticket']), '</td>';
340 340
 				$block_width++; // is 2 blocks wide
341 341
 				break;
342 342
 			case 'ticket_name':
... ...
@@ -345,27 +345,27 @@ function template_ticket_block()
345 345
 				break;
346 346
 			case 'starting_user':
347 347
 				echo '
348
-							<td width="12%"><img src="', $settings['default_images_url'], '/simpledesk/user.png" class="shd_smallicon" alt="" /> ', template_shd_menu_header('starter', $txt['shd_ticket_started_by']), '</td>';
348
+							<td width="12%"><img src="', $settings['default_images_url'], '/simpledesk/user.png" class="shd_smallicon" alt=""> ', template_shd_menu_header('starter', $txt['shd_ticket_started_by']), '</td>';
349 349
 				break;
350 350
 			case 'last_reply':
351 351
 				echo '
352
-							<td width="20%"><img src="', $settings['default_images_url'], '/simpledesk/staff.png" class="shd_smallicon" alt="" /> ', template_shd_menu_header('lastreply', $txt['shd_ticket_updated_by']), '</td>';
352
+							<td width="20%"><img src="', $settings['default_images_url'], '/simpledesk/staff.png" class="shd_smallicon" alt=""> ', template_shd_menu_header('lastreply', $txt['shd_ticket_updated_by']), '</td>';
353 353
 				break;
354 354
 			case 'assigned':
355 355
 				echo '
356
-							<td width="12%"><img src="', $settings['default_images_url'], '/simpledesk/staff.png" class="shd_smallicon" alt="" /> ', template_shd_menu_header('assigned', $txt['shd_ticket_assigned']), '</td>';
356
+							<td width="12%"><img src="', $settings['default_images_url'], '/simpledesk/staff.png" class="shd_smallicon" alt=""> ', template_shd_menu_header('assigned', $txt['shd_ticket_assigned']), '</td>';
357 357
 				break;
358 358
 			case 'status':
359 359
 				echo '
360
-							<td width="17%"><img src="', $settings['default_images_url'], '/simpledesk/status.png" class="shd_smallicon" alt="" /> ', template_shd_menu_header('status', $txt['shd_ticket_status']), '</td>';
360
+							<td width="17%"><img src="', $settings['default_images_url'], '/simpledesk/status.png" class="shd_smallicon" alt=""> ', template_shd_menu_header('status', $txt['shd_ticket_status']), '</td>';
361 361
 				break;
362 362
 			case 'urgency':
363 363
 				echo '
364
-							<td width="8%"><img src="', $settings['default_images_url'], '/simpledesk/urgency.png" class="shd_smallicon" alt="" /> ', template_shd_menu_header('urgency', $txt['shd_ticket_urgency']), '</td>';
364
+							<td width="8%"><img src="', $settings['default_images_url'], '/simpledesk/urgency.png" class="shd_smallicon" alt=""> ', template_shd_menu_header('urgency', $txt['shd_ticket_urgency']), '</td>';
365 365
 				break;
366 366
 			case 'updated':
367 367
 				echo '
368
-							<td width="22%"><img src="', $settings['default_images_url'], '/simpledesk/time.png" class="shd_smallicon" alt="" /> ', template_shd_menu_header('updated', $txt['shd_ticket_updated']), '</td>';
368
+							<td width="22%"><img src="', $settings['default_images_url'], '/simpledesk/time.png" class="shd_smallicon" alt=""> ', template_shd_menu_header('updated', $txt['shd_ticket_updated']), '</td>';
369 369
 				break;
370 370
 			case 'replies':
371 371
 				echo '
... ...
@@ -414,8 +414,8 @@ function template_ticket_block()
414 414
 						$unread_txt = $ticket['is_unread'] ? $txt['shd_ticket_new'] : $txt['shd_ticket_notnew'];
415 415
 						echo '
416 416
 							<td width="1%">
417
-								<img src="', $settings['default_images_url'], '/simpledesk/', $unread_image, '" alt="', $unread_txt, '" title="', $unread_txt, '" />
418
-								<img src="', $settings['default_images_url'], '/simpledesk/', $private_image, '" alt="', $private_txt, '" title="', $private_txt, '" />
417
+								<img src="', $settings['default_images_url'], '/simpledesk/', $unread_image, '" alt="', $unread_txt, '" title="', $unread_txt, '">
418
+								<img src="', $settings['default_images_url'], '/simpledesk/', $private_image, '" alt="', $private_txt, '" title="', $private_txt, '">
419 419
 							</td>
420 420
 							<td width="4%" class="smalltext">', $ticket['display_id'], '</td>';
421 421
 						break;
... ...
@@ -533,7 +533,7 @@ function template_shd_menu_header($header, $string)
533 533
 	$html = '<a href="' . $scripturl . '?action=helpdesk;sa=' . $_REQUEST['sa'] . ($_REQUEST['sa'] == 'viewblock' ? ';block=' . $_REQUEST['block'] : '') . $link . $context['shd_dept_link'] . '">' . $string . '</a> ';
534 534
 
535 535
 	if ($context['ticket_blocks'][$context['current_block']]['sort']['item'] == $header)
536
-		$html .= '<img src="' . $settings['images_url']  . '/simpledesk/move_' . ($context['ticket_blocks'][$context['current_block']]['sort']['direction'] == 'asc' ? 'down' : 'up') . '.png" alt="" />';
536
+		$html .= '<img src="' . $settings['images_url']  . '/simpledesk/move_' . ($context['ticket_blocks'][$context['current_block']]['sort']['direction'] == 'asc' ? 'down' : 'up') . '.png" alt="">';
537 537
 
538 538
 	return $html;
539 539
 }
... ...
@@ -549,7 +549,7 @@ function template_shd_maintenance_above()
549 549
 	global $txt, $settings;
550 550
 	echo '
551 551
 		<div class="errorbox">
552
-			<img src="', $settings['default_images_url'], '/simpledesk/update.png" alt="*" class="shd_icon_minihead" /> &nbsp;', $txt['shd_helpdesk_maintenance'], '
552
+			<img src="', $settings['default_images_url'], '/simpledesk/update.png" alt="*" class="shd_icon_minihead"> &nbsp;', $txt['shd_helpdesk_maintenance'], '
553 553
 		</div>';
554 554
 }
555 555
 
556 556