Revision 5f68c975
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
templates/webpages/am/config.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %] |
2 | 2 |
[%- USE LxERP %] |
3 | 3 |
[%- USE HTML %][%- USE L %] |
4 |
<p> |
|
5 |
<div class="listtop">[% title %]</div> |
|
6 |
</p> |
|
4 |
<div class="listtop">[% title %]</div> |
|
7 | 5 |
|
8 | 6 |
<form method="post" action="am.pl" name="Form"> |
9 |
|
|
10 |
<ul id="maintab" class="shadetabs"> |
|
11 |
<li class="selected"><a href="#" rel="page_personal_settings">[% 'Personal settings' | $T8 %]</a></li> |
|
12 |
<li><a href="#" rel="page_display_options">[% 'Display options' | $T8 %]</a></li> |
|
13 |
<li><a href="#" rel="page_print_options">[% 'Print options' | $T8 %]</a></li> |
|
14 |
<li><a href="#" rel="page_todo_list_options">[% 'TODO list options' | $T8 %]</a></li> |
|
15 |
</ul> |
|
16 |
|
|
17 | 7 |
<input type="hidden" name="type" value="preferences"> |
18 | 8 |
|
19 |
<div class="tabcontentstyle"> |
|
9 |
<div class="tabwidget"> |
|
10 |
<ul> |
|
11 |
<li><a href="#page_personal_settings">[% 'Personal settings' | $T8 %]</a></li> |
|
12 |
<li><a href="#page_display_options">[% 'Display options' | $T8 %]</a></li> |
|
13 |
<li><a href="#page_print_options">[% 'Print options' | $T8 %]</a></li> |
|
14 |
<li><a href="#page_todo_list_options">[% 'TODO list options' | $T8 %]</a></li> |
|
15 |
</ul> |
|
20 | 16 |
|
21 |
<div id="page_personal_settings" class="tabcontent">
|
|
17 |
<div id="page_personal_settings"> |
|
22 | 18 |
|
23 | 19 |
<table> |
24 | 20 |
<tr> |
... | ... | |
77 | 73 |
</tr> |
78 | 74 |
|
79 | 75 |
</table> |
80 |
|
|
81 |
<br style="clear: left" /> |
|
82 | 76 |
</div> |
83 | 77 |
|
84 |
<div id="page_display_options" class="tabcontent">
|
|
78 |
<div id="page_display_options"> |
|
85 | 79 |
|
86 | 80 |
<table> |
87 | 81 |
<tr> |
... | ... | |
147 | 141 |
</td> |
148 | 142 |
</tr> |
149 | 143 |
</table> |
150 |
|
|
151 |
<br style="clear: left" /> |
|
152 | 144 |
</div> |
153 | 145 |
|
154 |
<div id="page_print_options" class="tabcontent">
|
|
146 |
<div id="page_print_options"> |
|
155 | 147 |
|
156 | 148 |
<table> |
157 | 149 |
<input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]"> |
... | ... | |
182 | 174 |
<td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td> |
183 | 175 |
</tr> |
184 | 176 |
</table> |
185 |
|
|
186 |
<br style="clear: left" /> |
|
187 | 177 |
</div> |
188 | 178 |
|
189 |
<div id="page_todo_list_options" class="tabcontent">
|
|
179 |
<div id="page_todo_list_options"> |
|
190 | 180 |
|
191 | 181 |
<table> |
192 | 182 |
<tr> |
... | ... | |
229 | 219 |
</tr> |
230 | 220 |
[%- END %] |
231 | 221 |
</table> |
232 |
|
|
233 |
<br style="clear: left" /> |
|
234 | 222 |
</div> |
235 | 223 |
</div> |
236 | 224 |
|
237 | 225 |
<p><input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]"></p> |
238 | 226 |
</form> |
239 |
|
|
240 |
<script type="text/javascript"> |
|
241 |
<!-- |
|
242 |
var maintab = new ddtabcontent("maintab"); |
|
243 |
maintab.setpersist(true); |
|
244 |
maintab.setselectedClassTarget("link"); //"link" or "linkparent" |
|
245 |
maintab.init(); |
|
246 |
--> |
|
247 |
</script> |
Auch abrufbar als: Unified diff
Refactoring: DHTML-Tab-Dialog durch Variante aus jQuery-UI ersetzt