HTML5 Changes, some template improvements
Antes

Antes commited on 2016-10-23 10:10:33
Showing 14 changed files, with 164 additions and 181 deletions.

... ...
@@ -64,22 +64,22 @@ function template_shd_admin()
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 />
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 />
67
+							<img src="', $settings['default_images_url'], '/simpledesk/support.png" alt="*" class="shd_icon_minihead" /> <strong>', $txt['shd_need_support'], '</strong><br>
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>
70 70
 							', $txt['shd_your_version'], ':
71
-						<em id="yourVersion">', SHD_VERSION, '</em><br />
71
+						<em id="yourVersion">', SHD_VERSION, '</em><br>
72 72
 							', $txt['shd_current_version'], ':
73
-						<em id="sdVersion">??</em><br /><br />
74
-							<img src="', $settings['default_images_url'], '/simpledesk/ticket.png" alt="*" class="shd_icon_minihead" /> <strong>', $txt['shd_ticket_information'], ':</strong><br />
73
+						<em id="sdVersion">??</em><br><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>
78 78
 						</em>
79 79
 						<div id="shd_ticket_total_information" style="display: none;">
80
-							&nbsp;&nbsp;&nbsp;', $txt['shd_open_tickets'], ': <em>', $context['open_tickets'], '</em><br />
81
-							&nbsp;&nbsp;&nbsp;', $txt['shd_closed_tickets'], ': <em>', $context['closed_tickets'], '</em><br />
82
-							&nbsp;&nbsp;&nbsp;', $txt['shd_recycled_tickets'], ': <em>', $context['recycled_tickets'], '</em><br />
80
+							&nbsp;&nbsp;&nbsp;', $txt['shd_open_tickets'], ': <em>', $context['open_tickets'], '</em><br>
81
+							&nbsp;&nbsp;&nbsp;', $txt['shd_closed_tickets'], ': <em>', $context['closed_tickets'], '</em><br>
82
+							&nbsp;&nbsp;&nbsp;', $txt['shd_recycled_tickets'], ': <em>', $context['recycled_tickets'], '</em><br>
83 83
 						</div>';
84 84
 
85 85
 	// Display all the members who can manage the helpdesk.
... ...
@@ -112,7 +112,7 @@ function template_shd_admin()
112 112
 				<div class="roundframe">
113 113
 					<div class="padding">
114 114
 						', $section['pretext'], '
115
-						<hr />';
115
+						<hr>';
116 116
 
117 117
 				foreach ($section['groups'] as $group)
