Revision 1242
Added by Dietmar almost 15 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.1 ------------------------------------- |
14 |
13-Jan-2010 Dietmar Woellbrink (Luisehahne) |
|
15 |
# Ticket #911 Beginning to fix More CSS-errors in WB backend |
|
16 |
+ add SVN- Revision to backend theme |
|
14 | 17 |
12-Jan-2010 Dietmar Woellbrink (Luisehahne) |
15 | 18 |
# Ticket #906 Search Template bug |
16 | 19 |
! update editor min width, dragableresize table |
branches/2.8.x/wb/admin/start/index.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
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 |
*/ |
|
25 |
|
|
26 |
require('../../config.php'); |
|
27 |
require_once(WB_PATH.'/framework/class.admin.php'); |
|
28 |
$admin = new admin('Start','start'); |
|
29 |
|
|
30 |
// Setup template object |
|
31 |
$template = new Template(THEME_PATH.'/templates'); |
|
32 |
$template->set_file('page', 'start.htt'); |
|
33 |
$template->set_block('page', 'main_block', 'main'); |
|
34 |
|
|
35 |
// Insert values into the template object |
|
36 |
$template->set_var(array( |
|
37 |
'WELCOME_MESSAGE' => $MESSAGE['START']['WELCOME_MESSAGE'], |
|
38 |
'CURRENT_USER' => $MESSAGE['START']['CURRENT_USER'], |
|
39 |
'DISPLAY_NAME' => $admin->get_display_name(), |
|
40 |
'ADMIN_URL' => ADMIN_URL, |
|
41 |
'WB_URL' => WB_URL, |
|
42 |
'THEME_URL' => THEME_URL, |
|
43 |
'WB_VERSION' => WB_VERSION |
|
44 |
) |
|
45 |
); |
|
46 |
|
|
47 |
// Insert permission values into the template object |
|
48 |
if($admin->get_permission('pages') != true) { |
|
49 |
$template->set_var('DISPLAY_PAGES', 'none'); |
|
50 |
} |
|
51 |
if($admin->get_permission('media') != true) { |
|
52 |
$template->set_var('DISPLAY_MEDIA', 'none'); |
|
53 |
} |
|
54 |
if($admin->get_permission('addons') != true) { |
|
55 |
$template->set_var('DISPLAY_ADDONS', 'none'); |
|
56 |
} |
|
57 |
if($admin->get_permission('access') != true) { |
|
58 |
$template->set_var('DISPLAY_ACCESS', 'none'); |
|
59 |
} |
|
60 |
if($admin->get_permission('settings') != true) { |
|
61 |
$template->set_var('DISPLAY_SETTINGS', 'none'); |
|
62 |
} |
|
63 |
if($admin->get_permission('admintools') != true) { |
|
64 |
$template->set_var('DISPLAY_ADMINTOOLS', 'none'); |
|
65 |
} |
|
66 |
|
|
67 |
// Check if installation directory still exists |
|
68 |
if(file_exists(WB_PATH.'/install/')) { |
|
69 |
// Check if user is part of Adminstrators group |
|
70 |
if(in_array(1, $admin->get_groups_id())) { |
|
71 |
$template->set_var('WARNING', $MESSAGE['START']['INSTALL_DIR_EXISTS']); |
|
72 |
} else { |
|
73 |
$template->set_var('DISPLAY_WARNING', 'none'); |
|
74 |
} |
|
75 |
} else { |
|
76 |
$template->set_var('DISPLAY_WARNING', 'none'); |
|
77 |
} |
|
78 |
|
|
79 |
// Insert "Add-ons" section overview (pretty complex compared to normal) |
|
80 |
$addons_overview = $TEXT['MANAGE'].' '; |
|
81 |
$addons_count = 0; |
|
82 |
if($admin->get_permission('modules') == true) { |
|
83 |
$addons_overview .= '<a href="'.ADMIN_URL.'/modules/index.php">'.$MENU['MODULES'].'</a>'; |
|
84 |
$addons_count = 1; |
|
85 |
} |
|
86 |
if($admin->get_permission('templates') == true) { |
|
87 |
if($addons_count == 1) { $addons_overview .= ', '; } |
|
88 |
$addons_overview .= '<a href="'.ADMIN_URL.'/templates/index.php">'.$MENU['TEMPLATES'].'</a>'; |
|
89 |
$addons_count = 1; |
|
90 |
} |
|
91 |
if($admin->get_permission('languages') == true) { |
|
92 |
if($addons_count == 1) { $addons_overview .= ', '; } |
|
93 |
$addons_overview .= '<a href="'.ADMIN_URL.'/languages/index.php">'.$MENU['LANGUAGES'].'</a>'; |
|
94 |
} |
|
95 |
|
|
96 |
// Insert "Access" section overview (pretty complex compared to normal) |
|
97 |
$access_overview = $TEXT['MANAGE'].' '; |
|
98 |
$access_count = 0; |
|
99 |
if($admin->get_permission('users') == true) { |
|
100 |
$access_overview .= '<a href="'.ADMIN_URL.'/users/index.php">'.$MENU['USERS'].'</a>'; |
|
101 |
$access_count = 1; |
|
102 |
} |
|
103 |
if($admin->get_permission('groups') == true) { |
|
104 |
if($access_count == 1) { $access_overview .= ', '; } |
|
105 |
$access_overview .= '<a href="'.ADMIN_URL.'/groups/index.php">'.$MENU['GROUPS'].'</a>'; |
|
106 |
$access_count = 1; |
|
107 |
} |
|
108 |
|
|
109 |
// Insert section names and descriptions |
|
110 |
$template->set_var(array( |
|
111 |
'PAGES' => $MENU['PAGES'], |
|
112 |
'MEDIA' => $MENU['MEDIA'], |
|
113 |
'ADDONS' => $MENU['ADDONS'], |
|
114 |
'ACCESS' => $MENU['ACCESS'], |
|
115 |
'PREFERENCES' => $MENU['PREFERENCES'], |
|
116 |
'SETTINGS' => $MENU['SETTINGS'], |
|
117 |
'ADMINTOOLS' => $MENU['ADMINTOOLS'], |
|
118 |
'HOME_OVERVIEW' => $OVERVIEW['START'], |
|
119 |
'PAGES_OVERVIEW' => $OVERVIEW['PAGES'], |
|
120 |
'MEDIA_OVERVIEW' => $OVERVIEW['MEDIA'], |
|
121 |
'ADDONS_OVERVIEW' => $addons_overview, |
|
122 |
'ACCESS_OVERVIEW' => $access_overview, |
|
123 |
'PREFERENCES_OVERVIEW' => $OVERVIEW['PREFERENCES'], |
|
124 |
'SETTINGS_OVERVIEW' => $OVERVIEW['SETTINGS'], |
|
125 |
'ADMINTOOLS_OVERVIEW' => $OVERVIEW['ADMINTOOLS'] |
|
126 |
) |
|
127 |
); |
|
128 |
|
|
129 |
// Parse template object |
|
130 |
$template->parse('main', 'main_block', false); |
|
131 |
$template->pparse('output', 'page'); |
|
132 |
|
|
133 |
// Print admin footer |
|
134 |
$admin->print_footer(); |
|
135 |
|
|
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 |
* WebsiteBaker Extra Information |
|
42 |
* |
|
43 |
* |
|
44 |
* |
|
45 |
* |
|
46 |
*****************************************************************************/ |
|
47 |
/** |
|
48 |
* |
|
49 |
* @category admin |
|
50 |
* @package start |
|
51 |
* @author Ryan Djurovich |
|
52 |
* @copyright 2004-2009, Ryan Djurovich |
|
53 |
* @copyright 2009-2010, 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 |
*/ |
|
60 |
|
|
61 |
require('../../config.php'); |
|
62 |
require_once(WB_PATH.'/framework/class.admin.php'); |
|
63 |
$admin = new admin('Start','start'); |
|
64 |
|
|
65 |
// Setup template object |
|
66 |
$template = new Template(THEME_PATH.'/templates'); |
|
67 |
$template->set_file('page', 'start.htt'); |
|
68 |
$template->set_block('page', 'main_block', 'main'); |
|
69 |
|
|
70 |
// Insert values into the template object |
|
71 |
$template->set_var(array( |
|
72 |
'WELCOME_MESSAGE' => $MESSAGE['START']['WELCOME_MESSAGE'], |
|
73 |
'CURRENT_USER' => $MESSAGE['START']['CURRENT_USER'], |
|
74 |
'DISPLAY_NAME' => $admin->get_display_name(), |
|
75 |
'ADMIN_URL' => ADMIN_URL, |
|
76 |
'WB_URL' => WB_URL, |
|
77 |
'THEME_URL' => THEME_URL, |
|
78 |
'WB_VERSION' => WB_VERSION |
|
79 |
) |
|
80 |
); |
|
81 |
|
|
82 |
// Insert permission values into the template object |
|
83 |
if($admin->get_permission('pages') != true) { |
|
84 |
$template->set_var('DISPLAY_PAGES', 'display:none;'); |
|
85 |
} |
|
86 |
if($admin->get_permission('media') != true) { |
|
87 |
$template->set_var('DISPLAY_MEDIA', 'display:none;'); |
|
88 |
} |
|
89 |
if($admin->get_permission('addons') != true) { |
|
90 |
$template->set_var('DISPLAY_ADDONS', 'display:none;'); |
|
91 |
} |
|
92 |
if($admin->get_permission('access') != true) { |
|
93 |
$template->set_var('DISPLAY_ACCESS', 'display:none;'); |
|
94 |
} |
|
95 |
if($admin->get_permission('settings') != true) { |
|
96 |
$template->set_var('DISPLAY_SETTINGS', 'display:none;'); |
|
97 |
} |
|
98 |
if($admin->get_permission('admintools') != true) { |
|
99 |
$template->set_var('DISPLAY_ADMINTOOLS', 'display:none;'); |
|
100 |
} |
|
101 |
|
|
102 |
// Check if installation directory still exists |
|
103 |
if(file_exists(WB_PATH.'/install/')) { |
|
104 |
// Check if user is part of Adminstrators group |
|
105 |
if(in_array(1, $admin->get_groups_id())) { |
|
106 |
$template->set_var('WARNING', $MESSAGE['START']['INSTALL_DIR_EXISTS']); |
|
107 |
} else { |
|
108 |
$template->set_var('DISPLAY_WARNING', 'display:none;'); |
|
109 |
} |
|
110 |
} else { |
|
111 |
$template->set_var('DISPLAY_WARNING', 'display:none;'); |
|
112 |
} |
|
113 |
|
|
114 |
// Insert "Add-ons" section overview (pretty complex compared to normal) |
|
115 |
$addons_overview = $TEXT['MANAGE'].' '; |
|
116 |
$addons_count = 0; |
|
117 |
if($admin->get_permission('modules') == true) { |
|
118 |
$addons_overview .= '<a href="'.ADMIN_URL.'/modules/index.php">'.$MENU['MODULES'].'</a>'; |
|
119 |
$addons_count = 1; |
|
120 |
} |
|
121 |
if($admin->get_permission('templates') == true) { |
|
122 |
if($addons_count == 1) { $addons_overview .= ', '; } |
|
123 |
$addons_overview .= '<a href="'.ADMIN_URL.'/templates/index.php">'.$MENU['TEMPLATES'].'</a>'; |
|
124 |
$addons_count = 1; |
|
125 |
} |
|
126 |
if($admin->get_permission('languages') == true) { |
|
127 |
if($addons_count == 1) { $addons_overview .= ', '; } |
|
128 |
$addons_overview .= '<a href="'.ADMIN_URL.'/languages/index.php">'.$MENU['LANGUAGES'].'</a>'; |
|
129 |
} |
|
130 |
|
|
131 |
// Insert "Access" section overview (pretty complex compared to normal) |
|
132 |
$access_overview = $TEXT['MANAGE'].' '; |
|
133 |
$access_count = 0; |
|
134 |
if($admin->get_permission('users') == true) { |
|
135 |
$access_overview .= '<a href="'.ADMIN_URL.'/users/index.php">'.$MENU['USERS'].'</a>'; |
|
136 |
$access_count = 1; |
|
137 |
} |
|
138 |
if($admin->get_permission('groups') == true) { |
|
139 |
if($access_count == 1) { $access_overview .= ', '; } |
|
140 |
$access_overview .= '<a href="'.ADMIN_URL.'/groups/index.php">'.$MENU['GROUPS'].'</a>'; |
|
141 |
$access_count = 1; |
|
142 |
} |
|
143 |
|
|
144 |
// Insert section names and descriptions |
|
145 |
$template->set_var(array( |
|
146 |
'PAGES' => $MENU['PAGES'], |
|
147 |
'MEDIA' => $MENU['MEDIA'], |
|
148 |
'ADDONS' => $MENU['ADDONS'], |
|
149 |
'ACCESS' => $MENU['ACCESS'], |
|
150 |
'PREFERENCES' => $MENU['PREFERENCES'], |
|
151 |
'SETTINGS' => $MENU['SETTINGS'], |
|
152 |
'ADMINTOOLS' => $MENU['ADMINTOOLS'], |
|
153 |
'HOME_OVERVIEW' => $OVERVIEW['START'], |
|
154 |
'PAGES_OVERVIEW' => $OVERVIEW['PAGES'], |
|
155 |
'MEDIA_OVERVIEW' => $OVERVIEW['MEDIA'], |
|
156 |
'ADDONS_OVERVIEW' => $addons_overview, |
|
157 |
'ACCESS_OVERVIEW' => $access_overview, |
|
158 |
'PREFERENCES_OVERVIEW' => $OVERVIEW['PREFERENCES'], |
|
159 |
'SETTINGS_OVERVIEW' => $OVERVIEW['SETTINGS'], |
|
160 |
'ADMINTOOLS_OVERVIEW' => $OVERVIEW['ADMINTOOLS'] |
|
161 |
) |
|
162 |
); |
|
163 |
|
|
164 |
// Parse template object |
|
165 |
$template->parse('main', 'main_block', false); |
|
166 |
$template->pparse('output', 'page'); |
|
167 |
|
|
168 |
// Print admin footer |
|
169 |
$admin->print_footer(); |
|
170 |
|
|
136 | 171 |
?> |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
70 | 70 |
|
71 | 71 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
72 | 72 |
if(!defined('VERSION')) define('VERSION', '2.8.1'); |
73 |
if(!defined('REVISION')) define('REVISION', '1241');
|
|
73 |
if(!defined('REVISION')) define('REVISION', '1242');
|
|
74 | 74 |
|
75 | 75 |
?> |
branches/2.8.x/wb/framework/class.admin.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
/**************************************************************************** |
|
3 |
* SVN Version information: |
|
4 |
* |
|
5 |
* $Id$ |
|
6 |
* |
|
7 |
* |
|
8 |
* |
|
9 |
***************************************************************************** |
|
10 |
* WebsiteBaker |
|
11 |
* |
|
12 |
* WebsiteBaker Project <http://www.websitebaker2.org/> |
|
13 |
* Copyright (C) 2009, Website Baker Org. e.V. |
|
14 |
* http://start.websitebaker2.org/impressum-datenschutz.php |
|
15 |
* Copyright (C) 2004-2009, Ryan Djurovich |
|
16 |
* |
|
17 |
* About WebsiteBaker |
|
18 |
* |
|
19 |
* Website Baker is a PHP-based Content Management System (CMS) |
|
20 |
* designed with one goal in mind: to enable its users to produce websites |
|
21 |
* with ease. |
|
22 |
* |
|
23 |
***************************************************************************** |
|
24 |
* |
|
25 |
***************************************************************************** |
|
26 |
* LICENSE INFORMATION |
|
27 |
* |
|
28 |
* WebsiteBaker is free software; you can redistribute it and/or |
|
29 |
* modify it under the terms of the GNU General Public License |
|
30 |
* as published by the Free Software Foundation; either version 2 |
|
31 |
* of the License, or (at your option) any later version. |
|
32 |
* |
|
33 |
* WebsiteBaker is distributed in the hope that it will be useful, |
|
34 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
35 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
36 |
* See the GNU General Public License for more details. |
|
37 |
* |
|
38 |
* You should have received a copy of the GNU General Public License |
|
39 |
* along with this program; if not, write to the Free Software |
|
40 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
41 |
**************************************************************************** |
|
42 |
* |
|
43 |
* WebsiteBaker Extra Information |
|
44 |
* |
|
45 |
* Admin class |
|
46 |
* |
|
47 |
* This class will be used for every program that will be included |
|
48 |
* in the administration section of Website Baker. |
|
49 |
* |
|
50 |
* |
|
51 |
*****************************************************************************/ |
|
52 |
/** |
|
53 |
* |
|
54 |
* @category frontend |
|
55 |
* @package functions |
|
56 |
* @author Ryan Djurovich |
|
57 |
* @copyright 2004-2009, Ryan Djurovich |
|
58 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
59 |
* @version $Id$ |
|
60 |
* @platform WebsiteBaker 2.8.x |
|
61 |
* @requirements >= PHP 4.3.4 |
|
62 |
* @license http://www.gnu.org/licenses/gpl.html |
|
63 |
* |
|
64 |
*/ |
|
2 | 65 |
|
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 |
*/ |
|
25 |
|
|
26 |
/* |
|
27 |
|
|
28 |
Admin class |
|
29 |
|
|
30 |
This class will be used for every program that will be included |
|
31 |
in the administration section of Website Baker. |
|
32 |
|
|
33 |
*/ |
|
34 |
|
|
35 | 66 |
if(!defined('WB_URL')) { |
36 | 67 |
header('Location: ../index.php'); |
37 | 68 |
exit(0); |
... | ... | |
141 | 172 |
'CHARSET' => $charset, |
142 | 173 |
'LANGUAGE' => strtolower(LANGUAGE), |
143 | 174 |
'VERSION' => VERSION, |
175 |
'REVISION' => REVISION, |
|
144 | 176 |
'WB_URL' => WB_URL, |
145 | 177 |
'ADMIN_URL' => ADMIN_URL, |
146 | 178 |
'THEME_URL' => THEME_URL, |
branches/2.8.x/wb/framework/frontend.functions.php | ||
---|---|---|
42 | 42 |
* |
43 | 43 |
* WebsiteBaker Extra Information |
44 | 44 |
* |
45 |
* Version file |
|
46 | 45 |
* |
47 |
* This file is purely for ensuring compatibility with 3rd party |
|
48 |
* contributions made for WB version 2.5.2 or below |
|
49 | 46 |
* |
50 | 47 |
* |
51 | 48 |
* |
49 |
* |
|
50 |
* |
|
51 |
* |
|
52 | 52 |
*****************************************************************************/ |
53 | 53 |
/** |
54 | 54 |
* |
... | ... | |
348 | 348 |
// if empty array, set orginal links |
349 | 349 |
$crumbs = (!empty($crumbs)) ? $crumbs : $wb->page_trail; |
350 | 350 |
$total_crumbs = ( ($depth <= 0) OR ($depth > sizeof($crumbs)) ) ? sizeof($crumbs) : $depth; |
351 |
print '<div class="breadcrumb"><span class=" title">'.$title.'</span>';
|
|
351 |
print '<div class="breadcrumb"><span class="title">'.$title.'</span>'; |
|
352 | 352 |
// print_r($crumbs); |
353 | 353 |
foreach ($crumbs as $temp) |
354 | 354 |
{ |
... | ... | |
367 | 367 |
case 'none' : |
368 | 368 |
case 'hidden' : |
369 | 369 |
// if show, you know there is an error in a hidden page |
370 |
print $show_crumb.' --- ';
|
|
370 |
print $show_crumb.' ';
|
|
371 | 371 |
break; |
372 | 372 |
default : |
373 | 373 |
print $show_crumb; |
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/header.htt | ||
---|---|---|
37 | 37 |
<a href="{ADMIN_URL}/logout" title="{TITLE_LOGOUT}"><img src="{THEME_URL}/images/dl.png" border="0" alt="{TITLE_LOGOUT}" /></a> |
38 | 38 |
</td> |
39 | 39 |
<td width="100" align="right" style="padding-top: 10px; padding-right: 15px; color: #000;"> |
40 |
Version {VERSION} |
|
40 |
Version {VERSION}<br /> |
|
41 |
Revision {REVISION} |
|
41 | 42 |
</td> |
42 | 43 |
</tr> |
43 | 44 |
</table> |
branches/2.8.x/wb/templates/classic_theme/templates/start.htt | ||
---|---|---|
6 | 6 |
{WELCOME_MESSAGE}. {CURRENT_USER} {DISPLAY_NAME} |
7 | 7 |
</td> |
8 | 8 |
</tr> |
9 |
<tr style="display: {DISPLAY_WARNING};">
|
|
9 |
<tr style="{DISPLAY_WARNING};"> |
|
10 | 10 |
<td colspan="3" align="center" style="color: #FF0000; font-weight: bold;"> |
11 | 11 |
{WARNING} |
12 | 12 |
</td> |
... | ... | |
14 | 14 |
<tr> |
15 | 15 |
<td align="center" valign="top"> |
16 | 16 |
|
17 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_PAGES};">
|
|
17 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_PAGES};"> |
|
18 | 18 |
<tr> |
19 | 19 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
20 | 20 |
<a href="{ADMIN_URL}/pages/index.php"> |
... | ... | |
32 | 32 |
</tr> |
33 | 33 |
</table> |
34 | 34 |
|
35 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_ADDONS};">
|
|
35 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_ADDONS};"> |
|
36 | 36 |
<tr> |
37 | 37 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
38 | 38 |
<a href="{ADMIN_URL}/addons/index.php"> |
... | ... | |
50 | 50 |
</tr> |
51 | 51 |
</table> |
52 | 52 |
|
53 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_SETTINGS};">
|
|
53 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_SETTINGS};"> |
|
54 | 54 |
<tr> |
55 | 55 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
56 | 56 |
<a href="{ADMIN_URL}/settings/index.php"> |
... | ... | |
68 | 68 |
</tr> |
69 | 69 |
</table> |
70 | 70 |
|
71 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_ACCESS};">
|
|
71 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_ACCESS};"> |
|
72 | 72 |
<tr> |
73 | 73 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
74 | 74 |
<a href="{ADMIN_URL}/access/index.php"> |
... | ... | |
92 | 92 |
</td> |
93 | 93 |
<td align="center" valign="top"> |
94 | 94 |
|
95 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_MEDIA};">
|
|
95 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_MEDIA};"> |
|
96 | 96 |
<tr> |
97 | 97 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
98 | 98 |
<a href="{ADMIN_URL}/media/index.php"> |
... | ... | |
128 | 128 |
</tr> |
129 | 129 |
</table> |
130 | 130 |
|
131 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_ADMINTOOLS};">
|
|
131 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_ADMINTOOLS};"> |
|
132 | 132 |
<tr> |
133 | 133 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
134 | 134 |
<a href="{ADMIN_URL}/admintools/index.php"> |
branches/2.8.x/wb/templates/wb_theme/templates/header.htt | ||
---|---|---|
36 | 36 |
<a href="{ADMIN_URL}/logout" title="{TITLE_LOGOUT}"><img src="{THEME_URL}/images/dl.png" border="0" alt="{TITLE_LOGOUT}" /></a> |
37 | 37 |
</td> |
38 | 38 |
<td class="version"> |
39 |
Version {VERSION} |
|
39 |
Version {VERSION}<br /> |
|
40 |
Revision {REVISION} |
|
40 | 41 |
</td> |
41 | 42 |
</tr> |
42 | 43 |
</table> |
branches/2.8.x/wb/templates/wb_theme/templates/start.htt | ||
---|---|---|
6 | 6 |
{WELCOME_MESSAGE}. {CURRENT_USER} {DISPLAY_NAME} |
7 | 7 |
</td> |
8 | 8 |
</tr> |
9 |
<tr style="display: {DISPLAY_WARNING};">
|
|
9 |
<tr style="{DISPLAY_WARNING};"> |
|
10 | 10 |
<td colspan="3" align="center" style="color: #FF0000; font-weight: bold;"> |
11 | 11 |
{WARNING} |
12 | 12 |
</td> |
... | ... | |
14 | 14 |
<tr> |
15 | 15 |
<td align="center" valign="top"> |
16 | 16 |
|
17 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_PAGES};">
|
|
17 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_PAGES};"> |
|
18 | 18 |
<tr> |
19 | 19 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
20 | 20 |
<a href="{ADMIN_URL}/pages/index.php"> |
... | ... | |
32 | 32 |
</tr> |
33 | 33 |
</table> |
34 | 34 |
|
35 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_ADDONS};">
|
|
35 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_ADDONS};"> |
|
36 | 36 |
<tr> |
37 | 37 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
38 | 38 |
<a href="{ADMIN_URL}/addons/index.php"> |
... | ... | |
50 | 50 |
</tr> |
51 | 51 |
</table> |
52 | 52 |
|
53 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_SETTINGS};">
|
|
53 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_SETTINGS};"> |
|
54 | 54 |
<tr> |
55 | 55 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
56 | 56 |
<a href="{ADMIN_URL}/settings/index.php"> |
... | ... | |
68 | 68 |
</tr> |
69 | 69 |
</table> |
70 | 70 |
|
71 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_ACCESS};">
|
|
71 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_ACCESS};"> |
|
72 | 72 |
<tr> |
73 | 73 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
74 | 74 |
<a href="{ADMIN_URL}/access/index.php"> |
... | ... | |
92 | 92 |
</td> |
93 | 93 |
<td align="center" valign="top"> |
94 | 94 |
|
95 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_MEDIA};">
|
|
95 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_MEDIA};"> |
|
96 | 96 |
<tr> |
97 | 97 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
98 | 98 |
<a href="{ADMIN_URL}/media/index.php"> |
... | ... | |
128 | 128 |
</tr> |
129 | 129 |
</table> |
130 | 130 |
|
131 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_ADMINTOOLS};">
|
|
131 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_ADMINTOOLS};"> |
|
132 | 132 |
<tr> |
133 | 133 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
134 | 134 |
<a href="{ADMIN_URL}/admintools/index.php"> |
branches/2.8.x/wb/templates/argos_theme/templates/header.htt | ||
---|---|---|
31 | 31 |
<div id="topmenu"> <a href="{ADMIN_URL}" title="{TITLE_START}">Home</a>| <a href="{URL_VIEW}" target="_blank" title="{TITLE_VIEW}">{TITLE_VIEW}</a>| <a href="{ADMIN_URL}/logout/" title="{TITLE_LOGOUT}">{TITLE_LOGOUT}</a> |
32 | 32 |
<br /> |
33 | 33 |
<br /> |
34 |
<span class="version">CMS version {VERSION}</span><br/> |
|
34 |
<span class="version">CMS Version {VERSION}</span><br/> |
|
35 |
<span class="version">Revision {REVISION}</span><br/> |
|
35 | 36 |
<span class="version">Admin version 1.4</span> |
36 | 37 |
</div> |
37 | 38 |
<a href="{ADMIN_URL}" title="{TITLE_START}" id="website_title"> |
branches/2.8.x/wb/templates/argos_theme/templates/start.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
|
|
3 |
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center"> |
|
4 |
<tr> |
|
5 |
<td colspan="3">{WELCOME_MESSAGE}. {CURRENT_USER} {DISPLAY_NAME}. </td> |
|
6 |
</tr> |
|
7 |
<tr style="display: {DISPLAY_WARNING};">
|
|
8 |
<td colspan="3" align="center" style="color: #FF0000; font-weight: bold;">{WARNING}</td> |
|
9 |
</tr> |
|
10 |
<tr> |
|
11 |
<td align="center" valign="top" width="49%"> |
|
12 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_PAGES};">
|
|
13 |
<tr> |
|
14 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/pages/index.php"> <img src="{THEME_URL}/icons/pages.png" border="0" /> </a> </td> |
|
15 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/pages/index.php"><div class="title">{PAGES}</div></a> |
|
16 |
{PAGES_OVERVIEW} |
|
17 |
</td> |
|
18 |
</tr> |
|
19 |
|
|
20 |
</table> |
|
21 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_ADDONS};">
|
|
22 |
<tr> |
|
23 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/addons/index.php"> <img src="{THEME_URL}/icons/addons.png" border="0" /> </a> </td> |
|
24 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/addons/index.php"><div class="title">{ADDONS}</div></a> |
|
25 |
{ADDONS_OVERVIEW} |
|
26 |
</td> |
|
27 |
</tr> |
|
28 |
</table> |
|
29 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_SETTINGS};">
|
|
30 |
<tr> |
|
31 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/settings/index.php"> <img src="{THEME_URL}/icons/settings.png" border="0" /> </a> </td> |
|
32 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/settings/index.php"><div class="title">{SETTINGS}</div></a> |
|
33 |
{SETTINGS_OVERVIEW} |
|
34 |
</td> |
|
35 |
</tr> |
|
36 |
</table> |
|
37 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_ACCESS};">
|
|
38 |
<tr> |
|
39 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/access/index.php"> <img src="{THEME_URL}/icons/access.png" border="0" /> </a> </td> |
|
40 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/access/index.php"><div class="title">{ACCESS}</div></a> |
|
41 |
{ACCESS_OVERVIEW} |
|
42 |
</td> |
|
43 |
</tr> |
|
44 |
</table> |
|
45 |
</td> |
|
46 |
<td width="10"> </td> |
|
47 |
<td align="center" valign="top"> |
|
48 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_MEDIA};">
|
|
49 |
<tr> |
|
50 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/media/index.php"> <img src="{THEME_URL}/icons/media.png" border="0" /> </a> </td> |
|
51 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/media/index.php"><div class="title">{MEDIA}</div></a> |
|
52 |
{MEDIA_OVERVIEW} |
|
53 |
</td> |
|
54 |
</tr> |
|
55 |
</table> |
|
56 |
<table cellpadding="0" cellspacing="0" border="0" class="section"> |
|
57 |
<tr> |
|
58 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/preferences/index.php"> <img src="{THEME_URL}/icons/preferences.png" border="0" /> </a> </td> |
|
59 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/preferences/index.php"><div class="title">{PREFERENCES}</div></a> |
|
60 |
{PREFERENCES_OVERVIEW} |
|
61 |
</td> |
|
62 |
</tr> |
|
63 |
</table> |
|
64 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_ADMINTOOLS};">
|
|
65 |
<tr> |
|
66 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/admintools/index.php"> <img src="{THEME_URL}/icons/admintools.png" border="0" /> </a> </td> |
|
67 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/admintools/index.php"><div class="title">{ADMINTOOLS}</div></a> |
|
68 |
{ADMINTOOLS_OVERVIEW} |
|
69 |
</td> |
|
70 |
</tr> |
|
71 |
</table> |
|
72 |
</td> |
|
73 |
</tr> |
|
74 |
</table> |
|
1 |
<!-- BEGIN main_block -->
|
|
2 |
|
|
3 |
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
|
|
4 |
<tr>
|
|
5 |
<td colspan="3">{WELCOME_MESSAGE}. {CURRENT_USER} {DISPLAY_NAME}. </td>
|
|
6 |
</tr>
|
|
7 |
<tr style="{DISPLAY_WARNING};">
|
|
8 |
<td colspan="3" align="center" style="color: #FF0000; font-weight: bold;">{WARNING}</td>
|
|
9 |
</tr>
|
|
10 |
<tr>
|
|
11 |
<td align="center" valign="top" width="49%">
|
|
12 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_PAGES};">
|
|
13 |
<tr>
|
|
14 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/pages/index.php"> <img src="{THEME_URL}/icons/pages.png" border="0" /> </a> </td>
|
|
15 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/pages/index.php"><div class="title">{PAGES}</div></a>
|
|
16 |
{PAGES_OVERVIEW}
|
|
17 |
</td>
|
|
18 |
</tr>
|
|
19 |
|
|
20 |
</table>
|
|
21 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_ADDONS};">
|
|
22 |
<tr>
|
|
23 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/addons/index.php"> <img src="{THEME_URL}/icons/addons.png" border="0" /> </a> </td>
|
|
24 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/addons/index.php"><div class="title">{ADDONS}</div></a>
|
|
25 |
{ADDONS_OVERVIEW}
|
|
26 |
</td>
|
|
27 |
</tr>
|
|
28 |
</table>
|
|
29 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_SETTINGS};">
|
|
30 |
<tr>
|
|
31 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/settings/index.php"> <img src="{THEME_URL}/icons/settings.png" border="0" /> </a> </td>
|
|
32 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/settings/index.php"><div class="title">{SETTINGS}</div></a>
|
|
33 |
{SETTINGS_OVERVIEW}
|
|
34 |
</td>
|
|
35 |
</tr>
|
|
36 |
</table>
|
|
37 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_ACCESS};">
|
|
38 |
<tr>
|
|
39 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/access/index.php"> <img src="{THEME_URL}/icons/access.png" border="0" /> </a> </td>
|
|
40 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/access/index.php"><div class="title">{ACCESS}</div></a>
|
|
41 |
{ACCESS_OVERVIEW}
|
|
42 |
</td>
|
|
43 |
</tr>
|
|
44 |
</table>
|
|
45 |
</td>
|
|
46 |
<td width="10"> </td>
|
|
47 |
<td align="center" valign="top">
|
|
48 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_MEDIA};">
|
|
49 |
<tr>
|
|
50 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/media/index.php"> <img src="{THEME_URL}/icons/media.png" border="0" /> </a> </td>
|
|
51 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/media/index.php"><div class="title">{MEDIA}</div></a>
|
|
52 |
{MEDIA_OVERVIEW}
|
|
53 |
</td>
|
|
54 |
</tr>
|
|
55 |
</table>
|
|
56 |
<table cellpadding="0" cellspacing="0" border="0" class="section">
|
|
57 |
<tr>
|
|
58 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/preferences/index.php"> <img src="{THEME_URL}/icons/preferences.png" border="0" /> </a> </td>
|
|
59 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/preferences/index.php"><div class="title">{PREFERENCES}</div></a>
|
|
60 |
{PREFERENCES_OVERVIEW}
|
|
61 |
</td>
|
|
62 |
</tr>
|
|
63 |
</table>
|
|
64 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="{DISPLAY_ADMINTOOLS};">
|
|
65 |
<tr>
|
|
66 |
<td class="graphic" align="center" valign="middle" rowspan="2"> <a href="{ADMIN_URL}/admintools/index.php"> <img src="{THEME_URL}/icons/admintools.png" border="0" /> </a> </td>
|
|
67 |
<td class="description" valign="top"> <a href="{ADMIN_URL}/admintools/index.php"><div class="title">{ADMINTOOLS}</div></a>
|
|
68 |
{ADMINTOOLS_OVERVIEW}
|
|
69 |
</td>
|
|
70 |
</tr>
|
|
71 |
</table>
|
|
72 |
</td>
|
|
73 |
</tr>
|
|
74 |
</table>
|
|
75 | 75 |
<!-- END main_block --> |
Also available in: Unified diff
Ticket #911 Beginning to fix More CSS-errors in WB backend
add SVN- Revision to backend theme