Antes commited on 2016-12-25 14:25:12
Showing 4 changed files, with 17 additions and 36 deletions.
... | ... |
@@ -38,23 +38,21 @@ function template_shd_plugin_listing() |
38 | 38 |
echo ' |
39 | 39 |
<div id="admincenter"> |
40 | 40 |
<form action="', $scripturl, '?action=admin;area=helpdesk_plugins;save;" method="post" accept-charset="', $context['character_set'], '"> |
41 |
- <div class="tborder"> |
|
42 | 41 |
<div class="cat_bar"> |
43 | 42 |
<h3 class="catbg"> |
44 | 43 |
<img src="', $settings['default_images_url'], '/simpledesk/plugins.png" class="icon" alt="*" /> |
45 | 44 |
', $txt['shd_admin_plugins'], ' |
46 | 45 |
</h3> |
47 | 46 |
</div> |
48 |
- <p class="information"> |
|
47 |
+ <div class="information"> |
|
49 | 48 |
', $txt['shd_admin_plugins_homedesc'], ' |
50 |
- </p> |
|
51 | 49 |
</div>'; |
52 | 50 |
|
53 | 51 |
foreach ($context['plugins'] as $id => $plugin) |
54 | 52 |
{ |
55 | 53 |
echo ' |
56 | 54 |
<div class="windowbg"> |
57 |
- <div class="content features">'; |
|
55 |
+ <div class="features">'; |
|
58 | 56 |
|
59 | 57 |
if (!empty($plugin['installable'])) |
60 | 58 |
echo ' |
... | ... |
@@ -112,14 +110,11 @@ function template_shd_plugin_listing() |
112 | 110 |
} |
113 | 111 |
|
114 | 112 |
echo ' |
115 |
- <div class="righttext"> |
|
116 | 113 |
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" /> |
117 | 114 |
<input type="hidden" value="0" name="js_worked" id="js_worked" /> |
118 | 115 |
<input type="submit" value="', $txt['save'], '" name="save" class="button_submit" /> |
119 |
- </div> |
|
120 | 116 |
</form> |
121 | 117 |
</div> |
122 |
- <br class="clear" /> |
|
123 | 118 |
<script type="text/javascript"><!-- // --><![CDATA[ |
124 | 119 |
document.getElementById(\'js_worked\').value = "1";'; |
125 | 120 |
foreach ($context['plugins'] as $id => $plugin) |
... | ... |
@@ -37,7 +37,6 @@ function template_assign() |
37 | 37 |
</div> |
38 | 38 |
<div class="roundframe"> |
39 | 39 |
<form action="', $scripturl, '?action=helpdesk;sa=assign2;ticket=', $context['ticket_id'], '" method="post" onsubmit="submitonce(this);"> |
40 |
- <div class="content"> |
|
41 | 40 |
<dl class="settings"> |
42 | 41 |
<dt> |
43 | 42 |
<strong>', $txt['shd_ticket_assignedto'], ':</strong> |
... | ... |
@@ -68,7 +67,6 @@ function template_assign() |
68 | 67 |
<input type="hidden" name="home" value="1" />'; |
69 | 68 |
|
70 | 69 |
echo ' |
71 |
- </div> |
|
72 | 70 |
</form> |
73 | 71 |
</div>'; |
74 | 72 |
} |
75 | 73 |
\ No newline at end of file |
... | ... |
@@ -137,7 +137,8 @@ function template_viewticket() |
137 | 137 |
elseif (isset($field['value'])) |
138 | 138 |
echo preg_replace('~<a (.*?)</a>~is', '', $field['options'][$field['value']]); |
139 | 139 |
|
140 |
- echo '</dd> |
|
140 |
+ echo ' |
|
141 |
+ </dd> |
|
141 | 142 |
</dl> |
142 | 143 |
</li>'; |
143 | 144 |
} |
... | ... |
@@ -212,13 +213,15 @@ function template_viewticket() |
212 | 213 |
echo $field['value']; |
213 | 214 |
} |
214 | 215 |
|
215 |
- echo '</dd> |
|
216 |
+ echo ' |
|
217 |
+ </dd> |
|
216 | 218 |
</dl> |
217 | 219 |
</li>'; |
218 | 220 |
} |
219 | 221 |
} |
220 | 222 |
|
221 |
- echo ' </ul> |
|
223 |
+ echo ' |
|
224 |
+ </ul> |
|
222 | 225 |
</div>'; |
223 | 226 |
} |
224 | 227 |
} |
... | ... |
@@ -314,7 +317,7 @@ function template_viewticket() |
314 | 317 |
template_quickreply(); |
315 | 318 |
|
316 | 319 |
echo ' |
317 |
- </div><br class="clear" />'; |
|
320 |
+ </div>'; |
|
318 | 321 |
|
319 | 322 |
// The ticket action log, lastly. |
320 | 323 |
template_ticketactionlog(); |
... | ... |
@@ -394,7 +397,7 @@ function template_viewticketattach() |
394 | 397 |
|
395 | 398 |
if (!empty($context['ticket_attach']['ticket'])) |
396 | 399 |
{ |
397 |
- echo ' <div class="tborder"> |
|
400 |
+ echo ' |
|
398 | 401 |
<div class="title_bar"> |
399 | 402 |
<h3 class="titlebg"> |
400 | 403 |
<img src="', $settings['default_images_url'], '/simpledesk/attachments.png" alt="" />', $txt['shd_ticket_attachments'], ' (', count($context['ticket_attach']['ticket']), ') |
... | ... |
@@ -434,7 +437,6 @@ function template_viewticketattach() |
434 | 437 |
|
435 | 438 |
echo ' |
436 | 439 |
</div> |
437 |
- </div> |
|
438 | 440 |
</div>'; |
439 | 441 |
} |
440 | 442 |
} |
... | ... |
@@ -485,9 +487,7 @@ function template_viewnotifications() |
485 | 487 |
if (!empty($context['display_notifications']['can_change'])) |
486 | 488 |
echo ' |
487 | 489 |
<form action="', $scripturl, '?action=profile;area=hd_prefs;u=', $context['user']['id'], '" method="post"> |
488 |
- <div> |
|
489 | 490 |
<input type="submit" value="', $txt['shd_ticket_notify_changeprefs'], '" class="button_submit" /> |
490 |
- </div> |
|
491 | 491 |
</form>'; |
492 | 492 |
} |
493 | 493 |
|
... | ... |
@@ -502,12 +502,12 @@ function template_viewnotifications() |
502 | 502 |
|
503 | 503 |
if (!$context['display_notifications']['is_monitoring']) |
504 | 504 |
echo ' |
505 |
- <div>', $txt['shd_ticket_monitor_on_note'], '</div> |
|
505 |
+ <p>', $txt['shd_ticket_monitor_on_note'], '</p> |
|
506 | 506 |
<input type="hidden" name="notifyaction" value="monitor_on" /> |
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 |
+ <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 | 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 |
|
... | ... |
@@ -529,12 +529,12 @@ function template_viewnotifications() |
529 | 529 |
|
530 | 530 |
if (!$context['display_notifications']['is_ignoring']) |
531 | 531 |
echo ' |
532 |
- <div>', $txt['shd_ticket_notify_me_never_note'], '</div> |
|
532 |
+ <p>', $txt['shd_ticket_notify_me_never_note'], '</p> |
|
533 | 533 |
<input type="hidden" name="notifyaction" value="ignore_on" /> |
534 | 534 |
<input type="submit" value="', $txt['shd_ticket_notify_me_never_on'], '" class="button_submit" />'; |
535 | 535 |
else |
536 | 536 |
echo ' |
537 |
- <div><img src="', $settings['default_images_url'], '/simpledesk/cf_inactive.png" alt="" /> ', $txt['shd_ticket_notify_me_never'], '</div> |
|
537 |
+ <p><img src="', $settings['default_images_url'], '/simpledesk/cf_inactive.png" alt="" /> ', $txt['shd_ticket_notify_me_never'], '</p> |
|
538 | 538 |
<input type="hidden" name="notifyaction" value="ignore_off" /> |
539 | 539 |
<input type="submit" value="', $txt['shd_ticket_notify_me_never_off'], '" class="button_submit" />'; |
540 | 540 |
|
... | ... |
@@ -582,8 +582,7 @@ function template_additional_fields() |
582 | 582 |
<a href="javascript:oCustomFields.infoswap();">', $txt['shd_ticket_additional_information'], '</a> |
583 | 583 |
</h3> |
584 | 584 |
</div> |
585 |
- <div class="roundframe" id="additional_info"> |
|
586 |
- <div class="content">'; |
|
585 |
+ <div class="roundframe" id="additional_info">'; |
|
587 | 586 |
|
588 | 587 |
foreach ($context['ticket']['custom_fields']['information'] AS $field) |
589 | 588 |
{ |
... | ... |
@@ -621,10 +620,7 @@ function template_additional_fields() |
621 | 620 |
|
622 | 621 |
echo ' |
623 | 622 |
</div> |
624 |
- </div> |
|
625 |
- <span id="additional_info_footer"></span> |
|
626 |
- </div> |
|
627 |
- <br>'; |
|
623 |
+ <span id="additional_info_footer"></span>'; |
|
628 | 624 |
} |
629 | 625 |
} |
630 | 626 |
|
... | ... |
@@ -943,9 +939,6 @@ function template_viewrelationships() |
943 | 939 |
|
944 | 940 |
foreach ($relationships as $rel) |
945 | 941 |
{ |
946 |
- echo ' |
|
947 |
- '; |
|
948 |
- |
|
949 | 942 |
if (!empty($context['delete_relationships'])) |
950 | 943 |
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 | 944 |
|
... | ... |
@@ -1052,7 +1045,6 @@ function template_ticketactionlog() |
1052 | 1045 |
</td> |
1053 | 1046 |
</tr> |
1054 | 1047 |
</table> |
1055 |
- </div> |
|
1056 | 1048 |
<script type="text/javascript"><!-- // --><![CDATA[ |
1057 | 1049 |
var ActionLog = new ActionLog({ |
1058 | 1050 |
sImagesUrl: "', $settings['images_url'], '", |
... | ... |
@@ -25,9 +25,7 @@ function template_movedept() |
25 | 25 |
|
26 | 26 |
// Back to the helpdesk. |
27 | 27 |
echo ' |
28 |
- <div class="floatleft"> |
|
29 |
- ', template_button_strip(array($context['navigation']['back']), 'bottom'), ' |
|
30 |
- </div><br class="clear" /><br>'; |
|
28 |
+ ', template_button_strip(array($context['navigation']['back']), 'bottom'), ''; |
|
31 | 29 |
|
32 | 30 |
echo ' |
33 | 31 |
<div class="cat_bar"> |
... | ... |
@@ -38,7 +36,6 @@ function template_movedept() |
38 | 36 |
</div> |
39 | 37 |
<div class="roundframe"> |
40 | 38 |
<form action="', $scripturl, '?action=helpdesk;sa=movedept2;ticket=', $context['ticket_id'], '" method="post" onsubmit="submitonce(this);"> |
41 |
- <div class="content"> |
|
42 | 39 |
<dl class="settings"> |
43 | 40 |
<dt> |
44 | 41 |
<strong>', $txt['shd_current_dept'], ':</strong> |
... | ... |
@@ -88,7 +85,6 @@ function template_movedept() |
88 | 85 |
echo ' |
89 | 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" /> |
90 | 87 |
<input type="submit" value="', $txt['shd_ticket_move'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" /> |
91 |
- </div> |
|
92 | 88 |
</form> |
93 | 89 |
</div>'; |
94 | 90 |
} |
95 | 91 |
\ No newline at end of file |
96 | 92 |