118 118
 				{
... ...
@@ -127,7 +127,7 @@ function template_shd_admin()
127 127
 
128 128
 					if (isset($group['title']))
129 129
 					echo '
130
-								<strong>', $group['title'], '</strong>', !empty($group['desc']) ? ' - <em class="smalltext">' . $group['desc'] . '</em>' : '', '<hr />';
130
+								<strong>', $group['title'], '</strong>', !empty($group['desc']) ? ' - <em class="smalltext">' . $group['desc'] . '</em>' : '', '<hr>';
131 131
 
132 132
 					/*// Try to make this read nicely.
133 133
 					if (count($group['members']) <= 2)
... ...
@@ -190,7 +190,7 @@ function template_shd_admin()
190 190
 				sAnnouncementMessageTemplate: ', JavaScriptEscape('
191 191
 					<dt><a href="%href%" target="_blank">%subject%</a> ' . $txt['on'] . ' %time% ' . $txt['by'] . ' %author%</dt>
192 192
 					<dd>
193
-						%message%<br />
193
+						%message%<br>
194 194
 						<a href="%readmore%" class="smalltext" target="_blank">' . $txt['shd_admin_readmore'] . '</a>
195 195
 					</dd>
196 196
 				'), ',
... ...
@@ -366,7 +366,7 @@ function template_shd_show_settings()
366 366
 			echo '
367 367
 			<div class="windowbg2">
368 368
 				<div class="content">
369
-					<dl class="permsettings">';
369
+					<dl class="settings">';
370 370
 		}
371 371
 
372 372
 		// Hang about? Are you pulling my leg - a callback?!
... ...
@@ -424,16 +424,16 @@ function template_shd_show_settings()
424 424
 				// Some quick helpers...
425 425
 				$javascript = $config_var['javascript'];
426 426
 				$disabled = !empty($config_var['disabled']) ? ' disabled="disabled"' : '';
427
-				$subtext = !empty($config_var['subtext']) ? '<br /><span class="smalltext"> ' . $config_var['subtext'] . '</span>' : '';
427
+				$subtext = !empty($config_var['subtext']) ? '<br><span class="smalltext"> ' . $config_var['subtext'] . '</span>' : '';
428 428
 
429 429
 				// Show the [?] button.
430 430
 				if ($config_var['help'])
431 431
 					echo '
432
-							<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>
432
+							<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>
433 433
 						</dt>';
434 434
 				else
435 435
 					echo '
436
-							<a id="setting_', $config_var['name'], '"></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>
436
+							<a id="setting_', $config_var['name'], '"></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>
437 437
 						</dt>';
438 438
 
439 439
 				echo '
... ...
@@ -447,7 +447,7 @@ function template_shd_show_settings()
447 447
 				// Escape (via htmlspecialchars.) the text box.
448 448
 				elseif ($config_var['type'] == 'password')
449 449
 					echo '
450
-							<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 />
450
+							<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>
451 451
 							<input type="password" disabled="disabled" id="', $config_var['name'], '" name="', $config_var['name'], '[1]"', ($config_var['size'] ? ' size="' . $config_var['size'] . '"' : ''), ' class="input_password" />';
452 452
 				// Show a selection box.
453 453
 				elseif ($config_var['type'] == 'select')
... ...
@@ -512,8 +512,8 @@ function template_shd_show_settings()
512 512
 			if ($config_var == '')
513 513
 				echo '
514 514
 					</dl>
515
-					<hr class="hrcolor" />
516
-					<dl class="permsettings">';
515
+					<hr>
516
+					<dl class="settings">';
517 517
 			else
518 518
 				echo '
519 519
 						<dd>
... ...
@@ -528,7 +528,7 @@ function template_shd_show_settings()
528 528
 
529 529
 	if (empty($context['settings_save_dont_show']))
530 530
 		echo '
531
-						<hr class="hrcolor" />
531
+						<hr>
532 532
 						<div class="righttext">
533 533
 							<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" />
534 534
 						</div>';
... ...
@@ -633,9 +633,7 @@ function template_shd_action_log()
633 633
 				{
634 634
 					echo '
635 635
 						<tr class="windowbg">
636
-							<td width="1%">
637
-								<img src="', shd_image_url($action['action_icon']), '" alt="" class="shd_smallicon" />
638
-							</td>
636
+							<td width="1%"><img src="', shd_image_url($action['action_icon']), '" alt="" class="shd_smallicon" /></td>
639 637
 							<td class="smalltext">', $action['action_text'], '</td>
640 638
 							<td>', $action['time'], '</td>
641 639
 							<td>', $action['member']['link'], '</td>
... ...
@@ -680,8 +678,8 @@ function template_shd_admin_log()
680 678
 							', $txt['shd_admin_actionlog_title'], '
681 679
 						</h3>
682 680
 					</div>
683
-					<table class="shd_ticketlist" cellspacing="0" width="100%">
684
-						<tr class="titlebg">
681
+					<table class="table_grid">
682
+						<tr class="title_bar">
685 683
 							<td width="38%">
686 684
 								<img src="', $settings['default_images_url'], '/simpledesk/action.png" class="shd_smallicon" alt="" />
687 685
 								<a href="', $scripturl, '?action=admin;area=helpdesk_info;sa=adminlog', $context['sort'] == $sort_types['action'] && !isset($_REQUEST['asc']) ? ';sort=action;asc' : ';sort=action', '">
... ...
@@ -722,16 +720,15 @@ function template_shd_admin_log()
722 720
 
723 721
 			if (empty($context['actions']))
724 722
 				echo '
725
-						<tr class="windowbg2">
723
+						<tr class="windowbg">
726 724
 							<td colspan="7" class="shd_noticket">', $txt['shd_admin_actionlog_none'], '</td>
727 725
 						</tr>';
728 726
 			else
729 727
 			{
730
-				$use_bg2 = true; // start with windowbg2 to differentiate between that and windowbg2
731 728
 				foreach ($context['actions'] AS $action)
732 729
 				{
733 730
 					echo '
734
-						<tr class="', ($use_bg2 ? 'windowbg2' : 'windowbg'), '">
731
+						<tr class="windowbg">
735 732
 							<td class="smalltext">', $action['action_text'], '</td>
736 733
 							<td>', $action['time'], '</td>
737 734
 							<td>', $action['member']['link'], '</td>
... ...
@@ -739,8 +736,6 @@ function template_shd_admin_log()
739 736
 							<td>', !empty($action['member']['ip']) ? $action['member']['ip'] : $txt['shd_admin_actionlog_hidden'], '</td>
740 737
 							<td>', $action['can_remove'] && $context['can_delete'] ? '<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>
741 738
 						</tr>';
742
-
743
-					$use_bg2 = !$use_bg2;
744 739
 				}
745 740
 			}
746 741
 
... ...
@@ -769,27 +764,25 @@ function template_shd_support()
769 764
 
770 765
 	echo '
771 766
 	<div class="shd_admin_leftcolumn floatleft">
772
-		<div class="tborder">
773 767
 		<div class="cat_bar">
774 768
 			<h3 class="catbg">
775 769
 				<img src="', $settings['default_images_url'], '/simpledesk/edit.png" alt="*" /> ', $txt['shd_admin_support_form_title'], '
776 770
 			</h3>
777 771
 		</div>
778
-				<div class="roundframe">
772
+		<div class="roundframe noup">
779 773
 			<form action="', $context['shd_support_url'], '" method="post" class="content">
780 774
 				<dl id="post_header">
781 775
 					<dt><span id="caption_subject">', $txt['subject'], '</span></dt>
782 776
 					<dd><input type="text" name="subject" tabindex="1" size="80" maxlength="80" class="input_text" /></dd>
783 777
 				</dl>
784 778
 				<textarea class="editor" name="message" rows="12" cols="60" tabindex="2" style="width: 90%; height: 150px;"></textarea>
785
-						<br /><br />
779
+				<br><br>
786 780
 				<input type="hidden" value="', $forum_version, '" name="smf_version" />
787 781
 				<input type="hidden" value="', SHD_VERSION, '" name="shd_version" />
788 782
 				<input type="submit" value="', $txt['shd_admin_support_send'], '" tabindex="3" accesskey="s" class="button_submit" />
789 783
 			</form>
790 784
 		</div>
791 785
 	</div>
792
-	</div>
793 786
 	<div class="shd_admin_rightcolumn floatleft">
794 787
 		<div class="cat_bar">
795 788
 			<h3 class="catbg">
... ...
@@ -33,7 +33,7 @@ function template_shd_cannedreplies_home()
33 33
 	if (empty($context['canned_replies']))
34 34
 	{
35 35
 		echo '
36
-				<br />
36
+				<br>
37 37
 				<div class="tborder">
38 38
 					<div class="title_bar">
39 39
 						<h3 class="titlebg">
... ...
@@ -48,7 +48,7 @@ function template_shd_cannedreplies_home()
48 48
 		{
49 49
 			echo '
50 50
 				<div class="tborder">
51
-					<br />
51
+					<br>
52 52
 					<div class="cat_bar">
53 53
 						<h3 class="catbg">
54 54
 							', $cat['name'], '
... ...
@@ -165,16 +165,14 @@ function template_shd_edit_canned_reply()
165 165
 	$editor_context = &$context['controls']['richedit'][$context['post_box_name']];
166 166
 
167 167
 	echo '
168
-				<div class="tborder">
169 168
 				<div class="cat_bar">
170 169
 					<h3 class="catbg">
171 170
 						<img src="', $settings['default_images_url'], '/simpledesk/cannedreplies.png" class="icon" alt="*" />
172 171
 						', $txt['shd_admin_cannedreplies_home'], '
173 172
 					</h3>
174 173
 				</div>
175
-					<p class="information">
174
+				<div class="information">
176 175
 					', $txt['shd_admin_cannedreplies_homedesc'], '
177
-					</p>
178 176
 				</div>
179 177
 				<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;">
180 178
 					<div class="cat_bar">
... ...
@@ -183,17 +181,18 @@ function template_shd_edit_canned_reply()
183 181
 							', $context['page_title'], '
184 182
 						</h3>
185 183
 					</div>
186
-					<div class="roundframe">
187
-						<div class="content">
188
-							<dl class="permsettings cannedsettings">
184
+					<div class="roundframe noup">
185
+						<dl class="settings">
189 186
 							<dt><strong>', $txt['shd_admin_cannedreplies_replytitle'], '</strong></dt>
190
-								<dd><input type="text" class="input_text" value="', $context['canned_reply']['title'], '" name="title" /></dd>
191
-								<dt><strong>', $txt['shd_admin_cannedreplies_content'], '</strong>
192
-								<dd>
187
+							<dd><input type="text" class="input_text" value="', $context['canned_reply']['title'], '" name="title" size="80" /></dd>
188
+						</dl>
189
+						<p><strong>', $txt['shd_admin_cannedreplies_content'], '</strong></p>
190
+						<div class="block">
193 191
 							<div id="bbcbox"></div>
194 192
 							<div id="smileybox"></div>',
195 193
 							template_control_richedit($context['post_box_name'], 'smileybox', 'bbcbox'), '
196
-								</dd>
194
+						</div>
195
+						<dl class="settings">
197 196
 							<dt><strong>', $txt['shd_admin_cannedreplies_active'], '</strong></dt>
198 197
 							<dd><input type="checkbox" name="active" class="input_check"', !empty($context['canned_reply']['active']) ? ' checked="checked"' : '', ' />
199 198
 							<dt><strong>', $txt['shd_admin_cannedreplies_selectvisible'], '</strong></dt>
... ...
@@ -204,16 +203,15 @@ function template_shd_edit_canned_reply()
204 203
 							</dd>
205 204
 						</dl>
206 205
 					</div>
207
-					</div>
206
+					<br>
208 207
 					<div class="cat_bar">
209 208
 						<h3 class="catbg">
210 209
 							<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="*" />
211 210
 							', $txt['shd_admin_cannedreplies_departments'], '
212 211
 						</h3>
213 212
 					</div>
214
-					<div class="roundframe">
215
-						<div class="content">
216
-							<dl class="permsettings cannedsettings">';
213
+					<div class="roundframe noup">
214
+						<dl class="settings">';
217 215
 
218 216
 	foreach ($context['canned_reply']['depts_available'] as $dept_id => $dept_name)
219 217
 	{
... ...
@@ -225,7 +223,7 @@ function template_shd_edit_canned_reply()
225 223
 	echo '
226 224
 						</dl>
227 225
 					</div>
228
-					</div>
226
+					<br>
229 227
 					<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" />';
230 228
 
231 229
 	if ($context['canned_reply']['id'] != 'new')
... ...
@@ -237,8 +235,7 @@ function template_shd_edit_canned_reply()
237 235
 					<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
238 236
 					<input type="hidden" name="reply" value="', $context['canned_reply']['id'], '" />
239 237
 					<input type="hidden" name="cat" value="', $context['canned_reply']['cat'], '" />
240
-				</form>
241
-				<br />';
238
+				</form>';
242 239
 }
243 240
 
244 241
 function template_shd_move_reply_cat()
... ...
@@ -246,16 +243,14 @@ function template_shd_move_reply_cat()
246 243
 	global $context, $settings, $txt, $modSettings, $scripturl;
247 244
 
248 245
 	echo '
249
-				<div class="tborder">
250 246
 				<div class="cat_bar">
251 247
 					<h3 class="catbg">
252 248
 						<img src="', $settings['default_images_url'], '/simpledesk/cannedreplies.png" class="icon" alt="*" />
253 249
 						', $txt['shd_admin_cannedreplies_home'], '
254 250
 					</h3>
255 251
 				</div>
256
-					<p class="information">
252
+				<div class="information">
257 253
 						', $txt['shd_admin_cannedreplies_homedesc'], '
258
-					</p>
259 254
 				</div>
260 255
 				<div class="cat_bar">
261 256
 					<h3 class="catbg">
... ...
@@ -265,7 +260,6 @@ function template_shd_move_reply_cat()
265 260
 				</div>
266 261
 				<div class="roundframe">
267 262
 					<form action="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=movereplycat;part=2" method="post">
268
-						<div class="content">
269 263
 						<dl class="settings">
270 264
 							<dt><strong>', $txt['shd_admin_cannedreplies_newcategory'], '</strong></dt>
271 265
 							<dd>
... ...
@@ -280,11 +274,7 @@ function template_shd_move_reply_cat()
280 274
 								</select>
281 275
 							</dd>
282 276
 						</dl>
283
-						</div>
284
-						<input type="submit" value="', $txt['shd_admin_cannedreplies_movereply'], '" onclick="return submitThisOnce(this);" class="button_submit" />';
285
-
286
-
287
-	echo '
277
+						<input type="submit" value="', $txt['shd_admin_cannedreplies_movereply'], '" onclick="return submitThisOnce(this);" class="button_submit" />
288 278
 						<input type="hidden" name="reply" value="', $_REQUEST['reply'], '" />
289 279
 						<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
290 280
 						<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
... ...
@@ -52,7 +52,7 @@ function template_shd_custom_field_home()
52 52
 			echo '
53 53
 						<tr class="windowbg">
54 54
 							<td width="2%">', empty($field['icon']) ? '' : '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" class="icon" alt="*" />', '</td>
55
-							<td>', $field['field_name'], '<br /><span class="smalltext">', $field['field_desc'], '</span></td>
55
+							<td>', $field['field_name'], '<br><span class="smalltext">', $field['field_desc'], '</span></td>
56 56
 							<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>
57 57
 							<td>', $txt['shd_admin_custom_fields_ui_' . $field['field_type']], '</td>
58 58
 							<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>
... ...
@@ -163,7 +163,7 @@ function template_shd_custom_field_edit()
163 163
 				function add_option()
164 164
 				{
165 165
 					var ftype = document.getElementById("cf_fieldtype").value;
166
-					var newHTML = \'<br /><input type="radio" id="radio_\' + startOptID + \'" name="default_select" value="\' + startOptID + \'" id="\' + startOptID + \'"\';
166
+					var newHTML = \'<br><input type="radio" id="radio_\' + startOptID + \'" name="default_select" value="\' + startOptID + \'" id="\' + startOptID + \'"\';
167 167
 					if (ftype == ', CFIELD_TYPE_MULTI, ')
168 168
 						newHTML += \' style="display:none;"\';
169 169
 					newHTML += \' class="input_radio" />\' + "\n";
... ...
@@ -229,13 +229,13 @@ function template_shd_custom_field_edit()
229 229
 					<div class="roundframe">
230 230
 						<div class="content">
231 231
 							<dl class="settings">
232
-								<dt><strong>', $txt['shd_admin_custom_fields_fieldname'], ':</strong><br /><span class="smalltext">', $txt['shd_admin_custom_fields_fieldname_desc'], '</span></dt>
232
+								<dt><strong>', $txt['shd_admin_custom_fields_fieldname'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_fields_fieldname_desc'], '</span></dt>
233 233
 								<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>
234
-								<dt><strong>', $txt['shd_admin_custom_fields_description'], ':</strong><br /><span class="smalltext">', $txt['shd_admin_custom_fields_description_desc'], '</span></dt>
234
+								<dt><strong>', $txt['shd_admin_custom_fields_description'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_fields_description_desc'], '</span></dt>
235 235
 								<dd><textarea name="description" id="cf_description" cols="40" rows="4">', !empty($context['custom_field']['field_desc']) ? $context['custom_field']['field_desc'] : '', '</textarea></dd>
236
-								<dt><strong>', $txt['shd_admin_custom_fields_active'], ':</strong><br /><span class="smalltext">', $txt['shd_admin_custom_fields_active_desc'], '</span></dt>
236
+								<dt><strong>', $txt['shd_admin_custom_fields_active'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_fields_active_desc'], '</span></dt>
237 237
 								<dd><input type="checkbox" name="active" id="cf_active"', $context['field_active'],'class="input_check" /></dd>
238
-								<dt><strong>', $txt['shd_admin_custom_fields_icon'], ':</strong><br /><span class="smalltext">', $txt['shd_admin_custom_fields_icon_desc'], '</span></dt>
238
+								<dt><strong>', $txt['shd_admin_custom_fields_icon'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_fields_icon_desc'], '</span></dt>
239 239
 								<dd class="nowrap">
240 240
 									<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>
241 241
 									<select name="field_icon" id="cf_fieldicon" onchange="javascript:set_fieldicon(this.value);">';
... ...
@@ -251,7 +251,7 @@ function template_shd_custom_field_edit()
251 251
 	echo '
252 252
 									</select>
253 253
 								</dd>
254
-								<dt><strong>', $txt['shd_admin_custom_fields_visible'], ':</strong><br /><span class="smalltext">', $txt['shd_admin_custom_fields_visible_desc'], '</span></dt>
254
+								<dt><strong>', $txt['shd_admin_custom_fields_visible'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_fields_visible_desc'], '</span></dt>
255 255
 								<dd>
256 256
 									<span id="cf_fieldvisible_icon"></span>
257 257
 									<select name="field_visible" id="cf_fieldvisible" onchange="javascript:update_field_location(this.value);">
... ...
@@ -260,7 +260,7 @@ function template_shd_custom_field_edit()
260 260
 										<option value="', (CFIELD_TICKET | CFIELD_REPLY), '"',($context['field_loc'] == (CFIELD_TICKET | CFIELD_REPLY) ? ' selected="selected"' : ''), '>', $txt['shd_admin_custom_fields_visible_both'], '</option>
261 261
 									</select>
262 262
 								</dd>
263
-								<dt id="placement_dt"', (($context['field_loc'] == CFIELD_TICKET || $context['field_loc'] == (CFIELD_TICKET | CFIELD_REPLY)) ? '' : ' style="display: none;"'), '><strong>', $txt['shd_admin_custom_field_placement'], ':</strong><br /><span class="smalltext">', $txt['shd_admin_custom_field_placement_desc'], '</span></dt>
263
+								<dt id="placement_dt"', (($context['field_loc'] == CFIELD_TICKET || $context['field_loc'] == (CFIELD_TICKET | CFIELD_REPLY)) ? '' : ' style="display: none;"'), '><strong>', $txt['shd_admin_custom_field_placement'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_field_placement_desc'], '</span></dt>
264 264
 								<dd id="placement_dd"', (($context['field_loc'] == CFIELD_TICKET || $context['field_loc'] == (CFIELD_TICKET | CFIELD_REPLY)) ? '' : ' style="display: none;"'), '>
265 265
 									<select name="placement" id="cf_placement">
266 266
 										<option id="details" value="', CFIELD_PLACE_DETAILS, '"', ($context['placement'] == CFIELD_PLACE_DETAILS ? ' selected="selected"' : ''), '>', $txt['shd_admin_custom_field_placement_details'], '</option>
... ...
@@ -269,13 +269,13 @@ function template_shd_custom_field_edit()
269 269
 										<option id="place_prefixfilter" value="', CFIELD_PLACE_PREFIXFILTER, '"', ($context['placement'] == CFIELD_PLACE_PREFIXFILTER ? ' selected="selected"' : ''), '>', $txt['shd_admin_custom_field_placement_prefixfilter'], '</option>
270 270
 									</select>
271 271
 								</dd>
272
-								<dt><strong>', $txt['shd_admin_custom_field_can_see'], ':</strong><br /><span class="smalltext">', $txt['shd_admin_custom_field_can_see_desc'], '</span></dt>
272
+								<dt><strong>', $txt['shd_admin_custom_field_can_see'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_field_can_see_desc'], '</span></dt>
273 273
 								<dd>
274 274
 									<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'], '"/>
275 275
 									<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'], '"/>
276 276
 									<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'], '" />
277 277
 								</dd>
278
-								<dt><strong>', $txt['shd_admin_custom_field_can_edit'], ':</strong><br /><span class="smalltext">', $txt['shd_admin_custom_field_can_edit_desc'], '</span></dt>
278
+								<dt><strong>', $txt['shd_admin_custom_field_can_edit'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_field_can_edit_desc'], '</span></dt>
279 279
 								<dd>
280 280
 									<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'], '"/>
281 281
 									<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'], '"/>
... ...
@@ -308,7 +308,7 @@ function template_shd_custom_field_edit()
308 308
 	echo '
309 309
 									</select>
310 310
 								</dd>
311
-								<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>
311
+								<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>
312 312
 								<dd id="max_length_dd"', in_array($context['field_type_value'], array(CFIELD_TYPE_TEXT, CFIELD_TYPE_LARGETEXT)) ? '' : ' style="display: none;"','>
313 313
 									<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" />
314 314
 								</dd>
... ...
@@ -319,7 +319,7 @@ function template_shd_custom_field_edit()
319 319
 									<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" />
320 320
 									<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" />
321 321
 								</dd>
322
-								<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>
322
+								<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>
323 323
 								<dd id="bbc_dd"', $context['field_type_value'] == CFIELD_TYPE_TEXT || $context['field_type_value'] == CFIELD_TYPE_LARGETEXT ? '' : ' style="display: none;"','>
324 324
 									<input type="checkbox" name="bbc" id="cf_bbc"',empty($modSettings['shd_allow_ticket_bbc']) ? ' disabled="disabled"' : (!empty($context['custom_field']['bbc']) ? ' checked="checked"' : ''), ' />
325 325
 								</dd>
... ...
@@ -345,7 +345,7 @@ function template_shd_custom_field_edit()
345 345
 			continue;
346 346
 
347 347
 		echo '
348
-									<br />
348
+									<br>
349 349
 									<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" />
350 350
 									<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" />
351 351
 									<input type="text" name="select_option[', $k, ']" value="', $option, '" class="input_text" />';
... ...
@@ -363,7 +363,7 @@ function template_shd_custom_field_edit()
363 363
 									<input type="checkbox" name="default_check" class="input_check"',($context['custom_field']['default_value'] == 1 ? ' checked="checked"' : ''), ' onclick="update_default_label(this.checked);" />
364 364
 									<span class="smalltext" id="default_label">', $txt['shd_admin_default_state_' . ($context['custom_field']['default_value'] == 1 ? 'on' : 'off')], '</span>
365 365
 								</dd>
366
-								<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>
366
+								<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>
367 367
 								<dd id="display_empty_dd">
368 368
 									<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"' : ''), '/>
369 369
 								</dd>
... ...
@@ -401,7 +401,7 @@ function template_shd_custom_field_edit()
401 401
 	}
402 402
 
403 403
 	echo '
404
-					<br />
404
+					<br>
405 405
 					<input type="submit" value="', $txt['shd_admin_save_custom_field'], '" accesskey="s" class="button_submit" />
406 406
 					', !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" />', '
407 407
 					<input type="submit" value="', $txt['shd_admin_cancel_custom_field'], '" name="cancel" class="button_submit" />
... ...
@@ -275,7 +275,7 @@ function template_shd_edit_dept()
275 275
 
276 276
 	echo '
277 277
 						</table>
278
-						<br />
278
+						<br>
279 279
 					</div>
280 280
 
281 281
 					<div class="floatleft">
... ...
@@ -185,7 +185,7 @@ function template_shd_admin_maint_home()
185 185
 						<dt><input type="checkbox" checked="checked" id="moveclosed" name="moveclosed" class="input_check" /> <label for="moveclosed">', $txt['shd_admin_maint_massdeptmove_closed'], '</label></dt>
186 186
 						<dt><input type="checkbox" checked="checked" id="movedeleted" name="movedeleted" class="input_check" /> <label for="movedeleted">', $txt['shd_admin_maint_massdeptmove_deleted'], '</label></dt>
187 187
 					</dl>
188
-					<br />
188
+					<br>
189 189
 					<dl class="settings">
190 190
 						<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>
191 191
 						<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>
... ...
@@ -61,7 +61,7 @@ function template_shd_permissions_home()
61 61
 	echo '
62 62
 					</table>
63 63
 				</div>
64
-				<br /><br />
64
+				<br><br>
65 65
 				<div class="tborder">
66 66
 					<div class="title_bar">
67 67
 						<h3 class="titlebg">
... ...
@@ -184,7 +184,7 @@ function template_shd_display_permission_list($permissions)
184 184
 		foreach ($rows as $rowitem => $rowicon)
185 185
 		{
186 186
 			if (!empty($permission_set[$rowitem]))
187
-				echo $txt['shd_permgroup_short_' . $rowitem], ': ', implode(' ', $permission_set[$rowitem]), '<br />';
187
+				echo $txt['shd_permgroup_short_' . $rowitem], ': ', implode(' ', $permission_set[$rowitem]), '<br>';
188 188
 		}
189 189
 
190 190
 		echo '</td>';
... ...
@@ -416,7 +416,7 @@ function template_shd_edit_role()
416 416
 							</div>
417 417
 						</div>
418 418
 						<span id="permfooter_', $rowitem, '"></span>
419
-						<br />';
419
+						<br>';
420 420
 		}
421 421
 
422 422
 		echo '
... ...
@@ -479,7 +479,7 @@ function template_shd_edit_role()
479 479
 
480 480
 	echo '
481 481
 						</table>
482
-						<br />
482
+						<br>
483 483
 					</div>
484 484
 
485 485
 					<div class="tborder floatleft" style="width: 100%;">
... ...
@@ -509,7 +509,7 @@ function template_shd_edit_role()
509 509
 
510 510
 	echo '
511 511
 						</table>
512
-						<br />
512
+						<br>
513 513
 					</div>
514 514
 
515 515
 					<div class="floatleft">
... ...
@@ -78,7 +78,7 @@ function template_shd_plugin_listing()
78 78
 		if (!empty($plugin['languages']))
79 79
 		{
80 80
 			echo '
81
-					<div class="langblock">', $txt['shd_admin_plugins_languages'], ':<br />';
81
+					<div class="langblock">', $txt['shd_admin_plugins_languages'], ':<br>';
82 82
 			foreach ($plugin['languages'] as $language)
83 83
 			{
84 84
 				if (!empty($txt['shd_admin_plugins_lang_' . $language]))
... ...
@@ -94,7 +94,7 @@ function template_shd_plugin_listing()
94 94
 					<p>';
95 95
 		if (!empty($plugin['details']['description']))
96 96
 			echo '
97
-						', $plugin['details']['description'], '<br />';
97
+						', $plugin['details']['description'], '<br>';
98 98
 
99 99
 		echo '			', $txt['shd_admin_plugins_writtenby'], ': ', (empty($plugin['details']['website']) ? $plugin['details']['author'] : '<a href="' . $plugin['details']['website'] . '" target="_blank" title="' . $txt['shd_admin_plugins_website'] . ' - ' . $plugin['details']['website'] . '">' . $plugin['details']['author'] . '</a>'), '
100 100
 					</p>';
... ...
@@ -66,7 +66,7 @@ function template_viewticket()
66 66
 			echo '
67 67
 					<div class="shd_ticketdetails">
68 68
 							<strong><img src="', $settings['default_images_url'], '/simpledesk/details.png" alt="" class="shd_smallicon shd_icon_minihead" /> ', $txt['shd_ticket_details'], '</strong>
69
-							<hr />
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>
72 72
 										<dd>', $context['ticket']['display_id'], '</dd>
... ...
@@ -119,7 +119,7 @@ function template_viewticket()
119 119
 				if ($content)
120 120
 				{
121 121
 					echo '
122
-							<hr />
122
+							<hr>
123 123
 							<ul>';
124 124
 
125 125
 					foreach ($context['ticket']['custom_fields']['prefixfilter'] AS $field)
... ...
@@ -179,7 +179,7 @@ function template_viewticket()
179 179
 					echo '
180 180
 						<div class="information shd_additional_details">
181 181
 							<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
-							<hr />
182
+							<hr>
183 183
 							<ul>';
184 184
 
185 185
 					foreach ($context['ticket']['custom_fields']['details'] AS $field)
... ...
@@ -265,7 +265,7 @@ function template_viewticket()
265 265
 			if (!empty($output))
266 266
 				echo '[', trim($output), '] ';
267 267
 
268
-			echo $context['ticket']['subject'], '</strong><hr /><br />
268
+			echo $context['ticket']['subject'], '</strong><hr><br>
269 269
 							<div id="shd_ticket_text">
270 270
 								', $context['ticket']['body'];
271 271
 
... ...
@@ -283,13 +283,13 @@ function template_viewticket()
283 283
 			if ($context['can_reply'])
284 284
 				echo '
285 285
 						<div class="information shd_replybutton floatright" id="shd_replybutton">
286
-							<a href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';num_replies=', $context['ticket']['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_reply'], '</a><br />
286
+							<a href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';num_replies=', $context['ticket']['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_reply'], '</a><br>
287 287
 						</div>';
288 288
 
289 289
 			if ($context['can_quote'])
290 290
 				echo '
291 291
 						<div class="information shd_quotebutton floatright" id="shd_quotebutton">
292
-							<a onclick="return oQuickReply.quote(', $context['ticket']['first_msg'], ', \'', $context['session_id'], '\', \'', $context['session_var'], '\', true);" href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';quote=', $context['ticket']['first_msg'], ';num_replies=', $context['ticket']['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_quote'], '</a><br />
292
+							<a onclick="return oQuickReply.quote(', $context['ticket']['first_msg'], ', \'', $context['session_id'], '\', \'', $context['session_var'], '\', true);" href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';quote=', $context['ticket']['first_msg'], ';num_replies=', $context['ticket']['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_ticket_quote'], '</a><br>
293 293
 						</div>';
294 294
 
295 295
 			template_inline_attachments($context['ticket']['first_msg']);
... ...
@@ -412,10 +412,10 @@ function template_viewticketattach()
412 412
 			{
413 413
 				if ($attachment['thumbnail']['has_thumb'])
414 414
 					echo '
415
-										<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 />';
415
+										<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>';
416 416
 				else
417 417
 					echo '
418
-										<img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" class="shd_thumb" /><br />';
418
+										<img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" class="shd_thumb" /><br>';
419 419
 			}
420 420
 
421 421
 			echo '
... ...
@@ -495,7 +495,7 @@ function template_viewnotifications()
495 495
 		{
496 496
 			if ($displayed_something)
497 497
 				echo '
498
-							<hr />';
498
+							<hr>';
499 499
 
500 500
 			echo '
501 501
 							<form action="', $scripturl, '?action=helpdesk;sa=notify;ticket=', $context['ticket_id'], '" method="post">';
... ...
@@ -507,7 +507,7 @@ function template_viewnotifications()
507 507
 								<input type="submit" value="', $txt['shd_ticket_monitor_on'], '" class="button_submit" />';
508 508
 			else
509 509
 				echo '
510
-								<div><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'], '</div>
510
+								<div><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'], '</div>
511 511
 								<input type="hidden" name="notifyaction" value="monitor_off" />
512 512
 								<input type="submit" value="', $txt['shd_ticket_monitor_off'], '" class="button_submit" />';
513 513
 
... ...
@@ -522,7 +522,7 @@ function template_viewnotifications()
522 522
 	{
523 523
 		if ($displayed_something)
524 524
 			echo '
525
-							<hr />';
525
+							<hr>';
526 526
 
527 527
 		echo '
528 528
 							<form action="', $scripturl, '?action=helpdesk;sa=notify;ticket=', $context['ticket_id'], '" method="post">';
... ...
@@ -592,7 +592,7 @@ function template_additional_fields()
592 592
 					echo '
593 593
 							<div class="information">
594 594
 							', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" class="shd_smallicon" />' : '','
595
-							<strong>', $field['name'],':</strong><hr />';
595
+							<strong>', $field['name'],':</strong><hr>';
596 596
 
597 597
 					if ($field['type'] == CFIELD_TYPE_CHECKBOX)
598 598
 						echo !empty($field['value']) ? $txt['yes'] : $txt['no'];
... ...
@@ -624,7 +624,7 @@ function template_additional_fields()
624 624
 		</div>
625 625
 		<span id="additional_info_footer"></span>
626 626
 		</div>
627
-		<br />';
627
+		<br>';
628 628
 	}
629 629
 }
630 630
 
... ...
@@ -659,7 +659,7 @@ function template_quickreply()
659 659
 		{
660 660
 			echo '
661 661
 					<div class="information shd_advancedbutton floatright" id="shd_goadvancedbutton" style="display:none;">
662
-						<a onclick="goAdvanced(); return false;" href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_go_advanced'], '</a><br />
662
+						<a onclick="goAdvanced(); return false;" href="', $scripturl, '?action=helpdesk;sa=reply;ticket=', $context['ticket_id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['shd_go_advanced'], '</a><br>
663 663
 					</div>';
664 664
 		}
665 665
 
... ...
@@ -701,7 +701,7 @@ function template_inline_attachments($msg)
701 701
 							<table width="90%">';
702 702
 		/*echo '
703 703
 							<div class="smalltext">
704
-								<strong>', $txt['shd_ticket_attachments'], '</strong><br />
704
+								<strong>', $txt['shd_ticket_attachments'], '</strong><br>
705 705
 								<ul class="shd_replyattachments">';*/
706 706
 
707 707
 		$count = 0;
... ...
@@ -725,10 +725,10 @@ function template_inline_attachments($msg)
725 725
 			{
726 726
 				if ($attachment['thumbnail']['has_thumb'])
727 727
 					echo '
728
-										<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 />';
728
+										<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>';
729 729
 				else
730 730
 					echo '
731
-										<img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" class="shd_thumb" /><br />';
731
+										<img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" class="shd_thumb" /><br>';
732 732
 			}
733 733
 
734 734
 			echo '
... ...
@@ -799,7 +799,7 @@ function template_viewreplies()
799 799
 							<strong class="shd_postername">
800 800
 								', $reply['member']['link'], '
801 801
 							</strong>
802
-							<br />
802
+							<br>
803 803
 							', $reply['member']['group'], '<br class="shd_groupmargin" />';
804 804
 
805 805
 			if (!empty($modSettings['shd_display_avatar']) && empty($options['show_no_avatars']) && !empty($reply['member']['avatar']['image']))
... ...
@@ -809,10 +809,10 @@ function template_viewreplies()
809 809
 							</span>';
810 810
 
811 811
 			if ($modSettings['shd_staff_badge'] == (!empty($reply['is_staff']) ? 'staffbadge' : 'userbadge') || $modSettings['shd_staff_badge'] == 'bothbadge')
812
-				echo '<br />
812
+				echo '<br>
813 813
 							', $reply['member']['group_stars'];
814 814
 			elseif (!empty($reply['is_staff']) && $modSettings['shd_staff_badge'] == 'nobadge')
815
-				echo '<br />
815
+				echo '<br>
816 816
 							<img src="', $settings['default_images_url'] . '/simpledesk/staff.png" class="shd_smallicon" title="', $txt['shd_ticket_staff'], '" alt="', $txt['shd_ticket_staff'], '" />';
817 817
 
818 818
 			echo '
... ...
@@ -840,15 +840,15 @@ function template_viewreplies()
840 840
 								</span>
841 841
 								<a href="', $reply['link'], '">', sprintf($txt['shd_reply_written'], $reply['time']), '</a>
842 842
 							</div>
843
-							<hr />
843
+							<hr>
844 844
 							', $reply['body'], '
845
-							<br /><br />';
845
+							<br><br>';
846 846
 
847 847
 		// Custom fields for replies!
848 848
 		if (!empty($context['custom_fields_replies'][$reply['id']]))
849 849
 		{
850 850
 			echo '
851
-							<hr />';
851
+							<hr>';
852 852
 
853 853
 			foreach ($context['custom_fields_replies'][$reply['id']] AS $field)
854 854
 			{
... ...
@@ -859,23 +859,23 @@ function template_viewreplies()
859 859
 							<strong>', $field['name'],': </strong>';
860 860
 
861 861
 					if ($field['type'] == CFIELD_TYPE_CHECKBOX)
862
-						echo !empty($field['value']) ? $txt['yes'] : $txt['no'], '<br /><br />';
862
+						echo !empty($field['value']) ? $txt['yes'] : $txt['no'], '<br><br>';
863 863
 					elseif (empty($field['value']) && $field['display_empty'])
864
-						echo $txt['shd_ticket_empty_field'], '<br /><br />';
864
+						echo $txt['shd_ticket_empty_field'], '<br><br>';
865 865
 					else
866 866
 					{
867 867
 						if ($field['type'] == CFIELD_TYPE_SELECT || $field['type'] == CFIELD_TYPE_RADIO)
868
-							echo $field['options'][$field['value']], '<br /><br />';
868
+							echo $field['options'][$field['value']], '<br><br>';
869 869
 						elseif ($field['type'] == CFIELD_TYPE_MULTI)
870 870
 						{
871 871
 							$values = explode(',', $field['value']);
872 872
 							$string = '';
873 873
 							foreach ($values as $value)
874 874
 								$string .= $field['options'][$value] . ' ';
875
-							echo trim($string), '<br /><br />';
875
+							echo trim($string), '<br><br>';
876 876
 						}
877 877
 						else
878
-							echo $field['value'], '<br /><br />';
878
+							echo $field['value'], '<br><br>';
879 879
 					}
880 880
 				}
881 881
 			}
... ...
@@ -939,7 +939,7 @@ function template_viewrelationships()
939 939
 				continue;
940 940
 
941 941
 			echo '
942
-							<img src="', $settings['default_images_url'], '/simpledesk/rel_', $rel_type, '.png" alt="" /> <strong>', $txt['shd_ticket_reltype_' . $rel_type], ':</strong><br />';
942
+							<img src="', $settings['default_images_url'], '/simpledesk/rel_', $rel_type, '.png" alt="" /> <strong>', $txt['shd_ticket_reltype_' . $rel_type], ':</strong><br>';
943 943
 
944 944
 			foreach ($relationships as $rel)
945 945
 			{
... ...
@@ -949,7 +949,7 @@ function template_viewrelationships()
949 949
 				if (!empty($context['delete_relationships']))
950 950
 					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>';
951 951
 
952
-				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 />';
952
+				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>';
953 953
 			}
954 954
 		}
