Revision 1225
Added by Luisehahne almost 16 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.1 ------------------------------------- |
| 14 | 14 |
28-Dec-2009 Dietmar Woellbrink (Luisehahne) |
| 15 |
! update header, change variable |
|
| 16 |
28-Dec-2009 Dietmar Woellbrink (Luisehahne) |
|
| 15 | 17 |
! update header |
| 16 | 18 |
28-Dec-2009 Dietmar Woellbrink (Luisehahne) |
| 17 | 19 |
! update header |
| branches/2.8.x/wb/admin/pages/settings.php | ||
|---|---|---|
| 1 | 1 |
<?php |
| 2 |
/**************************************************************************** |
|
| 3 |
* SVN Version information: |
|
| 4 |
* |
|
| 5 |
* $Id$ |
|
| 6 |
* |
|
| 7 |
***************************************************************************** |
|
| 8 |
* WebsiteBaker |
|
| 9 |
* |
|
| 10 |
* WebsiteBaker Project <http://www.websitebaker2.org/> |
|
| 11 |
* Copyright (C) 2009, Website Baker Org. e.V. |
|
| 12 |
* http://start.websitebaker2.org/impressum-datenschutz.php |
|
| 13 |
* Copyright (C) 2004-2009, Ryan Djurovich |
|
| 14 |
* |
|
| 15 |
* About WebsiteBaker |
|
| 16 |
* |
|
| 17 |
* Website Baker is a PHP-based Content Management System (CMS) |
|
| 18 |
* designed with one goal in mind: to enable its users to produce websites |
|
| 19 |
* with ease. |
|
| 20 |
* |
|
| 21 |
***************************************************************************** |
|
| 22 |
* |
|
| 23 |
***************************************************************************** |
|
| 24 |
* LICENSE INFORMATION |
|
| 25 |
* |
|
| 26 |
* WebsiteBaker is free software; you can redistribute it and/or |
|
| 27 |
* modify it under the terms of the GNU General Public License |
|
| 28 |
* as published by the Free Software Foundation; either version 2 |
|
| 29 |
* of the License, or (at your option) any later version. |
|
| 30 |
* |
|
| 31 |
* WebsiteBaker is distributed in the hope that it will be useful, |
|
| 32 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 33 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
| 34 |
* See the GNU General Public License for more details. |
|
| 35 |
* |
|
| 36 |
* You should have received a copy of the GNU General Public License |
|
| 37 |
* along with this program; if not, write to the Free Software |
|
| 38 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
| 39 |
**************************************************************************** |
|
| 40 |
* |
|
| 41 |
***************************************************************************** |
|
| 42 |
* WebsiteBaker Extra Information |
|
| 43 |
* |
|
| 44 |
* |
|
| 45 |
* |
|
| 46 |
* |
|
| 47 |
*****************************************************************************/ |
|
| 48 |
/** |
|
| 49 |
* @category admin |
|
| 50 |
* @package pages |
|
| 51 |
* @author Ryan Djurovich |
|
| 52 |
* @copyright 2004-2009, Ryan Djurovich |
|
| 53 |
* @copyright 2009, Website Baker Org. e.V. |
|
| 54 |
* @version $Id$ |
|
| 55 |
* @platform WebsiteBaker 2.8.x |
|
| 56 |
* @requirements >= PHP 4.3.4 |
|
| 57 |
* @license http://www.gnu.org/licenses/gpl.html |
|
| 58 |
* |
|
| 59 |
*/ |
|
| 2 | 60 |
|
| 3 |
// $Id$ |
|
| 4 |
|
|
| 5 |
/* |
|
| 6 |
|
|
| 7 |
Website Baker Project <http://www.websitebaker.org/> |
|
| 8 |
Copyright (C) 2004-2009, Ryan Djurovich |
|
| 9 |
|
|
| 10 |
Website Baker is free software; you can redistribute it and/or modify |
|
| 11 |
it under the terms of the GNU General Public License as published by |
|
| 12 |
the Free Software Foundation; either version 2 of the License, or |
|
| 13 |
(at your option) any later version. |
|
| 14 |
|
|
| 15 |
Website Baker is distributed in the hope that it will be useful, |
|
| 16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 18 |
GNU General Public License for more details. |
|
| 19 |
|
|
| 20 |
You should have received a copy of the GNU General Public License |
|
| 21 |
along with Website Baker; if not, write to the Free Software |
|
| 22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 23 |
|
|
| 24 |
* @category backend |
|
| 25 |
* @package pages |
|
| 26 |
* @author(s) Dietmar W?llbrink <Luisehahne>, Dietrich Roland Pehlke <Aldus> |
|
| 27 |
* @platform WB 2.8.x |
|
| 28 |
* @require PHP 5.2.11 |
|
| 29 |
* @license http://www.gnu.org/licenses/gpl.html |
|
| 30 |
* @link http://project.websitebaker2.org/browser/branches/2.8.x/wb/pages |
|
| 31 |
* @changeset 2009/11/30 workout for page_code field, ex catchwords and multilangial |
|
| 32 |
|
|
| 33 |
*/ |
|
| 34 |
|
|
| 35 | 61 |
// Get page id |
| 36 | 62 |
if(!isset($_GET['page_id']) OR !is_numeric($_GET['page_id'])) {
|
| 37 | 63 |
header("Location: index.php");
|
| ... | ... | |
| 69 | 95 |
} |
| 70 | 96 |
|
| 71 | 97 |
// Get page details |
| 72 |
$database = new database();
|
|
| 98 |
/* $database = new database(); */
|
|
| 73 | 99 |
$query = "SELECT * FROM ".TABLE_PREFIX."pages WHERE page_id = '$page_id'"; |
| 74 | 100 |
$results = $database->query($query); |
| 75 | 101 |
if($database->is_error()) {
|
| ... | ... | |
| 155 | 181 |
) |
| 156 | 182 |
); |
| 157 | 183 |
$template->parse('group_list', 'group_list_block', true);
|
| 158 |
/* |
|
| 159 |
if(!in_array(1, $admin->get_groups_id())) {
|
|
| 160 |
$users_groups = $admin->get_groups_name(); |
|
| 161 |
foreach ($admin->get_groups_id() as $users_group_id) {
|
|
| 162 |
$template->set_var(array( |
|
| 163 |
'ID' => $users_group_id, |
|
| 164 |
'TOGGLE' => '', |
|
| 165 |
'DISABLED' => ' disabled', |
|
| 166 |
'LINK_COLOR' => '000000', |
|
| 167 |
'CURSOR' => 'default', |
|
| 168 |
'NAME' => $users_groups[$users_group_id], |
|
| 169 |
'CHECKED' => ' checked' |
|
| 170 |
) |
|
| 171 |
); |
|
| 172 |
$template->parse('group_list', 'group_list_block', true);
|
|
| 173 |
} |
|
| 174 |
} |
|
| 175 |
*/ |
|
| 176 | 184 |
while($group = $get_groups->fetchRow()) {
|
| 177 | 185 |
// check if the user is a member of this group |
| 178 | 186 |
$flag_disabled = ''; |
| ... | ... | |
| 228 | 236 |
); |
| 229 | 237 |
$template->parse('group_list2', 'group_list_block2', true);
|
| 230 | 238 |
|
| 231 |
|
|
| 232 | 239 |
while($group = $get_groups->fetchRow()) {
|
| 233 | 240 |
// check if the user is a member of this group |
| 234 | 241 |
$flag_disabled = ''; |
| ... | ... | |
| 269 | 276 |
//-- insert page_code 20090904--> |
| 270 | 277 |
$template->set_var('DISPLAY_CODE_PAGE_LIST', ' id="multi_lingual" style="display:none;"');
|
| 271 | 278 |
// Work-out if page languages feature is enabled |
| 272 |
if((defined('PAGE_LANGUAGES') && PAGE_LANGUAGES) && $field_set)
|
|
| 279 |
if((defined('PAGE_LANGUAGES') && PAGE_LANGUAGES) && $field_set && file_exists(WB_URL.'/modules/mod_multilingual/update_keys.php'))
|
|
| 273 | 280 |
{
|
| 274 | 281 |
// workout field is set but module missing |
| 275 | 282 |
$TEXT['PAGE_CODE'] = empty($TEXT['PAGE_CODE']) ? 'Pagecode' : $TEXT['PAGE_CODE']; |
| ... | ... | |
| 279 | 286 |
) |
| 280 | 287 |
); |
| 281 | 288 |
|
| 282 |
|
|
| 283 | 289 |
// Page_code list |
| 284 |
$database = new database();
|
|
| 290 |
/* $database = new database(); */
|
|
| 285 | 291 |
function page_code_list($parent) {
|
| 286 | 292 |
global $admin, $database, $template, $results_array, $pageCode; |
| 287 | 293 |
$default_language = DEFAULT_LANGUAGE; |
| ... | ... | |
| 315 | 321 |
} else {
|
| 316 | 322 |
$can_modify = false; |
| 317 | 323 |
} |
| 318 |
// Title -'s prefix |
|
| 324 |
|
|
| 319 | 325 |
$title_prefix = ''; |
| 320 |
for($i = 1; $i <= $page['level']; $i++) { $title_prefix .= ' - - '; }
|
|
| 326 |
for($i = 1; $i <= $page['level']; $i++) { $title_prefix .= ' - - '; }
|
|
| 327 |
// $space = str_repeat(' ', 3); $space.'<'..'>'
|
|
| 321 | 328 |
$template->set_var(array( |
| 322 | 329 |
'VALUE' => $page['page_code'], |
| 323 |
'PAGE_CODE' => ($title_prefix.$page['menu_title']) |
|
| 330 |
'PAGE_VALUE' => $title_prefix.$page['page_code'], |
|
| 331 |
'PAGE_CODE' => $title_prefix.$page['menu_title'] |
|
| 324 | 332 |
) |
| 325 | 333 |
); |
| 326 | 334 |
if($results_array['page_code'] == $page['page_code']) {
|
| ... | ... | |
| 346 | 354 |
$template->set_var(array( |
| 347 | 355 |
'VALUE' => '', |
| 348 | 356 |
'PAGE_CODE' => $TEXT['NONE'], |
| 357 |
'PAGE_VALUE' => '', |
|
| 349 | 358 |
'SELECTED' => $selected |
| 350 | 359 |
) |
| 351 | 360 |
); |
| ... | ... | |
| 357 | 366 |
//-- page code --> |
| 358 | 367 |
|
| 359 | 368 |
// Parent page list |
| 360 |
$database = new database();
|
|
| 369 |
/* $database = new database(); */
|
|
| 361 | 370 |
function parent_list($parent) {
|
| 362 | 371 |
global $admin, $database, $template, $results_array,$field_set; |
| 363 | 372 |
$query = "SELECT * FROM ".TABLE_PREFIX."pages WHERE parent = '$parent' ORDER BY position ASC"; |
| branches/2.8.x/wb/templates/wb_theme/theme.css | ||
|---|---|---|
| 1 |
html {overflow: -moz-scrollbars-vertical;} /* Force firefox to always show room for a vertical scrollbar */
|
|
| 2 |
body,td,th,input,textarea {
|
|
| 3 |
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
| 4 |
font-size: 12px; |
|
| 5 |
color: #000000; |
|
| 6 |
} |
|
| 7 |
|
|
| 8 |
body {
|
|
| 9 |
background-color: #A8BCCB; |
|
| 10 |
/*background-image: url(images/background.png);*/ |
|
| 11 |
background-repeat: repeat-x; |
|
| 12 |
margin: auto; |
|
| 13 |
} |
|
| 14 |
|
|
| 15 |
img {
|
|
| 16 |
border: 0px; |
|
| 17 |
} |
|
| 18 |
|
|
| 19 |
form {
|
|
| 20 |
margin: 0; |
|
| 21 |
} |
|
| 22 |
|
|
| 23 |
hr {
|
|
| 24 |
margin: 15px 0px 15px 0px; |
|
| 25 |
color: #003366; |
|
| 26 |
height: 1px; |
|
| 27 |
} |
|
| 28 |
|
|
| 29 |
h1 {
|
|
| 30 |
text-align: center; |
|
| 31 |
font-size: 20px; |
|
| 32 |
color: #000000; |
|
| 33 |
text-transform: uppercase; |
|
| 34 |
} |
|
| 35 |
|
|
| 36 |
h2 {
|
|
| 37 |
font-size: 15px; |
|
| 38 |
color: #336699; |
|
| 39 |
margin: 5px 0px 5px 0px; |
|
| 40 |
} |
|
| 41 |
|
|
| 42 |
h4 {
|
|
| 43 |
margin: 0; |
|
| 44 |
border-bottom: 1px solid #DDD; |
|
| 45 |
padding-bottom: 5px; |
|
| 46 |
} |
|
| 47 |
|
|
| 48 |
a:link, a:visited, a:active {
|
|
| 49 |
color: #003366; |
|
| 50 |
text-decoration: none; |
|
| 51 |
} |
|
| 52 |
|
|
| 53 |
a:hover {
|
|
| 54 |
text-decoration: none; |
|
| 55 |
color: #336699; |
|
| 56 |
} |
|
| 57 |
|
|
| 58 |
ul, li {
|
|
| 59 |
list-style: none; |
|
| 60 |
margin: 0; |
|
| 61 |
padding: 0; |
|
| 62 |
} |
|
| 63 |
|
|
| 64 |
label {
|
|
| 65 |
cursor: pointer; |
|
| 66 |
} |
|
| 67 |
|
|
| 68 |
input:focus, input:active, select:focus, textarea:focus {
|
|
| 69 |
background: #F1F8FD; |
|
| 70 |
} |
|
| 71 |
|
|
| 72 |
iframe {
|
|
| 73 |
border: 1px solid #35373a; |
|
| 74 |
} |
|
| 75 |
|
|
| 76 |
div.box {
|
|
| 77 |
font-size: small; |
|
| 78 |
width: 100%; |
|
| 79 |
text-align: right; |
|
| 80 |
margin: -10px 0 0 0; |
|
| 81 |
} |
|
| 82 |
|
|
| 83 |
.header {
|
|
| 84 |
width: 900px; |
|
| 85 |
margin: 0 auto; |
|
| 86 |
} |
|
| 87 |
|
|
| 88 |
.container {
|
|
| 89 |
background: #fff url(images/bgtitle.png); |
|
| 90 |
background-repeat: repeat-x; |
|
| 91 |
width: 85%; |
|
| 92 |
margin: 0 auto; |
|
| 93 |
} |
|
| 94 |
|
|
| 95 |
.content {
|
|
| 96 |
padding: 20px; |
|
| 97 |
height: 280px; |
|
| 98 |
width: 750px; |
|
| 99 |
text-align: left; |
|
| 100 |
vertical-align: top; |
|
| 101 |
} |
|
| 102 |
|
|
| 103 |
.current a, .current a:link, .current a:active, .current a:visited {
|
|
| 104 |
background: #fff url(images/menuo.png); |
|
| 105 |
background-repeat: repeat-x; |
|
| 106 |
color: #fff; |
|
| 107 |
} |
|
| 108 |
|
|
| 109 |
.description {
|
|
| 110 |
vertical-align: top; |
|
| 111 |
text-align: left; |
|
| 112 |
width: 240px; |
|
| 113 |
padding: 0px 0px 0px 3px; |
|
| 114 |
} |
|
| 115 |
|
|
| 116 |
.graphic {
|
|
| 117 |
width: 50px; |
|
| 118 |
height: 50px; |
|
| 119 |
border: 4px solid #FDFDFD; |
|
| 120 |
padding-left: 3px; |
|
| 121 |
} |
|
| 122 |
|
|
| 123 |
.graphic img {
|
|
| 124 |
vertical-align: middle; |
|
| 125 |
background-color: #FFFFFF; |
|
| 126 |
padding: 3px 12px 3px 3px; |
|
| 127 |
margin-right: 12px; |
|
| 128 |
border-right: 3px solid silver; |
|
| 129 |
} |
|
| 130 |
|
|
| 131 |
.hide {
|
|
| 132 |
display: none; |
|
| 133 |
} |
|
| 134 |
|
|
| 135 |
.menu {
|
|
| 136 |
margin: 0; |
|
| 137 |
padding: 0; |
|
| 138 |
padding-top: 8px; |
|
| 139 |
padding-bottom: 10px; |
|
| 140 |
padding-left: 8px; |
|
| 141 |
background: #000 url(images/menu.png); |
|
| 142 |
background-repeat: repeat-x; |
|
| 143 |
} |
|
| 144 |
|
|
| 145 |
.menu li {
|
|
| 146 |
list-style-type: none; |
|
| 147 |
display: inline; |
|
| 148 |
padding-right: 1px; |
|
| 149 |
} |
|
| 150 |
|
|
| 151 |
.menu a, .menu a:link, .menu a:active, .menu a:visited {
|
|
| 152 |
border-bottom: 0; |
|
| 153 |
padding: 7px 11px 9px 11px; |
|
| 154 |
color: #fff; |
|
| 155 |
} |
|
| 156 |
|
|
| 157 |
.menu a:hover {
|
|
| 158 |
text-decoration: none; |
|
| 159 |
color: #fff; |
|
| 160 |
background: #fff url(images/menuo.png); |
|
| 161 |
background-repeat: repeat-x; |
|
| 162 |
} |
|
| 163 |
|
|
| 164 |
.note {
|
|
| 165 |
color: #666666; |
|
| 166 |
font-size: 10px; |
|
| 167 |
} |
|
| 168 |
|
|
| 169 |
.pages_list .icon_col td img {
|
|
| 170 |
display: block; |
|
| 171 |
border-style: none; |
|
| 172 |
float: left; |
|
| 173 |
padding-right: 7px; |
|
| 174 |
} |
|
| 175 |
|
|
| 176 |
.pages_list table {
|
|
| 177 |
width: 100%; |
|
| 178 |
margin: 0 auto; |
|
| 179 |
background-color: #DCDCDC; |
|
| 180 |
} |
|
| 181 |
|
|
| 182 |
.pages_list table td {
|
|
| 183 |
padding: 3px; |
|
| 184 |
} |
|
| 185 |
|
|
| 186 |
.pages_list ul {margin:0;font-weight:normal; padding: 0px;}
|
|
| 187 |
.pages_list ul li {list-style-type:none;margin:2px 0; padding:0px;}
|
|
| 188 |
|
|
| 189 |
.page_list {
|
|
| 190 |
display: none; |
|
| 191 |
} |
|
| 192 |
|
|
| 193 |
.page_list_show li {
|
|
| 194 |
display: block; |
|
| 195 |
} |
|
| 196 |
|
|
| 197 |
img.page_list_rights {
|
|
| 198 |
border: none; |
|
| 199 |
margin-right: 5px; |
|
| 200 |
float: left; |
|
| 201 |
margin-top: 2px; |
|
| 202 |
margin-bottom: 2px; |
|
| 203 |
} |
|
| 204 |
|
|
| 205 |
.content input {
|
|
| 206 |
font-size: 12px; |
|
| 207 |
} |
|
| 208 |
.row_a {
|
|
| 209 |
background-color: #ECF3F7; |
|
| 210 |
} |
|
| 211 |
|
|
| 212 |
.row_b {
|
|
| 213 |
background-color: #DBEBF2; |
|
| 214 |
} |
|
| 215 |
|
|
| 216 |
.save, .reset {
|
|
| 217 |
width: 100px; |
|
| 218 |
} |
|
| 219 |
|
|
| 220 |
.section {
|
|
| 221 |
margin-top: 10px; |
|
| 222 |
padding: 0px; |
|
| 223 |
/*border: 1px solid #999999;*/ |
|
| 224 |
height: 75px; |
|
| 225 |
width: 100%; |
|
| 226 |
background-color: #FDFDFD; |
|
| 227 |
} |
|
| 228 |
|
|
| 229 |
.sections_header {
|
|
| 230 |
width: 100%; |
|
| 231 |
height: 50px; |
|
| 232 |
margin-bottom: 10px; |
|
| 233 |
background-color: #F0F0F0; |
|
| 234 |
border: none; |
|
| 235 |
} |
|
| 236 |
|
|
| 237 |
.sections_header td {
|
|
| 238 |
padding: 5px; |
|
| 239 |
} |
|
| 240 |
|
|
| 241 |
.settings_table td {
|
|
| 242 |
vertical-align: top; |
|
| 243 |
text-align: left; |
|
| 244 |
} |
|
| 245 |
|
|
| 246 |
.setting_name {
|
|
| 247 |
width: 20%; |
|
| 248 |
} |
|
| 249 |
|
|
| 250 |
.setting_value {
|
|
| 251 |
width: 80%; |
|
| 252 |
} |
|
| 253 |
|
|
| 254 |
.setting_value input, .setting_value select, .setting_value textarea {
|
|
| 255 |
width: 100%; |
|
| 256 |
} |
|
| 257 |
|
|
| 258 |
.setting_value textarea {
|
|
| 259 |
height: 50px; |
|
| 260 |
} |
|
| 261 |
|
|
| 262 |
.title {
|
|
| 263 |
width: 90%; |
|
| 264 |
text-align: left; |
|
| 265 |
font-weight: bold; |
|
| 266 |
font-size: 14px; |
|
| 267 |
color: #003366; |
|
| 268 |
height: 16px; |
|
| 269 |
padding: 4px 0px 0px 3px; |
|
| 270 |
} |
|
| 271 |
|
|
| 272 |
.tool_table td {
|
|
| 273 |
vertical-align: top; |
|
| 274 |
text-align: left; |
|
| 275 |
} |
|
| 276 |
|
|
| 277 |
.tool_table ul {
|
|
| 278 |
margin: 0; |
|
| 279 |
padding: 0; |
|
| 280 |
margin-left: 20px; |
|
| 281 |
margin-bottom: 10px; |
|
| 282 |
} |
|
| 283 |
|
|
| 284 |
.tool_table li {
|
|
| 285 |
padding-bottom: 5px; |
|
| 286 |
list-style-type: disc; |
|
| 287 |
} |
|
| 288 |
|
|
| 289 |
.value_input input, .value_input text, .value_input select {
|
|
| 290 |
width: 100%; |
|
| 291 |
} |
|
| 292 |
|
|
| 293 |
#file_mode input {
|
|
| 294 |
width: 12px; |
|
| 295 |
height: 12px; |
|
| 296 |
} |
|
| 297 |
|
|
| 298 |
#dir_mode input {
|
|
| 299 |
width: 12px; |
|
| 300 |
height: 12px; |
|
| 301 |
} |
|
| 302 |
|
|
| 303 |
#hide2 {
|
|
| 304 |
display: none; |
|
| 305 |
} |
|
| 306 |
|
|
| 307 |
/* CSS STYLES FOR THE PAGES SECTION */ |
|
| 308 |
|
|
| 309 |
table.pages_view {
|
|
| 310 |
width: 100%; |
|
| 311 |
margin: 0 auto; |
|
| 312 |
border: 0; |
|
| 313 |
border-spacing: 0px; |
|
| 314 |
background-color: #ECF3F7; |
|
| 315 |
} |
|
| 316 |
|
|
| 317 |
table.pages_view td {
|
|
| 318 |
padding: 3px; |
|
| 319 |
} |
|
| 320 |
|
|
| 321 |
table.pages_view tr:hover {
|
|
| 322 |
background-color: #F1F8DD; |
|
| 323 |
} |
|
| 324 |
|
|
| 325 |
/* FORMS */ |
|
| 326 |
|
|
| 327 |
.submit, .cancel {
|
|
| 328 |
width: 100px; |
|
| 329 |
margin-top: 5px; |
|
| 330 |
} |
|
| 331 |
|
|
| 332 |
.form_submit {
|
|
| 333 |
width: 100%; |
|
| 334 |
} |
|
| 335 |
|
|
| 336 |
.form_submit .left {
|
|
| 337 |
text-align: left; |
|
| 338 |
} |
|
| 339 |
|
|
| 340 |
.form_submit .right {
|
|
| 341 |
text-align: right; |
|
| 342 |
} |
|
| 343 |
|
|
| 344 |
.input_small {
|
|
| 345 |
width: 20px; |
|
| 346 |
} |
|
| 347 |
|
|
| 348 |
.input_narrow {
|
|
| 349 |
width: 100px; |
|
| 350 |
} |
|
| 351 |
|
|
| 352 |
.input_normal {
|
|
| 353 |
width: 120px; |
|
| 354 |
} |
|
| 355 |
|
|
| 356 |
.input_medium {
|
|
| 357 |
width: 150px; |
|
| 358 |
} |
|
| 359 |
|
|
| 360 |
.input_wide {
|
|
| 361 |
width: 200px; |
|
| 362 |
} |
|
| 363 |
|
|
| 364 |
.input_large {
|
|
| 365 |
width: 300px; |
|
| 366 |
} |
|
| 367 |
|
|
| 368 |
.input_full {
|
|
| 369 |
width: 100%; |
|
| 370 |
} |
|
| 371 |
|
|
| 372 |
select option.disabled {
|
|
| 373 |
color: #aaa; |
|
| 374 |
} |
|
| 375 |
|
|
| 376 |
.jsadmin_drag img {
|
|
| 377 |
padding: 3px 0; |
|
| 378 |
margin-top: 1px; |
|
| 379 |
vertical-align: top; |
|
| 380 |
cursor: pointer; |
|
| 381 |
} |
|
| 382 |
|
|
| 383 |
.modify_link {
|
|
| 384 |
vertical-align: middle; |
|
| 385 |
padding-top: 4px; |
|
| 386 |
display: inline; |
|
| 387 |
} |
|
| 388 |
|
|
| 389 |
.header_title {
|
|
| 390 |
width: 100%; |
|
| 391 |
} |
|
| 392 |
.header_list_menu_title {text-align:left;}
|
|
| 393 |
.header_list_page_title {width:300px; text-align:left;}
|
|
| 394 |
.header_list_page_id {width:50px; text-align: right; padding-right:15px;}
|
|
| 395 |
.header_list_actions {width:150px; text-align:left;}
|
|
| 396 |
|
|
| 397 |
.list_menu_title {text-align:left;}
|
|
| 398 |
.list_page_title {width:300px;text-align:left; }
|
|
| 399 |
|
|
| 400 |
.list_page_id {width:30px;text-align: right; }
|
|
| 401 |
.list_actions {width:20px;text-align:left;}
|
|
| 402 |
|
|
| 403 |
.sections_list {font-weight:bold;padding-left:10px;}
|
|
| 404 |
.sections_list table {width:900px;}
|
|
| 405 |
|
|
| 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 |
|
|
| 1 |
html {overflow: -moz-scrollbars-vertical;} /* Force firefox to always show room for a vertical scrollbar */
|
|
| 2 |
body,td,th,input,textarea {
|
|
| 3 |
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
| 4 |
font-size: 12px; |
|
| 5 |
color: #000000; |
|
| 6 |
} |
|
| 7 |
|
|
| 8 |
body {
|
|
| 9 |
background-color: #A8BCCB; |
|
| 10 |
/*background-image: url(images/background.png);*/ |
|
| 11 |
background-repeat: repeat-x; |
|
| 12 |
margin: auto; |
|
| 13 |
} |
|
| 14 |
|
|
| 15 |
img {
|
|
| 16 |
border: 0px; |
|
| 17 |
} |
|
| 18 |
|
|
| 19 |
form {
|
|
| 20 |
margin: 0; |
|
| 21 |
} |
|
| 22 |
|
|
| 23 |
hr {
|
|
| 24 |
margin: 15px 0px 15px 0px; |
|
| 25 |
color: #003366; |
|
| 26 |
height: 1px; |
|
| 27 |
} |
|
| 28 |
|
|
| 29 |
h1 {
|
|
| 30 |
text-align: center; |
|
| 31 |
font-size: 20px; |
|
| 32 |
color: #000000; |
|
| 33 |
text-transform: uppercase; |
|
| 34 |
} |
|
| 35 |
|
|
| 36 |
h2 {
|
|
| 37 |
font-size: 15px; |
|
| 38 |
color: #336699; |
|
| 39 |
margin: 5px 0px 5px 0px; |
|
| 40 |
} |
|
| 41 |
|
|
| 42 |
h4 {
|
|
| 43 |
margin: 0; |
|
| 44 |
border-bottom: 1px solid #DDD; |
|
| 45 |
padding-bottom: 5px; |
|
| 46 |
} |
|
| 47 |
|
|
| 48 |
a:link, a:visited, a:active {
|
|
| 49 |
color: #003366; |
|
| 50 |
text-decoration: none; |
|
| 51 |
} |
|
| 52 |
|
|
| 53 |
a:hover {
|
|
| 54 |
text-decoration: none; |
|
| 55 |
color: #336699; |
|
| 56 |
} |
|
| 57 |
|
|
| 58 |
ul, li {
|
|
| 59 |
list-style: none; |
|
| 60 |
margin: 0; |
|
| 61 |
padding: 0; |
|
| 62 |
} |
|
| 63 |
|
|
| 64 |
label {
|
|
| 65 |
cursor: pointer; |
|
| 66 |
} |
|
| 67 |
|
|
| 68 |
input:focus, input:active, select:focus, textarea:focus {
|
|
| 69 |
background: #F1F8FD; |
|
| 70 |
} |
|
| 71 |
|
|
| 72 |
iframe {
|
|
| 73 |
border: 1px solid #35373a; |
|
| 74 |
} |
|
| 75 |
|
|
| 76 |
div.box {
|
|
| 77 |
font-size: small; |
|
| 78 |
width: 100%; |
|
| 79 |
text-align: right; |
|
| 80 |
margin: -10px 0 0 0; |
|
| 81 |
} |
|
| 82 |
|
|
| 83 |
.header {
|
|
| 84 |
width: 900px; |
|
| 85 |
margin: 0 auto; |
|
| 86 |
} |
|
| 87 |
|
|
| 88 |
.container {
|
|
| 89 |
background: #fff url(images/bgtitle.png); |
|
| 90 |
background-repeat: repeat-x; |
|
| 91 |
width: 85%; |
|
| 92 |
margin: 0 auto; |
|
| 93 |
} |
|
| 94 |
|
|
| 95 |
.content {
|
|
| 96 |
padding: 20px; |
|
| 97 |
height: 280px; |
|
| 98 |
width: 750px; |
|
| 99 |
text-align: left; |
|
| 100 |
vertical-align: top; |
|
| 101 |
} |
|
| 102 |
|
|
| 103 |
.current a, .current a:link, .current a:active, .current a:visited {
|
|
| 104 |
background: #fff url(images/menuo.png); |
|
| 105 |
background-repeat: repeat-x; |
|
| 106 |
color: #fff; |
|
| 107 |
} |
|
| 108 |
|
|
| 109 |
.description {
|
|
| 110 |
vertical-align: top; |
|
| 111 |
text-align: left; |
|
| 112 |
width: 240px; |
|
| 113 |
padding: 0px 0px 0px 3px; |
|
| 114 |
} |
|
| 115 |
|
|
| 116 |
.graphic {
|
|
| 117 |
width: 50px; |
|
| 118 |
height: 50px; |
|
| 119 |
border: 4px solid #FDFDFD; |
|
| 120 |
padding-left: 3px; |
|
| 121 |
} |
|
| 122 |
|
|
| 123 |
.graphic img {
|
|
| 124 |
vertical-align: middle; |
|
| 125 |
background-color: #FFFFFF; |
|
| 126 |
padding: 3px 12px 3px 3px; |
|
| 127 |
margin-right: 12px; |
|
| 128 |
border-right: 3px solid silver; |
|
| 129 |
} |
|
| 130 |
|
|
| 131 |
.hide {
|
|
| 132 |
display: none; |
|
| 133 |
} |
|
| 134 |
|
|
| 135 |
.menu {
|
|
| 136 |
margin: 0; |
|
| 137 |
padding: 0; |
|
| 138 |
padding-top: 8px; |
|
| 139 |
padding-bottom: 10px; |
|
| 140 |
padding-left: 8px; |
|
| 141 |
background: #000 url(images/menu.png); |
|
| 142 |
background-repeat: repeat-x; |
|
| 143 |
} |
|
| 144 |
|
|
| 145 |
.menu li {
|
|
| 146 |
list-style-type: none; |
|
| 147 |
display: inline; |
|
| 148 |
padding-right: 1px; |
|
| 149 |
} |
|
| 150 |
|
|
| 151 |
.menu a, .menu a:link, .menu a:active, .menu a:visited {
|
|
| 152 |
border-bottom: 0; |
|
| 153 |
padding: 7px 11px 9px 11px; |
|
| 154 |
color: #fff; |
|
| 155 |
} |
|
| 156 |
|
|
| 157 |
.menu a:hover {
|
|
| 158 |
text-decoration: none; |
|
| 159 |
color: #fff; |
|
| 160 |
background: #fff url(images/menuo.png); |
|
| 161 |
background-repeat: repeat-x; |
|
| 162 |
} |
|
| 163 |
|
|
| 164 |
.note {
|
|
| 165 |
color: #666666; |
|
| 166 |
font-size: 10px; |
|
| 167 |
} |
|
| 168 |
|
|
| 169 |
.pages_list .icon_col td img {
|
|
| 170 |
display: block; |
|
| 171 |
border-style: none; |
|
| 172 |
float: left; |
|
| 173 |
padding-right: 7px; |
|
| 174 |
} |
|
| 175 |
|
|
| 176 |
.pages_list table {
|
|
| 177 |
width: 100%; |
|
| 178 |
margin: 0 auto; |
|
| 179 |
background-color: #DCDCDC; |
|
| 180 |
} |
|
| 181 |
|
|
| 182 |
.pages_list table td {
|
|
| 183 |
padding: 3px; |
|
| 184 |
} |
|
| 185 |
|
|
| 186 |
.pages_list ul {margin:0;font-weight:normal; padding: 0px;}
|
|
| 187 |
.pages_list ul li {list-style-type:none;margin:2px 0; padding:0px;}
|
|
| 188 |
|
|
| 189 |
.page_list {
|
|
| 190 |
display: none; |
|
| 191 |
} |
|
| 192 |
|
|
| 193 |
.page_list_show li {
|
|
| 194 |
display: block; |
|
| 195 |
} |
|
| 196 |
|
|
| 197 |
img.page_list_rights {
|
|
| 198 |
border: none; |
|
| 199 |
margin-right: 5px; |
|
| 200 |
float: left; |
|
| 201 |
margin-top: 2px; |
|
| 202 |
margin-bottom: 2px; |
|
| 203 |
} |
|
| 204 |
|
|
| 205 |
.content input {
|
|
| 206 |
font-size: 12px; |
|
| 207 |
} |
|
| 208 |
.row_a {
|
|
| 209 |
background-color: #ECF3F7; |
|
| 210 |
} |
|
| 211 |
|
|
| 212 |
.row_b {
|
|
| 213 |
background-color: #DBEBF2; |
|
| 214 |
} |
|
| 215 |
|
|
| 216 |
.save, .reset {
|
|
| 217 |
width: 100px; |
|
| 218 |
} |
|
| 219 |
|
|
| 220 |
.section {
|
|
| 221 |
margin-top: 10px; |
|
| 222 |
padding: 0px; |
|
| 223 |
/*border: 1px solid #999999;*/ |
|
| 224 |
height: 75px; |
|
| 225 |
width: 100%; |
|
| 226 |
background-color: #FDFDFD; |
|
| 227 |
} |
|
| 228 |
|
|
| 229 |
.sections_header {
|
|
| 230 |
width: 100%; |
|
| 231 |
height: 50px; |
|
| 232 |
margin-bottom: 10px; |
|
| 233 |
background-color: #F0F0F0; |
|
| 234 |
border: none; |
|
| 235 |
} |
|
| 236 |
|
|
| 237 |
.sections_header td {
|
|
| 238 |
padding: 5px; |
|
| 239 |
} |
|
| 240 |
|
|
| 241 |
.settings_table td {
|
|
| 242 |
vertical-align: top; |
|
| 243 |
text-align: left; |
|
| 244 |
} |
|
| 245 |
|
|
| 246 |
.setting_name {
|
|
| 247 |
width: 20%; |
|
| 248 |
} |
|
| 249 |
|
|
| 250 |
.setting_value {
|
|
| 251 |
width: 80%; |
|
| 252 |
} |
|
| 253 |
|
|
| 254 |
.setting_value input, .setting_value select, .setting_value textarea {
|
|
| 255 |
width: 100%; |
|
| 256 |
} |
|
| 257 |
|
|
| 258 |
.setting_value textarea {
|
|
| 259 |
height: 50px; |
|
| 260 |
} |
|
| 261 |
|
|
| 262 |
.title {
|
|
| 263 |
width: 90%; |
|
| 264 |
text-align: left; |
|
| 265 |
font-weight: bold; |
|
| 266 |
font-size: 14px; |
|
| 267 |
color: #003366; |
|
| 268 |
height: 16px; |
|
| 269 |
padding: 4px 0px 0px 3px; |
|
| 270 |
} |
|
| 271 |
|
|
| 272 |
.tool_table td {
|
|
| 273 |
vertical-align: top; |
|
| 274 |
text-align: left; |
|
| 275 |
} |
|
| 276 |
|
|
| 277 |
.tool_table ul {
|
|
| 278 |
margin: 0; |
|
| 279 |
padding: 0; |
|
| 280 |
margin-left: 20px; |
|
| 281 |
margin-bottom: 10px; |
|
| 282 |
} |
|
| 283 |
|
|
| 284 |
.tool_table li {
|
|
| 285 |
padding-bottom: 5px; |
|
| 286 |
list-style-type: disc; |
|
| 287 |
} |
|
| 288 |
|
|
| 289 |
.value_input input, .value_input text, .value_input select {
|
|
| 290 |
width: 100%; |
|
| 291 |
} |
|
| 292 |
|
|
| 293 |
#file_mode input {
|
|
| 294 |
width: 12px; |
|
| 295 |
height: 12px; |
|
| 296 |
} |
|
| 297 |
|
|
| 298 |
#dir_mode input {
|
|
| 299 |
width: 12px; |
|
| 300 |
height: 12px; |
|
| 301 |
} |
|
| 302 |
|
|
| 303 |
#hide2 {
|
|
| 304 |
display: none; |
|
| 305 |
} |
|
| 306 |
|
|
| 307 |
/* CSS STYLES FOR THE PAGES SECTION */ |
|
| 308 |
|
|
| 309 |
table.pages_view {
|
|
| 310 |
width: 100%; |
|
| 311 |
margin: 0 auto; |
|
| 312 |
border: 0; |
|
| 313 |
border-spacing: 0px; |
|
| 314 |
background-color: #ECF3F7; |
|
| 315 |
} |
|
| 316 |
|
|
| 317 |
table.pages_view td {
|
|
| 318 |
padding: 3px; |
|
| 319 |
} |
|
| 320 |
|
|
| 321 |
table.pages_view tr:hover {
|
|
| 322 |
background-color: #F1F8DD; |
|
| 323 |
} |
|
| 324 |
|
|
| 325 |
/* FORMS */ |
|
| 326 |
|
|
| 327 |
.submit, .cancel {
|
|
| 328 |
width: 100px; |
|
| 329 |
margin-top: 5px; |
|
| 330 |
} |
|
| 331 |
|
|
| 332 |
.form_submit {
|
|
| 333 |
width: 100%; |
|
| 334 |
} |
|
| 335 |
|
|
| 336 |
.form_submit .left {
|
|
| 337 |
text-align: left; |
|
| 338 |
} |
|
| 339 |
|
|
| 340 |
.form_submit .right {
|
|
| 341 |
text-align: right; |
|
| 342 |
} |
|
| 343 |
|
|
| 344 |
.input_small {
|
|
| 345 |
width: 20px; |
|
| 346 |
} |
|
| 347 |
|
|
| 348 |
.input_narrow {
|
|
| 349 |
width: 100px; |
|
| 350 |
} |
|
| 351 |
|
|
| 352 |
.input_normal {
|
|
| 353 |
width: 120px; |
|
| 354 |
} |
|
| 355 |
|
|
| 356 |
.input_medium {
|
|
| 357 |
width: 150px; |
|
| 358 |
} |
|
| 359 |
|
|
| 360 |
.input_wide {
|
|
| 361 |
width: 200px; |
|
| 362 |
} |
|
| 363 |
|
|
| 364 |
.input_large {
|
|
| 365 |
width: 300px; |
|
| 366 |
} |
|
| 367 |
|
|
| 368 |
.input_full {
|
|
| 369 |
width: 100%; |
|
| 370 |
} |
|
| 371 |
|
|
| 372 |
select option.disabled {
|
|
| 373 |
color: #aaa; |
|
| 374 |
} |
|
| 375 |
|
|
| 376 |
.jsadmin_drag img {
|
|
| 377 |
padding: 3px 0; |
|
| 378 |
margin-top: 1px; |
|
| 379 |
vertical-align: top; |
|
| 380 |
cursor: pointer; |
|
| 381 |
} |
|
| 382 |
|
|
| 383 |
.modify_link {
|
|
| 384 |
vertical-align: middle; |
|
| 385 |
padding-top: 4px; |
|
| 386 |
display: inline; |
|
| 387 |
} |
|
| 388 |
|
|
| 389 |
.header_title {
|
|
| 390 |
width: 100%; |
|
| 391 |
} |
|
| 392 |
.header_list_menu_title {text-align:left;}
|
|
| 393 |
.header_list_page_title {width:300px; text-align:left;}
|
|
| 394 |
.header_list_page_id {width:50px; text-align: right; padding-right:15px;}
|
|
| 395 |
.header_list_actions {width:150px; text-align:left;}
|
|
| 396 |
|
|
| 397 |
.list_menu_title {text-align:left;}
|
|
| 398 |
.list_page_title {width:300px;text-align:left; }
|
|
| 399 |
|
|
| 400 |
.list_page_id {width:30px;text-align: right; }
|
|
| 401 |
.list_actions {width:20px;text-align:left;}
|
|
| 402 |
|
|
| 403 |
.sections_list {font-weight:bold;padding-left:10px;}
|
|
| 404 |
.sections_list table {width:900px;}
|
|
| 405 |
|
|
| 406 |
.header_list_type {text-align:left;}
|
|
| 407 |
.header_list_block {text-align:left;width:180px;}
|
|
| 408 |
.header_list_pubdate_start {text-align:left;width:200px;}
|
|
| 409 |
.header_list_pubdate_end {text-align:left;width:200px;}
|
|
| 410 |
.header_list_sections_actions {text-align:left;width:30px;}
|
|
| 411 |
.header_list_section_id {width:30px;text-align:right;}
|
|
| 412 |
|
|
| 413 |
.list_section_id {width:30px;text-align:right;}
|
|
| 414 |
.list_pubdate_start {text-align:left;width:200px;}
|
|
| 415 |
.list_pubdate_end {text-align:left;width:200px;}
|
|
| 416 |
|
|
| 417 |
.value_page_code {color: #006400; font-weight: 400; width: 240px; }
|
|
| 418 |
.list_page_code { width: 240px; }
|
|
| 419 |
.list_page_language { width: 240px; }
|
|
| 420 |
#multi_lingual { font-weight: bolder; }
|
|
| 419 | 421 |
/* Ende */ |
| branches/2.8.x/wb/templates/wb_theme/templates/pages_settings.htt | ||
|---|---|---|
| 134 | 134 |
</tr> |
| 135 | 135 |
<tr style="display: {DISPLAY_LANGUAGE_LIST}">
|
| 136 | 136 |
<td width="100">{TEXT_LANGUAGE}:</td>
|
| 137 |
<td width="240">
|
|
| 137 |
<td class="list_language">
|
|
| 138 | 138 |
<select name="language" style="width: 240px;"> |
| 139 | 139 |
<!-- BEGIN language_list_block --> |
| 140 | 140 |
<option value="{VALUE}"{SELECTED} style="background: {FLAG_LANG_ICONS} no-repeat center left; padding-left: 20px;">{NAME}</option>
|
| ... | ... | |
| 145 | 145 |
<!-- insert page_code 20090904--> |
| 146 | 146 |
<tr{DISPLAY_CODE_PAGE_LIST}>
|
| 147 | 147 |
<td width="100">{TEXT_PAGE_CODE}:</td>
|
| 148 |
<td width="240">
|
|
| 149 |
<select name="page_code" style="width: 240px;">
|
|
| 148 |
<td class="list_page_code">
|
|
| 149 |
<select name="page_code" class="value_page_code">
|
|
| 150 | 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>
|
|
| 151 |
<option value="{VALUE}"{SELECTED} style="background: {FLAG_CODE_ICON} no-repeat center left; padding-left: 20px;">{PAGE_VALUE}</option>
|
|
| 152 | 152 |
<!-- END page_code_list_block --> |
| 153 | 153 |
</select> |
| 154 | 154 |
</td> |
| branches/2.8.x/wb/templates/argos_theme/theme.css | ||
|---|---|---|
| 130 | 130 |
.list_page_id {width:50px;text-align: right; padding-right:15px;}
|
| 131 | 131 |
.list_actions {width:25px;text-align:left;}
|
| 132 | 132 |
|
| 133 |
.value_page_code {color: #006400; font-weight: 400; width: 240px; }
|
|
| 134 |
.list_page_code { width: 240px; }
|
|
| 135 |
.list_page_language { width: 240px; }
|
|
| 136 |
#multi_lingual { font-weight: bolder; }
|
|
| branches/2.8.x/wb/templates/argos_theme/templates/pages_settings.htt | ||
|---|---|---|
| 143 | 143 |
<!-- insert page_code 20090904--> |
| 144 | 144 |
<tr{DISPLAY_CODE_PAGE_LIST}>
|
| 145 | 145 |
<td width="100">{TEXT_PAGE_CODE}:</td>
|
| 146 |
<td width="240">
|
|
| 147 |
<select name="page_code" style="width: 240px;">
|
|
| 146 |
<td class="list_page_code">
|
|
| 147 |
<select name="page_code" class="value_page_code">
|
|
| 148 | 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>
|
|
| 149 |
<option value="{VALUE}"{SELECTED} style="background: {FLAG_CODE_ICON} no-repeat center left; padding-left: 20px;">{PAGE_VALUE}</option>
|
|
| 150 | 150 |
<!-- END page_code_list_block --> |
| 151 | 151 |
</select> |
| 152 | 152 |
</td> |
Also available in: Unified diff
update header, change variable