Revision 1533
Added by Dietmar almost 13 years ago
branches/2.8.x/INSTALL | ||
---|---|---|
7 | 7 |
Step 2 - Download WebsiteBaker from http://www.websitebaker2.org/en/download/latest-version.php |
8 | 8 |
- Download "WebsiteBaker 2.8.2 [R1528] including ServicePack 2" |
9 | 9 |
- Unzip the package to your lokal machine |
10 |
- Download "Hotfix 2011/11/29" |
|
11 |
- Unzip the package to your lokal machine and overwrite "WebsiteBaker 2.8.2 [R1528] including ServicePack 2" |
|
10 | 12 |
- rename config.php.new to config.php |
11 | 13 |
- change favicon to your own |
12 | 14 |
- upload all files to your Webspace. |
... | ... | |
21 | 23 |
Step 5 - Upgrade-script: |
22 | 24 |
- Delete File upgrade-script.php |
23 | 25 |
|
24 |
Step 6 Fill in Admintool Droplets |
|
25 |
- After login to the backend, go to Menu Add-ons advanced |
|
26 |
Step 6 Fill in Admintool Droplets if empty after install |
|
27 |
- After login to the backend, check droplet by menu admin-tools |
|
28 |
- if droplet is empty go to Menu Add-ons advanced |
|
26 | 29 |
- in Execute module files manually File: "upgrade.php" or File: "install.php" |
27 | 30 |
- select droplets and click Execute |
28 | 31 |
|
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
=========================== add small Features 2.8.2 ========================== |
14 |
08 Dez-2011 Build 1533 Dietmar Woellbrink (Luisehahne) |
|
15 |
+ new backend theme handling (Tks to Stefek) |
|
16 |
# some fixes in install |
|
14 | 17 |
28 Nov-2011 Build 1532 Dietmar Woellbrink (Luisehahne) |
15 | 18 |
! small changes in INSTALL and UPGRADE (Tks to unawave2) |
16 | 19 |
! update upgrade-script showing from Version to Version (Tks to unawave2) |
branches/2.8.x/wb/upgrade-script.php | ||
---|---|---|
373 | 373 |
$drops = (!in_array ( "mod_droplets", $all_tables)) ? "<br />Install droplets<br />" : "<br />Upgrade droplets<br />"; |
374 | 374 |
echo $drops; |
375 | 375 |
|
376 |
$file_name = (!in_array ( "mod_droplets", $all_tables)) ? "install.php" : "upgrade.php";
|
|
376 |
$file_name = (!in_array ( "mod_droplets", $all_tables) ? "install.php" : "upgrade.php");
|
|
377 | 377 |
require_once (WB_PATH."/modules/droplets/".$file_name); |
378 | 378 |
|
379 | 379 |
// check again all tables, to get a new array |
... | ... | |
641 | 641 |
'[ADMIN]', |
642 | 642 |
'[MEDIA]', |
643 | 643 |
'[PAGES]', |
644 |
'[FRAMEWORK]', |
|
645 |
'[MODULES]', |
|
644 | 646 |
'[TEMPLATE]' |
645 | 647 |
); |
646 | 648 |
$replacements = array( |
647 | 649 |
substr(ADMIN_PATH, strlen(WB_PATH)+1), |
648 | 650 |
MEDIA_DIRECTORY, |
649 | 651 |
PAGES_DIRECTORY, |
650 |
'/templates', |
|
652 |
'/framework', |
|
653 |
'/modules', |
|
654 |
'/templates' |
|
651 | 655 |
); |
652 | 656 |
|
653 | 657 |
foreach( $filesRemove as $filesId ) |
... | ... | |
781 | 785 |
} |
782 | 786 |
echo '<br />Languages reloaded<br />'; |
783 | 787 |
|
784 |
|
|
785 | 788 |
/********************************************************** |
786 | 789 |
* - End of upgrade script |
787 | 790 |
*/ |
branches/2.8.x/wb/include/editarea/wb_wrapper_edit_area.php | ||
---|---|---|
87 | 87 |
min_width: $min_width, |
88 | 88 |
min_height: $min_height, |
89 | 89 |
allow_resize: '$allow_resize', |
90 |
allow_toggle: $allow_toggle,
|
|
90 |
allow_toggle: '$allow_toggle',
|
|
91 | 91 |
toolbar: '$toolbar', |
92 | 92 |
language: '$language' |
93 | 93 |
}); |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
52 | 52 |
|
53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.2'); |
55 |
if(!defined('REVISION')) define('REVISION', '1532');
|
|
55 |
if(!defined('REVISION')) define('REVISION', '1533');
|
|
56 | 56 |
if(!defined('SP')) define('SP', 'SP2'); |
branches/2.8.x/wb/framework/class.msg_queue.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* Description of class |
|
4 |
* |
|
5 |
* @author wkl |
|
6 |
*/ |
|
7 |
class msgQueue { |
|
8 |
|
|
9 |
const RETVAL_ARRAY = 0; |
|
10 |
const RETVAL_STRING = 1; // (default) |
|
11 |
|
|
12 |
private static $_instance; |
|
13 |
|
|
14 |
private $_error = array(); |
|
15 |
private $_success = array(); |
|
16 |
|
|
17 |
protected function __construct() { |
|
18 |
$this->_error = array(); |
|
19 |
$this->_success = array(); |
|
20 |
} |
|
21 |
private function __clone() { throw new Exception('cloning Class '.__CLASS__.' is illegal'); } |
|
22 |
|
|
23 |
public static function handle() |
|
24 |
{ |
|
25 |
if (!isset(self::$_instance)) { |
|
26 |
$c = __CLASS__; |
|
27 |
self::$_instance = new $c; |
|
28 |
} |
|
29 |
return self::$_instance; |
|
30 |
} |
|
31 |
|
|
32 |
public static function add($message = '', $type = false) |
|
33 |
{ |
|
34 |
if($type) |
|
35 |
{ |
|
36 |
self::handle()->_success[] = $message; |
|
37 |
}else |
|
38 |
{ |
|
39 |
self::handle()->_error[] = $message; |
|
40 |
} |
|
41 |
} |
|
42 |
|
|
43 |
public static function clear() |
|
44 |
{ |
|
45 |
self::handle()->_error = array(); |
|
46 |
self::handle()->_success = array(); |
|
47 |
} |
|
48 |
|
|
49 |
public static function isEmpty() |
|
50 |
{ |
|
51 |
return (sizeof(self::handle()->_success) == 0 && sizeof(self::handle()->_error) == 0 ); |
|
52 |
} |
|
53 |
|
|
54 |
public static function getError($retval_type = self::RETVAL_STRING) |
|
55 |
{ |
|
56 |
if(sizeof(self::handle()->_error)) |
|
57 |
{ |
|
58 |
if($retval_type == self::RETVAL_STRING) |
|
59 |
{ |
|
60 |
return implode('<br />', self::handle()->_error); |
|
61 |
}else |
|
62 |
{ |
|
63 |
return self::handle()->_error; |
|
64 |
} |
|
65 |
} |
|
66 |
} |
|
67 |
|
|
68 |
public static function getSuccess($retval_type = self::RETVAL_STRING) |
|
69 |
{ |
|
70 |
if(sizeof(self::handle()->_success)) |
|
71 |
{ |
|
72 |
if($retval_type == self::RETVAL_STRING) |
|
73 |
{ |
|
74 |
return implode('<br />', self::handle()->_success); |
|
75 |
}else |
|
76 |
{ |
|
77 |
return self::handle()->_success; |
|
78 |
} |
|
79 |
} |
|
80 |
} |
|
81 |
|
|
82 |
|
|
83 |
} |
|
84 |
?> |
|
0 | 85 |
branches/2.8.x/wb/framework/class.logfile.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category event logging |
|
5 |
* @package core |
|
6 |
* @author Independend-Software-Team |
|
7 |
* @author WebsiteBaker Project |
|
8 |
* @copyright 2009-2011, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.2 |
|
12 |
* @requirements PHP 5.2.2 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* @description definition of all core constants. |
|
17 |
*/ |
|
18 |
|
|
19 |
/** |
|
20 |
* Description of classlog |
|
21 |
* |
|
22 |
* @author wkl |
|
23 |
*/ |
|
24 |
class LogFile { |
|
25 |
|
|
26 |
private $_fh; // file-handle for logfile |
|
27 |
private $_log_path; // path to logfile |
|
28 |
private $_log_file; // name of logfile |
|
29 |
private $_error = false; // store internal errors |
|
30 |
/* |
|
31 |
* class can not be instanciated standalone |
|
32 |
*/ |
|
33 |
protected function __construct( $log_file ) |
|
34 |
{ |
|
35 |
$this->_log_file = $log_file; |
|
36 |
} |
|
37 |
|
|
38 |
/* |
|
39 |
* open the logfile for append |
|
40 |
*/ |
|
41 |
private function openLogFile() |
|
42 |
{ |
|
43 |
$this->_fh = fopen($this->_log_path.$this->_log_file, 'ab'); |
|
44 |
return isset($this->_fh); |
|
45 |
} |
|
46 |
/* |
|
47 |
* provide read-only properties |
|
48 |
*/ |
|
49 |
public function __get($property) |
|
50 |
{ |
|
51 |
switch(strtolower($property)): |
|
52 |
case 'error': |
|
53 |
return $this->_error; |
|
54 |
break; |
|
55 |
default: |
|
56 |
return null; |
|
57 |
endswitch; |
|
58 |
} |
|
59 |
/* |
|
60 |
* flush and close logfile |
|
61 |
*/ |
|
62 |
private function closeLogFile() |
|
63 |
{ |
|
64 |
if( isset($this->_fh) ) |
|
65 |
{ |
|
66 |
fflush($this->_fh); |
|
67 |
fclose($this->_fh); |
|
68 |
unset($this->_fh); |
|
69 |
} |
|
70 |
} |
|
71 |
|
|
72 |
/* |
|
73 |
* @param string $logdir: directory to place the logfile |
|
74 |
* @return bool: true if directory is valid and writeable |
|
75 |
* @description: |
|
76 |
*/ |
|
77 |
public function setLogDir( $logdir ) |
|
78 |
{ |
|
79 |
$this->_error = false; |
|
80 |
$retval = false; |
|
81 |
if( ($logdir = realpath($logdir)) ) |
|
82 |
{ |
|
83 |
$logdir = rtrim(str_replace('\\', '/', $logdir), '/'); |
|
84 |
if( defined('WB_PATH') ) |
|
85 |
{ |
|
86 |
$sysroot = WB_PATH; |
|
87 |
} |
|
88 |
else |
|
89 |
{ |
|
90 |
$script_filename = str_replace('\\', '/', $_SERVER['SCRIPT_FILENAME']); |
|
91 |
$script_name = str_replace('\\', '/', $_SERVER['SCRIPT_NAME']); |
|
92 |
$sysroot = str_replace($script_name, '', $script_filename); |
|
93 |
} |
|
94 |
if( stripos($logdir, $sysroot) === 0 ) |
|
95 |
{ |
|
96 |
if( is_writable($logdir)) |
|
97 |
{ |
|
98 |
if( file_exists($logdir.'/'.$this->_log_file) ) |
|
99 |
{ |
|
100 |
if( is_writable($logdir.'/'.$this->_log_file) ) |
|
101 |
{ |
|
102 |
$this->_log_path = $logdir.'/'; |
|
103 |
$retval = true; |
|
104 |
}else |
|
105 |
{ |
|
106 |
$this->_error = 'existing logfile is not writable! ['.$logdir.$this->_log_file.']'; |
|
107 |
} |
|
108 |
} |
|
109 |
else |
|
110 |
{ |
|
111 |
$this->_log_path = $logdir.'/'; |
|
112 |
$retval = true; |
|
113 |
} |
|
114 |
}else |
|
115 |
{ |
|
116 |
$this->_error = 'access denied for directory ['.$logdir.']'; |
|
117 |
} |
|
118 |
}else |
|
119 |
{ |
|
120 |
$this->_error = 'logdir [ '.$logdir.' ] points outside of DOCUMENT_ROOT [ '.$sysroot.' ]'; |
|
121 |
} |
|
122 |
}else |
|
123 |
{ |
|
124 |
$this->_error = 'logdir can not be resolved ['.$logdir.']'; |
|
125 |
} |
|
126 |
return $retval; |
|
127 |
} |
|
128 |
|
|
129 |
/* |
|
130 |
* @param string $line: preformatted message to write into the logfile |
|
131 |
* @return none: an error will throw a exception |
|
132 |
*/ |
|
133 |
protected function writeRaw( $message ) |
|
134 |
{ |
|
135 |
array_unshift( $message, (defined($_SESSION['USER_ID'])?$_SESSION['USER_ID']:0) ); |
|
136 |
array_unshift( $message, (isset($_SERVER['REMOTE_ADDR'])?$_SERVER['REMOTE_ADDR']:'#') ); |
|
137 |
array_unshift( $message, gmdate(DATE_W3C) ); |
|
138 |
if( isset($this->_log_path) ){ |
|
139 |
if($this->openLogFile()) |
|
140 |
{ |
|
141 |
if( fputcsv($this->_fh, $message, ',', '"') !== false ) |
|
142 |
{ |
|
143 |
$this->closeLogFile(); |
|
144 |
} |
|
145 |
else |
|
146 |
{ |
|
147 |
throw new Exception('unable to append line ['.$this->_log_path.$this->_log_file.']'); |
|
148 |
} |
|
149 |
} |
|
150 |
else |
|
151 |
{ |
|
152 |
throw new Exception('unable to open logfile ['.$this->_log_path.$this->_log_file.']'); |
|
153 |
} |
|
154 |
}else |
|
155 |
{ |
|
156 |
throw new Exception('undefined path for logfile ['.$this->_log_file.']'); |
|
157 |
} |
|
158 |
} |
|
159 |
|
|
160 |
} // end of class |
|
161 |
|
|
162 |
/* |
|
163 |
* Errorlog handler |
|
164 |
*/ |
|
165 |
class ErrorLog extends LogFile{ |
|
166 |
|
|
167 |
private static $_instance; |
|
168 |
|
|
169 |
protected function __construct() |
|
170 |
{ |
|
171 |
parent::__construct('error.log'); |
|
172 |
} |
|
173 |
|
|
174 |
private function __clone() {} |
|
175 |
|
|
176 |
public static function handle() |
|
177 |
{ |
|
178 |
if (!isset(self::$_instance)) { |
|
179 |
$c = __CLASS__; |
|
180 |
self::$_instance = new $c; |
|
181 |
} |
|
182 |
return self::$_instance; |
|
183 |
} |
|
184 |
|
|
185 |
/* |
|
186 |
* @param string $message: message to write into the logfile |
|
187 |
* @param string $file: (optional) name of the file where the error occures |
|
188 |
* @param string $function: (optional) name of the function where the error occures |
|
189 |
* @param string $line: (optional) number of the line where the error occures |
|
190 |
* @return none: an error will throw a exception |
|
191 |
*/ |
|
192 |
public function write( $message, $file = '#', $function = '#', $line = '#' ) |
|
193 |
{ |
|
194 |
if( !is_array($message) ) |
|
195 |
{ |
|
196 |
$message = array($file, $function, $line, $message); |
|
197 |
} |
|
198 |
self::handle()->writeRaw( $message ); |
|
199 |
} |
|
200 |
} // end of class |
|
201 |
|
|
202 |
/* |
|
203 |
* Accesslog handler |
|
204 |
*/ |
|
205 |
class AccessLog extends LogFile{ |
|
206 |
|
|
207 |
private static $_instance; |
|
208 |
|
|
209 |
protected function __construct() |
|
210 |
{ |
|
211 |
parent::__construct('access.log'); |
|
212 |
} |
|
213 |
|
|
214 |
private function __clone() {} |
|
215 |
|
|
216 |
public static function handle() |
|
217 |
{ |
|
218 |
if (!isset(self::$_instance)) { |
|
219 |
$c = __CLASS__; |
|
220 |
self::$_instance = new $c; |
|
221 |
} |
|
222 |
return self::$_instance; |
|
223 |
} |
|
224 |
|
|
225 |
/* |
|
226 |
* @param string $message: message to write into the logfile |
|
227 |
* @return none: an error will throw a exception |
|
228 |
*/ |
|
229 |
public function write( $message ) |
|
230 |
{ |
|
231 |
if( !is_array($message) ) |
|
232 |
{ |
|
233 |
$message = array($message); |
|
234 |
} |
|
235 |
self::handle()->writeRaw( $message ); |
|
236 |
} |
|
237 |
} // end of class |
|
238 |
|
|
239 |
|
|
240 |
?> |
|
0 | 241 |
branches/2.8.x/wb/templates/allcss/editor.css | ||
---|---|---|
1 |
/** |
|
2 |
* $Id$ |
|
3 |
* Website Baker template: allcss |
|
4 |
* This template is one of four basis templates distributed with Website Baker. |
|
5 |
* Feel free to modify or build up on this template. |
|
6 |
* |
|
7 |
* This file contains all CSS definitions required to display the template |
|
8 |
* in the Website Baker frontend. |
|
9 |
* |
|
10 |
* LICENSE: GNU General Public License |
|
11 |
* |
|
12 |
* @author Ryan Djurovich, C. Sommer |
|
13 |
* @copyright GNU General Public License |
|
14 |
* @license http://www.gnu.org/licenses/gpl.html |
|
15 |
* @version 2.70 |
|
16 |
* @platform Website Baker 2.7 |
|
17 |
* |
|
18 |
* Website Baker is free software; you can redistribute it and/or modify |
|
19 |
* it under the terms of the GNU General Public License as published by |
|
20 |
* the Free Software Foundation; either version 2 of the License, or |
|
21 |
* (at your option) any later version. |
|
22 |
* |
|
23 |
* Website Baker is distributed in the hope that it will be useful, |
|
24 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
25 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
26 |
* GNU General Public License for more details. |
|
27 |
*/ |
|
28 |
|
|
29 |
body,td,th { |
|
30 |
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
31 |
font-size: 12px; |
|
32 |
color: #000; |
|
33 |
} |
|
34 |
body { |
|
35 |
background-color: #F0F0F0; |
|
36 |
background-image: none; |
|
37 |
margin: 0; |
|
38 |
} |
|
39 |
a:link, a:visited, a:active { |
|
40 |
color: #603; |
|
41 |
text-decoration: none; |
|
42 |
} |
|
43 |
a:hover { |
|
44 |
color: #936; |
|
45 |
text-decoration: none; |
|
46 |
} |
|
47 |
hr { |
|
48 |
margin: 5px 0px 5px 0px; |
|
49 |
color: #603; |
|
50 |
border: 0; |
|
51 |
border-top: 1px solid #603; |
|
52 |
height: 1px; |
|
53 |
width: 580px; |
|
54 |
} |
|
55 |
h1 { |
|
56 |
font-size: 16px; |
|
57 |
color: #993366; |
|
58 |
text-align: left; |
|
59 |
margin: 8px 2px 8px 2px; |
|
60 |
} |
|
61 |
form { |
|
62 |
margin: 0; |
|
63 |
} |
|
64 |
.main { |
|
65 |
width: 750px; |
|
66 |
margin: auto; |
|
67 |
padding: 0; |
|
68 |
background-color: #FFF; |
|
69 |
} |
|
70 |
.banner, .search_box { |
|
71 |
height: 80px; |
|
72 |
background-image: url(images/header.jpg); |
|
73 |
background-repeat: repeat-x; |
|
74 |
font-size: 20px; |
|
75 |
font-weight: bold; |
|
76 |
color: #FFF; |
|
77 |
text-align: center; |
|
78 |
padding-top: 20px; |
|
79 |
} |
|
80 |
|
|
81 |
.banner { |
|
82 |
width: 530px; |
|
83 |
padding-left: 20px; |
|
84 |
float: left; |
|
85 |
text-align: left; |
|
86 |
} |
|
87 |
.search_box { |
|
88 |
float: right; |
|
89 |
clear: right; |
|
90 |
width: 200px; |
|
91 |
} |
|
92 |
.search_string { |
|
93 |
width: 100px; |
|
94 |
height: 16px; |
|
95 |
font-size: 10px; |
|
96 |
vertical-align: middle; |
|
97 |
} |
|
98 |
.search_submit { |
|
99 |
width: 50px; |
|
100 |
height: 22px; |
|
101 |
font-size: 10px; |
|
102 |
vertical-align: middle; |
|
103 |
} |
|
104 |
.highlight { |
|
105 |
background-color: #D0D0D0; |
|
106 |
} |
|
107 |
.banner a { |
|
108 |
color: #FFF; |
|
109 |
} |
|
110 |
.banner span { |
|
111 |
color: #D0D0D0; |
|
112 |
} |
|
113 |
|
|
114 |
.menu { |
|
115 |
float: left; |
|
116 |
width: 140px; |
|
117 |
margin: 10px; |
|
118 |
margin-top: 3px; |
|
119 |
} |
|
120 |
.menu ul, .menu li { |
|
121 |
margin: 0; |
|
122 |
padding: 0; |
|
123 |
list-style: none; |
|
124 |
margin-bottom: 5px; |
|
125 |
} |
|
126 |
.menu ul ul { |
|
127 |
padding-left: 8px; |
|
128 |
} |
|
129 |
.menu a:link, .menu a:visited, .menu a:active, .menu a:hover { |
|
130 |
display: block; |
|
131 |
padding: 2px; |
|
132 |
} |
|
133 |
.menu-default a:link, .menu-default a:visited, .menu-default a:active { |
|
134 |
border-bottom: 1px dashed #999; |
|
135 |
} |
|
136 |
.menu-default a:hover { |
|
137 |
border-bottom: 1px dashed #333; |
|
138 |
} |
|
139 |
|
|
140 |
.menu-current { |
|
141 |
border-bottom: 1px dashed #999; |
|
142 |
font-weight:bold; |
|
143 |
} |
|
144 |
|
|
145 |
.menu fieldset { |
|
146 |
border: 1px solid #D0D0D0; |
|
147 |
margin-top: 20px; |
|
148 |
margin-bottom: 5px; |
|
149 |
text-align: center; |
|
150 |
padding-bottom: 3px; |
|
151 |
} |
|
152 |
|
|
153 |
.menu legend { |
|
154 |
color: #603; |
|
155 |
font-size: 12px; |
|
156 |
text-transform: uppercase; |
|
157 |
font-weight: bold; |
|
158 |
text-align: center; |
|
159 |
} |
|
160 |
|
|
161 |
.menu input { |
|
162 |
text-transform: uppercase; |
|
163 |
font-size: 10px; |
|
164 |
margin: 5px 0px 1px 0px; |
|
165 |
width: 100px; |
|
166 |
} |
|
167 |
|
|
168 |
.content { |
|
169 |
margin-left: 150px; |
|
170 |
padding: 4px 10px 14px 10px; |
|
171 |
text-align: justify; |
|
172 |
clear: right; |
|
173 |
} |
|
174 |
.footer { |
|
175 |
background-color: #FFF; |
|
176 |
clear: both; |
|
177 |
height: 20px; |
|
178 |
background-image: url(images/footer.jpg); |
|
179 |
background-repeat: repeat-x; |
|
180 |
font-size: 10px; |
|
181 |
color: #666; |
|
182 |
text-align: center; |
|
183 |
line-height: 18px; |
|
184 |
} |
|
185 |
.powered_by { |
|
186 |
text-align: center; |
|
187 |
font-size: 10px; |
|
188 |
padding-top: 2px; |
|
189 |
} |
|
0 | 190 |
branches/2.8.x/wb/templates/round/editor.css | ||
---|---|---|
1 |
/** |
|
2 |
* $Id$ |
|
3 |
* Website Baker template: allcss |
|
4 |
* This template is one of four basis templates distributed with Website Baker. |
|
5 |
* Feel free to modify or build up on this template. |
|
6 |
* |
|
7 |
* This file contains all CSS definitions required to display the template |
|
8 |
* in the Website Baker frontend. |
|
9 |
* |
|
10 |
* LICENSE: GNU General Public License |
|
11 |
* |
|
12 |
* @author Ryan Djurovich, C. Sommer |
|
13 |
* @copyright GNU General Public License |
|
14 |
* @license http://www.gnu.org/licenses/gpl.html |
|
15 |
* @version 2.70 |
|
16 |
* @platform Website Baker 2.7 |
|
17 |
* |
|
18 |
* Website Baker is free software; you can redistribute it and/or modify |
|
19 |
* it under the terms of the GNU General Public License as published by |
|
20 |
* the Free Software Foundation; either version 2 of the License, or |
|
21 |
* (at your option) any later version. |
|
22 |
* |
|
23 |
* Website Baker is distributed in the hope that it will be useful, |
|
24 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
25 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
26 |
* GNU General Public License for more details. |
|
27 |
*/ |
|
28 |
|
|
29 |
body,td,th { |
|
30 |
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
31 |
font-size: 12px; |
|
32 |
color: #000; |
|
33 |
} |
|
34 |
body { |
|
35 |
background-color: #F0F0F0; |
|
36 |
background-image: none; |
|
37 |
background-repeat: repeat-x; |
|
38 |
margin: 10px; |
|
39 |
} |
|
40 |
a:link, a:visited, a:active { |
|
41 |
color: #036; |
|
42 |
text-decoration: none; |
|
43 |
} |
|
44 |
a:hover { |
|
45 |
color: #369; |
|
46 |
text-decoration: none; |
|
47 |
} |
|
48 |
hr { |
|
49 |
margin: 15px 0px 15px 0px; |
|
50 |
color: #036; |
|
51 |
height: 1px; |
|
52 |
width: 100%; |
|
53 |
} |
|
54 |
h1 { |
|
55 |
font-size: 18px; |
|
56 |
color: #036; |
|
57 |
margin: 5px 0px 5px 0px; |
|
58 |
} |
|
59 |
h2 { |
|
60 |
font-size: 15px; |
|
61 |
color: #369; |
|
62 |
margin: 15px 0px 5px 0px; |
|
63 |
} |
|
64 |
form { |
|
65 |
margin: 0; |
|
66 |
} |
|
67 |
.header { |
|
68 |
width: 750px; |
|
69 |
height: 80px; |
|
70 |
background-color: #FFF; |
|
71 |
vertical-align: top; |
|
72 |
} |
|
73 |
.menu { |
|
74 |
vertical-align: top; |
|
75 |
background-color: #FFF; |
|
76 |
width: 170px; |
|
77 |
padding: 0px; |
|
78 |
} |
|
79 |
.menu ul, .menu li{ |
|
80 |
list-style-type: none; |
|
81 |
margin: 0; |
|
82 |
padding: 0; |
|
83 |
} |
|
84 |
.menu ul { |
|
85 |
border-bottom: 0px; |
|
86 |
background-color: #036; |
|
87 |
} |
|
88 |
.menu ul ul { |
|
89 |
padding-left: 10px; |
|
90 |
} |
|
91 |
.menu a:link, .menu a:visited, .menu a:active { |
|
92 |
padding: 4px 10px 4px 10px; |
|
93 |
color: #FFF; |
|
94 |
display: block; |
|
95 |
background-color: #036; |
|
96 |
text-decoration: none; |
|
97 |
} |
|
98 |
.menu a:hover { |
|
99 |
background-color: #369; |
|
100 |
text-decoration: none; |
|
101 |
} |
|
102 |
.menu-current { |
|
103 |
font-weight: bold; |
|
104 |
} |
|
105 |
.highlight { |
|
106 |
background-color: #D0D0D0; |
|
107 |
} |
|
108 |
.border { |
|
109 |
font-size: 1px; |
|
110 |
height: 10px; |
|
111 |
} |
|
112 |
.login { |
|
113 |
padding: 2px 10px 2px 10px; |
|
114 |
font-size: 10px; |
|
115 |
background-color: #036; |
|
116 |
color: #FFF; |
|
117 |
text-align: center; |
|
118 |
} |
|
119 |
.login input { |
|
120 |
width: 95%; |
|
121 |
font-size: 10px; |
|
122 |
} |
|
123 |
.login a:link, .login a:visited, .login a:active { |
|
124 |
color: #DDD; |
|
125 |
text-decoration: none; |
|
126 |
} |
|
127 |
.login a:hover { |
|
128 |
color: #FFF; |
|
129 |
text-decoration: none; |
|
130 |
} |
|
131 |
.powered_by { |
|
132 |
padding: 3px 0px 0px 15px; |
|
133 |
background-color: #FFF; |
|
134 |
} |
|
135 |
.content { |
|
136 |
padding: 10px; |
|
137 |
background-color: #FFF; |
|
138 |
height: 300px; |
|
139 |
vertical-align: top; |
|
140 |
text-align: left; |
|
141 |
} |
|
142 |
.footer { |
|
143 |
padding: 5px; |
|
144 |
height: 20px; |
|
145 |
color: #FFF; |
|
146 |
vertical-align: middle; |
|
147 |
text-align: center; |
|
148 |
} |
|
0 | 149 |
branches/2.8.x/wb/templates/wb_theme/templates/backup/addons.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
<div class="box"> |
|
3 |
{URL_ADVANCED} |
|
4 |
</div> |
|
5 |
|
|
6 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="99%" align="center"> |
|
7 |
<tr> |
|
8 |
<td align="center" valign="top"> |
|
9 |
<!-- BEGIN modules_block --> |
|
10 |
<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_MODULES} > |
|
11 |
<tr> |
|
12 |
<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/modules/index.php"><img src="{THEME_URL}/icons/modules.png" alt="0" /></a></td> |
|
13 |
<td class="title"><a href="{ADMIN_URL}/modules/index.php">{MODULES}</a></td> |
|
14 |
</tr> |
|
15 |
<tr> |
|
16 |
<td class="description">{MODULES_OVERVIEW}</td> |
|
17 |
</tr> |
|
18 |
</table> |
|
19 |
<!-- END modules_block --> |
|
20 |
<!-- BEGIN templates_block --> |
|
21 |
<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_TEMPLATES} > |
|
22 |
<tr> |
|
23 |
<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/templates/index.php"><img src="{THEME_URL}/icons/templates.png" alt="{TEMPLATES}" /></a></td> |
|
24 |
<td class="title"><a href="{ADMIN_URL}/templates/index.php">{TEMPLATES}</a></td> |
|
25 |
</tr> |
|
26 |
<tr> |
|
27 |
<td class="description">{TEMPLATES_OVERVIEW}</td> |
|
28 |
</tr> |
|
29 |
</table> |
|
30 |
<!-- END templates_block --> |
|
31 |
<!-- BEGIN languages_block --> |
|
32 |
<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_LANGUAGES} > |
|
33 |
<tr> |
|
34 |
<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/languages/index.php"><img src="{THEME_URL}/icons/languages.png" alt="{LANGUAGES}" /></a></td> |
|
35 |
<td class="title"><a href="{ADMIN_URL}/languages/index.php">{LANGUAGES}</a></td> |
|
36 |
</tr> |
|
37 |
<tr> |
|
38 |
<td class="description">{LANGUAGES_OVERVIEW}</td> |
|
39 |
</tr> |
|
40 |
</table> |
|
41 |
<!-- END languages_block --> |
|
42 |
<!-- BEGIN reload_block --> |
|
43 |
<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_RELOAD} > |
|
44 |
<tr> |
|
45 |
<td class="graphic" align="center" valign="middle" rowspan="2"><img src="{THEME_URL}/icons/admintools.png" alt="{TXT_ADMIN_SETTINGS}" /></td> |
|
46 |
<td class="title">{TXT_ADMIN_SETTINGS}</td> |
|
47 |
</tr> |
|
48 |
<tr> |
|
49 |
<td class="description"> |
|
50 |
<form action="{RELOAD_URL}" method="post"> |
|
51 |
{FTAN} |
|
52 |
{MESSAGE_RELOAD_ADDONS}<br style="margin-bottom: 0.5em" /> |
|
53 |
<input {DISPLAY_MODULES} type="checkbox" name="reload_modules" id="reload_modules" value="true" /> |
|
54 |
<label {DISPLAY_MODULES} for="reload_modules">{MODULES}</label> |
|
55 |
<input {DISPLAY_TEMPLATES} type="checkbox" name="reload_templates" id="reload_templates" value="true" /> |
|
56 |
<label {DISPLAY_TEMPLATES} for="reload_templates">{TEMPLATES}</label> |
|
57 |
<input {DISPLAY_LANGUAGES} type="checkbox" name="reload_languages" id="reload_languages" value="true" /> |
|
58 |
<label {DISPLAY_LANGUAGES} for="reload_languages">{LANGUAGES}</label> |
|
59 |
<input type="submit" name="submit" value="{TEXT_RELOAD}" /> |
|
60 |
</form> |
|
61 |
</td> |
|
62 |
</tr> |
|
63 |
</table> |
|
64 |
<!-- END reload_block --> |
|
65 |
</td> |
|
66 |
</tr> |
|
67 |
</table> |
|
68 |
|
|
69 |
<!-- END main_block --> |
branches/2.8.x/wb/templates/wb_theme/templates/backup/media_browse.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
4 |
<head> |
|
5 |
<title>Browse Media</title> |
|
6 |
<link href="{THEME_URL}/media.css" rel="stylesheet" type="text/css" /> |
|
7 |
<link href="{THEME_URL}/jquery/plugins/fancybox/fancybox.css" rel="stylesheet" type="text/css" /> |
|
8 |
<script type="text/javascript"> |
|
9 |
function confirm_link(message, url) { |
|
10 |
if(confirm(message)) location.href = url; |
|
11 |
} |
|
12 |
</script> |
|
13 |
|
|
14 |
<script src="{INCLUDE_PATH}/jquery/jquery-min.js" type="text/javascript"></script> |
|
15 |
<script src="{THEME_URL}/jquery/jquery-fixedheader.js" type="text/javascript"></script> |
|
16 |
<script src="{THEME_URL}/jquery/plugins/fancybox/jquery-fancybox.js" type="text/javascript"></script> |
|
17 |
<script src="{THEME_URL}/jquery/jquery-metadata.js" type="text/javascript"></script> |
|
18 |
|
|
19 |
<script language="javascript" type="text/javascript"> |
|
20 |
$(document).ready(function(){ |
|
21 |
$("#browser").fixedHeader({ |
|
22 |
width: '100%', height: 355 |
|
23 |
}); |
|
24 |
|
|
25 |
$("table#browser a.preview").fancybox({ |
|
26 |
'hideOnContentClick': true, |
|
27 |
'overlayShow': true, |
|
28 |
'zoomSpeedIn': 0, |
|
29 |
'zoomSpeedOut': 0 |
|
30 |
}); |
|
31 |
}) |
|
32 |
</script> |
|
33 |
|
|
34 |
</head> |
|
35 |
<body onload="parent.document.create.target.value = '{MEDIA_DIRECTORY}{CURRENT_DIR}'; parent.document.upload.target.value = '{MEDIA_DIRECTORY}{CURRENT_DIR}';"> |
|
36 |
<table summary="" cellpadding="4" cellspacing="0" border="0" width="100%" class="browse_header"> |
|
37 |
<tr> |
|
38 |
<td align="left" width="100"> |
|
39 |
<a href="{PARENT_DIR_LINK}"> |
|
40 |
<img src="{THEME_URL}/images/up_folder_16.png" border="0" class="{DISPLAY_UP_ARROW}" alt="^" /> |
|
41 |
</a> |
|
42 |
<a href="{PARENT_DIR_LINK}" class="{DISPLAY_UP_ARROW}"> |
|
43 |
{TEXT_UP} |
|
44 |
</a> |
|
45 |
</td> |
|
46 |
<td align="center"> |
|
47 |
{TEXT_CURRENT_FOLDER}: {MEDIA_DIRECTORY}{CURRENT_DIR} |
|
48 |
</td> |
|
49 |
<td align="right" width="100" > |
|
50 |
<a href="browse.php?dir={CURRENT_DIR}"> |
|
51 |
<img src="{THEME_URL}/images/reload_16.png" border="0" alt="" /> |
|
52 |
</a> |
|
53 |
<a id="reload" href="browse.php?dir={CURRENT_DIR}"> |
|
54 |
{TEXT_RELOAD} |
|
55 |
</a> |
|
56 |
</td> |
|
57 |
</tr> |
|
58 |
</table> |
|
59 |
|
|
60 |
<table summary="" id="browser" cellpadding="4" cellspacing="0" border="0" width="100%" class="{DISPLAY_LIST_TABLE}"> |
|
61 |
<thead> |
|
62 |
<tr style="background-color: #EEE;"> |
|
63 |
<th width="18" class="headline">{TEXT_TYPE}</th> |
|
64 |
<th align="left" class="headline">{TEXT_NAME}</th> |
|
65 |
<th align="right" width="80" class="headline">{TEXT_SIZE}</th> |
|
66 |
<th align="right" width="80" class="headline">{TEXT_DATE}</th> |
|
67 |
<th align="right" width="40" class="headline">{TEXT_RENAME}</th> |
|
68 |
<th align="right" width="40" class="headline">{TEXT_DELETE}</th> |
|
69 |
<th align="right" width="40" class="headline"> </th> |
|
70 |
</tr> |
|
71 |
</thead> |
|
72 |
<tbody> |
|
73 |
<!-- BEGIN list_block --> |
|
74 |
<tr style="background-color: #{ROW_BG_COLOR}" onmouseover="this.style.backgroundColor = '#F1F8DD'" onmouseout="this.style.backgroundColor = '#{ROW_BG_COLOR}'"> |
|
75 |
<td style="padding-left: 10px;"> |
|
76 |
<img src="{FILETYPE_ICON}" class="{DISPLAY_ICON}" border="0" alt="" /> |
|
77 |
</td> |
|
78 |
<td> |
|
79 |
<a href="{LINK}" target="{LINK_TARGET}" class="{PREVIEW}"> |
|
80 |
{NAME} |
|
81 |
</a> |
|
82 |
</td> |
|
83 |
<td align="right" style="font-size: 10px;">{SIZE}</td> |
|
84 |
<td align="right" style="font-size: 10px;">{DATE}</td> |
|
85 |
<td align="right" class="{DISPLAY_RENAME}"> |
|
86 |
<a href="rename.php?dir={CURRENT_DIR}&id={TEMP_ID}" title="{TEXT_RENAME}"> |
|
87 |
<img src="{THEME_URL}/images/modify_16.png" alt="" border="0" /> |
|
88 |
</a> |
|
89 |
</td> |
|
90 |
<td style="padding-right: 5px;" align="right" class="{DISPLAY_DELETE}"> |
|
91 |
<a href="#" onclick="javascript: confirm_link('{CONFIRM_DELETE}\n {NAME_SLASHED}', 'delete.php?dir={CURRENT_DIR}&id={TEMP_ID}');" title="{TEXT_DELETE}"> |
|
92 |
<img src="{THEME_URL}/images/delete_16.png" alt="" border="0" /> |
|
93 |
</a> |
|
94 |
</td> |
|
95 |
<td width="16" align="right" class=""> |
|
96 |
<img src="{THEME_URL}/images/{IMAGE_EXIST}" title="{IMAGE_TITLE}" alt="{IMAGE_TITLE}" /> |
|
97 |
</td> |
|
98 |
</tr> |
|
99 |
<!-- END list_block --> |
|
100 |
</tbody> |
|
101 |
</table> |
|
102 |
|
|
103 |
<span class="{DISPLAY_NONE_FOUND}"> |
|
104 |
<br /> |
|
105 |
|
|
106 |
{NONE_FOUND} |
|
107 |
</span> |
|
108 |
|
|
109 |
</body> |
|
110 |
</html> |
|
111 |
|
|
112 |
<!-- END main_block --> |
branches/2.8.x/wb/templates/wb_theme/templates/backup/users.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
|
|
3 |
<form name="users" action="users.php" method="post"> |
|
4 |
<input type="hidden" name="status" value="{USER_STATUS}" /> |
|
5 |
{FTAN} |
|
6 |
|
|
7 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%"> |
|
8 |
<tr> |
|
9 |
<td align="left"> |
|
10 |
<h2>{HEADING_MODIFY_DELETE_USER}</h2> |
|
11 |
</td> |
|
12 |
<td align="right"> |
|
13 |
<!-- BEGIN manage_groups_block --> |
|
14 |
<a href="{ADMIN_URL}/groups/index.php">{TEXT_MANAGE_GROUPS}</a> |
|
15 |
<!-- END manage_groups_block --> |
|
16 |
</td> |
|
17 |
</tr> |
|
18 |
</table> |
|
19 |
<button type="button" name="status" title="{TEXT_USERS}" style="width: 40px; background: {STATUS_ICON} no-repeat center" value="{USER_STATUS}" onclick="javascript: window.location = 'index.php?status={USER_STATUS}';" class="status {DISPLAY_MODIFY}" > </button> |
|
20 |
<select name="user_id" style="width: 500px;"> |
|
21 |
<!-- BEGIN list_block --> |
|
22 |
<option value="{VALUE}" {STATUS}>{NAME}</option> |
|
23 |
<!-- END list_block --> |
|
24 |
</select> |
|
25 |
|
|
26 |
<input type="submit" name="modify" style="width: 100px;" value="{TEXT_MODIFY}" class="{DISPLAY_MODIFY}" /> |
|
27 |
<input type="submit" name="delete" style="width: 100px;" value="{TEXT_DELETE}" onclick="return confirm('{CONFIRM_DELETE}');" class="{DISPLAY_DELETE}" /> |
|
28 |
|
|
29 |
</form> |
|
30 |
|
|
31 |
<br /> |
|
32 |
<h2 style="margin-top: 20px;" class="{DISPLAY_ADD}">{HEADING_ADD_USER}</h2> |
|
33 |
|
|
34 |
<!-- END main_block --> |
branches/2.8.x/wb/templates/wb_theme/templates/backup/access.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
|
|
3 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="99%" align="center"> |
|
4 |
<tr> |
|
5 |
<td align="center" valign="top"> |
|
6 |
<!-- BEGIN users_block --> |
|
7 |
<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_USERS} > |
|
8 |
<tr> |
|
9 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
|
10 |
<a href="{ADMIN_URL}/users/index.php"> |
|
11 |
<img src="{THEME_URL}/icons/users.png" alt="{USERS}" /> |
|
12 |
</a> |
|
13 |
</td> |
|
14 |
<td class="title"> |
|
15 |
<a href="{ADMIN_URL}/users/index.php">{USERS}</a> |
|
16 |
</td> |
|
17 |
</tr> |
|
18 |
<tr> |
|
19 |
<td class="description"> |
|
20 |
{USERS_OVERVIEW} |
|
21 |
</td> |
|
22 |
</tr> |
|
23 |
</table> |
|
24 |
<!-- END users_block --> |
|
25 |
<!-- BEGIN groups_block --> |
|
26 |
<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_GROUPS} > |
|
27 |
<tr> |
|
28 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
|
29 |
<a href="{ADMIN_URL}/groups/index.php"> |
|
30 |
<img src="{THEME_URL}/icons/groups.png" alt="{GROUPS}" /> |
|
31 |
</a> |
|
32 |
</td> |
|
33 |
<td class="title"> |
|
34 |
<a href="{ADMIN_URL}/groups/index.php">{GROUPS}</a> |
|
35 |
</td> |
|
36 |
</tr> |
|
37 |
<tr> |
|
38 |
<td class="description"> |
|
39 |
{GROUPS_OVERVIEW} |
|
40 |
</td> |
|
41 |
</tr> |
|
42 |
</table> |
|
43 |
<!-- END groups_block --> |
|
44 |
</td> |
|
45 |
</tr> |
|
46 |
</table> |
|
47 |
|
|
48 |
<!-- END main_block --> |
branches/2.8.x/wb/templates/wb_theme/templates/backup/preferences.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
<h2>{HEADING_MY_SETTINGS}</h2> |
|
3 |
<div class="content_box"> |
|
4 |
<form name="{FORM_NAME}" id="{FORM_NAME}" action="{ACTION_URL}" method="post"> |
|
5 |
{FTAN} |
|
6 |
<div class="subcolumns"> |
|
7 |
<div class="c25l"> |
|
8 |
<label>{TEXT_USERNAME}:</label><br /> |
|
9 |
</div> |
|
10 |
<div class="c60l"> |
|
11 |
<div id="username">{USERNAME}</div><br /> |
|
12 |
</div> |
|
13 |
</div> |
|
14 |
<div class="subcolumns"> |
|
15 |
<div class="c25l"> |
|
16 |
<label>{TEXT_DISPLAY_NAME}:</label><br /> |
|
17 |
</div> |
|
18 |
<div class="c60l"> |
|
19 |
<input type="text" id="display_name" name="display_name" value="{DISPLAY_NAME}" /><br /> |
|
20 |
</div> |
|
21 |
</div> |
|
22 |
<div class="subcolumns"> |
|
23 |
<div class="c25l"> |
|
24 |
<label>{TEXT_LANGUAGE}:</label><br /> |
|
25 |
</div> |
|
26 |
<div class="c60l"> |
|
27 |
<select name="language" id="language"> |
|
28 |
<!-- BEGIN language_list_block --> |
|
29 |
<option value="{CODE}"{SELECTED} style="background: url({FLAG}.png) no-repeat center left; padding-left: 20px;">{NAME} ({CODE})</option> |
|
30 |
<!-- END language_list_block --> |
|
31 |
</select> |
|
32 |
</div> |
|
33 |
</div> |
|
34 |
<div class="subcolumns"> |
|
35 |
<div class="c25l"> |
|
36 |
<label>{TEXT_TIMEZONE}:</label><br /> |
|
37 |
</div> |
|
38 |
<div class="c60l"> |
|
39 |
<select name="timezone" id="timezone"> |
|
40 |
<!-- BEGIN timezone_list_block --> |
|
41 |
<option value="{VALUE}"{SELECTED}>{NAME}</option> |
|
42 |
<!-- END timezone_list_block --> |
|
43 |
</select> |
|
44 |
</div> |
|
45 |
</div> |
|
46 |
<div class="subcolumns"> |
|
47 |
<div class="c25l"> |
|
48 |
<label>{TEXT_DATE_FORMAT}:</label><br /> |
|
49 |
</div> |
|
50 |
<div class="c60l"> |
|
51 |
<select name="date_format" id="date_format"> |
|
52 |
<!-- BEGIN date_format_list_block --> |
|
53 |
<option value="{VALUE}"{SELECTED}>{NAME}</option> |
|
54 |
<!-- END date_format_list_block --> |
|
55 |
</select> |
|
56 |
</div> |
|
57 |
</div> |
|
58 |
<div class="subcolumns"> |
|
59 |
<div class="c25l"> |
|
60 |
<label>{TEXT_TIME_FORMAT}:</label><br /> |
|
61 |
</div> |
|
62 |
<div class="c60l"> |
|
63 |
<select name="time_format" id="time_format"> |
|
64 |
<!-- BEGIN time_format_list_block --> |
|
65 |
<option value="{VALUE}"{SELECTED}>{NAME}</option> |
|
66 |
<!-- END time_format_list_block --> |
|
67 |
</select> |
|
68 |
</div> |
|
69 |
</div> |
|
70 |
|
|
71 |
<div class="subcolumns"> |
|
72 |
<div class="c25l"> |
|
73 |
<label>{TEXT_EMAIL}:</label><br /> |
|
74 |
</div> |
|
75 |
<div class="c60l"> |
|
76 |
<input type="text" id="email" name="email" value="{EMAIL}" /><br /> |
|
77 |
</div> |
|
78 |
</div> |
|
79 |
<div class="subcolumns"> |
|
80 |
<div class="c25l"> |
|
81 |
<label>{TEXT_NEW_PASSWORD}:</label><br /> |
|
82 |
</div> |
|
83 |
<div class="c60l"> |
|
84 |
<input type="password" id="new_password_1" name="new_password_1" value="{EMPTY_STRING}" /><br /> |
|
85 |
</div> |
|
86 |
</div> |
|
87 |
<div class="subcolumns"> |
|
88 |
<div class="c25l"> |
|
89 |
<label>{TEXT_RETYPE_NEW_PASSWORD}:</label><br /> |
|
90 |
</div> |
|
91 |
<div class="c60l"> |
|
92 |
<input type="password" id="new_password_2" name="new_password_2" value="{EMPTY_STRING}" /><br /> |
|
93 |
</div> |
|
94 |
</div> |
|
95 |
<hr /> |
|
96 |
<div class="subcolumns"> |
|
97 |
<div class="c25l"> |
|
98 |
<label>{TEXT_NEED_CURRENT_PASSWORD}:</label><br /> |
|
99 |
</div> |
|
100 |
<div class="c60l"> |
|
101 |
<input type="password" id="current_password" name="current_password" value="{EMPTY_STRING}" /><br /> |
|
102 |
</div> |
|
103 |
</div> |
|
104 |
<div class="subcolumns save_section"> |
|
105 |
<div class="c60l"> |
|
106 |
<input type="submit" id="submit" name="submit" value="{TEXT_SAVE}" /> |
|
107 |
<input type="reset" id="reset" name="reset" value="{TEXT_RESET}" /> |
|
108 |
</div> |
|
109 |
<div class="c25l"> </div> |
|
110 |
</div> |
|
111 |
</form> |
|
112 |
</div> |
|
113 |
|
|
114 |
<!-- END main_block --> |
branches/2.8.x/wb/templates/wb_theme/templates/backup/media_rename.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
4 |
<head> |
|
5 |
<title>Rename Media</title> |
|
6 |
<link href="{THEME_URL}/media.css" rel="stylesheet" type="text/css" /> |
|
7 |
</head> |
|
8 |
<body> |
|
9 |
|
|
10 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> |
|
11 |
<tr> |
|
12 |
<td class="rename"> |
|
13 |
<form name="rename" action="rename2.php" method="post"> |
|
14 |
<input type="hidden" name="dir" value="{DIR}" /> |
|
15 |
<input type="hidden" name="old_name" value="{FILENAME}" /> |
|
16 |
<input type="hidden" name="id" value="{FILE_ID}" /> |
|
17 |
{FTAN} |
|
18 |
<table summary="" cellpadding="5" cellspacing="0" border="0" width="400" align="center"> |
|
19 |
<tr> |
|
20 |
<td align="center" colspan="2">{TEXT_RENAME} '{FILENAME}' {TEXT_TO}:</td> |
|
21 |
</tr> |
|
22 |
<tr> |
|
23 |
<td> |
|
24 |
<input type="text" name="name" style="width: 100%;" /> |
|
25 |
<script type="text/javascript" language="javascript"> |
|
26 |
document.rename.name.focus(); |
|
27 |
</script> |
|
28 |
</td> |
|
29 |
<td width="50" class="{DISPlAY_EXTENSION}"> |
|
30 |
<input type="text" name="extension" style="width: 50px;" value="{EXTENSION}" /> |
|
31 |
</td> |
|
32 |
</tr> |
|
33 |
<tr> |
|
34 |
<td colspan="2"> |
|
35 |
<input type="checkbox" name="overwrite" id="overwrite" value="yes" /> |
|
36 |
<label for="overwrite"> |
|
37 |
{TEXT_OVERWRITE_EXISTING} {TYPE} |
|
38 |
</label> |
|
39 |
</td> |
|
40 |
</tr> |
|
41 |
<tr> |
|
42 |
<td colspan="2"> |
|
43 |
<input type="submit" name="submit" value="{TEXT_RENAME}" style="width: 49%;" /> |
|
44 |
<input type="button" name="cancel" value="{TEXT_CANCEL}" style="width: 49%;" onclick="javascript: window.location = 'browse.php';" /> |
|
45 |
</td> |
|
46 |
</tr> |
|
47 |
</table> |
|
48 |
|
|
49 |
</form> |
|
50 |
|
|
51 |
</td> |
|
52 |
</tr> |
|
53 |
</table> |
|
54 |
|
|
55 |
</body> |
|
56 |
</html> |
|
57 |
|
|
58 |
<!-- END main_block --> |
branches/2.8.x/wb/templates/wb_theme/templates/backup/languages.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
|
|
3 |
<div class="box"> |
|
4 |
{URL_MODULES} {URL_TEMPLATES} |
|
5 |
</div> |
|
6 |
|
|
7 |
<form name="install" enctype="multipart/form-data" action="install.php" method="post" class="{DISPLAY_INSTALL}"> |
|
8 |
{FTAN} |
|
9 |
<h2>{HEADING_INSTALL_LANGUAGE}</h2> |
|
10 |
<table summary="" cellpadding="2" cellspacing="0" border="0" width="100%"> |
|
11 |
<tr> |
|
12 |
<td> |
|
13 |
<input type="file" name="userfile" size="82" /> |
|
14 |
<script language="javascript" type="text/javascript"> |
|
15 |
document.install.userfile.focus(); |
|
16 |
</script> |
|
17 |
</td> |
|
18 |
<td width="110" align="left"> |
|
19 |
<input type="submit" name="submit" value="{TEXT_INSTALL}" style="width: 100px;" /> |
|
20 |
</td> |
|
21 |
</tr> |
|
22 |
</table> |
|
23 |
|
|
24 |
<br /> |
|
25 |
|
|
26 |
</form> |
|
27 |
|
|
28 |
<form name="uninstall" action="uninstall.php" method="post" class="{DISPLAY_UNINSTALL}"> |
|
29 |
{FTAN} |
|
30 |
<h2>{HEADING_UNINSTALL_LANGUAGE}</h2> |
|
31 |
|
|
32 |
<table summary="" cellpadding="2" cellspacing="0" border="0" width="100%"> |
|
33 |
<tr> |
|
34 |
<td> |
|
35 |
<select name="code" style="width: 97%;"> |
|
36 |
<option value="" selected="selected">{TEXT_PLEASE_SELECT}...</option> |
|
37 |
<!-- BEGIN language_list_block --> |
|
38 |
<option value="{VALUE}">{NAME}</option> |
|
39 |
<!-- END language_list_block --> |
|
40 |
</select> |
|
41 |
</td> |
|
42 |
<td width="110"> |
|
43 |
<input type="submit" name="submit" value="{TEXT_UNINSTALL}" style="width: 100px;" /> |
|
44 |
</td> |
|
45 |
</tr> |
|
46 |
</table> |
|
47 |
|
|
48 |
<br /> |
|
49 |
|
|
50 |
</form> |
|
51 |
|
|
52 |
<form name="details" action="details.php" method="post" class="{DISPLAY_LIST}"> |
|
53 |
{FTAN} |
|
54 |
<h2>{HEADING_LANGUAGE_DETAILS}</h2> |
|
55 |
|
|
56 |
<table summary="" cellpadding="2" cellspacing="0" border="0" width="100%"> |
|
57 |
<tr> |
|
58 |
<td> |
|
59 |
<select name="code" style="width: 97%;"> |
|
60 |
<option value="" selected="selected">{TEXT_PLEASE_SELECT}...</option> |
|
61 |
<!-- BEGIN language_list_block --> |
|
62 |
<option value="{VALUE}">{NAME}</option> |
|
63 |
<!-- END language_list_block --> |
|
64 |
</select> |
|
65 |
</td> |
|
66 |
<td width="110"> |
|
67 |
<input type="submit" name="submit" value="{TEXT_VIEW_DETAILS}" style="width: 100px;" /> |
|
68 |
</td> |
|
69 |
</tr> |
|
70 |
</table> |
|
71 |
|
|
72 |
<br /> |
|
73 |
</form> |
|
74 |
|
|
75 |
<!-- END main_block --> |
branches/2.8.x/wb/templates/wb_theme/templates/backup/admintools.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
|
|
3 |
<table summary="" cellpadding="3" cellspacing="0" border="0" align="center" width="100%" class="tool_table"> |
|
4 |
|
|
5 |
<tr class="advanced"> |
|
6 |
<td colspan="3"> |
|
7 |
<a name="administration_tools"></a> |
|
8 |
<h2>{HEADING_ADMINISTRATION_TOOLS}</h2> |
|
9 |
</td> |
|
10 |
</tr> |
|
11 |
<tr> |
|
12 |
<td colspan="3"> |
|
13 |
<ul> |
|
14 |
<!-- BEGIN tool_list_block --> |
|
15 |
<li> |
|
16 |
<a href="{ADMIN_URL}/admintools/tool.php?tool={TOOL_DIR}">{TOOL_NAME}</a> |
|
17 |
<br />{TOOL_DESCRIPTION} |
|
18 |
</li> |
|
19 |
<!-- END tool_list_block --> |
|
20 |
</ul> |
|
21 |
{TOOL_LIST} |
|
22 |
</td> |
|
23 |
<td> |
|
24 |
|
|
25 |
</td> |
|
26 |
<td> </td> |
|
27 |
</tr> |
|
28 |
</table> |
|
29 |
|
|
30 |
<!-- END main_block --> |
branches/2.8.x/wb/templates/wb_theme/templates/backup/media.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
|
|
3 |
<script src="{THEME_URL}/jquery/toggle_zip.js" type="text/javascript"></script> |
|
4 |
|
|
5 |
<h2>{HEADING_BROWSE_MEDIA}</h2> |
|
6 |
|
|
7 |
<iframe width="100%" height="382" src="browse.php" scrolling="no"></iframe> |
|
8 |
<br /> |
|
9 |
<form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}"> |
|
10 |
{FTAN} |
|
11 |
<h2>{HEADING_CREATE_FOLDER}</h2> |
|
12 |
|
|
13 |
<table summary="" 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 summary="" 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 |
{FTAN} |
|
42 |
<br /> |
|
43 |
|
|
44 |
<h2>{HEADING_UPLOAD_FILES}</h2> |
|
45 |
|
|
46 |
<table summary="" 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> |
|
59 |
<table summary="" cellpadding="3" cellspacing="0" border="0" align="center" width="100%"> |
|
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> |
|
65 |
</td> |
|
66 |
<td valign="top"><input type="checkbox" name="overwrite" id="overwrite" value="yes" /><label for="overwrite">{TEXT_OVERWRITE_EXISTING}{TEXT_FILES}</label> </td> |
|
67 |
<td width="160" valign="top"><input type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" style="width: 160px;" /></td> |
|
68 |
</tr> |
|
69 |
</table> |
|
70 |
<table summary="" cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
71 |
<tr> |
|
72 |
<td width="50%" align="left"><input type="file" size="27" name="file1" /></td> |
|
73 |
<td width="50%" align="right"><input type="file" size="27" name="file2" id="file2" style="visibility: visible;" /></td> |
|
74 |
</tr> |
|
75 |
<tr> |
|
76 |
<td width="50%" align="left"><input type="file" size="27" name="file3" id="file3" style="visibility: visible;" /></td> |
|
77 |
<td width="50%" align="right"><input type="file" size="27" name="file4" id="file4" style="visibility: visible;" /></td> |
|
78 |
</tr> |
Also available in: Unified diff
new backend theme handling (Tks to Stefek)
some fixes in install