955 955
 
... ...
@@ -957,7 +957,7 @@ function template_viewrelationships()
957 957
 		{
958 958
 			if ($context['relationships_count'] > 0)
959 959
 				echo '
960
-						<hr />';
960
+						<hr>';
961 961
 
962 962
 			echo '
963 963
 						', $txt['shd_ticket_create_relationship'], ':
... ...
@@ -27,7 +27,7 @@ function template_movedept()
27 27
 	echo '
28 28
 		<div class="floatleft">
29 29
 			', template_button_strip(array($context['navigation']['back']), 'bottom'), '
30
-		</div><br class="clear" /><br />';
30
+		</div><br class="clear" /><br>';
31 31
 
32 32
 	echo '
33 33
 	<div class="cat_bar">
... ...
@@ -96,7 +96,7 @@ function template_ticket_info()
96 96
 	echo '
97 97
 					<div class="shd_ticketdetails">
98 98
 						<strong><img src="', $settings['default_images_url'], '/simpledesk/details.png" alt="" class="shd_smallicon" /> ', $txt['shd_ticket_details'], '</strong>
99
-						<hr />
99
+						<hr>
100 100
 						<ul class="reset">';
101 101
 
102 102
 	if (!empty($context['ticket_form']['display_id']))
... ...
@@ -178,12 +178,12 @@ function template_ticket_custom_fields()
178 178
 						<dl class="settings">
179 179
 							<dt id="field-' . $field['id'] . '" style="width:98%;">
180 180
 								', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" />' : '', '
181
-								<strong>' . $field['name'] . ': </strong><br />
182
-								<span class="smalltext">' . $field['desc'] . '</span><br />
181
+								<strong>' . $field['name'] . ': </strong><br>
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>
184 184
 							</dt>
185 185
 						</dl>
186
-						<hr class="hrcolor" />
186
+						<hr>
187 187
 					</div>';
188 188
 			}
