Revision 1117
Added by Matthias over 15 years ago
trunk/CHANGELOG | ||
---|---|---|
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
14 | 14 |
9-Aug-2009 Matthias Gallas |
15 |
! updated argos_theme to version 1.4 (Thanks to Argos) |
|
15 | 16 |
! some code cleaning of admin/pages/sections.php |
16 | 17 |
# Fixed possible xss injection in login/forgot/index.php |
17 | 18 |
# Fixed bug in news modul introduced in changeset [1057] |
trunk/wb/templates/argos_theme/info.php | ||
---|---|---|
30 | 30 |
$template_directory = 'argos_theme'; |
31 | 31 |
$template_name = 'argos_theme'; |
32 | 32 |
$template_function = 'theme'; |
33 |
$template_version = '1.1';
|
|
33 |
$template_version = '1.4';
|
|
34 | 34 |
$template_platform = '2.8'; |
35 | 35 |
$template_author = 'Jurgen Nijhuis (Argos Media) & Ruud Eisinga'; |
36 | 36 |
$template_license = '<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>'; |
trunk/wb/templates/argos_theme/theme.css | ||
---|---|---|
80 | 80 |
#file_mode input, #dir_mode input {width:12px;height:12px;} |
81 | 81 |
#hide2 {display:none;} |
82 | 82 |
|
83 |
.pages_list {font-weight:bold;margin-top:5px;}
|
|
83 |
.pages_list {font-weight:bold;} |
|
84 | 84 |
.pages_list .icon_col td img {display:block;border-style:none;float:left;padding-right:7px;} |
85 | 85 |
.pages_list table {width:900px;} |
86 | 86 |
.pages_list ul {margin:0;font-weight:normal;padding: 0;} |
87 | 87 |
.pages_list ul li {list-style-type:none;margin:2px 0;} |
88 | 88 |
|
89 | 89 |
table.pages_view {width:900px;} |
90 |
table.pages_view tr {background:#f0f0f0;} |
|
90 |
table.pages_view tr, tr.sectionrow {background:#f0f0f0;}
|
|
91 | 91 |
table.pages_view tr:hover, tr.sectionrow:hover {background:#eaeff6;} |
92 |
tr.sectionrow {padding:0 10px;} |
|
93 |
tr.sectionrow td {border-top:3px solid #f9f9f9;} |
|
92 | 94 |
|
93 | 95 |
.page_list {display:none;} |
94 | 96 |
.page_list_show li {display:block;} |
95 |
img.page_list_rights {border:none;float:left;margin:0;} |
|
97 |
img.page_list_rights {border:none;float:left;margin:0;vertical-align:middle;}
|
|
96 | 98 |
|
97 |
.header_list_page_title {text-align:left;padding-left:50px;} |
|
99 |
.sections_list {font-weight:bold;padding-left:10px;} |
|
100 |
.sections_list table {width:900px;} |
|
101 |
|
|
102 |
.header_list_page_title {text-align:left;padding-left:35px;} |
|
98 | 103 |
.header_list_menu_title {width:300px;text-align:left;} |
99 |
.header_list_page_ID{width:40px;text-align:left;}
|
|
100 |
.header_list_actions {text-align:left;width:120px;}
|
|
104 |
.header_list_page_id{width:50px;text-align:left;}
|
|
105 |
.header_list_actions {text-align:left;width:150px;}
|
|
101 | 106 |
|
102 | 107 |
.header_list_type {text-align:left;} |
103 | 108 |
.header_list_block {text-align:left;width:180px;} |
104 | 109 |
.header_list_pubdate_start {text-align:left;width:200px;} |
105 | 110 |
.header_list_pubdate_end {text-align:left;width:200px;} |
106 |
.header_list_sections_actions {text-align:left;width:60px;}
|
|
107 |
.header_list_section_ID {width:55px;text-align:left;}
|
|
111 |
.header_list_sections_actions {text-align:left;width:30px;}
|
|
112 |
.header_list_section_id {width:30px;text-align:right;}
|
|
108 | 113 |
|
109 | 114 |
.list_page_title {text-align:left;} |
110 | 115 |
.list_menu_title {width:300px;text-align:left;} |
111 |
.list_page_id {width:40px;text-align:left;} |
|
112 |
.list_actions {width:20px;} |
|
116 |
.list_page_id {width:50px;text-align:left;} |
|
117 |
.list_section_id {width:30px;text-align:right;} |
|
118 |
.list_actions {width:25px;} |
|
113 | 119 |
.list_pubdate_start {text-align:left;width:200px;} |
114 | 120 |
.list_pubdate_end {text-align:left;width:200px;} |
trunk/wb/templates/argos_theme/templates/header.htt | ||
---|---|---|
25 | 25 |
<br /> |
26 | 26 |
<br /> |
27 | 27 |
<span class="version">CMS version {VERSION}</span><br/> |
28 |
<span class="version">Admin version 1.1</span>
|
|
28 |
<span class="version">Admin version 1.4</span>
|
|
29 | 29 |
</div> |
30 | 30 |
<a href="{ADMIN_URL}" title="{TITLE_START}" id="website_title"> |
31 | 31 |
{WEBSITE_TITLE} - {TEXT_ADMINISTRATION} |
trunk/wb/templates/argos_theme/templates/pages_sections.htt | ||
---|---|---|
16 | 16 |
<form name="section_properties" action="{ADMIN_URL}/pages/sections_save.php?page_id={VAR_PAGE_ID}" method="post"> |
17 | 17 |
|
18 | 18 |
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="img_noborder"> |
19 |
<tr class="pages_list">
|
|
19 |
<tr class="sections_list">
|
|
20 | 20 |
<td class="header_list_type">{TEXT_TYPE}</td> |
21 | 21 |
<td class="header_list_block"><span {STYLE_DISPLAY_SECTION_BLOCK}>{TEXT_BLOCK} </span></td> |
22 | 22 |
<td class="header_list_pubdate_start">{TEXT_PUBL_START_DATE}</td> |
23 | 23 |
<td class="header_list_pubdate_end">{TEXT_PUBL_END_DATE}</td> |
24 | 24 |
<td class="header_list_sections_actions" colspan="3">{TEXT_ACTIONS}</td> |
25 |
<td class="header_list_section_ID">{TEXT_SID}</td>
|
|
25 |
<td class="header_list_section_id">ID</td>
|
|
26 | 26 |
<td {DISPLAY_DEBUG}>{TEXT_PID}</td> |
27 | 27 |
</tr> |
28 | 28 |
<!-- BEGIN section_block --> |
... | ... | |
44 | 44 |
</select></span> |
45 | 45 |
</td> |
46 | 46 |
|
47 |
<td><input type="text" id="start_date{VAR_SECTION_ID}" name="start_date{VAR_SECTION_ID}" value="{VALUE_PUBL_START}" class="input_normal" /> |
|
48 |
<img src="{THEME_URL}/images/{CLOCK_16_PNG}" id="trigger_start{VAR_SECTION_ID}" style="cursor:pointer;" title="{TEXT_CALENDAR}" alt="{TEXT_CALENDAR}" />
|
|
47 |
<td class="list_pubdate_start"><input type="text" id="start_date{VAR_SECTION_ID}" name="start_date{VAR_SECTION_ID}" value="{VALUE_PUBL_START}" class="input_normal" />
|
|
48 |
<img src="{THEME_URL}/images/calendar_16.png" id="trigger_start{VAR_SECTION_ID}" style="cursor:pointer;" title="{TEXT_CALENDAR}" alt="{TEXT_CALENDAR}" />
|
|
49 | 49 |
<img src="{THEME_URL}/images/{CLOCK_DEL_16_PNG}" style="cursor:pointer;" alt="{TEXT_DELETE_DATE}" title="{TEXT_DELETE_DATE}" onclick="document.section_properties.start_date{VAR_SECTION_ID}.value=''" /> |
50 | 50 |
</td> |
51 | 51 |
|
52 |
<td><input type="text" id="end_date{VAR_SECTION_ID}" name="end_date{VAR_SECTION_ID}" value="{VALUE_PUBL_END}" class="input_normal" /> |
|
53 |
<img src="{THEME_URL}/images/{CLOCK_16_PNG}" id="trigger_stop{VAR_SECTION_ID}" alt="{TEXT_CALENDAR}" style="cursor: pointer;" title="{TEXT_CALENDAR}" />
|
|
52 |
<td class="list_pubdate_end"><input type="text" id="end_date{VAR_SECTION_ID}" name="end_date{VAR_SECTION_ID}" value="{VALUE_PUBL_END}" class="input_normal" />
|
|
53 |
<img src="{THEME_URL}/images/calendar_16.png" id="trigger_stop{VAR_SECTION_ID}" alt="{TEXT_CALENDAR}" style="cursor: pointer;" title="{TEXT_CALENDAR}" />
|
|
54 | 54 |
<img src="{THEME_URL}/images/{CLOCK_DEL_16_PNG}" style="cursor:pointer;" alt="{TEXT_DELETE_DATE}" title="{TEXT_DELETE_DATE}" onclick="document.section_properties.end_date{VAR_SECTION_ID}.value=''" /> |
55 | 55 |
</td> |
56 | 56 |
|
... | ... | |
64 | 64 |
</a> |
65 | 65 |
</td> |
66 | 66 |
|
67 |
<td>{VAR_SECTION_ID}</td> |
|
67 |
<td class="list_section_id">{VAR_SECTION_ID}</td>
|
|
68 | 68 |
|
69 | 69 |
<td {DISPLAY_DEBUG}>{POSITION}</td> |
70 | 70 |
</tr> |
trunk/wb/modules/jsadmin/js/dragdrop.js | ||
---|---|---|
176 | 176 |
this.opacity = YAHOO.util.Dom.getStyle(this.getEl(), "opacity"); |
177 | 177 |
this.background = YAHOO.util.Dom.getStyle(this.getEl(), "background"); |
178 | 178 |
YAHOO.util.Dom.setStyle(this.getEl(), "opacity", 0.5); |
179 |
YAHOO.util.Dom.setStyle(this.getEl(), "background", "#dde");
|
|
179 |
YAHOO.util.Dom.setStyle(this.getEl(), "background", "transparent");
|
|
180 | 180 |
} |
181 | 181 |
JsAdmin.DD.dragee = this; |
182 | 182 |
}; |
... | ... | |
220 | 220 |
|
221 | 221 |
JsAdmin.DD.trDDSwap.prototype.endDrag = function(e) { |
222 | 222 |
YAHOO.util.Dom.setStyle(this.getEl(), "opacity", this.opacity); |
223 |
YAHOO.util.Dom.setStyle(this.getEl(), "background", "transparent");
|
|
223 |
YAHOO.util.Dom.setStyle(this.getEl(), "background", "#f0f0f0");
|
|
224 | 224 |
|
225 | 225 |
JsAdmin.DD.dragee = null; |
226 | 226 |
|
Also available in: Unified diff
updated argos_theme to version 1.4 (Thanks to Argos)