Revision 1206
Added by Luisehahne about 15 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.1 ------------------------------------- |
14 |
02-Dez-2009 Dietmar Woellbrink (Luisehahne) |
|
15 |
! next step to validate backend themes |
|
14 | 16 |
01-Dez-2009 Dietmar Woellbrink (Luisehahne) |
15 | 17 |
! add Revision IDs to added files - Thanks to Ruebenwurzel |
16 | 18 |
01-Dez-2009 Dietmar Woellbrink (Luisehahne) |
branches/2.8.x/wb/admin/pages/modify.php | ||
---|---|---|
159 | 159 |
$block_name = '#' . (int) $section['block']; |
160 | 160 |
} |
161 | 161 |
} |
162 |
print '<div id="'.$section['section_id'].'"><b>' . $TEXT['BLOCK'] . ': </b>' . $block_name; |
|
162 |
print '<div id="wb'.$section['section_id'].'"><b>' . $TEXT['BLOCK'] . ': </b>' . $block_name;
|
|
163 | 163 |
print '<b> Modul: </b>' . $section['module']." "; |
164 | 164 |
print '<b> ID: </b>' . $section_id."</div>\n"; |
165 | 165 |
} |
branches/2.8.x/wb/admin/pages/sections.php | ||
---|---|---|
200 | 200 |
} |
201 | 201 |
else |
202 | 202 |
{ |
203 |
$edit_page ='<a name="'.$section['section_id'].'" href="'.ADMIN_URL.'/pages/modify.php?page_id='.$page_id.'#'.$section['section_id'].'">'.$module_name.'</a>'; |
|
203 |
$edit_page ='<a name="'.$section['section_id'].'" href="'.ADMIN_URL.'/pages/modify.php?page_id='.$page_id.'#wb'.$section['section_id'].'">'.$module_name.'</a>';
|
|
204 | 204 |
} |
205 | 205 |
|
206 | 206 |
$input_attribute = 'input_normal'; |
branches/2.8.x/wb/templates/classic_theme/theme.css | ||
---|---|---|
83 | 83 |
.container { |
84 | 84 |
background: #fff url(images/bgtitle.png); |
85 | 85 |
background-repeat: repeat-x; |
86 |
width: 85%; |
|
87 |
margin: 0 auto; |
|
86 | 88 |
} |
87 | 89 |
|
88 | 90 |
.content { |
... | ... | |
166 | 168 |
} |
167 | 169 |
|
168 | 170 |
.pages_list table { |
169 |
width: 730px; |
|
171 |
width: 100%; |
|
172 |
margin: 0 auto; |
|
170 | 173 |
background-color: #f0f0f0; |
171 | 174 |
} |
172 | 175 |
|
... | ... | |
298 | 301 |
/* CSS STYLES FOR THE PAGES SECTION */ |
299 | 302 |
|
300 | 303 |
table.pages_view { |
301 |
width: 730px; |
|
304 |
width: 100%; |
|
305 |
margin: 0 auto; |
|
302 | 306 |
border: 0; |
303 | 307 |
border-spacing: 0px; |
304 | 308 |
background-color: #ECF3F7; |
... | ... | |
376 | 380 |
text-indent: 7px; |
377 | 381 |
} |
378 | 382 |
|
383 |
.header_title { |
|
384 |
width: 100%; |
|
385 |
} |
|
379 | 386 |
.header_list_menu_title {text-align:left;} |
380 |
.header_list_page_title {width:290px; text-align:left;}
|
|
381 |
.header_list_page_id {width:30px; text-align: right;}
|
|
387 |
.header_list_page_title {width:300px; text-align:left;}
|
|
388 |
.header_list_page_id {width:50px; text-align: right; padding-right:15px;}
|
|
382 | 389 |
.header_list_actions {width:150px; text-align:left;} |
383 | 390 |
|
384 | 391 |
.list_menu_title {text-align:left;} |
385 |
.list_page_title {width:290px;text-align:left; }
|
|
392 |
.list_page_title {width:300px;text-align:left; }
|
|
386 | 393 |
|
387 | 394 |
.list_page_id {width:30px;text-align: right; } |
388 | 395 |
.list_actions {width:20px;text-align:left;} |
396 |
.sections_list {font-weight:bold;padding-left:10px;} |
|
397 |
.sections_list table {width:900px;} |
|
389 | 398 |
|
399 |
|
|
400 |
.header_list_type {text-align:left;} |
|
401 |
.header_list_block {text-align:left;width:180px;} |
|
402 |
.header_list_pubdate_start {text-align:left;width:200px;} |
|
403 |
.header_list_pubdate_end {text-align:left;width:200px;} |
|
404 |
.header_list_sections_actions {text-align:left;width:30px;} |
|
405 |
.header_list_section_id {width:30px;text-align:right;} |
|
406 |
|
|
407 |
|
|
408 |
.list_section_id {width:30px;text-align:right;} |
|
409 |
.list_pubdate_start {text-align:left;width:200px;} |
|
410 |
.list_pubdate_end {text-align:left;width:200px;} |
|
411 |
|
|
390 | 412 |
/* Ende */ |
branches/2.8.x/wb/templates/classic_theme/templates/toggle_zip.js | ||
---|---|---|
1 |
function toggle() { |
|
2 |
var check = document.getElementById("file2"); |
|
3 |
if (check.style.visibility == "visible") { |
|
4 |
for (i=2; i<=10; i++) { |
|
5 |
document.getElementById("file" + i).style.visibility = "hidden"; |
|
6 |
} |
|
7 |
document.getElementById("delzip").style.display = "inline"; |
|
8 |
} else { |
|
9 |
for (i=2; i<=10; i++) { |
|
10 |
document.getElementById("file" + i).style.visibility = "visible"; |
|
11 |
} |
|
12 |
document.getElementById("delzip").style.display = "none"; |
|
13 |
} |
|
14 |
} |
branches/2.8.x/wb/templates/classic_theme/templates/pages_sections.htt | ||
---|---|---|
17 | 17 |
|
18 | 18 |
<form name="section_properties" action="{ADMIN_URL}/pages/sections_save.php?page_id={VAR_PAGE_ID}" method="post"> |
19 | 19 |
<table cellpadding="5" cellspacing="0" align="center" border="0" width="100%"> |
20 |
<tr> |
|
20 |
<tr class="sections_list">
|
|
21 | 21 |
<td valign="middle" width="{NAME_SIZE}">{TEXT_TYPE}:</td> |
22 | 22 |
<td {STYLE_DISPLAY_SECTION_BLOCK}>{TEXT_BLOCK}:</td> |
23 |
<td valign="middle" align="left">{TEXT_PUBL_START_DATE}:</td>
|
|
24 |
<td valign="middle" align="left">{TEXT_PUBL_END_DATE}:</td>
|
|
25 |
<td valign="middle" align="left" colspan="3">{TEXT_ACTIONS}:</td>
|
|
26 |
<td valign="middle" align="left">{TEXT_SID}</td>
|
|
23 |
<td class="header_list_pubdate_start">{TEXT_PUBL_START_DATE}:</td>
|
|
24 |
<td class="header_list_pubdate_end">{TEXT_PUBL_END_DATE}:</td>
|
|
25 |
<td class="header_list_sections_actions" colspan="3">{TEXT_ACTIONS}:</td>
|
|
26 |
<td class="header_list_section_id">{TEXT_SID}</td>
|
|
27 | 27 |
<td valign="middle" align="left"{DISPLAY_DEBUG}>{TEXT_PID}</td> |
28 | 28 |
</tr> |
29 | 29 |
<!-- BEGIN section_block --> |
branches/2.8.x/wb/templates/classic_theme/templates/pages_settings.htt | ||
---|---|---|
142 | 142 |
</select> |
143 | 143 |
</td> |
144 | 144 |
</tr> |
145 |
<!-- insert page_code 20090904--> |
|
146 |
<tr{DISPLAY_CODE_PAGE_LIST}> |
|
147 |
<td width="100">{TEXT_PAGE_CODE}:</td> |
|
148 |
<td width="240"> |
|
149 |
<select name="page_code" style="width: 240px;"> |
|
150 |
<!-- BEGIN page_code_list_block --> |
|
151 |
<option value="{VALUE}"{SELECTED} style="background: {FLAG_CODE_ICON} no-repeat center left; padding-left: 20px;">{PAGE_CODE}</option> |
|
152 |
<!-- END page_code_list_block --> |
|
153 |
</select> |
|
154 |
</td> |
|
155 |
</tr> |
|
156 |
<!-- page code --> |
|
145 | 157 |
<tr> |
146 | 158 |
<td width="100">{TEXT_SEARCHING}:</td> |
147 | 159 |
<td width="240"> |
branches/2.8.x/wb/templates/wb_theme/theme.css | ||
---|---|---|
88 | 88 |
.container { |
89 | 89 |
background: #fff url(images/bgtitle.png); |
90 | 90 |
background-repeat: repeat-x; |
91 |
width:80%;
|
|
91 |
width: 85%;
|
|
92 | 92 |
margin: 0 auto; |
93 | 93 |
} |
94 | 94 |
|
... | ... | |
307 | 307 |
/* CSS STYLES FOR THE PAGES SECTION */ |
308 | 308 |
|
309 | 309 |
table.pages_view { |
310 |
width: 850px;
|
|
310 |
width: 100%;
|
|
311 | 311 |
margin: 0 auto; |
312 | 312 |
border: 0; |
313 | 313 |
border-spacing: 0px; |
... | ... | |
400 | 400 |
.list_page_id {width:30px;text-align: right; } |
401 | 401 |
.list_actions {width:20px;text-align:left;} |
402 | 402 |
|
403 |
.sections_list {font-weight:bold;padding-left:10px;} |
|
404 |
.sections_list table {width:900px;} |
|
403 | 405 |
|
404 | 406 |
|
407 |
.header_list_type {text-align:left;} |
|
408 |
.header_list_block {text-align:left;width:180px;} |
|
409 |
.header_list_pubdate_start {text-align:left;width:200px;} |
|
410 |
.header_list_pubdate_end {text-align:left;width:200px;} |
|
411 |
.header_list_sections_actions {text-align:left;width:30px;} |
|
412 |
.header_list_section_id {width:30px;text-align:right;} |
|
413 |
|
|
414 |
|
|
415 |
.list_section_id {width:30px;text-align:right;} |
|
416 |
.list_pubdate_start {text-align:left;width:200px;} |
|
417 |
.list_pubdate_end {text-align:left;width:200px;} |
|
418 |
|
|
405 | 419 |
/* Ende */ |
branches/2.8.x/wb/templates/wb_theme/templates/toggle_zip.js | ||
---|---|---|
1 |
function toggle() { |
|
2 |
var check = document.getElementById("file2"); |
|
3 |
if (check.style.visibility == "visible") { |
|
4 |
for (i=2; i<=10; i++) { |
|
5 |
document.getElementById("file" + i).style.visibility = "hidden"; |
|
6 |
} |
|
7 |
document.getElementById("delzip").style.display = "inline"; |
|
8 |
} else { |
|
9 |
for (i=2; i<=10; i++) { |
|
10 |
document.getElementById("file" + i).style.visibility = "visible"; |
|
11 |
} |
|
12 |
document.getElementById("delzip").style.display = "none"; |
|
13 |
} |
|
14 |
} |
branches/2.8.x/wb/templates/wb_theme/templates/pages_sections.htt | ||
---|---|---|
17 | 17 |
|
18 | 18 |
<form name="section_properties" action="{ADMIN_URL}/pages/sections_save.php?page_id={VAR_PAGE_ID}" method="post"> |
19 | 19 |
<table cellpadding="5" cellspacing="0" align="center" border="0" width="100%"> |
20 |
<tr> |
|
20 |
<tr class="sections_list">
|
|
21 | 21 |
<td valign="middle" width="{NAME_SIZE}">{TEXT_TYPE}:</td> |
22 | 22 |
<td {STYLE_DISPLAY_SECTION_BLOCK}>{TEXT_BLOCK}:</td> |
23 |
<td valign="middle" align="left">{TEXT_PUBL_START_DATE}:</td>
|
|
24 |
<td valign="middle" align="left">{TEXT_PUBL_END_DATE}:</td>
|
|
25 |
<td valign="middle" align="left" colspan="3">{TEXT_ACTIONS}:</td>
|
|
26 |
<td valign="middle" align="left">{TEXT_SID}</td>
|
|
23 |
<td class="header_list_pubdate_start">{TEXT_PUBL_START_DATE}:</td>
|
|
24 |
<td class="header_list_pubdate_end">{TEXT_PUBL_END_DATE}:</td>
|
|
25 |
<td class="header_list_sections_actions" colspan="3">{TEXT_ACTIONS}:</td>
|
|
26 |
<td class="header_list_section_id">{TEXT_SID}</td>
|
|
27 | 27 |
<td valign="middle" align="left"{DISPLAY_DEBUG}>{TEXT_PID}</td> |
28 | 28 |
</tr> |
29 | 29 |
<!-- BEGIN section_block --> |
branches/2.8.x/wb/templates/wb_theme/templates/media.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
|
|
3 |
<script language="javascript" type="text/javascript"> |
|
4 |
function toggle() { |
|
5 |
var check = document.getElementById("file2"); |
|
6 |
if (check.style.visibility == "visible") { |
|
7 |
for (i=2; i<=10; i++) { |
|
8 |
document.getElementById("file" + i).style.visibility = "hidden"; |
|
9 |
} |
|
10 |
document.getElementById("delzip").style.display = "inline"; |
|
11 |
} else { |
|
12 |
for (i=2; i<=10; i++) { |
|
13 |
document.getElementById("file" + i).style.visibility = "visible"; |
|
14 |
} |
|
15 |
document.getElementById("delzip").style.display = "none"; |
|
16 |
} |
|
17 |
} |
|
18 |
</script> |
|
19 |
|
|
20 |
<h2>{HEADING_BROWSE_MEDIA}</h2> |
|
21 |
|
|
22 |
<iframe width="100%" height="382px" align="center" src="browse.php" scrolling="no"></iframe> |
|
23 |
<br /> |
|
24 |
<form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}"> |
|
25 |
|
|
26 |
<h2>{HEADING_CREATE_FOLDER}</h2> |
|
27 |
|
|
28 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
29 |
<tr> |
|
30 |
<td width="100">{TEXT_TARGET_FOLDER}:</td> |
|
31 |
<td> |
|
32 |
<select name="target" style="width: 100%;"> |
|
33 |
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option> |
|
34 |
<!-- BEGIN dir_list_block --> |
|
35 |
<option value="{NAME}">{NAME}</option> |
|
36 |
<!-- END dir_list_block --> |
|
37 |
</select> |
|
38 |
</td> |
|
39 |
</tr> |
|
40 |
</table> |
|
41 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
42 |
<tr> |
|
43 |
<td width="100">{TEXT_NAME}:</td> |
|
44 |
<td> |
|
45 |
<input type="text" name="name" style="width: 100%;" /> |
|
46 |
</td> |
|
47 |
<td align="right" width="160"> |
|
48 |
<input type="submit" name="submit" value="{TEXT_CREATE_FOLDER}" style="width: 160px;" /> |
|
49 |
</td> |
|
50 |
</tr> |
|
51 |
</table> |
|
52 |
|
|
53 |
</form> |
|
54 |
|
|
55 |
<form name="upload" action="upload.php" method="post" enctype="multipart/form-data" class="{DISPLAY_UPLOAD}"> |
|
56 |
|
|
57 |
<br /> |
|
58 |
|
|
59 |
<h2>{HEADING_UPLOAD_FILES}</h2> |
|
60 |
|
|
61 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
62 |
<tr> |
|
63 |
<td width="100">{TEXT_TARGET_FOLDER}:</td> |
|
64 |
<td> |
|
65 |
<select name="target" style="width: 100%;"> |
|
66 |
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option> |
|
67 |
<!-- BEGIN dir_list_block --> |
|
68 |
<option value="{NAME}">{NAME}</option> |
|
69 |
<!-- END dir_list_block --> |
|
70 |
</select> |
|
71 |
</td> |
|
72 |
</tr> |
|
73 |
</table> |
|
1 |
<!-- BEGIN main_block --> |
|
2 |
|
|
3 |
<script src="{THEME_URL}/templates/toggle_zip.js" type="text/javascript"></script> |
|
4 |
|
|
5 |
<h2>{HEADING_BROWSE_MEDIA}</h2> |
|
6 |
|
|
7 |
<iframe width="100%" height="382px" src="browse.php" scrolling="no"></iframe> |
|
8 |
<br /> |
|
9 |
<form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}"> |
|
10 |
|
|
11 |
<h2>{HEADING_CREATE_FOLDER}</h2> |
|
12 |
|
|
13 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
14 |
<tr> |
|
15 |
<td width="100">{TEXT_TARGET_FOLDER}:</td> |
|
16 |
<td> |
|
17 |
<select name="target" style="width: 100%;"> |
|
18 |
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option> |
|
19 |
<!-- BEGIN dir_list_block --> |
|
20 |
<option value="{NAME}">{NAME}</option> |
|
21 |
<!-- END dir_list_block --> |
|
22 |
</select> |
|
23 |
</td> |
|
24 |
</tr> |
|
25 |
</table> |
|
26 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
27 |
<tr> |
|
28 |
<td width="100">{TEXT_NAME}:</td> |
|
29 |
<td> |
|
30 |
<input type="text" name="name" style="width: 100%;" /> |
|
31 |
</td> |
|
32 |
<td align="right" width="160"> |
|
33 |
<input type="submit" name="submit" value="{TEXT_CREATE_FOLDER}" style="width: 160px;" /> |
|
34 |
</td> |
|
35 |
</tr> |
|
36 |
</table> |
|
37 |
|
|
38 |
</form> |
|
39 |
|
|
40 |
<form name="upload" action="upload.php" method="post" enctype="multipart/form-data" class="{DISPLAY_UPLOAD}"> |
|
41 |
|
|
42 |
<br /> |
|
43 |
|
|
44 |
<h2>{HEADING_UPLOAD_FILES}</h2> |
|
45 |
|
|
46 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
47 |
<tr> |
|
48 |
<td width="100">{TEXT_TARGET_FOLDER}:</td> |
|
49 |
<td> |
|
50 |
<select name="target" style="width: 100%;"> |
|
51 |
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option> |
|
52 |
<!-- BEGIN dir_list_block --> |
|
53 |
<option value="{NAME}">{NAME}</option> |
|
54 |
<!-- END dir_list_block --> |
|
55 |
</select> |
|
56 |
</td> |
|
57 |
</tr> |
|
58 |
</table> |
|
74 | 59 |
<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%"> |
75 |
<tr> |
|
76 |
<td valign="top"><input type="checkbox" name="unzip" id="unzip" onclick="toggle();" /> |
|
77 |
<label for="unzip">{TEXT_UNZIP_FILE}</label> |
|
78 |
<span id="delzip" style="display: none;"><br /><input type="checkbox" name="delzip" id="deletezip" /> |
|
79 |
<label for="deletezip">{TEXT_DELETE_ZIP}</label></span> |
|
60 |
<tr>
|
|
61 |
<td valign="top"><input type="checkbox" name="unzip" id="unzip" onclick="toggle();" />
|
|
62 |
<label for="unzip">{TEXT_UNZIP_FILE}</label>
|
|
63 |
<span id="delzip" style="display: none;"><br /><input type="checkbox" name="delzip" id="deletezip" />
|
|
64 |
<label for="deletezip">{TEXT_DELETE_ZIP}</label></span>
|
|
80 | 65 |
</td> |
81 | 66 |
<td valign="top"><input type="checkbox" name="overwrite" id="overwrite" value="yes" /><label for="overwrite">{TEXT_OVERWRITE_EXISTING}{TEXT_FILES}</label> </td> |
82 | 67 |
<td width="160" valign="top"><input type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" style="width: 160px;" /></td> |
83 | 68 |
</tr> |
84 |
</table> |
|
69 |
</table>
|
|
85 | 70 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
86 | 71 |
<tr> |
87 | 72 |
<td width="50%" align="left"><input type="file" size="27" name="file1" /></td> |
... | ... | |
89 | 74 |
</tr> |
90 | 75 |
<tr> |
91 | 76 |
<td width="50%" align="left"><input type="file" size="27" name="file3" id="file3" style="visibility: visible;" /></td> |
92 |
<td width="50%" align="right"><input type="file" size="27" name="file4" id="file4" style="visibility: visible;"" /></td>
|
|
77 |
<td width="50%" align="right"><input type="file" size="27" name="file4" id="file4" style="visibility: visible;" /></td> |
|
93 | 78 |
</tr> |
94 | 79 |
<tr> |
95 | 80 |
<td width="50%" align="left"><input type="file" size="27" name="file5" id="file5" style="visibility: visible;" /></td> |
96 |
<td width="50%" align="right"><input type="file" size="27" name="file6" id="file6" style="visibility: visible;"" /></td>
|
|
81 |
<td width="50%" align="right"><input type="file" size="27" name="file6" id="file6" style="visibility: visible;" /></td> |
|
97 | 82 |
</tr> |
98 | 83 |
<tr> |
99 | 84 |
<td width="50%" align="left"><input type="file" size="27" name="file7" id="file7" style="visibility: visible;" /></td> |
... | ... | |
103 | 88 |
<td width="50%" align="left"><input type="file" size="27" name="file9" id="file9" style="visibility: visible;" /></td> |
104 | 89 |
<td width="50%" align="right"><input type="file" size="27" name="file10" id="file10" style="visibility: visible;" /></td> |
105 | 90 |
</tr> |
106 |
</table> |
|
107 |
</form> |
|
108 |
|
|
91 |
</table>
|
|
92 |
</form>
|
|
93 |
|
|
109 | 94 |
<!-- END main_block --> |
branches/2.8.x/wb/templates/wb_theme/templates/pages_settings.htt | ||
---|---|---|
142 | 142 |
</select> |
143 | 143 |
</td> |
144 | 144 |
</tr> |
145 |
<!-- insert page_code 20090904--> |
|
146 |
<tr{DISPLAY_CODE_PAGE_LIST}> |
|
147 |
<td width="100">{TEXT_PAGE_CODE}:</td> |
|
148 |
<td width="240"> |
|
149 |
<select name="page_code" style="width: 240px;"> |
|
150 |
<!-- BEGIN page_code_list_block --> |
|
151 |
<option value="{VALUE}"{SELECTED} style="background: {FLAG_CODE_ICON} no-repeat center left; padding-left: 20px;">{PAGE_CODE}</option> |
|
152 |
<!-- END page_code_list_block --> |
|
153 |
</select> |
|
154 |
</td> |
|
155 |
</tr> |
|
156 |
<!-- page code --> |
|
145 | 157 |
<tr> |
146 | 158 |
<td width="100">{TEXT_SEARCHING}:</td> |
147 | 159 |
<td width="240"> |
branches/2.8.x/wb/templates/argos_theme/templates/toggle_zip.js | ||
---|---|---|
1 |
function toggle() { |
|
2 |
var check = document.getElementById("file2"); |
|
3 |
if (check.style.visibility == "visible") { |
|
4 |
for (i=2; i<=10; i++) { |
|
5 |
document.getElementById("file" + i).style.visibility = "hidden"; |
|
6 |
} |
|
7 |
document.getElementById("delzip").style.display = "inline"; |
|
8 |
} else { |
|
9 |
for (i=2; i<=10; i++) { |
|
10 |
document.getElementById("file" + i).style.visibility = "visible"; |
|
11 |
} |
|
12 |
document.getElementById("delzip").style.display = "none"; |
|
13 |
} |
|
14 |
} |
branches/2.8.x/wb/templates/argos_theme/templates/pages_settings.htt | ||
---|---|---|
140 | 140 |
</select> |
141 | 141 |
</td> |
142 | 142 |
</tr> |
143 |
<!-- insert page_code 20090904--> |
|
144 |
<tr{DISPLAY_CODE_PAGE_LIST}> |
|
145 |
<td width="100">{TEXT_PAGE_CODE}:</td> |
|
146 |
<td width="240"> |
|
147 |
<select name="page_code" style="width: 240px;"> |
|
148 |
<!-- BEGIN page_code_list_block --> |
|
149 |
<option value="{VALUE}"{SELECTED} style="background: {FLAG_CODE_ICON} no-repeat center left; padding-left: 20px;">{PAGE_CODE}</option> |
|
150 |
<!-- END page_code_list_block --> |
|
151 |
</select> |
|
152 |
</td> |
|
153 |
</tr> |
|
154 |
<!-- page code --> |
|
143 | 155 |
<tr> |
144 | 156 |
<td width="100">{TEXT_SEARCHING}:</td> |
145 | 157 |
<td width="240"> |
branches/2.8.x/wb/templates/argos_theme/templates/media.htt | ||
---|---|---|
1 | 1 |
<!-- BEGIN main_block --> |
2 |
<script language="javascript" type="text/javascript"> |
|
3 |
function toggle() { |
|
4 |
var check = document.getElementById("file2"); |
|
5 |
if (check.style.visibility == "visible") { |
|
6 |
for (i=2; i<=10; i++) { |
|
7 |
document.getElementById("file" + i).style.visibility = "hidden"; |
|
8 |
} |
|
9 |
document.getElementById("delzip").style.display = "inline"; |
|
10 |
} else { |
|
11 |
for (i=2; i<=10; i++) { |
|
12 |
document.getElementById("file" + i).style.visibility = "visible"; |
|
13 |
} |
|
14 |
document.getElementById("delzip").style.display = "none"; |
|
15 |
} |
|
16 |
} |
|
17 |
</script> |
|
2 |
<script src="{THEME_URL}/templates/toggle_zip.js" type="text/javascript"></script> |
|
3 |
|
|
18 | 4 |
<table cellpadding="0" cellspacing="0" border="0"> |
19 | 5 |
<tr> |
20 | 6 |
<td width="300" valign="top" align="left"> |
... | ... | |
24 | 10 |
<tr> |
25 | 11 |
<td>{TEXT_TARGET_FOLDER}:<br /> |
26 | 12 |
<select name="target" style="width:100%;" |
27 |
onChange="browse.location.href='browse.php?dir=' +
|
|
13 |
onchange="browse.location.href='browse.php?dir=' +
|
|
28 | 14 |
document.upload.target.value.substr(6,100); |
29 | 15 |
document.create.target.value = document.upload.target.value;"> |
30 | 16 |
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option> |
... | ... | |
38 | 24 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
39 | 25 |
<tr> |
40 | 26 |
<td valign="top"> |
41 |
<input type="checkbox" name="unzip" id="unzip" onClick="toggle();" />
|
|
27 |
<input type="checkbox" name="unzip" id="unzip" onclick="toggle();" />
|
|
42 | 28 |
<label for="unzip">{TEXT_UNZIP_FILE}</label> |
43 | 29 |
<span id="delzip" style="display: none;"><br /> |
44 | 30 |
<input type="checkbox" name="delzip" id="deletezip" /> |
... | ... | |
86 | 72 |
</tr> |
87 | 73 |
</table> |
88 | 74 |
</form> |
89 |
<!--
|
|
75 |
<!--
|
|
90 | 76 |
If you want to HIDE the option of creating folders in the Media-folder (for your clients, for example), |
91 | 77 |
please set the class below to "hide", else to "show". |
92 |
<--->
|
|
78 |
-->
|
|
93 | 79 |
<div class="show"> |
94 | 80 |
<br /><br /> |
95 | 81 |
<form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}"> |
Also available in: Unified diff
next step to validate backend themes