189 189
 			else
... ...
@@ -193,7 +193,7 @@ function template_ticket_custom_fields()
193 193
 						<dl class="settings">
194 194
 							<dt id="field-' . $field['id'] . '">
195 195
 								', !empty($field['icon']) ? '<img src="' . $settings['default_images_url'] . '/simpledesk/cf/' . $field['icon'] . '" alt="" />' : '', '
196
-								<strong>' . $field['name'] . ': </strong><br />
196
+								<strong>' . $field['name'] . ': </strong><br>
197 197
 								<span class="smalltext">' . $field['desc'] . '</span>
198 198
 							</dt>';
199 199
 
... ...
@@ -260,7 +260,7 @@ 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 '
... ...
@@ -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"' : '', ' class="input_radio" /> <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 '
... ...
@@ -298,7 +298,7 @@ function template_ticket_custom_fields()
298 298
 
299 299
 				echo '
300 300
 						</dl>
301
-						<hr class="hrcolor" />
301
+						<hr>
302 302
 					</div>';
303 303
 			}
304 304
 		}
... ...
@@ -325,7 +325,7 @@ function template_ticket_posterrors()
325 325
 
326 326
 	foreach ($context['shd_errors'] as $error)
327 327
 		echo '
328
-									', $txt['error_' . $error], '<br />';
328
+									', $txt['error_' . $error], '<br>';
329 329
 
