Antes commited on 2016-12-25 14:04:37
Showing 3 changed files, with 37 additions and 89 deletions.
... | ... |
@@ -13,16 +13,15 @@ function template_shd_custom_field_home() |
13 | 13 |
global $context, $settings, $txt, $modSettings, $scripturl; |
14 | 14 |
|
15 | 15 |
echo ' |
16 |
- <div class="tborder"> |
|
17 | 16 |
<div class="cat_bar"> |
18 | 17 |
<h3 class="catbg"> |
19 | 18 |
<img src="', $settings['default_images_url'], '/simpledesk/custom_fields.png" class="icon" alt="*" /> |
20 | 19 |
', $txt['shd_admin_custom_fields_long'], ' |
21 | 20 |
</h3> |
22 | 21 |
</div> |
23 |
- <p class="information"> |
|
22 |
+ <div class="information"> |
|
24 | 23 |
', $txt['shd_admin_custom_fields_desc'], ' |
25 |
- </p> |
|
24 |
+ </div> |
|
26 | 25 |
<table class="table_grid"> |
27 | 26 |
<tr class="title_bar"> |
28 | 27 |
<td width="30%" colspan="2"> |
... | ... |
@@ -87,7 +86,6 @@ function template_shd_custom_field_home() |
87 | 86 |
<div class="floatright"> |
88 | 87 |
<div class="additional_row">[<a href="', $scripturl, '?action=admin;area=helpdesk_customfield;sa=new">', $txt['shd_admin_new_custom_field'], '</a>]</div> |
89 | 88 |
</div> |
90 |
- </div> |
|
91 | 89 |
</div>'; |
92 | 90 |
} |
93 | 91 |
|
... | ... |
@@ -209,16 +207,14 @@ function template_shd_custom_field_edit() |
209 | 207 |
} |
210 | 208 |
// ]', ']></script> |
211 | 209 |
<form action="', $scripturl, '?action=admin;area=helpdesk_customfield;sa=save', !empty($context['new_field']) ? ';new' : '', '" method="post"> |
212 |
- <div class="tborder"> |
|
213 | 210 |
<div class="cat_bar"> |
214 | 211 |
<h3 class="catbg"> |
215 | 212 |
<img src="', $settings['default_images_url'], '/simpledesk/custom_fields.png" class="icon" alt="*" /> |
216 | 213 |
', $context['section_title'], ' |
217 | 214 |
</h3> |
218 | 215 |
</div> |
219 |
- <p class="information"> |
|
216 |
+ <div class="information"> |
|
220 | 217 |
', $context['section_desc'],' |
221 |
- </p> |
|
222 | 218 |
</div> |
223 | 219 |
<div class="cat_bar"> |
224 | 220 |
<h3 class="catbg"> |
... | ... |
@@ -227,7 +223,6 @@ function template_shd_custom_field_edit() |
227 | 223 |
</h3> |
228 | 224 |
</div> |
229 | 225 |
<div class="roundframe"> |
230 |
- <div class="content"> |
|
231 | 226 |
<dl class="settings"> |
232 | 227 |
<dt><strong>', $txt['shd_admin_custom_fields_fieldname'], ':</strong><br><span class="smalltext">', $txt['shd_admin_custom_fields_fieldname_desc'], '</span></dt> |
233 | 228 |
<dd><input type="text" name="field_name" id="cf_fieldname"', !empty($context['custom_field']['field_name']) ? ' value="' . $context['custom_field']['field_name'] . '"' : '', ' class="input_text" size="30" /></dd> |
... | ... |
@@ -283,7 +278,6 @@ function template_shd_custom_field_edit() |
283 | 278 |
</dd> |
284 | 279 |
</dl> |
285 | 280 |
</div> |
286 |
- </div> |
|
287 | 281 |
<div class="cat_bar"> |
288 | 282 |
<h3 class="catbg"> |
289 | 283 |
<img src="', $settings['default_images_url'], '/simpledesk/fieldtype.png" alt="*" /> |
... | ... |
@@ -291,7 +285,6 @@ function template_shd_custom_field_edit() |
291 | 285 |
</h3> |
292 | 286 |
</div> |
293 | 287 |
<div class="roundframe"> |
294 |
- <div class="content"> |
|
295 | 288 |
<dl class="settings"> |
296 | 289 |
<dt><strong>', $txt['shd_admin_custom_fields_fieldtype'], ':</strong></dt> |
297 | 290 |
<dd> |
... | ... |
@@ -332,7 +325,6 @@ function template_shd_custom_field_edit() |
332 | 325 |
</div> |
333 | 326 |
</dt> |
334 | 327 |
<dd id="options_dd"', in_array($context['field_type_value'], array(CFIELD_TYPE_SELECT, CFIELD_TYPE_RADIO, CFIELD_TYPE_MULTI)) ? '' : ' style="display: none;"','> |
335 |
- <div> |
|
336 | 328 |
<input type="radio" id="radio_0" name="default_select" value="0"', $context['custom_field']['default_value'] == 0 ? ' checked="checked"' : '', $context['field_type_value'] != CFIELD_TYPE_MULTI ? '' : ' style="display:none;"', ' class="input_radio" /> <span id="radio_text_0"', $context['field_type_value'] != CFIELD_TYPE_MULTI ? '' : ' style="display:none;"', '>', $txt['shd_admin_custom_field_no_selected_default'], '</span>'; |
337 | 329 |
|
338 | 330 |
// Convert it to an array for displaying the main doodah |
... | ... |
@@ -354,7 +346,6 @@ function template_shd_custom_field_edit() |
354 | 346 |
echo ' |
355 | 347 |
<span id="addopt"></span> |
356 | 348 |
[<a href="" onclick="add_option(); return false;">', $txt['more'], '</a>] |
357 |
- </div> |
|
358 | 349 |
</dd> |
359 | 350 |
<dt id="default_dt"', $context['field_type_value'] == CFIELD_TYPE_CHECKBOX ? '' : ' style="display: none;"','> |
360 | 351 |
<strong>', $txt['shd_admin_custom_field_default_state'], ':</strong> |
... | ... |
@@ -368,7 +359,6 @@ function template_shd_custom_field_edit() |
368 | 359 |
<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 | 360 |
</dd> |
370 | 361 |
</dl> |
371 |
- </div> |
|
372 | 362 |
</div>'; |
373 | 363 |
|
374 | 364 |
if (!empty($context['dept_fields'])) |
... | ... |
@@ -381,7 +371,6 @@ function template_shd_custom_field_edit() |
381 | 371 |
</h3> |
382 | 372 |
</div> |
383 | 373 |
<div class="roundframe"> |
384 |
- <div class="content"> |
|
385 | 374 |
<dl class="settings">'; |
386 | 375 |
foreach ($context['dept_fields'] as $id => $row) |
387 | 376 |
echo ' |
... | ... |
@@ -396,7 +385,6 @@ function template_shd_custom_field_edit() |
396 | 385 |
|
397 | 386 |
echo ' |
398 | 387 |
</dl> |
399 |
- </div> |
|
400 | 388 |
</div>'; |
401 | 389 |
} |
402 | 390 |
|
... | ... |
@@ -18,16 +18,15 @@ function template_shd_departments_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/departments.png" class="icon" alt="*"> |
25 | 24 |
', $txt['shd_admin_departments_home'], ' |
26 | 25 |
</h3> |
27 | 26 |
</div> |
28 |
- <p class="information"> |
|
27 |
+ <div class="information"> |
|
29 | 28 |
', $txt['shd_admin_departments_homedesc'], ' |
30 |
- </p> |
|
29 |
+ </div> |
|
31 | 30 |
<table class="table_grid"> |
32 | 31 |
<tr class="title_bar"> |
33 | 32 |
<td width="1%"></td> |
... | ... |
@@ -99,7 +98,6 @@ function template_shd_departments_home() |
99 | 98 |
<div class="floatright"> |
100 | 99 |
<div class="additional_row">[<a href="', $scripturl, '?action=admin;area=helpdesk_depts;sa=createdept">', $txt['shd_create_dept'], '</a>]</div> |
101 | 100 |
</div> |
102 |
- </div> |
|
103 | 101 |
</div>'; |
104 | 102 |
} |
105 | 103 |
|
... | ... |
@@ -108,16 +106,14 @@ function template_shd_create_dept() |
108 | 106 |
global $context, $settings, $txt, $modSettings, $scripturl; |
109 | 107 |
|
110 | 108 |
echo ' |
111 |
- <div class="tborder"> |
|
112 | 109 |
<div class="cat_bar"> |
113 | 110 |
<h3 class="catbg"> |
114 | 111 |
<img src="', $settings['default_images_url'], '/simpledesk/departments.png" class="icon" alt="*" /> |
115 | 112 |
', $txt['shd_admin_departments_home'], ' |
116 | 113 |
</h3> |
117 | 114 |
</div> |
118 |
- <p class="information"> |
|
115 |
+ <div class="information"> |
|
119 | 116 |
', $txt['shd_admin_departments_homedesc'], ' |
120 |
- </p> |
|
121 | 117 |
</div> |
122 | 118 |
<div class="cat_bar"> |
123 | 119 |
<h3 class="catbg"> |
... | ... |
@@ -127,7 +123,6 @@ function template_shd_create_dept() |
127 | 123 |
</div> |
128 | 124 |
<div class="roundframe"> |
129 | 125 |
<form action="', $scripturl, '?action=admin;area=helpdesk_depts;sa=createdept;part=2" method="post"> |
130 |
- <div class="content"> |
|
131 | 126 |
<dl class="settings"> |
132 | 127 |
<dt><strong>', $txt['shd_new_dept_name'], '</strong></dt> |
133 | 128 |
<dd><input type="text" name="dept_name" id="dept_name" value="" class="input_text" size="30" /></dd> |
... | ... |
@@ -151,7 +147,6 @@ function template_shd_create_dept() |
151 | 147 |
</select> |
152 | 148 |
</dd> |
153 | 149 |
</dl> |
154 |
- </div> |
|
155 | 150 |
<input type="submit" value="', $txt['shd_create_dept'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" /> |
156 | 151 |
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" /> |
157 | 152 |
<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" /> |
... | ... |
@@ -165,16 +160,14 @@ function template_shd_edit_dept() |
165 | 160 |
|
166 | 161 |
echo ' |
167 | 162 |
<form action="', $scripturl, '?action=admin;area=helpdesk_depts;sa=savedept" method="post"> |
168 |
- <div class="tborder"> |
|
169 | 163 |
<div class="cat_bar"> |
170 | 164 |
<h3 class="catbg"> |
171 | 165 |
<img src="', $settings['default_images_url'], '/simpledesk/departments.png" class="icon" alt="*" /> |
172 | 166 |
', $txt['shd_admin_departments_home'], ' |
173 | 167 |
</h3> |
174 | 168 |
</div> |
175 |
- <p class="information"> |
|
169 |
+ <div class="information"> |
|
176 | 170 |
', $txt['shd_admin_departments_homedesc'], ' |
177 |
- </p> |
|
178 | 171 |
</div> |
179 | 172 |
<div class="cat_bar"> |
180 | 173 |
<h3 class="catbg"> |
... | ... |
@@ -182,9 +175,7 @@ function template_shd_edit_dept() |
182 | 175 |
', $txt['shd_edit_dept'], ' |
183 | 176 |
</h3> |
184 | 177 |
</div> |
185 |
- |
|
186 | 178 |
<div class="roundframe"> |
187 |
- <div class="content"> |
|
188 | 179 |
<dl class="settings"> |
189 | 180 |
<dt><strong>', $txt['shd_department_name'], '</strong></dt> |
190 | 181 |
<dd><input type="text" name="dept_name" id="dept_name" value="', $context['shd_dept']['dept_name'], '" class="input_text" size="30" /></dd> |
... | ... |
@@ -239,20 +231,19 @@ function template_shd_edit_dept() |
239 | 231 |
</dd> |
240 | 232 |
</dl> |
241 | 233 |
</div> |
242 |
- </div> |
|
243 |
- <div class="tborder floatleft" style="width: 100%;"> |
|
234 |
+ <div class="floatleft" style="width: 100%;"> |
|
244 | 235 |
<div class="cat_bar"> |
245 | 236 |
<h3 class="catbg"> |
246 | 237 |
<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*" /> |
247 | 238 |
', $txt['shd_roles_in_dept'], ' |
248 | 239 |
</h3> |
249 | 240 |
</div> |
250 |
- <p class="information"> |
|
241 |
+ <div class="information"> |
|
251 | 242 |
', $txt['shd_roles_in_dept_desc'], ' |
252 |
- </p> |
|
243 |
+ </div> |
|
253 | 244 |
<table class="table_grid"> |
254 | 245 |
<tr class="title_bar"> |
255 |
- <td width="50%">', $txt['shd_role'], '</td> |
|
246 |
+ <td class="shd_50">', $txt['shd_role'], '</td> |
|
256 | 247 |
<td>', $txt['shd_assign_dept'], '</td> |
257 | 248 |
</tr>'; |
258 | 249 |
|
... | ... |
@@ -284,7 +274,5 @@ function template_shd_edit_dept() |
284 | 274 |
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" /> |
285 | 275 |
<input type="hidden" name="dept" value="', $context['shd_dept']['id_dept'], '" /> |
286 | 276 |
</div> |
287 |
- </form> |
|
288 |
- <br class="clear" />'; |
|
277 |
+ </form>'; |
|
289 | 278 |
} |
290 | 279 |
\ No newline at end of file |
291 |
- |
... | ... |
@@ -18,27 +18,24 @@ function template_shd_permissions_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/permissions.png" class="icon" alt="*" /> |
25 | 24 |
', $txt['shd_admin_permissions'], ' |
26 | 25 |
</h3> |
27 | 26 |
</div> |
28 |
- <p class="information"> |
|
27 |
+ <div class="information"> |
|
29 | 28 |
', $txt['shd_admin_permissions_homedesc'], ' |
30 |
- </p> |
|
31 | 29 |
</div> |
32 |
- <div class="tborder"> |
|
33 | 30 |
<div class="title_bar"> |
34 | 31 |
<h3 class="titlebg"> |
35 | 32 |
<img src="', $settings['default_images_url'], '/simpledesk/position.png" alt="*" /> |
36 | 33 |
', $txt['shd_role_templates'], ' |
37 | 34 |
</h3> |
38 | 35 |
</div> |
39 |
- <p class="information"> |
|
36 |
+ <div class="information"> |
|
40 | 37 |
', $txt['shd_role_templates_desc'], ' |
41 |
- </p> |
|
38 |
+ </div> |
|
42 | 39 |
<table class="table_grid"> |
43 | 40 |
<tr class="title_bar"> |
44 | 41 |
<td colspan="2" width="30%">', $txt['shd_role'], '</td> |
... | ... |
@@ -60,18 +57,15 @@ function template_shd_permissions_home() |
60 | 57 |
|
61 | 58 |
echo ' |
62 | 59 |
</table> |
63 |
- </div> |
|
64 |
- <br><br> |
|
65 |
- <div class="tborder"> |
|
66 | 60 |
<div class="title_bar"> |
67 | 61 |
<h3 class="titlebg"> |
68 | 62 |
<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*" /> |
69 | 63 |
', $txt['shd_roles'], ' |
70 | 64 |
</h3> |
71 | 65 |
</div> |
72 |
- <p class="information"> |
|
66 |
+ <div class="information"> |
|
73 | 67 |
', $txt['shd_roles_desc'], ' |
74 |
- </p> |
|
68 |
+ </div> |
|
75 | 69 |
<table class="table_grid"> |
76 | 70 |
<tr class="title_bar"> |
77 | 71 |
<td colspan="2" width="20%">', $txt['shd_role'], '</td> |
... | ... |
@@ -127,8 +122,7 @@ function template_shd_permissions_home() |
127 | 122 |
} |
128 | 123 |
|
129 | 124 |
echo ' |
130 |
- </table> |
|
131 |
- </div>'; |
|
125 |
+ </table>'; |
|
132 | 126 |
} |
133 | 127 |
|
134 | 128 |
/** |
... | ... |
@@ -201,16 +195,14 @@ function template_shd_create_role() |
201 | 195 |
global $context, $settings, $txt, $modSettings, $scripturl; |
202 | 196 |
|
203 | 197 |
echo ' |
204 |
- <div class="tborder"> |
|
205 | 198 |
<div class="cat_bar"> |
206 | 199 |
<h3 class="catbg"> |
207 | 200 |
<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*" /> |
208 | 201 |
', $txt['shd_admin_permissions'], ' |
209 | 202 |
</h3> |
210 | 203 |
</div> |
211 |
- <p class="information"> |
|
204 |
+ <div class="information"> |
|
212 | 205 |
', $txt['shd_admin_permissions_homedesc'], ' |
213 |
- </p> |
|
214 | 206 |
</div> |
215 | 207 |
<div class="cat_bar"> |
216 | 208 |
<h3 class="catbg"> |
... | ... |
@@ -220,7 +212,6 @@ function template_shd_create_role() |
220 | 212 |
</div> |
221 | 213 |
<div class="roundframe"> |
222 | 214 |
<form action="', $scripturl, '?action=admin;area=helpdesk_permissions;sa=createrole;part=2" method="post"> |
223 |
- <div class="content"> |
|
224 | 215 |
<dl class="settings"> |
225 | 216 |
<dt><strong>', $txt['shd_create_based_on'], ':</strong></dt> |
226 | 217 |
<dd> |
... | ... |
@@ -230,7 +221,6 @@ function template_shd_create_role() |
230 | 221 |
<dt><strong>', $txt['shd_create_name'], '</strong></dt> |
231 | 222 |
<dd><input type="text" name="rolename" id="rolename" value="" class="input_text" size="30" /></dd> |
232 | 223 |
</dl> |
233 |
- </div> |
|
234 | 224 |
<input type="submit" value="', $txt['shd_create_role'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" /> |
235 | 225 |
<input type="hidden" name="template" value="', $_REQUEST['template'], '" /> |
236 | 226 |
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" /> |
... | ... |
@@ -253,16 +243,14 @@ function template_shd_edit_role() |
253 | 243 |
|
254 | 244 |
// Start the page off, including the rename-role bit. |
255 | 245 |
echo ' |
256 |
- <div class="tborder"> |
|
257 | 246 |
<div class="cat_bar"> |
258 | 247 |
<h3 class="catbg"> |
259 | 248 |
<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*" /> |
260 | 249 |
', $txt['shd_admin_permissions'], ' |
261 | 250 |
</h3> |
262 | 251 |
</div> |
263 |
- <p class="information"> |
|
252 |
+ <div class="information"> |
|
264 | 253 |
', $txt['shd_admin_permissions_homedesc'], ' |
265 |
- </p> |
|
266 | 254 |
</div> |
267 | 255 |
<script type="text/javascript"><!-- // --><![CDATA[ |
268 | 256 |
function shd_chicon(obj) |
... | ... |
@@ -314,7 +302,6 @@ function template_shd_edit_role() |
314 | 302 |
</h3> |
315 | 303 |
</div> |
316 | 304 |
<div class="roundframe"> |
317 |
- <div class="content"> |
|
318 | 305 |
<dl class="settings"> |
319 | 306 |
<dt><strong>', $txt['shd_is_based_on'], ':</strong></dt> |
320 | 307 |
<dd> |
... | ... |
@@ -324,7 +311,6 @@ function template_shd_edit_role() |
324 | 311 |
<dt><strong>', $txt['shd_role_name'], ':</strong></dt> |
325 | 312 |
<dd><input type="text" name="rolename" id="rolename" value="', $role['name'], '" class="input_text" size="30" /></dd> |
326 | 313 |
</dl> |
327 |
- </div> |
|
328 | 314 |
</div>'; |
329 | 315 |
|
330 | 316 |
// Get ready to display the actual permissions |
... | ... |
@@ -362,7 +348,6 @@ function template_shd_edit_role() |
362 | 348 |
</h3> |
363 | 349 |
</div> |
364 | 350 |
<div class="roundframe" id="permcontent_', $rowitem, '"> |
365 |
- <div class="content"> |
|
366 | 351 |
<dl class="permsettings">'; |
367 | 352 |
|
368 | 353 |
foreach ($permission_set[$rowitem] as $permission) |
... | ... |
@@ -414,7 +399,6 @@ function template_shd_edit_role() |
414 | 399 |
echo ' |
415 | 400 |
</dl> |
416 | 401 |
</div> |
417 |
- </div> |
|
418 | 402 |
<span id="permfooter_', $rowitem, '"></span> |
419 | 403 |
<br>'; |
420 | 404 |
} |
... | ... |
@@ -441,21 +425,21 @@ function template_shd_edit_role() |
441 | 425 |
} |
442 | 426 |
|
443 | 427 |
echo ' |
444 |
- <div class="tborder floatleft" style="width: 100%;"> |
|
428 |
+ <div class="floatleft" style="width: 100%;"> |
|
445 | 429 |
<div class="cat_bar"> |
446 | 430 |
<h3 class="catbg"> |
447 | 431 |
<img src="', $settings['default_images_url'], '/simpledesk/roles.png" alt="*" /> |
448 | 432 |
', $txt['shd_role_membergroups'], ' |
449 | 433 |
</h3> |
450 | 434 |
</div> |
451 |
- <p class="information"> |
|
435 |
+ <div class="information"> |
|
452 | 436 |
', $txt['shd_role_membergroups_desc'], ' |
453 |
- </p> |
|
437 |
+ </div> |
|
454 | 438 |
<table class="table_grid"> |
455 | 439 |
<tr class="title_bar"> |
456 |
- <td width="30%">', $txt['shd_role'], '</td> |
|
457 |
- <td width="30%">', $txt['shd_badge_stars'], '</td> |
|
458 |
- <td>', $txt['shd_assign_group'], '</td> |
|
440 |
+ <td class="shd_33">', $txt['shd_role'], '</td> |
|
441 |
+ <td class="shd_33">', $txt['shd_badge_stars'], '</td> |
|
442 |
+ <td class="shd_33">', $txt['shd_assign_group'], '</td> |
|
459 | 443 |
</tr>'; |
460 | 444 |
|
461 | 445 |
foreach ($context['membergroups'] as $id_group => $group) |
... | ... |
@@ -472,30 +456,29 @@ function template_shd_edit_role() |
472 | 456 |
echo str_repeat('<img src="' . $settings['images_url'] . '/membericons/' . $icons[1] . '" alt="" />', $icons[0]); |
473 | 457 |
} |
474 | 458 |
|
475 |
- echo '</td> |
|
459 |
+ echo ' |
|
460 |
+ </td> |
|
476 | 461 |
<td><input type="checkbox" class="input_check" name="group', $id_group, '"', (in_array($id_group, $context['role_groups']) ? ' checked="checked"' : ''), ' /></td> |
477 |
- </tr>'; |
|
462 |
+ </tr> |
|
463 |
+ </div>'; |
|
478 | 464 |
} |
479 | 465 |
|
480 | 466 |
echo ' |
481 | 467 |
</table> |
482 |
- <br> |
|
483 |
- </div> |
|
484 |
- |
|
485 |
- <div class="tborder floatleft" style="width: 100%;"> |
|
468 |
+ <div class="floatleft" style="width: 100%;"> |
|
486 | 469 |
<div class="cat_bar"> |
487 | 470 |
<h3 class="catbg"> |
488 | 471 |
<img src="', $settings['default_images_url'], '/simpledesk/departments.png" alt="*" /> |
489 | 472 |
', $txt['shd_role_departments'], ' |
490 | 473 |
</h3> |
491 | 474 |
</div> |
492 |
- <p class="information"> |
|
475 |
+ <div class="information"> |
|
493 | 476 |
', $txt['shd_role_departments_desc'], ' |
494 |
- </p> |
|
477 |
+ </div> |
|
495 | 478 |
<table class="table_grid"> |
496 | 479 |
<tr class="title_bar"> |
497 |
- <td width="50%">', $txt['shd_department_name'], '</td> |
|
498 |
- <td width="50%">', $txt['shd_assign_dept'], '</td> |
|
480 |
+ <td class="shd_50">', $txt['shd_department_name'], '</td> |
|
481 |
+ <td class="shd_50">', $txt['shd_assign_dept'], '</td> |
|
499 | 482 |
</tr>'; |
500 | 483 |
|
501 | 484 |
foreach ($context['role_depts'] as $id_dept => $dept) |
... | ... |
@@ -509,17 +492,12 @@ function template_shd_edit_role() |
509 | 492 |
|
510 | 493 |
echo ' |
511 | 494 |
</table> |
512 |
- <br> |
|
513 | 495 |
</div> |
514 |
- |
|
515 |
- <div class="floatleft"> |
|
516 | 496 |
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" /> |
517 | 497 |
<input type="hidden" name="role" value="', $_REQUEST['role'], '" /> |
518 | 498 |
<input type="submit" value="', $txt['shd_edit_role'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" /> |
519 | 499 |
<input type="submit" value="', $txt['shd_delete_role'], '" onclick="return confirm(' . JavaScriptEscape($txt['shd_delete_role_confirm']) . ');" name="delete" class="button_submit" /> |
520 |
- </div> |
|
521 |
- </form> |
|
522 |
- <br class="clear" />'; |
|
500 |
+ </form>'; |
|
523 | 501 |
} |
524 | 502 |
|
525 | 503 |
/** |
... | ... |
@@ -532,16 +510,14 @@ function template_shd_copy_role() |
532 | 510 |
global $context, $settings, $txt, $modSettings, $scripturl; |
533 | 511 |
|
534 | 512 |
echo ' |
535 |
- <div class="tborder"> |
|
536 | 513 |
<div class="cat_bar"> |
537 | 514 |
<h3 class="catbg"> |
538 | 515 |
<img src="', $settings['default_images_url'], '/simpledesk/permissions.png" class="icon" alt="*" /> |
539 | 516 |
', $txt['shd_admin_permissions'], ' |
540 | 517 |
</h3> |
541 | 518 |
</div> |
542 |
- <p class="information"> |
|
519 |
+ <div class="information"> |
|
543 | 520 |
', $txt['shd_admin_permissions_homedesc'], ' |
544 |
- </p> |
|
545 | 521 |
</div> |
546 | 522 |
<div class="cat_bar"> |
547 | 523 |
<h3 class="catbg"> |
... | ... |
@@ -551,7 +527,6 @@ function template_shd_copy_role() |
551 | 527 |
</div> |
552 | 528 |
<div class="roundframe"> |
553 | 529 |
<form action="', $scripturl, '?action=admin;area=helpdesk_permissions;sa=copyrole;part=2" method="post"> |
554 |
- <div class="content"> |
|
555 | 530 |
<dl class="settings"> |
556 | 531 |
<dt><strong>', $txt['shd_create_based_on'], ':</strong></dt> |
557 | 532 |
<dd> |
... | ... |
@@ -563,7 +538,6 @@ function template_shd_copy_role() |
563 | 538 |
<dt><strong>', $txt['shd_copy_role_groups'], '</strong></dt> |
564 | 539 |
<dd><input type="checkbox" name="copygroups" id="copygroups" value="1" class="input_check" /></dd> |
565 | 540 |
</dl> |
566 |
- </div> |
|
567 | 541 |
<input type="submit" value="', $txt['shd_copy_role'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" /> |
568 | 542 |
<input type="hidden" name="role" value="', $_REQUEST['role'], '" /> |
569 | 543 |
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" /> |
570 | 544 |