Antes commited on 2016-12-24 13:35:02
Showing 3 changed files, with 9 additions and 21 deletions.
... | ... |
@@ -265,8 +265,7 @@ function template_shd_show_settings() |
265 | 265 |
if (chk && chk.disabled == false) |
266 | 266 |
chk.checked = state; |
267 | 267 |
} |
268 |
- } |
|
269 |
-'; |
|
268 |
+ }'; |
|
270 | 269 |
|
271 | 270 |
if (!empty($context['settings_pre_javascript'])) |
272 | 271 |
echo $context['settings_pre_javascript']; |
... | ... |
@@ -300,7 +299,6 @@ function template_shd_show_settings() |
300 | 299 |
// Is there a custom title? |
301 | 300 |
if (isset($context['settings_title'])) |
302 | 301 |
echo ' |
303 |
- <div class="tborder"> |
|
304 | 302 |
<div class="cat_bar"> |
305 | 303 |
<h3 class="catbg"> |
306 | 304 |
<img src="', shd_image_url($context['settings_icon']), '" class="icon" alt="*" /> ', $context['settings_title'], ' |
... | ... |
@@ -530,7 +528,6 @@ function template_shd_show_settings() |
530 | 528 |
|
531 | 529 |
if ($is_open) |
532 | 530 |
echo ' |
533 |
- </div> |
|
534 | 531 |
</div>'; |
535 | 532 |
|
536 | 533 |
if (isset($context['admin-dbsc_token'])) |
... | ... |
@@ -661,7 +658,6 @@ function template_shd_admin_log() |
661 | 658 |
|
662 | 659 |
// The sort stuff here is huge. |
663 | 660 |
echo ' |
664 |
- <div class="tborder"> |
|
665 | 661 |
<div class="cat_bar"> |
666 | 662 |
<h3 class="catbg"> |
667 | 663 |
<span class="floatright smalltext shd_pages">', $context['page_index'], '</span> |
... | ... |
@@ -737,8 +733,7 @@ function template_shd_admin_log() |
737 | 733 |
<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> |
738 | 734 |
</td> |
739 | 735 |
</tr> |
740 |
- </table> |
|
741 |
- </div>'; |
|
736 |
+ </table>'; |
|
742 | 737 |
} |
743 | 738 |
|
744 | 739 |
/** |
... | ... |
@@ -18,28 +18,24 @@ function template_shd_cannedreplies_home() |
18 | 18 |
global $context, $settings, $txt, $modSettings, $scripturl; |
19 | 19 |
|
20 | 20 |
echo ' |
21 |
- <div class="tborder"> |
|
22 | 21 |
<div class="cat_bar"> |
23 | 22 |
<h3 class="catbg"> |
24 | 23 |
<img src="', $settings['default_images_url'], '/simpledesk/cannedreplies.png" class="icon" alt="*"> |
25 | 24 |
', $txt['shd_admin_cannedreplies_home'], ' |
26 | 25 |
</h3> |
27 | 26 |
</div> |
28 |
- <p class="information"> |
|
27 |
+ <div class="information"> |
|
29 | 28 |
', $txt['shd_admin_cannedreplies_homedesc'], ' |
30 |
- </p> |
|
31 | 29 |
</div>'; |
32 | 30 |
|
33 | 31 |
if (empty($context['canned_replies'])) |
34 | 32 |
{ |
35 | 33 |
echo ' |
36 | 34 |
<br> |
37 |
- <div class="tborder"> |
|
38 | 35 |
<div class="title_bar"> |
39 | 36 |
<h3 class="titlebg"> |
40 | 37 |
', $txt['shd_admin_cannedreplies_nocats'], ' |
41 | 38 |
</h3> |
42 |
- </div> |
|
43 | 39 |
</div>'; |
44 | 40 |
} |
45 | 41 |
else |
... | ... |
@@ -47,7 +43,6 @@ function template_shd_cannedreplies_home() |
47 | 43 |
foreach ($context['canned_replies'] as $cat_id => $cat) |
48 | 44 |
{ |
49 | 45 |
echo ' |
50 |
- <div class="tborder"> |
|
51 | 46 |
<br> |
52 | 47 |
<div class="cat_bar"> |
53 | 48 |
<h3 class="catbg"> |
... | ... |
@@ -101,8 +96,7 @@ function template_shd_cannedreplies_home() |
101 | 96 |
<tr class="windowbg"> |
102 | 97 |
<td colspan="9" class="righttext">[<a href="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=createreply;cat=', $cat_id, '">', $txt['shd_admin_cannedreplies_addreply'], '</a>]</td> |
103 | 98 |
</tr> |
104 |
- </table> |
|
105 |
- </div>'; |
|
99 |
+ </table>'; |
|
106 | 100 |
} |
107 | 101 |
} |
108 | 102 |
|
... | ... |
@@ -119,16 +113,14 @@ function template_shd_edit_canned_category() |
119 | 113 |
global $context, $settings, $txt, $modSettings, $scripturl; |
120 | 114 |
|
121 | 115 |
echo ' |
122 |
- <div class="tborder"> |
|
123 | 116 |
<div class="cat_bar"> |
124 | 117 |
<h3 class="catbg"> |
125 | 118 |
<img src="', $settings['default_images_url'], '/simpledesk/cannedreplies.png" class="icon" alt="*" /> |
126 | 119 |
', $txt['shd_admin_cannedreplies_home'], ' |
127 | 120 |
</h3> |
128 | 121 |
</div> |
129 |
- <p class="information"> |
|
122 |
+ <div class="information"> |
|
130 | 123 |
', $txt['shd_admin_cannedreplies_homedesc'], ' |
131 |
- </p> |
|
132 | 124 |
</div> |
133 | 125 |
<div class="cat_bar"> |
134 | 126 |
<h3 class="catbg"> |
... | ... |
@@ -138,12 +130,10 @@ function template_shd_edit_canned_category() |
138 | 130 |
</div> |
139 | 131 |
<div class="roundframe"> |
140 | 132 |
<form action="', $scripturl, '?action=admin;area=helpdesk_cannedreplies;sa=savecat" method="post"> |
141 |
- <div class="content"> |
|
142 | 133 |
<dl class="settings"> |
143 | 134 |
<dt><strong>', $txt['shd_admin_cannedreplies_categoryname'], '</strong></dt> |
144 | 135 |
<dd><input type="text" name="catname" id="catname" class="input_text" size="30" value="', $context['category_name'], '" /></dd> |
145 | 136 |
</dl> |
146 |
- </div> |
|
147 | 137 |
<input type="submit" value="', $context['page_title'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" />'; |
148 | 138 |
|
149 | 139 |
if ($_REQUEST['cat'] != 'new') |
... | ... |
@@ -549,7 +548,10 @@ function template_shd_menu_header($header, $string) |
549 | 548 |
function template_shd_maintenance_above() |
550 | 549 |
{ |
551 | 550 |
global $txt, $settings; |
552 |
- echo '<div class="errorbox"><img src="', $settings['default_images_url'], '/simpledesk/update.png" alt="*" class="shd_icon_minihead" /> ', $txt['shd_helpdesk_maintenance'], '</div>'; |
|
551 |
+ echo ' |
|
552 |
+ <div class="errorbox"> |
|
553 |
+ <img src="', $settings['default_images_url'], '/simpledesk/update.png" alt="*" class="shd_icon_minihead" /> ', $txt['shd_helpdesk_maintenance'], ' |
|
554 |
+ </div>'; |
|
553 | 555 |
} |
554 | 556 |
|
555 | 557 |
/** |
556 | 558 |