330 330
 	echo '
331 331
 								</dt>
... ...
@@ -348,7 +348,7 @@ function template_ticket_subjectbox()
348 348
 	if (!empty($context['ticket_form']['selecting_dept']) && !empty($context['postable_dept_list']))
349 349
 	{
350 350
 		echo '
351
-						<br />
351
+						<br>
352 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>';
... ...
@@ -397,14 +397,14 @@ function template_ticket_subjectbox()
397 397
 	if (!empty($context['can_post_proxy']))
398 398
 	{
399 399
 		echo '
400
-						<br />
400
+						<br>
401 401
 						<input type="hidden" name="proxy" value="" />
402 402
 						<img src="', $settings['default_images_url'], '/simpledesk/proxy.png" alt="" class="shd_smallicon" /> <strong>', $txt['shd_ticket_proxy'], ':</strong>
403 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']++, '" />';
404 404
 	}
405 405
 
406 406
 	echo '
407
-						<hr /><br />';
407
+						<hr><br>';
408 408
 }
409 409
 
410 410
 function template_ticket_proxy_js()
... ...
@@ -439,7 +439,7 @@ function template_ticket_content()
439 439
 	template_ticket_posterrors();
440 440
 	echo '
441 441
 						<img src="', $settings['default_images_url'], '/simpledesk/name.png" alt="" class="shd_smallicon" /> <strong>', $context['ticket_form']['subject'], '</strong>
