1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml" dir=
"{S_CONTENT_DIRECTION}" lang=
"{S_USER_LANG}" xml:
lang=
"{S_USER_LANG}">
5 <meta http-equiv=
"Content-Type" content=
"text/html; charset={S_CONTENT_ENCODING}" />
6 <meta http-equiv=
"Content-Style-Type" content=
"text/css" />
7 <meta http-equiv=
"Content-Language" content=
"{S_USER_LANG}" />
8 <meta http-equiv=
"imagetoolbar" content=
"no" />
9 <!-- IF META -->{META}
<!-- ENDIF -->
10 <title>{PAGE_TITLE}
</title>
12 <link href=
"style/admin.css" rel=
"stylesheet" type=
"text/css" media=
"screen" />
14 <script type=
"text/javascript">
16 var jump_page
= '{LA_JUMP_PAGE}:';
17 var on_page
= '{ON_PAGE}';
18 var per_page
= '{PER_PAGE}';
19 var base_url
= '{A_BASE_URL}';
21 var menu_state
= 'shown';
29 var page
= prompt(jump_page
, on_page
);
31 if (page
!== null && !isNaN(page
) && page
> 0)
33 document
.location
.href
= base_url
.replace(/&/g, '&') + '&start=' + ((page
- 1) * per_page
);
38 * Set display of page element
39 * s[-1,0,1] = hide,toggle display,show
41 function dE(n
, s
, type
)
48 var e
= document
.getElementById(n
);
51 s
= (e
.style
.display
== '') ? -1 : 1;
53 e
.style
.display
= (s
== 1) ? type
: 'none';
57 * Mark/unmark checkboxes
58 * id = ID of parent container, name = name prefix, state = state [true/false]
60 function marklist(id
, name
, state
)
62 var parent
= document
.getElementById(id
);
65 eval('parent = document.' + id
);
73 var rb
= parent
.getElementsByTagName('input');
75 for (var r
= 0; r
< rb
.length
; r
++)
77 if (rb
[r
].name
.substr(0, name
.length
) == name
)
79 rb
[r
].checked
= state
;
87 function find_username(url
)
89 popup(url
, 760, 570, '_usersearch');
96 function popup(url
, width
, height
, name
)
103 window
.open(url
.replace(/&/g, '&'), name
, 'height=' + height
+ ',resizable=yes,scrollbars=yes, width=' + width
);
108 * Hiding/Showing the side menu
110 function switch_menu()
112 var menu
= document
.getElementById('menu');
113 var main
= document
.getElementById('main');
114 var toggle
= document
.getElementById('toggle');
115 var handle
= document
.getElementById('toggle-handle');
121 main
.style
.width
= '93%';
122 menu_state
= 'hidden';
123 menu
.style
.display
= 'none';
124 toggle
.style
.width
= '20px';
125 handle
.style
.backgroundImage
= 'url(images/toggle.gif)';
126 handle
.style
.backgroundRepeat
= 'no-repeat';
128 <!-- IF S_CONTENT_DIRECTION eq
'rtl' -->
129 handle
.style
.backgroundPosition
= '0% 50%';
130 toggle
.style
.left
= '96%';
132 handle
.style
.backgroundPosition
= '100% 50%';
133 toggle
.style
.left
= '0';
139 main
.style
.width
= '76%';
140 menu_state
= 'shown';
141 menu
.style
.display
= 'block';
142 toggle
.style
.width
= '5%';
143 handle
.style
.backgroundImage
= 'url(images/toggle.gif)';
144 handle
.style
.backgroundRepeat
= 'no-repeat';
146 <!-- IF S_CONTENT_DIRECTION eq
'rtl' -->
147 handle
.style
.backgroundPosition
= '100% 50%';
148 toggle
.style
.left
= '75%';
150 handle
.style
.backgroundPosition
= '0% 50%';
151 toggle
.style
.left
= '15%';
161 <body class=
"{S_CONTENT_DIRECTION}">
164 <div id=
"page-header">
165 <h1>{L_ADMIN_PANEL}
</h1>
166 <p><a href=
"{U_ADM_INDEX}">{L_ADMIN_INDEX}
</a> • <a href=
"{U_INDEX}">{L_FORUM_INDEX}
</a></p>
167 <p id=
"skip"><a href=
"#acp">{L_SKIP}
</a></p>
173 <!-- BEGIN t_block1 -->
174 <li<!-- IF t_block1.S_SELECTED --> id=
"activetab"<!-- ENDIF -->><a href=
"{t_block1.U_TITLE}"><span>{t_block1.L_TITLE}
</span></a></li>
175 <!-- END t_block1 -->
181 <span class=
"corners-top"><span></span></span>
183 <!-- IF not S_USER_NOTICE -->
185 <a id=
"toggle-handle" accesskey=
"m" title=
"{L_MENU_TOGGLE}" onclick=
"switch_menu(); return false;" href=
"#"></a></div>
188 <p><!-- IF S_USER_LOGGED_IN --> {L_LOGGED_IN_AS}
<br /><strong>{USERNAME}
</strong> [
<a href=
"{U_LOGOUT}">{L_LOGOUT}
</a> ]
<!-- ENDIF --><!-- IF S_USER_ADMIN -->[
<a href=
"{U_ADM_LOGOUT}">{L_ADM_LOGOUT}
</a> ]
<!-- ENDIF --></p>
189 <!-- IF S_USER_ADMIN -->
191 <!-- BEGIN l_block1 -->
192 <!-- IF l_block1.S_SELECTED -->
194 <!-- BEGIN l_block2 -->
195 <!-- IF .l_block1.l_block2.l_block3 -->
196 <li class=
"header">{l_block1.l_block2.L_TITLE}
</li>
199 <!-- BEGIN l_block3 -->
200 <li<!-- IF l_block1.l_block2.l_block3.S_SELECTED --> id=
"activemenu"<!-- ENDIF -->><a href=
"{l_block1.l_block2.l_block3.U_TITLE}"><span>{l_block1.l_block2.l_block3.L_TITLE}
</span></a></li>
201 <!-- END l_block3 -->
202 <!-- END l_block2 -->
205 <!-- END l_block1 -->