A few more minor fixes
jdarwood007

jdarwood007 commited on 2018-08-10 13:16:05
Showing 2 changed files, with 7 additions and 2 deletions.

... ...
@@ -1,6 +1,11 @@
1 1
 /**********************************
2 2
 * General stuff used all around the helpdesk 	*
3 3
 ***********************************/
4
+/* Make sure the hidden class is here */
5
+.hidden {
6
+	display: none;
7
+}
8
+
4 9
 /* SimpleDesk icons */
5 10
 .shd_smallicon {
6 11
 	width: 16px;
... ...
@@ -679,7 +679,7 @@ function template_shd_admin_log()
679 679
 	if (empty($context['actions']))
680 680
 		echo '
681 681
 			<tr class="windowbg">
682
-				<td ', $context['can_delete'] ? 'colspan="6"' : 'colspan="5"',' class="shd_noticket">', $txt['shd_admin_actionlog_none'], '</td>
682
+				<td colspan="', $context['can_delete'] ? 6 : 5,'" class="shd_noticket">', $txt['shd_admin_actionlog_none'], '</td>
683 683
 			</tr>';
684 684
 	else
685 685
 		foreach ($context['actions'] as $action)
... ...
@@ -695,7 +695,7 @@ function template_shd_admin_log()
695 695
 
696 696
 	echo '
697 697
 			<tr class="windowbg">
698
-				<td ', $context['can_delete'] ? 'colspan="6"' : 'colspan="5"','>
698
+				<td colspan="', $context['can_delete'] ? 6 : 5, '">
699 699
 					<span class="floatright smalltext">', $context['page_index'], '</span>
700 700
 					<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>
701 701
 				</td>
702 702