/
prefs_authors;ajax;default
68 lines (58 loc) · 2.44 KB
/
prefs_authors;ajax;default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
__section__
default
__description__
__title__
__page__
ajax
__lang__
en_US
__name__
prefs_authors
__template__
<form id ="modal_prefs" method="post">
<input type="hidden" name="formname" value="authors">
<input type="hidden" name="uid" value="[% user.uid %]">
<input type="hidden" name="refreshable" value="">
[% IF tabbed == 1 %]
<div style="margin-top: 1em; text-align: center;">
<a href="" style="font-weight: bold; text-decoration: none; font-size: 14px;" onclick="getModalPrefs('home', 'Homepage', 1); return false;">Homepage</a>
|
<a href="" style="font-weight: bold; text-decoration: none; font-size: 14px;" onclick="getModalPrefs('slashboxes', 'Slashboxes', 1); return false;">Slashboxes</a>
|
<a href="" style="font-weight: bold; text-decoration: none; font-size: 14px;" onclick="getModalPrefs('sectional', 'Sectional Display', 1); return false;">Sections</a>
|
<span style="font-weight: bold; text-decoration: none; font-size: 14px; color: #ccc">Authors</span>
</div>
[% END %]
<br>
Uncheck any author name to exclude their stories from your [% constants.sitename %] homepage.
<br><br>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
[% FOR aid = aid_order %]
[% IF loop.index % 3 == 0 %]
<tr>
[% END %]
<td>
<input type="checkbox" name="aid[% aid %]"
[% IF story_never_author.$aid > 0 %] checked[%END %]>
[% author_hr.$aid | strip_literal %]
</td>
[% IF loop.index % 3 == 2 %]
</tr>
[% END %]
[% END %]
[% remaining_cells = 2 - (box_order.max % 3);
WHILE remaining_cells;
remaining_cells = remaining_cells - 1; %]
<td> </td>
[% END %]
</tr>
</table>
<br>
<input type="button" value="Save" onclick="saveModalPrefs()">
</form>
__seclev__
500
__version__
$Id$