442
-						<hr /><br />
442
+						<hr><br>
443 443
 							', $context['ticket_form']['message'];
444 444
 
445 445
 	if (!empty($settings['show_modify']) && !empty($context['ticket']['modified']))
... ...
@@ -497,7 +497,7 @@ function template_ticket_shd_replyarea()
497 497
 					</div>
498 498
 				</div>
499 499
 			</div>
500
-			<br />';
500
+			<br>';
501 501
 }
502 502
 
503 503
 function template_ticket_postbox()
... ...
@@ -531,7 +531,7 @@ function template_ticket_postbox()
531 531
 
532 532
 	echo '
533 533
 						<br class="clear" />
534
-						<span class="smalltext"><br />', $context['browser']['is_firefox'] ? $txt['shortcuts_firefox'] : $txt['shortcuts'], '</span><br />
534
+						<span class="smalltext"><br>', $context['browser']['is_firefox'] ? $txt['shortcuts_firefox'] : $txt['shortcuts'], '</span><br>
535 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 536
 						<input class="button_submit" type="submit" name="preview" value="', $txt['preview'], '" accesskey="p" tabindex="', $context['tabindex']++, '" />';
537 537
 
... ...
@@ -594,7 +594,7 @@ function template_ticket_footer()
594 594
 				</div>
595 595
 				<br class="clear" />
596 596
 			</div>
597
-			<br />';
597
+			<br>';
598 598
 }
599 599
 
600 600
 function template_preview()
... ...
@@ -617,7 +617,7 @@ function template_preview()
617 617
 				</div>
618 618
 			</div>
619 619
 			</div>
620
-			<br />';
620
+			<br>';
621 621
 	}
622 622
 }
623 623
 
... ...
@@ -706,11 +706,11 @@ function template_ticket_additional_options()
706 706
 		// Show some useful information such as allowed extensions, maximum size and amount of attachments allowed.
707 707
 		if (!empty($modSettings['attachmentCheckExtensions']))
708 708
 			echo '
709
-								', $txt['allowed_types'], ': ', $context['allowed_extensions'], '<br />';
709
+								', $txt['allowed_types'], ': ', $context['allowed_extensions'], '<br>';
710 710
 
711 711
 		if (!empty($context['attachment_restrictions']))
712 712
 			echo '
713
-								', $txt['attach_restrictions'], ' ', implode(', ', $context['attachment_restrictions']), '<br />';
713
+								', $txt['attach_restrictions'], ' ', implode(', ', $context['attachment_restrictions']), '<br>';
714 714
 
715 715
 		echo '
716 716
 							</dd>
... ...
@@ -817,10 +817,10 @@ function template_ticket_do_replies()
817 817
 							', shd_profile_link($reply['member']['avatar']['image'], $reply['member']['id']);
818 818
 
819 819
 			if ($modSettings['shd_staff_badge'] == (!empty($reply['is_staff']) ? 'staffbadge' : 'userbadge') || $modSettings['shd_staff_badge'] == 'bothbadge')
820
-				echo '<br />
820
+				echo '<br>
821 821
 							', $reply['member']['group_stars'];
822 822
 			elseif (!empty($reply['is_staff']) && $modSettings['shd_staff_badge'] == 'nobadge')
823
-				echo '<br />
823
+				echo '<br>
824 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 '
... ...
@@ -837,9 +837,9 @@ function template_ticket_do_replies()
837 837
 								</span>
838 838
 								', sprintf($txt['shd_reply_written'], $reply['time']), '
839 839
 							</div>
840
-							<hr class="clearfix" />
840
+							<hr>
841 841
 							', $reply['body'], '
842
-							<br /><br />';
842
+							<br><br>';
843 843
 
844 844
 			if (!empty($settings['show_modify']) && !empty($reply['modified']))
845 845
 			{
... ...
@@ -853,7 +853,7 @@ function template_ticket_do_replies()
853 853
 			{
854 854
 				echo '
855 855
 							<div class="smalltext">
856
-								<strong>', $txt['shd_ticket_attachments'], '</strong><br />
856
+								<strong>', $txt['shd_ticket_attachments'], '</strong><br>
857 857
 								<ul class="shd_replyattachments">';
858 858
 
859 859
 				foreach ($context['ticket_attach']['reply'][$reply['id']] as $attach)
... ...
@@ -26,13 +26,13 @@ function template_shd_profile_main()
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>';
33 33
 
34 34
 	echo '
35
-				<br />
35
+				<br>
36 36
 				', $txt['shd_profile_tickets_assigned'], ': <a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';area=hd_showtickets">', $context['shd_numassigned'], '</a>
37 37
 				<div class="block floatright">
38 38
 					<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';area=hd_showtickets" class="button"><span id="shd_showtickets"></span>', $txt['shd_profile_view_tickets'], '</a>';
... ...
@@ -54,7 +54,7 @@ function template_shd_profile_main()
54 54
 	if (!empty($modSettings['shd_helpdesk_only']))
55 55
 	{
56 56
 		echo '
57
-	<br />
57
+	<br>
58 58
 	<div class="tborder shd_profile_navigation" id="tracking">
59 59
 		<div class="cat_bar">
60 60
 			<h3 class="catbg">
... ...
@@ -64,7 +64,7 @@ function template_shd_profile_main()
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'])
... ...
@@ -91,7 +91,7 @@ function template_shd_profile_main()
91 91
 
92 92
 				foreach ($context['member']['bans'] as $ban)
93 93
 					echo '
94
-						<br /><span class="smalltext">', $ban['explanation'], '</span>';
94
+						<br><span class="smalltext">', $ban['explanation'], '</span>';
95 95
 
96 96
 				echo '
97 97
 					</dt>';
... ...
@@ -117,7 +117,7 @@ function template_shd_profile_main()
117 117
 
118 118
 		echo '
119 119
 				</dl>
120
-				<hr />
120
+				<hr>
121 121
 				<dl>';
122 122
 
123 123
 		if ($context['member']['show_email'] == 'yes')
... ...
@@ -148,7 +148,7 @@ function template_shd_profile_main()
148 148
 				</dl>';
149 149
 
150 150
 		echo '
151
-				<br />
151
+				<br>
152 152
 			</div>
153 153
 		</div>
154 154
 	</div>';
... ...
@@ -304,12 +304,12 @@ function template_shd_profile_preferences()
304 304
 
305 305
 	if ($display_save)
306 306
 		echo '
307
-						<br />
307
+						<br>
308 308
 						<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
309 309
 						<input type="submit" value="', $txt['shd_profile_save_prefs'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />';
310 310
 	else
311 311
 		echo '
312
-						<br />
312
+						<br>
313 313
 						<div class="tborder">
314 314
 							<div class="cat_bar cat_closed">
315 315
 								<h3 class="catbg">
... ...
@@ -561,7 +561,7 @@ function template_shd_profile_permissions()
561 561
 	if (!empty($context['member_permissions']['allowed']))
562 562
 	{
563 563
 		echo '
564
-				<br />
564
+				<br>
565 565
 				<div class="tborder">
566 566
 					<div class="cat_bar">
567 567
 						<h3 class="catbg">
... ...
@@ -741,7 +741,7 @@ function template_shd_profile_navigation_above()
741 741
 						<li', (!empty($menuitem['is_last']) ? ' class="shd_inline_last"' : ''), '>
742 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
-							', (empty($options['use_sidebar_menu']) && empty($menuitem['is_last'])) ? '<hr />' : '', '
744
+							', (empty($options['use_sidebar_menu']) && empty($menuitem['is_last'])) ? '<hr>' : '', '
745 745
 						</li>';
746 746
 		}
747 747
 	}
... ...
@@ -752,7 +752,7 @@ function template_shd_profile_navigation_above()
752 752
 				</div>
753 753
 			</div>
754 754
 		</div>
755
-		', !empty($options['use_sidebar_menu']) ? '<br />' : '', '
755
+		', !empty($options['use_sidebar_menu']) ? '<br>' : '', '
756 756
 		<div class="', empty($options['use_sidebar_menu']) ? 'shd_ticket_rightcolumn floatright' : '', '">';
757 757
 }
758 758
 
... ...
@@ -35,7 +35,7 @@ function template_search()
35 35
 	<div class="roundframe">
36 36
 		<form action="', $scripturl, '?action=helpdesk;sa=search2" method="post">
37 37
 			<div class="content">
38
-				<br />
38
+				<br>
39 39
 				<dl class="settings">
40 40
 					<dt>
41 41
 						<strong>', $txt['shd_search_text'], '</strong>
... ...
@@ -53,15 +53,15 @@ function template_search()
53 53
 						</select>
54 54
 					</dd>
55 55
 				</dl>
56
-				<br />
56
+				<br>
57 57
 				<dl class="settings">
58 58
 					<dt>
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" 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>
65 65
 					</dd>
66 66
 				</dl>';
67 67
 
... ...
@@ -74,7 +74,7 @@ function template_search()
74 74
 	else
75 75
 	{
76 76
 		echo '
77
-				<hr />
77
+				<hr>
78 78
 				<dl class="settings">
79 79
 					<dt>
80 80
 						<strong>', $txt['shd_search_dept'], '</strong>
... ...
@@ -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" class="input_check" checked="checked" name="search_dept[]" value="', $id, '" /> &nbsp;', $name, '<br>';
87 87
 
88 88
 		echo '
89 89
 					</dd>
... ...
@@ -91,18 +91,18 @@ function template_search()
91 91
 	}
92 92
 
93 93
 	echo '
94
-				<hr />
94
+				<hr>
95 95
 				<dl class="settings">
96 96
 					<dt>
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" 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>
103 103
 					</dd>
104 104
 				</dl>
105
-				<hr />
105
+				<hr>
106 106
 				<dl class="settings">
107 107
 					<dt>
108 108
 						<strong>', $txt['shd_search_urgency'], '</strong>
... ...
@@ -112,12 +112,12 @@ 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" class="input_check" checked="checked" name="urgency[]" value="', $i, '" /> &nbsp;', $txt['shd_urgency_' . $i], '<br>';
116 116
 
117 117
 	echo '
118 118
 					</dd>
119 119
 				</dl>
120
-				<hr />
120
+				<hr>
121 121
 				<dl class="settings">
122 122
 					<dt>
123 123
 						<strong>', $txt['shd_search_ticket_starter'], '</strong>
... ...
@@ -129,7 +129,7 @@ function template_search()
129 129
 						<div id="starter_name_container"></div>
130 130
 					</dd>
131 131
 				</dl>
132
-				<br />
132
+				<br>
133 133
 				<dl class="settings">
134 134
 					<dt>
135 135
 						<strong>', $txt['shd_search_ticket_assignee'], '</strong>
... ...
@@ -171,8 +171,8 @@ function template_search()
171 171
 						aListItems: []
172 172
 					});
173 173
 				// ]', ']></script>
174
-				<hr />
175
-				<br />
174
+				<hr>
175
+				<br>
176 176
 				<input type="submit" value="', $txt['shd_search'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />
177 177
 			</div>
178 178
 		</form>
... ...
@@ -167,7 +167,7 @@ function template_shd_tickettotopic()
167 167
 
168 168
 		if (!empty($context['custom_fields_warning']))
169 169
 			echo '
170
-					<hr />
170
+					<hr>
171 171
 					<dl class="settings">
172 172
 						<dt>
173 173
 							<strong>', $txt['shd_ticket_move_accept'], '</strong>
... ...
@@ -112,7 +112,7 @@ function template_shd_depts()
112 112
 					</form>
113 113
 				</div>
114 114
 				<div id="welcome">
115
-							<strong>', sprintf($txt['shd_welcome'], $context['user']['name']), '</strong><br />
115
+							<strong>', sprintf($txt['shd_welcome'], $context['user']['name']), '</strong><br>
116 116
 							', $txt['shd_' . $context['shd_home_view'] . '_greeting'], '
117 117
 						</div>
118 118
 						<div class="cat_bar">
... ...
@@ -136,7 +136,7 @@ function template_shd_depts()
136 136
 								<tr class="windowbg2">
137 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
-									<td class="stats windowbg">', $dept['tickets']['open'], ' open<br />', $dept['tickets']['closed'], ' closed</td>
139
+									<td class="stats windowbg">', $dept['tickets']['open'], ' open<br>', $dept['tickets']['closed'], ' closed</td>
140 140
 									<td class="lastpost"></td>
141 141
 								</tr>';
142 142
 	}
... ...
@@ -179,17 +179,17 @@ function template_closedtickets()
179 179
 							</form>
180 180
 						</div>
181 181
 						<div id="welcome">
182
-							<strong>', sprintf($txt['shd_welcome'], $context['user']['name']), '</strong><br />
182
+							<strong>', sprintf($txt['shd_welcome'], $context['user']['name']), '</strong><br>
183 183
 							', $txt['shd_closed_' . $context['shd_home_view'] . '_greeting'];
184 184
 
185 185
 	if (!empty($context['shd_filter_fields']))
186 186
 	{
187 187
 		echo '
188
-			<br /><br /><strong>', $txt['shd_category_filter'], ':</strong>';
188
+			<br><br><strong>', $txt['shd_category_filter'], ':</strong>';
189 189
 		foreach ($context['shd_filter_fields'] as $id_field => $field)
190 190
 		{
191 191
 			echo '
192
-			<br />', $field['name'], ':';
192
+			<br>', $field['name'], ':';
193 193
 			foreach ($field['options'] as $key => $opt)
194 194
 			{
195 195
 				if (!empty($context['filter_fragment']) && $_REQUEST['field'] == $id_field && $_REQUEST['filter'] == $key)
... ...
@@ -245,17 +245,17 @@ function template_recyclebin()
245 245
 							</form>
246 246
 						</div>
247 247
 						<div id="welcome">
248
-							<strong>', sprintf($txt['shd_welcome'], $context['user']['name']), '</strong><br />
248
+							<strong>', sprintf($txt['shd_welcome'], $context['user']['name']), '</strong><br>
249 249
 							', $txt['shd_recycle_greeting'];
250 250
 
251 251
 	if (!empty($context['shd_filter_fields']))
252 252
 	{
253 253
 		echo '
254
-			<br /><br /><strong>', $txt['shd_category_filter'], ':</strong>';
254
+			<br><br><strong>', $txt['shd_category_filter'], ':</strong>';
255 255
 		foreach ($context['shd_filter_fields'] as $id_field => $field)
256 256
 		{
257 257
 			echo '
258
-			<br />', $field['name'], ':';
258
+			<br>', $field['name'], ':';
259 259
 			foreach ($field['options'] as $key => $opt)
260 260
 			{
261 261
 				if (!empty($context['filter_fragment']) && $_REQUEST['field'] == $id_field && $_REQUEST['filter'] == $key)
262 262