Revision 1625
Added by Dietmar over 12 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
=============================================================================== |
13 | 13 |
|
14 |
29 Feb-2012 Build 1625 Dietmar Woellbrink (Luisehahne) |
|
15 |
! update correct_theme_source and fixed the call in all files |
|
14 | 16 |
29 Feb-2012 Build 1624 Dietmar Woellbrink (Luisehahne) |
15 | 17 |
# fixed index warning in form modul (Tks to DBS) |
16 | 18 |
29 Feb-2012 Build 1623 Dietmar Woellbrink (Luisehahne) |
branches/2.8.x/wb/upgrade-script.php | ||
---|---|---|
76 | 76 |
'[TEMPLATE]/argos_theme/templates/groups_form.htt', |
77 | 77 |
'[TEMPLATE]/argos_theme/templates/languages.htt', |
78 | 78 |
'[TEMPLATE]/argos_theme/templates/languages_details.htt', |
79 |
/* |
|
79 | 80 |
'[TEMPLATE]/argos_theme/templates/login.htt', |
80 | 81 |
'[TEMPLATE]/argos_theme/templates/login_forgot.htt', |
82 |
*/ |
|
81 | 83 |
'[TEMPLATE]/argos_theme/templates/media.htt', |
82 | 84 |
'[TEMPLATE]/argos_theme/templates/media_browse.htt', |
83 | 85 |
'[TEMPLATE]/argos_theme/templates/media_rename.htt', |
... | ... | |
97 | 99 |
'[TEMPLATE]/argos_theme/templates/users.htt', |
98 | 100 |
'[TEMPLATE]/argos_theme/templates/users_form.htt', |
99 | 101 |
|
102 |
/* |
|
100 | 103 |
'[TEMPLATE]/wb_theme/templates/access.htt', |
101 | 104 |
'[TEMPLATE]/wb_theme/templates/addons.htt', |
102 | 105 |
'[TEMPLATE]/wb_theme/templates/admintools.htt', |
... | ... | |
105 | 108 |
'[TEMPLATE]/wb_theme/templates/groups_form.htt', |
106 | 109 |
'[TEMPLATE]/wb_theme/templates/languages.htt', |
107 | 110 |
'[TEMPLATE]/wb_theme/templates/languages_details.htt', |
111 |
|
|
108 | 112 |
'[TEMPLATE]/wb_theme/templates/login.htt', |
109 | 113 |
'[TEMPLATE]/wb_theme/templates/login_forgot.htt', |
114 |
|
|
110 | 115 |
'[TEMPLATE]/wb_theme/templates/media.htt', |
111 | 116 |
'[TEMPLATE]/wb_theme/templates/media_browse.htt', |
112 | 117 |
'[TEMPLATE]/wb_theme/templates/media_rename.htt', |
... | ... | |
125 | 130 |
'[TEMPLATE]/wb_theme/templates/templates_details.htt', |
126 | 131 |
'[TEMPLATE]/wb_theme/templates/users.htt', |
127 | 132 |
'[TEMPLATE]/wb_theme/templates/users_form.htt', |
128 |
|
|
133 |
*/ |
|
129 | 134 |
); |
130 | 135 |
|
131 | 136 |
// analyze/check database tables |
branches/2.8.x/wb/media/index.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
// *** This file is generated by WebsiteBaker Ver.2.8.2
|
|
3 |
// *** Creation date: 2011-11-09T20:06:57+00:00
|
|
2 |
// *** This file is generated by WebsiteBaker Ver.2.8.3
|
|
3 |
// *** Creation date: 2012-02-27T22:41:07+00:00
|
|
4 | 4 |
// *** Do not modify this file manually |
5 | 5 |
// *** WB will rebuild this file from time to time!! |
6 | 6 |
// ************************************************* |
7 | 7 |
header('HTTP/1.1 301 Moved Permanently'); |
8 |
header('Location: http://wb282.wdsnet/2.8.x/wb/index.php');
|
|
8 |
header('Location: ../index.php');
|
|
9 | 9 |
// ************************************************* |
branches/2.8.x/wb/admin/groups/groups.php | ||
---|---|---|
46 | 46 |
$results = $database->query("SELECT * FROM ".TABLE_PREFIX."groups WHERE group_id = '".$group_id."'"); |
47 | 47 |
$group = $results->fetchRow(); |
48 | 48 |
// Setup template object, parse vars to it, then parse it |
49 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('groups_form.htt')); |
|
50 | 49 |
// Create new template object |
51 |
$template = new Template($ThemePath);
|
|
50 |
$template = new Template(dirname($admin->correct_theme_source('groups_form.htt')));
|
|
52 | 51 |
// $template->debug = true; |
53 | 52 |
$template->set_file('page', 'groups_form.htt'); |
54 | 53 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/groups/index.php | ||
---|---|---|
22 | 22 |
$ftan = $admin->getFTAN(); |
23 | 23 |
|
24 | 24 |
// Setup template object, parse vars to it, then parse it |
25 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('groups.htt')); |
|
26 | 25 |
// Create new template object |
27 |
$template = new Template($ThemePath);
|
|
26 |
$template = new Template(dirname($admin->correct_theme_source('groups.htt')));
|
|
28 | 27 |
// $template->debug = true; |
29 | 28 |
$template->set_file('page', 'groups.htt'); |
30 | 29 |
$template->set_block('page', 'main_block', 'main'); |
... | ... | |
96 | 95 |
$template->pparse('output', 'page'); |
97 | 96 |
|
98 | 97 |
// Setup template object, parse vars to it, then parse it |
99 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('groups_form.htt')); |
|
100 | 98 |
// Create new template object |
101 |
$template = new Template($ThemePath);
|
|
99 |
$template = new Template(dirname($admin->correct_theme_source('groups_form.htt')));
|
|
102 | 100 |
// $template->debug = true; |
103 | 101 |
$template->set_file('page', 'groups_form.htt'); |
104 | 102 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/media/setparameter.php | ||
---|---|---|
75 | 75 |
$caller = "setparameter"; |
76 | 76 |
|
77 | 77 |
// Setup template object, parse vars to it, then parse it |
78 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('setparameter.htt')); |
|
79 | 78 |
// Create new template object |
80 |
$template = new Template($ThemePath);
|
|
79 |
$template = new Template(dirname($admin->correct_theme_source('setparameter.htt')));
|
|
81 | 80 |
$template->set_file('page', 'setparameter.htt'); |
82 | 81 |
$template->set_block('page', 'main_block', 'main'); |
83 | 82 |
if ($_SESSION['GROUP_ID'] != 1) { |
branches/2.8.x/wb/admin/media/browse.php | ||
---|---|---|
82 | 82 |
} |
83 | 83 |
|
84 | 84 |
// Setup template object, parse vars to it, then parse it |
85 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('media_browse.htt')); |
|
86 | 85 |
// Create new template object |
87 |
$template = new Template($ThemePath);
|
|
86 |
$template = new Template(dirname($admin->correct_theme_source('media_browse.htt')));
|
|
88 | 87 |
$template->set_file('page', 'media_browse.htt'); |
89 | 88 |
$template->set_block('page', 'main_block', 'main'); |
90 | 89 |
|
branches/2.8.x/wb/admin/media/index.php | ||
---|---|---|
25 | 25 |
include ('parameters.php'); |
26 | 26 |
|
27 | 27 |
// Setup template object, parse vars to it, then parse it |
28 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('media.htt')); |
|
29 | 28 |
// Create new template object |
30 |
$template = new Template($ThemePath);
|
|
29 |
$template = new Template(dirname($admin->correct_theme_source('media.htt')));
|
|
31 | 30 |
$template->set_file('page', 'media.htt'); |
32 | 31 |
$template->set_block('page', 'main_block', 'main'); |
33 | 32 |
|
branches/2.8.x/wb/admin/media/rename.php | ||
---|---|---|
95 | 95 |
} |
96 | 96 |
|
97 | 97 |
// Setup template object, parse vars to it, then parse it |
98 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('media_rename.htt')); |
|
99 | 98 |
// Create new template object |
100 |
$template = new Template($ThemePath);
|
|
99 |
$template = new Template(dirname($admin->correct_theme_source('media_rename.htt')));
|
|
101 | 100 |
$template->set_file('page', 'media_rename.htt'); |
102 | 101 |
$template->set_block('page', 'main_block', 'main'); |
103 | 102 |
//echo WB_PATH.'/media/'.$directory.'/'.$rename_file; |
branches/2.8.x/wb/admin/themes/templates/login_forgot.htt | ||
---|---|---|
11 | 11 |
</head> |
12 | 12 |
<body onload="document.forgot_pass.email.focus();"> |
13 | 13 |
|
14 |
<div style="text-align:left;font-size:20px;color:#fff;padding:15px 0 0 50px;height:100px;"> |
|
15 |
<!-- <img src="{THEME_URL}/images/logo.png" alt="Logo" /> --> |
|
16 |
{SECTION_FORGOT} |
|
17 |
</div> |
|
14 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="770" align="center"> |
|
15 |
<tr> |
|
16 |
<td width="60" valign="top"> |
|
17 |
<img src="{THEME_URL}/images/logo.png" alt="Logo" /> |
|
18 |
</td> |
|
19 |
<td width="5"> </td> |
|
20 |
<td style="font-size: 20px;"> |
|
21 |
<font style="color: #FFF;">{SECTION_FORGOT}</font> |
|
22 |
</td> |
|
23 |
</tr> |
|
24 |
</table> |
|
18 | 25 |
|
19 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;"> |
|
26 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;" class="container">
|
|
20 | 27 |
<tr> |
21 | 28 |
<td class="content"> |
22 | 29 |
|
... | ... | |
24 | 31 |
<input type="hidden" name="url" value="{URL}" /> |
25 | 32 |
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="500"> |
26 | 33 |
<tr> |
27 |
<td height="40" align="center" style="color: #{MESSAGE_COLOR};" colspan="2">{MESSAGE}</td>
|
|
34 |
<td height="40" align="center" style="color: #{MESSAGE_COLOR}" colspan="2">{MESSAGE}</td> |
|
28 | 35 |
</tr> |
29 | 36 |
<tr style="{DISPLAY_FORM}"> |
30 | 37 |
<td height="10" colspan="2"></td> |
branches/2.8.x/wb/admin/themes/templates/footer.htt | ||
---|---|---|
1 | 1 |
<!-- BEGIN footer_block --> |
2 |
</td> |
|
3 |
</tr> |
|
4 |
</table> |
|
2 | 5 |
|
3 |
</div> |
|
4 |
</div> |
|
5 |
|
|
6 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 0;"> |
|
7 |
<tr> |
|
8 |
<td style="font-size:12px;text-align:center;"> |
|
6 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 0px 10px 0px;"> |
|
7 |
<tr> |
|
8 |
<td style="font-size: 12px; text-align:center;"> |
|
9 | 9 |
<!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. --> |
10 | 10 |
<a href="http://www.websitebaker2.org/" title="external">WebsiteBaker</a> is released under the |
11 | 11 |
<a href="http://www.gnu.org/licenses/gpl.html" title="WebsiteBaker is released under the GNU General Public License">GNU General Public License</a> |
12 | 12 |
<!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. --> |
13 |
</td>
|
|
14 |
</tr>
|
|
13 |
</td>
|
|
14 |
</tr> |
|
15 | 15 |
</table> |
16 | 16 |
{BACKEND_BODY_MODULE_JS} |
17 | 17 |
</body> |
branches/2.8.x/wb/admin/themes/templates/modules.htt | ||
---|---|---|
37 | 37 |
<table summary="" cellpadding="2" cellspacing="0" border="0" width="100%"> |
38 | 38 |
<tr> |
39 | 39 |
<td> |
40 |
<select name="file" style="width: 97;">
|
|
40 |
<select name="file" style="width: 77%;">
|
|
41 | 41 |
<option value="" selected="selected">{TEXT_PLEASE_SELECT}...</option> |
42 | 42 |
<!-- BEGIN module_list_block --> |
43 | 43 |
<option value="{VALUE}">{NAME}</option> |
... | ... | |
57 | 57 |
<table summary="" cellpadding="2" cellspacing="0" border="0" width="100%"> |
58 | 58 |
<tr> |
59 | 59 |
<td> |
60 |
<select name="file" style="width: 97%;">
|
|
60 |
<select name="file" style="width: 77%;">
|
|
61 | 61 |
<option value="" selected="selected">{TEXT_PLEASE_SELECT}...</option> |
62 | 62 |
<!-- BEGIN module_list_block --> |
63 | 63 |
<option value="{VALUE}">{NAME}</option> |
branches/2.8.x/wb/admin/themes/templates/login.htt | ||
---|---|---|
10 | 10 |
<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" /> |
11 | 11 |
</head> |
12 | 12 |
<body onload="document.login.{USERNAME_FIELDNAME}.focus();"> |
13 |
<div style="text-align:left;font-size:20px;color:#fff;padding:15px 0 0 50px;height:100px;"> |
|
14 |
<!-- <img src="{THEME_URL}/images/logo.png" alt="Logo" /> --> |
|
15 |
{TEXT_LOGIN} |
|
16 |
</div> |
|
17 |
<table class="container" summary="" cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;"> |
|
18 |
<tr> |
|
19 |
<td class="content"> |
|
20 |
<form name="login" class="login" action="{ACTION_URL}" method="post"> |
|
21 |
<input type="hidden" name="url" value="{URL}" /> |
|
22 |
<input type="hidden" name="username_fieldname" value="{USERNAME_FIELDNAME}" /> |
|
23 |
<input type="hidden" name="password_fieldname" value="{PASSWORD_FIELDNAME}" /> |
|
24 |
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="500"> |
|
25 |
<tr> |
|
26 |
<td height="40" align="center" colspan="2">{MESSAGE}</td> |
|
27 |
</tr> |
|
28 |
<tr> |
|
29 |
<td height="10" colspan="2"></td> |
|
30 |
</tr> |
|
31 |
<tr> |
|
32 |
<td width="170" height="30" align="right">{TEXT_USERNAME}:</td> |
|
33 |
<td> |
|
34 |
<input type="text" maxlength="{MAX_USERNAME_LEN}" name="{USERNAME_FIELDNAME}" value="{USERNAME}" style="width: 180px;" /> |
|
35 |
</td> |
|
36 |
</tr> |
|
37 |
<tr> |
|
38 |
<td width="170" height="30" align="right">{TEXT_PASSWORD}:</td> |
|
39 |
<td> |
|
40 |
<input type="password" maxlength="{MAX_PASSWORD_LEN}" name="{PASSWORD_FIELDNAME}" style="width: 180px;" /> |
|
41 |
</td> |
|
42 |
</tr> |
|
43 |
<tr style="{DISPLAY_REMEMBER_ME}"> |
|
44 |
<td> </td> |
|
45 |
<td> |
|
46 |
<input type="checkbox" name="remember" id="remember" value="true" /> |
|
47 |
<label for="remember">{TEXT_REMEMBER_ME}</label> |
|
48 |
</td> |
|
49 |
</tr> |
|
50 |
<tr> |
|
51 |
<td> </td> |
|
52 |
<td> |
|
53 |
<input type="submit" name="submit" value="{TEXT_LOGIN}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;" /> |
|
54 |
</td> |
|
55 |
</tr> |
|
56 |
<tr> |
|
57 |
<td height="10" colspan="2"></td> |
|
58 |
</tr> |
|
59 |
</table> |
|
60 |
</form> |
|
61 |
<center> |
|
62 |
<a href="{FORGOTTEN_DETAILS_APP}">{TEXT_FORGOTTEN_DETAILS}</a> |
|
13 |
|
|
14 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="770" align="center"> |
|
15 |
<tr> |
|
16 |
<td width="60" valign="top"> |
|
17 |
<img src="{THEME_URL}/images/logo.png" alt="Logo" /> |
|
18 |
</td> |
|
19 |
<td width="5"> </td> |
|
20 |
<td style="font-size: 20px; "> |
|
21 |
<font style="color: #FFFFFF;">{SECTION_LOGIN}</font> |
|
22 |
</td> |
|
23 |
</tr> |
|
24 |
</table> |
|
25 |
|
|
26 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;" class="container"> |
|
27 |
<tr> |
|
28 |
<td class="content"> |
|
29 |
|
|
30 |
<form name="login" action="{ACTION_URL}" method="post"> |
|
31 |
<input type="hidden" name="url" value="{URL}" /> |
|
32 |
<input type="hidden" name="username_fieldname" value="{USERNAME_FIELDNAME}" /> |
|
33 |
<input type="hidden" name="password_fieldname" value="{PASSWORD_FIELDNAME}" /> |
|
34 |
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="500"> |
|
35 |
<tr> |
|
36 |
<td height="40" align="center" colspan="2">{MESSAGE}</td> |
|
37 |
</tr> |
|
38 |
<tr> |
|
39 |
<td height="10" colspan="2"></td> |
|
40 |
</tr> |
|
41 |
<tr> |
|
42 |
<td width="170" height="30" align="right">{TEXT_USERNAME}:</td> |
|
43 |
<td><input type="text" maxlength="{MAX_USERNAME_LEN}" name="{USERNAME_FIELDNAME}" value="{USERNAME}" style="width: 180px;" /></td> |
|
44 |
</tr> |
|
45 |
<tr> |
|
46 |
<td width="170" height="30" align="right">{TEXT_PASSWORD}:</td> |
|
47 |
<td><input type="password" maxlength="{MAX_PASSWORD_LEN}" name="{PASSWORD_FIELDNAME}" style="width: 180px;" /></td> |
|
48 |
</tr> |
|
49 |
<tr style="{DISPLAY_REMEMBER_ME}"> |
|
50 |
<td> </td> |
|
51 |
<td> |
|
52 |
<input type="checkbox" name="remember" id="remember" value="true" /> |
|
53 |
<label for="remember"> |
|
54 |
{TEXT_REMEMBER_ME} |
|
55 |
</label> |
|
56 |
</td> |
|
57 |
</tr> |
|
58 |
<tr> |
|
59 |
<td> </td> |
|
60 |
<td><input type="submit" name="submit" value="{TEXT_LOGIN}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;" /></td> |
|
61 |
</tr> |
|
62 |
<tr> |
|
63 |
<td height="10" colspan="2"></td> |
|
64 |
</tr> |
|
65 |
</table> |
|
66 |
</form> |
|
67 |
|
|
68 |
<center> |
|
69 |
<a href="{FORGOTTEN_DETAILS_APP}">{TEXT_FORGOTTEN_DETAILS}</a> |
|
63 | 70 |
<br /> |
64 |
<br /> |
|
65 |
<br /> |
|
66 |
<a href="{WB_URL}/">{TEXT_HOME}</a> |
|
67 |
</center> |
|
68 |
</td> |
|
69 |
</tr> |
|
71 |
<br /> |
|
72 |
<br /> |
|
73 |
<a href="{WB_URL}/">{TEXT_HOME}</a> |
|
74 |
</center> |
|
75 |
|
|
76 |
</td> |
|
77 |
</tr> |
|
70 | 78 |
</table> |
71 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%" style="padding:10px 0;"> |
|
72 |
<tr> |
|
73 |
<td style="font-size:10px;text-align:center;"> |
|
79 |
|
|
80 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 0px 10px 0px;"> |
|
81 |
<tr> |
|
82 |
<td style="font-size:12px;text-align:center;"> |
|
74 | 83 |
<!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. --> |
75 | 84 |
<a href="http://www.websitebaker2.org/" title="external">WebsiteBaker</a> is released under the |
76 | 85 |
<a href="http://www.gnu.org/licenses/gpl.html" title="WebsiteBaker is released under the GNU General Public License">GNU General Public License</a> |
77 | 86 |
<!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. --> |
78 |
</td>
|
|
79 |
</tr>
|
|
87 |
</td>
|
|
88 |
</tr> |
|
80 | 89 |
</table> |
90 |
|
|
81 | 91 |
</body> |
82 | 92 |
</html> |
83 |
<!-- END mainBlock --> |
|
93 |
<!-- END mainBlock --> |
branches/2.8.x/wb/admin/themes/templates/warning.html | ||
---|---|---|
24 | 24 |
h1 { |
25 | 25 |
text-align: center; |
26 | 26 |
font-size: 18px; |
27 |
margin-top: 0; |
|
27 | 28 |
color: #000; |
28 | 29 |
text-transform: uppercase; |
29 | 30 |
} |
... | ... | |
34 | 35 |
border: 0; |
35 | 36 |
} |
36 | 37 |
div#message { |
38 |
margin: 0 auto; |
|
39 |
height: 80px; |
|
40 |
padding: 0; |
|
37 | 41 |
text-align: center; |
38 | 42 |
} |
39 | 43 |
--></style></head> |
branches/2.8.x/wb/admin/themes/templates/header.htt | ||
---|---|---|
2 | 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 | 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
4 | 4 |
<head> |
5 |
<title>{WEBSITE_TITLE}»{TEXT_ADMINISTRATION}-{SECTION_NAME}</title>
|
|
5 |
<title>{WEBSITE_TITLE} >> {TEXT_ADMINISTRATION} - {SECTION_NAME}</title>
|
|
6 | 6 |
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" /> |
7 | 7 |
<meta http-equiv="content-language" content="{LANGUAGE}" /> |
8 | 8 |
<meta name="description" content="{TEXT_ADMINISTRATION}" /> |
... | ... | |
22 | 22 |
<script src="{WB_URL}/include/jquery/jquery-include.js" type="text/javascript"></script> |
23 | 23 |
<!--[if lt IE 7]><script type="text/javascript" src="{WB_URL}/include/jquery/plugins/jquery-pngFix.js"></script><![endif]--> |
24 | 24 |
<script src="{THEME_URL}/jquery/jquery-plugins.js" type="text/javascript"></script> |
25 |
{BACKEND_MODULE_JS} |
|
25 | 26 |
<script type="text/javascript"> |
26 | 27 |
function confirm_link(message, url) { |
27 | 28 |
if(confirm(message)) location.href = url; |
28 | 29 |
} |
30 |
|
|
29 | 31 |
</script> |
30 |
{BACKEND_MODULE_JS} |
|
31 | 32 |
</head> |
32 | 33 |
<body> |
33 |
<div id="content_container"> |
|
34 |
<div id="admin_header"> |
|
35 |
<div id="header_top"> |
|
36 |
<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> |
|
37 |
<br /> |
|
38 |
<br /> |
|
39 |
<span class="version">CMS Version {VERSION} {SP}</span><br/> |
|
40 |
<span class="version">Revision {REVISION}</span><br/> |
|
41 |
<span class="version">{ADMIN_VERSION}</span> |
|
42 |
</div> |
|
43 |
<div> |
|
44 |
<a href="{ADMIN_URL}" title="{TITLE_START}" id="website_title"> |
|
45 |
{WEBSITE_TITLE} - {TEXT_ADMINISTRATION} |
|
46 |
<!-- <img src="{THEME_URL}/images/logo.png" border="0" alt="Logo" /> --> |
|
47 |
</a> |
|
48 |
</div> |
|
49 |
</div> |
|
50 |
<div class="menu"> |
|
51 |
<ul> |
|
52 |
<!-- BEGIN linkBlock --> |
|
53 |
<li class="{CLASS}"><a href="{LINK}" target="{TARGET}"><span>{TITLE}</span></a></li> |
|
54 |
<!-- END linkBlock --> |
|
55 |
</ul> |
|
56 |
</div> |
|
57 |
</div> |
|
58 |
<div class="content"> |
|
59 |
<!-- END header_block --> |
|
34 |
<table summary="" class="header"> |
|
35 |
<tr> |
|
36 |
<td> |
|
37 |
<a href="{ADMIN_URL}" title="{TITLE_START}"><img src="{THEME_URL}/images/logo.png" border="0" alt="Logo" /></a> |
|
38 |
</td> |
|
39 |
<td> </td> |
|
40 |
<td class="menue"> |
|
41 |
<a href="{ADMIN_URL}" title="{TITLE_START}"><img src="{THEME_URL}/images/home.png" border="0" alt="{TITLE_START}" /></a> |
|
42 |
<a href="{URL_VIEW}" target="_blank" title="{TITLE_VIEW}"><img src="{THEME_URL}/images/view.png" border="0" alt="{WB_URL}" /></a> |
|
43 |
<a href="{URL_HELP}" target="_blank" title="{TITLE_HELP}"><img src="{THEME_URL}/images/help.png" border="0" alt="{TITLE_HELP}" /></a> |
|
44 |
<a href="{ADMIN_URL}/logout" title="{TITLE_LOGOUT}"><img src="{THEME_URL}/images/dl.png" border="0" alt="{TITLE_LOGOUT}" /></a> |
|
45 |
</td> |
|
46 |
<td class="version"> |
|
47 |
Version {VERSION} {SP}<br /> |
|
48 |
Revision {REVISION} |
|
49 |
</td> |
|
50 |
</tr> |
|
51 |
</table> |
|
52 |
|
|
53 |
<table summary="" class="container"> |
|
54 |
<tr> |
|
55 |
<td> |
|
56 |
<ul class="menu"> |
|
57 |
<!-- BEGIN linkBlock --> |
|
58 |
<li class="{CLASS}"><a href="{LINK}" target="{TARGET}">{TITLE}</a></li> |
|
59 |
<!-- END linkBlock --> |
|
60 |
</ul> |
|
61 |
</td> |
|
62 |
</tr> |
|
63 |
<tr> |
|
64 |
<td class="content"> |
|
65 |
<!-- END header_block --> |
branches/2.8.x/wb/admin/start/index.php | ||
---|---|---|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
// Setup template object, parse vars to it, then parse it |
77 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('start.htt')); |
|
78 | 77 |
// Create new template object |
79 |
$template = new Template($ThemePath);
|
|
78 |
$template = new Template(dirname($admin->correct_theme_source('start.htt')));
|
|
80 | 79 |
$template->set_file('page', 'start.htt'); |
81 | 80 |
$template->set_block('page', 'main_block', 'main'); |
82 | 81 |
|
branches/2.8.x/wb/admin/templates/details.php | ||
---|---|---|
45 | 45 |
$admin = new admin('Addons', 'templates_view'); |
46 | 46 |
|
47 | 47 |
// Setup template object, parse vars to it, then parse it |
48 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('templates_details.htt')); |
|
49 | 48 |
// Create new template object |
50 |
$template = new Template($ThemePath);
|
|
49 |
$template = new Template(dirname($admin->correct_theme_source('templates_details.htt')));
|
|
51 | 50 |
// $template->debug = true; |
52 | 51 |
$template->set_file('page', 'templates_details.htt'); |
53 | 52 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/templates/index.php | ||
---|---|---|
21 | 21 |
$admin = new admin('Addons', 'templates'); |
22 | 22 |
|
23 | 23 |
// Setup template object, parse vars to it, then parse it |
24 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('templates.htt')); |
|
25 | 24 |
// Create new template object |
26 |
$template = new Template($ThemePath);
|
|
25 |
$template = new Template(dirname($admin->correct_theme_source('templates.htt')));
|
|
27 | 26 |
// $template->debug = true; |
28 | 27 |
$template->set_file('page', 'templates.htt'); |
29 | 28 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/pages/settings.php | ||
---|---|---|
90 | 90 |
} |
91 | 91 |
|
92 | 92 |
// Setup template object, parse vars to it, then parse it |
93 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages_settings.htt')); |
|
94 | 93 |
// Create new template object |
95 |
$template = new Template($ThemePath);
|
|
94 |
$template = new Template(dirname($admin->correct_theme_source('pages_settings.htt')));
|
|
96 | 95 |
// $template->debug = true; |
97 | 96 |
$template->set_file('page', 'pages_settings.htt'); |
98 | 97 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/pages/index.php | ||
---|---|---|
352 | 352 |
<?php |
353 | 353 |
} |
354 | 354 |
// Setup template object, parse vars to it, then parse it |
355 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages.htt')); |
|
356 | 355 |
// Create new template object |
357 |
$template = new Template($ThemePath);
|
|
356 |
$template = new Template(dirname($admin->correct_theme_source('pages.htt')));
|
|
358 | 357 |
// $template->debug = true; |
359 | 358 |
$template->set_file('page', 'pages.htt'); |
360 | 359 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/pages/modify.php | ||
---|---|---|
66 | 66 |
: 'Unknown'; |
67 | 67 |
// $ftan_module = $GLOBALS['ftan_module']; |
68 | 68 |
// Setup template object, parse vars to it, then parse it |
69 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages_modify.htt')); |
|
70 | 69 |
// Create new template object |
71 |
$template = new Template($ThemePath);
|
|
70 |
$template = new Template(dirname($admin->correct_theme_source('pages_modify.htt')));
|
|
72 | 71 |
// $template->debug = true; |
73 | 72 |
$template->set_file('page', 'pages_modify.htt'); |
74 | 73 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/pages/sections.php | ||
---|---|---|
198 | 198 |
require_once(WB_PATH."/include/jscalendar/wb-setup.php"); |
199 | 199 |
|
200 | 200 |
// Setup template object, parse vars to it, then parse it |
201 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages_sections.htt')); |
|
202 | 201 |
// Create new template object |
203 |
$tpl = new Template($ThemePath);
|
|
202 |
$tpl = new Template(dirname($admin->correct_theme_source('pages_sections.htt')));
|
|
204 | 203 |
// $template->debug = true; |
205 | 204 |
$tpl->set_file('page', 'pages_sections.htt'); |
206 | 205 |
$tpl->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
51 | 51 |
|
52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.3'); |
54 |
if(!defined('REVISION')) define('REVISION', '1624');
|
|
54 |
if(!defined('REVISION')) define('REVISION', '1625');
|
|
55 | 55 |
if(!defined('SP')) define('SP', ''); |
branches/2.8.x/wb/admin/settings/index.php | ||
---|---|---|
29 | 29 |
require_once(WB_PATH.'/framework/functions-utf8.php'); |
30 | 30 |
|
31 | 31 |
// Setup template object, parse vars to it, then parse it |
32 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('settings.htt')); |
|
33 | 32 |
// Create new template object |
34 |
$template = new Template($ThemePath);
|
|
33 |
$template = new Template(dirname($admin->correct_theme_source('settings.htt')));
|
|
35 | 34 |
// $template->debug = true; |
36 | 35 |
$template->set_file('page', 'settings.htt'); |
37 | 36 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/users/users.php | ||
---|---|---|
43 | 43 |
$user = $results->fetchRow(); |
44 | 44 |
|
45 | 45 |
// Setup template object, parse vars to it, then parse it |
46 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('users_form.htt')); |
|
47 | 46 |
// Create new template object |
48 |
$template = new Template($ThemePath);
|
|
47 |
$template = new Template(dirname($admin->correct_theme_source('users_form.htt')));
|
|
49 | 48 |
// $template->debug = true; |
50 | 49 |
$template->set_file('page', 'users_form.htt'); |
51 | 50 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/users/index.php | ||
---|---|---|
24 | 24 |
unset($_GET); |
25 | 25 |
|
26 | 26 |
// Setup template object, parse vars to it, then parse it |
27 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('users.htt')); |
|
28 | 27 |
// Create new template object |
29 |
$template = new Template($ThemePath);
|
|
28 |
$template = new Template(dirname($admin->correct_theme_source('users.htt')));
|
|
30 | 29 |
// $template->debug = true; |
31 | 30 |
|
32 | 31 |
$template->set_file('page', 'users.htt'); |
... | ... | |
118 | 117 |
$template->pparse('output', 'page'); |
119 | 118 |
|
120 | 119 |
// Setup template object, parse vars to it, then parse it |
121 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('users_form.htt')); |
|
122 | 120 |
// Create new template object |
123 |
$template = new Template($ThemePath);
|
|
121 |
$template = new Template(dirname($admin->correct_theme_source('users_form.htt')));
|
|
124 | 122 |
// $template->debug = true; |
125 | 123 |
$template->set_file('page', 'users_form.htt'); |
126 | 124 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/access/index.php | ||
---|---|---|
21 | 21 |
$admin = new admin('Access', 'access'); |
22 | 22 |
|
23 | 23 |
// Setup template object, parse vars to it, then parse it |
24 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('access.htt')); |
|
25 | 24 |
// Create new template object |
26 |
$template = new Template($ThemePath);
|
|
25 |
$template = new Template(dirname($admin->correct_theme_source('access.htt')));
|
|
27 | 26 |
// $template->debug = true; |
28 | 27 |
$template->set_file('page', 'access.htt'); |
29 | 28 |
|
branches/2.8.x/wb/admin/preferences/index.php | ||
---|---|---|
25 | 25 |
global $HEADING, $TEXT; |
26 | 26 |
include_once(WB_PATH.'/framework/functions-utf8.php'); |
27 | 27 |
// Setup template object, parse vars to it, then parse it |
28 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('preferences.htt'));
|
|
28 |
// Setup template object, parse vars to it, then parse it
|
|
29 | 29 |
// Create new template object |
30 |
$template = new Template($ThemePath);
|
|
30 |
$template = new Template(dirname($admin->correct_theme_source('preferences.htt')));
|
|
31 | 31 |
$template->set_file( 'page', 'preferences.htt' ); |
32 | 32 |
$template->set_block( 'page', 'main_block', 'main' ); |
33 | 33 |
// read user-info from table users and assign it to template |
branches/2.8.x/wb/admin/languages/details.php | ||
---|---|---|
50 | 50 |
} |
51 | 51 |
|
52 | 52 |
// Setup template object, parse vars to it, then parse it |
53 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('languages_details.htt')); |
|
54 | 53 |
// Create new template object |
55 |
$template = new Template($ThemePath);
|
|
54 |
$template = new Template(dirname($admin->correct_theme_source('languages_details.htt')));
|
|
56 | 55 |
// $template->debug = true; |
57 | 56 |
$template->set_file('page', 'languages_details.htt'); |
58 | 57 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/languages/index.php | ||
---|---|---|
22 | 22 |
$admin = new admin('Addons', 'languages'); |
23 | 23 |
|
24 | 24 |
// Setup template object, parse vars to it, then parse it |
25 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('languages.htt')); |
|
26 | 25 |
// Create new template object |
27 |
$template = new Template($ThemePath);
|
|
26 |
$template = new Template(dirname($admin->correct_theme_source('languages.htt')));
|
|
28 | 27 |
// $template->debug = true; |
29 | 28 |
$template->set_file('page', 'languages.htt'); |
30 | 29 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/login/forgot/index.php | ||
---|---|---|
112 | 112 |
} |
113 | 113 |
|
114 | 114 |
// Setup template object, parse vars to it, then parse it |
115 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('login_forgot.htt')); |
|
116 | 115 |
// Create new template object |
117 |
$template = new Template($ThemePath);
|
|
116 |
$template = new Template(dirname($admin->correct_theme_source('login_forgot.htt')));
|
|
118 | 117 |
$template->set_file('page', 'login_forgot.htt'); |
119 | 118 |
$template->set_block('page', 'main_block', 'main'); |
120 | 119 |
if(defined('FRONTEND')) { |
branches/2.8.x/wb/admin/login/index.php | ||
---|---|---|
38 | 38 |
} |
39 | 39 |
|
40 | 40 |
$admin = new admin('Start', '', false, false); |
41 |
$ThemeUrl = WB_URL.$admin->correct_theme_source('warning.html'); |
|
41 |
|
|
42 |
$WarnUrl = str_replace(WB_PATH,WB_URL,$admin->correct_theme_source('warning.html')); |
|
42 | 43 |
// Setup template object, parse vars to it, then parse it |
43 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('login.htt'));
|
|
44 |
$ThemePath = dirname($admin->correct_theme_source('login.htt'));
|
|
44 | 45 |
|
45 | 46 |
$thisApp = new Login( array( |
46 | 47 |
'MAX_ATTEMPS' => "3", |
47 |
'WARNING_URL' => $ThemeUrl.'/warning.html',
|
|
48 |
'WARNING_URL' => $WarnUrl,
|
|
48 | 49 |
'USERNAME_FIELDNAME' => $username_fieldname, |
49 | 50 |
'PASSWORD_FIELDNAME' => $password_fieldname, |
50 | 51 |
'REMEMBER_ME_OPTION' => SMART_LOGIN, |
branches/2.8.x/wb/admin/modules/details.php | ||
---|---|---|
47 | 47 |
} |
48 | 48 |
|
49 | 49 |
// Setup template object, parse vars to it, then parse it |
50 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('modules_details.htt')); |
|
51 | 50 |
// Create new template object |
52 |
$template = new Template($ThemePath);
|
|
51 |
$template = new Template(dirname($admin->correct_theme_source('modules_details.htt')));
|
|
53 | 52 |
// $template->debug = true; |
54 | 53 |
$template->set_file('page', 'modules_details.htt'); |
55 | 54 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/modules/index.php | ||
---|---|---|
21 | 21 |
$admin = new admin('Addons', 'modules'); |
22 | 22 |
|
23 | 23 |
// Setup template object, parse vars to it, then parse it |
24 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('modules.htt')); |
|
25 | 24 |
// Create new template object |
26 |
$template = new Template($ThemePath);
|
|
25 |
$template = new Template(dirname($admin->correct_theme_source('modules.htt')));
|
|
27 | 26 |
// $template->debug = true; |
28 | 27 |
$template->set_file('page', 'modules.htt'); |
29 | 28 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/admin/addons/index.php | ||
---|---|---|
20 | 20 |
$admin = new admin('Addons', 'addons'); |
21 | 21 |
|
22 | 22 |
// Setup template object, parse vars to it, then parse it |
23 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('addons.htt')); |
|
24 | 23 |
// Create new template object |
25 |
$template = new Template($ThemePath);
|
|
24 |
$template = new Template(dirname($admin->correct_theme_source('addons.htt')));
|
|
26 | 25 |
$template->set_file('page', 'addons.htt'); |
27 | 26 |
$template->set_block('page', 'main_block', 'main'); |
28 | 27 |
|
branches/2.8.x/wb/admin/admintools/index.php | ||
---|---|---|
23 | 23 |
require_once(WB_PATH.'/framework/functions.php'); |
24 | 24 |
|
25 | 25 |
// Setup template object, parse vars to it, then parse it |
26 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('admintools.htt')); |
|
27 | 26 |
// Create new template object |
28 |
$template = new Template($ThemePath);
|
|
27 |
$template = new Template(dirname($admin->correct_theme_source('admintools.htt')));
|
|
29 | 28 |
// $template->debug = true; |
30 | 29 |
$template->set_file('page', 'admintools.htt'); |
31 | 30 |
$template->set_block('page', 'main_block', 'main'); |
branches/2.8.x/wb/framework/class.admin.php | ||
---|---|---|
101 | 101 |
$get_title = $database->query($sql); |
102 | 102 |
$title = $get_title->fetchRow(); |
103 | 103 |
// Setup template object, parse vars to it, then parse it |
104 |
$ThemePath = realpath(WB_PATH.$this->correct_theme_source('header.htt')); |
|
105 |
$header_template = new Template($ThemePath); |
|
104 |
$header_template = new Template(dirname($this->correct_theme_source('header.htt'))); |
|
106 | 105 |
$header_template->set_file('page', 'header.htt'); |
107 | 106 |
$header_template->set_block('page', 'header_block', 'header'); |
108 | 107 |
if(defined('DEFAULT_CHARSET')) { |
... | ... | |
196 | 195 |
} |
197 | 196 |
|
198 | 197 |
// Setup template object, parse vars to it, then parse it |
199 |
$ThemePath = realpath(WB_PATH.$this->correct_theme_source('footer.htt')); |
|
200 |
$footer_template = new Template($ThemePath); |
|
198 |
$footer_template = new Template(dirname($this->correct_theme_source('footer.htt'))); |
|
201 | 199 |
$footer_template->set_file('page', 'footer.htt'); |
202 | 200 |
$footer_template->set_block('page', 'footer_block', 'header'); |
203 | 201 |
$footer_template->set_var(array( |
branches/2.8.x/wb/framework/class.login.php | ||
---|---|---|
341 | 341 |
require_once(WB_PATH.'/include/phplib/template.inc'); |
342 | 342 |
// $template = new Template($this->template_dir); |
343 | 343 |
// Setup template object, parse vars to it, then parse it |
344 |
$ThemePath = realpath(WB_PATH.$this->correct_theme_source($this->template_file)); |
|
345 |
$template = new Template($ThemePath); |
|
344 |
$template = new Template(dirname($this->correct_theme_source($this->template_file))); |
|
346 | 345 |
$template->set_file('page', $this->template_file); |
347 | 346 |
$template->set_block('page', 'mainBlock', 'main'); |
348 | 347 |
if($this->remember_me_option != true) { |
branches/2.8.x/wb/framework/class.wb.php | ||
---|---|---|
346 | 346 |
$redirect_timer = ((defined( 'REDIRECT_TIMER' )) && (REDIRECT_TIMER <= 10000)) ? REDIRECT_TIMER : 0; |
347 | 347 |
// add template variables |
348 | 348 |
// Setup template object, parse vars to it, then parse it |
349 |
$ThemePath = realpath(WB_PATH.$this->correct_theme_source('success.htt')); |
|
350 |
$tpl = new Template($ThemePath); |
|
349 |
$tpl = new Template(dirname($this->correct_theme_source('success.htt'))); |
|
351 | 350 |
$tpl->set_file( 'page', 'success.htt' ); |
352 | 351 |
$tpl->set_block( 'page', 'main_block', 'main' ); |
353 | 352 |
$tpl->set_block( 'main_block', 'show_redirect_block', 'show_redirect' ); |
... | ... | |
373 | 372 |
$message = implode ('<br />',$message); |
374 | 373 |
} |
375 | 374 |
// Setup template object, parse vars to it, then parse it |
376 |
$ThemePath = realpath(WB_PATH.$this->correct_theme_source('error.htt')); |
|
377 |
$success_template = new Template($ThemePath); |
|
375 |
$success_template = new Template(dirname($this->correct_theme_source('error.htt'))); |
|
378 | 376 |
$success_template->set_file('page', 'error.htt'); |
379 | 377 |
$success_template->set_block('page', 'main_block', 'main'); |
380 | 378 |
$success_template->set_var('MESSAGE', $message); |
... | ... | |
429 | 427 |
} |
430 | 428 |
} |
431 | 429 |
|
432 |
/** |
|
433 |
* checks if there is an alternative Theme template |
|
434 |
* |
|
435 |
* @access public |
|
436 |
* @param string : set the template.htt |
|
437 |
* @return string: the relative theme path |
|
438 |
* |
|
439 |
*/ |
|
440 |
function correct_theme_source($sThemeFile = 'start.htt'){ |
|
441 |
$sThemePath = ADMIN_URL.'/themes/templates'; |
|
442 |
if ( file_exists( THEME_PATH.'/templates/'.$sThemeFile ) ){ |
|
443 |
$sThemePath = THEME_URL.'/templates'; |
|
444 |
} |
|
445 |
return str_replace(WB_URL,'',$sThemePath); |
|
446 |
} |
|
430 |
/** |
|
431 |
* checks if there is an alternative Theme template |
|
432 |
* |
|
433 |
* @param string $sThemeFile set the template.htt |
|
434 |
* @return string the relative theme path |
|
435 |
* |
|
436 |
*/ |
|
437 |
function correct_theme_source($sThemeFile = 'start.htt') { |
|
438 |
$sRetval = $sThemeFile; |
|
439 |
if (file_exists(THEME_PATH.'/templates/'.$sThemeFile )) { |
|
440 |
$sRetval = THEME_PATH.'/templates/'.$sThemeFile; |
|
441 |
} else { |
|
442 |
if (file_exists(ADMIN_PATH.'/themes/templates/'.$sThemeFile ) ) { |
|
443 |
$sRetval = ADMIN_PATH.'/themes/templates/'.$sThemeFile; |
|
444 |
} else { |
|
445 |
throw new InvalidArgumentException('missing template file '.$sThemeFile); |
|
446 |
} |
|
447 |
} |
|
448 |
return $sRetval; |
|
449 |
} |
|
447 | 450 |
|
448 | 451 |
/** |
449 | 452 |
* Check if a foldername doesn't have invalid characters |
branches/2.8.x/wb/index.php | ||
---|---|---|
128 | 128 |
{ |
129 | 129 |
$wb->preprocess($output); |
130 | 130 |
} |
131 |
|
|
131 | 132 |
// Load Droplet engine and process |
132 | 133 |
if(file_exists(WB_PATH .'/modules/droplets/droplets.php')) { |
133 | 134 |
include_once(WB_PATH .'/modules/droplets/droplets.php'); |
... | ... | |
135 | 136 |
$output = evalDroplets($output); |
136 | 137 |
} |
137 | 138 |
} |
139 |
|
|
138 | 140 |
// Load backwards compatible frontend filter support and process |
139 | 141 |
if(file_exists(WB_PATH .'/modules/output_filter/filter-routines.php')) { |
140 | 142 |
include_once(WB_PATH .'/modules/output_filter/filter-routines.php'); |
... | ... | |
145 | 147 |
} |
146 | 148 |
|
147 | 149 |
} |
150 |
|
|
148 | 151 |
// move css definitions into head section |
149 | 152 |
if(function_exists('moveCssToHead')) { |
150 | 153 |
$output = moveCssToHead($output); |
branches/2.8.x/wb/templates/wb_theme/uninstall.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category templates |
|
5 |
* @package WB theme |
|
6 |
* @subpackage install |
|
7 |
* @author WebsiteBaker Project |
|
8 |
* @copyright 2009-2012, WebsiteBaker Org. e.V. |
|
9 |
* @link http://www.websitebaker.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.3 |
|
12 |
* @requirements PHP 5.2.2 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
// prevent this file from being accessed directly |
|
20 |
if(defined('WB_PATH') == false) |
|
21 |
{ |
|
22 |
die('<head><title>Access denied</title></head><body><h2 style="color:red;margin:3em auto;text-align:center;">Cannot access this file directly</h2></body></html>'); |
|
23 |
} |
|
0 | 24 |
branches/2.8.x/wb/templates/wb_theme/info.php | ||
---|---|---|
28 | 28 |
|
29 | 29 |
// OBLIGATORY WEBSITE BAKER VARIABLES |
30 | 30 |
$template_directory = 'wb_theme'; |
31 |
$template_name = 'wb_theme';
|
|
31 |
$template_name = 'WB Theme';
|
|
32 | 32 |
$template_function = 'theme'; |
33 |
$template_version = '2.80';
|
|
34 |
$template_platform = '2.8'; |
|
33 |
$template_version = '2.8.1';
|
|
34 |
$template_platform = '2.8.3';
|
|
35 | 35 |
$template_author = 'Johannes Tassilo Gruber'; |
36 | 36 |
$template_license = '<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>'; |
37 | 37 |
$template_license_terms = '-'; |
branches/2.8.x/wb/templates/wb_theme/install.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category templates |
|
5 |
* @package WB theme |
|
6 |
* @subpackage install |
|
7 |
* @author WebsiteBaker Project |
|
8 |
* @copyright 2009-2012, WebsiteBaker Org. e.V. |
|
9 |
* @link http://www.websitebaker.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.3 |
|
12 |
* @requirements PHP 5.2.2 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
// prevent this file from being accessed directly |
|
20 |
if(defined('WB_PATH') == false) |
|
21 |
{ |
|
22 |
die('<head><title>Access denied</title></head><body><h2 style="color:red;margin:3em auto;text-align:center;">Cannot access this file directly</h2></body></html>'); |
|
23 |
} |
|
0 | 24 |
branches/2.8.x/wb/templates/wb_theme/upgrade.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category templates |
|
5 |
* @package WB theme |
|
6 |
* @subpackage install |
|
7 |
* @author WebsiteBaker Project |
|
8 |
* @copyright 2009-2012, WebsiteBaker Org. e.V. |
|
9 |
* @link http://www.websitebaker.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.3 |
|
12 |
* @requirements PHP 5.2.2 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
// prevent this file from being accessed directly |
|
20 |
if(defined('WB_PATH') == false) |
|
21 |
{ |
|
22 |
die('<head><title>Access denied</title></head><body><h2 style="color:red;margin:3em auto;text-align:center;">Cannot access this file directly</h2></body></html>'); |
|
23 |
} |
|
0 | 24 |
branches/2.8.x/wb/templates/wb_theme/templates/login_forgot.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>Retrieve Login Details</title> |
|
6 |
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" /> |
|
7 |
<meta http-equiv="content-language" content="{LANGUAGE}" /> |
|
8 |
<meta name="description" content="Retrieve Login Details" /> |
|
9 |
<meta name="keywords" content="Retrieve Login Details" /> |
|
10 |
<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" /> |
|
11 |
</head> |
|
12 |
<body onload="document.forgot_pass.email.focus();"> |
|
13 |
|
|
14 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="770" align="center"> |
|
15 |
<tr> |
|
16 |
<td width="60" valign="top"> |
|
17 |
<img src="{THEME_URL}/images/logo.png" alt="Logo" /> |
|
18 |
</td> |
|
19 |
<td width="5"> </td> |
|
20 |
<td style="font-size: 20px;"> |
|
21 |
<font style="color: #FFF;">{SECTION_FORGOT}</font> |
|
22 |
</td> |
|
23 |
</tr> |
|
24 |
</table> |
|
25 |
|
|
26 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;" class="container"> |
|
27 |
<tr> |
|
28 |
<td class="content"> |
|
29 |
|
|
30 |
<form name="forgot_pass" action="{ACTION_URL}" method="post"> |
|
31 |
<input type="hidden" name="url" value="{URL}" /> |
|
32 |
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="500"> |
|
33 |
<tr> |
|
34 |
<td height="40" align="center" style="color: #{MESSAGE_COLOR}" colspan="2">{MESSAGE}</td> |
|
35 |
</tr> |
|
36 |
<tr style="{DISPLAY_FORM}"> |
|
37 |
<td height="10" colspan="2"></td> |
|
38 |
</tr> |
|
39 |
<tr style="{DISPLAY_FORM}"> |
|
40 |
<td width="165" height="30" align="right">{TEXT_EMAIL}:</td> |
|
41 |
<td><input type="text" maxlength="255" name="email" value="{EMAIL}" style="width: 180px;" /></td> |
|
42 |
</tr> |
|
43 |
<tr style="{DISPLAY_FORM}" height="30"> |
|
44 |
<td> </td> |
|
45 |
<td><input type="submit" name="submit" value="{TEXT_SEND_DETAILS}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;"></td> |
|
46 |
</tr> |
|
47 |
<tr style="{DISPLAY_FORM}"> |
|
48 |
<td height="10" colspan="2"></td> |
|
49 |
</tr> |
|
50 |
</table> |
|
51 |
</form> |
|
52 |
|
|
53 |
<center> |
|
54 |
<a href="{LOGIN_URL}">{TEXT_NEED_TO_LOGIN}</a> |
|
55 |
<br /> |
|
56 |
<br /> |
|
57 |
<a href="{WB_URL}/">{TEXT_HOME}</a> |
|
58 |
</center> |
|
59 |
|
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
</table> |
|
63 |
|
|
64 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 0px 10px 0px;"> |
|
65 |
<tr> |
|
66 |
<td style="font-size:12px;text-align:center;"> |
|
67 |
<!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. --> |
|
68 |
<a href="http://www.websitebaker2.org/" title="external">WebsiteBaker</a> is released under the |
|
69 |
<a href="http://www.gnu.org/licenses/gpl.html" title="WebsiteBaker is released under the GNU General Public License">GNU General Public License</a> |
|
70 |
<!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. --> |
|
71 |
</td> |
|
72 |
</tr> |
|
73 |
</table> |
|
74 |
|
|
75 |
</body> |
|
76 |
</html> |
|
77 |
<!-- END main_block --> |
|
0 | 78 |
branches/2.8.x/wb/templates/wb_theme/templates/error.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
<div class="error-box rounded"> |
|
3 |
<p>{MESSAGE}</p> |
|
4 |
<input type="button" name="submit" value="{BACK}" onclick="javascript: window.location = '{LINK}';" /> |
|
5 |
</div> |
|
6 |
<!-- END main_block --> |
|
0 | 7 |
branches/2.8.x/wb/templates/wb_theme/templates/pages.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
<div class="{DISPLAY_ADD}"> |
|
3 |
<h2>{HEADING_ADD_PAGE}</h2> |
|
4 |
<form name="add" action="add.php" method="post"> |
|
5 |
{FTAN} |
|
6 |
<table summary="" cellpadding="2" cellspacing="0" border="0" width="100%" align="center"> |
|
7 |
<tr> |
|
8 |
<td width="70" height="20">{TEXT_TITLE}:</td> |
|
9 |
<td width="240" height="20"><input type="text" name="title" style="width: 232px;" /></td> |
|
10 |
<td rowspan="6" valign="top" style="padding-left: 20px; padding-top: 8px;">{TEXT_ADMINISTRATORS}: |
|
11 |
<ul style="list-style-type: none; margin: 0; padding: 0;"> |
|
12 |
<!-- BEGIN group_list_block --> |
|
13 |
<li> |
|
14 |
<input type="checkbox" name="admin_groups[]" id="admin_group_{ID}" value="{ID}"{CHECKED}{DISABLED} /> |
|
15 |
<label for="admin_group_{TOGGLE}">{NAME}</label> |
|
16 |
</li> |
|
17 |
<!-- END group_list_block --> |
|
18 |
</ul> |
|
19 |
</td> |
|
20 |
<td rowspan="6" valign="top" style="padding-left: 20px; padding-top: 8px;"> |
|
21 |
<div id="viewers" style="display: none;">{TEXT_REGISTERED_VIEWERS}: |
|
22 |
<ul style="list-style-type: none; margin: 0; padding: 0;"> |
|
23 |
<!-- BEGIN group_list_block2 --> |
|
24 |
<li> |
|
25 |
<input type="checkbox" name="viewing_groups[]" id="viewing_group_{ID}" value="{ID}"{CHECKED}{DISABLED} /> |
|
26 |
<label for="viewing_group_{TOGGLE}">{NAME}</label> |
|
27 |
</li> |
|
28 |
<!-- END group_list_block2 --> |
|
29 |
</ul> |
|
30 |
</div> |
|
31 |
</td> |
|
32 |
</tr> |
|
33 |
<tr> |
|
34 |
<td width="70">{TEXT_TYPE}:</td> |
|
35 |
<td width="240"> |
|
36 |
<select name="type" style="width: 240px;"> |
|
37 |
<!-- BEGIN module_list_block --> |
|
38 |
<option value="{VALUE}"{SELECTED}>{NAME}</option> |
|
39 |
<!-- END module_list_block --> |
|
40 |
</select> |
|
41 |
</td> |
|
42 |
</tr> |
|
43 |
<tr> |
|
44 |
<td width="70">{TEXT_PARENT}:</td> |
|
45 |
<td width="240"> |
|
46 |
<select name="parent" style="width: 240px;" onchange="return disabled_hack_for_ie(this);"> |
|
47 |
<!-- BEGIN page_list_block2 --> |
|
48 |
<option value="{ID}"{DISABLED} style="background: {FLAG_ROOT_ICON} no-repeat center left; padding-left: 20px;">{TITLE}</option> |
|
49 |
<!-- END page_list_block2 --> |
|
50 |
</select> |
|
51 |
</td> |
|
52 |
</tr> |
|
53 |
<tr> |
|
54 |
<td width="70">{TEXT_VISIBILITY}:</td> |
|
55 |
<td width="240"> |
|
56 |
<select name="visibility" onchange="javascript: toggle_viewers();" style="width: 240px;"> |
|
57 |
<option value="public"{SELECTED}>{TEXT_PUBLIC}</option> |
|
58 |
<option value="private">{TEXT_PRIVATE}</option> |
|
59 |
<option value="registered">{TEXT_REGISTERED}</option> |
|
60 |
<option value="hidden">{TEXT_HIDDEN}</option> |
|
61 |
<option value="none">{TEXT_NONE}</option> |
|
62 |
</select> |
|
63 |
</td> |
|
64 |
</tr> |
|
65 |
<tr> |
|
66 |
<td width="70"> </td> |
|
67 |
<td colspan="4"> |
|
68 |
<input type="submit" name="submit" value="{TEXT_ADD}" style="width: 117px;" /> |
|
69 |
<input type="reset" name="reset" value="{TEXT_RESET}" style="width: 117px;" /> |
|
70 |
</td> |
|
71 |
</tr> |
|
72 |
<tr> |
|
73 |
<td> </td> |
|
74 |
<td> </td> |
|
75 |
</tr> |
|
76 |
</table> |
|
77 |
</form> |
|
78 |
</div> |
|
79 |
<div class="{DISPLAY_INTRO}" style="padding-top: 10px;"> |
|
80 |
<br /> |
|
81 |
<h2>{HEADING_MODIFY_INTRO_PAGE}</h2> |
|
82 |
<a href="intro.php">{INTRO_LINK}</a> |
|
83 |
</div> |
|
84 |
<!-- Addition for remembering expanded state of pages --> |
|
85 |
<script type="text/javascript"> |
|
86 |
var THEME_URL = '{THEME_URL}'; |
|
87 |
var WB_URL = '{WB_URL}'; |
|
88 |
</script> |
|
89 |
<script src="{ADMIN_URL}/pages/page_index.js" type="text/javascript"></script> |
|
90 |
<!-- END main_block --> |
|
0 | 91 |
branches/2.8.x/wb/templates/wb_theme/templates/settings.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
|
|
3 |
<form name="settings" action="save.php" method="post"> |
|
4 |
<input type="hidden" name="advanced" value="{ADVANCED}" /> |
|
5 |
<input type="hidden" name="wbmailer_smtp_auth" id="wbmailer_smtp_auth" value="true" /> |
|
6 |
|
|
7 |
{FTAN} |
|
8 |
|
|
9 |
<table summary="" cellpadding="3" cellspacing="0" border="0" align="center" width="100%" class="settings_table"> |
|
10 |
<tr> |
|
11 |
<td colspan="3"><h2>{HEADING_GENERAL_SETTINGS}</h2></td> |
|
12 |
</tr> |
|
13 |
<tr> |
|
14 |
<td class="setting_name">{TEXT_WEBSITE_TITLE}:</td> |
|
15 |
<td class="setting_value" colspan="2"> |
|
16 |
<input type="text" name="website_title" value="{WEBSITE_TITLE}" /> |
|
17 |
</td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<td class="setting_name">{TEXT_WEBSITE_DESCRIPTION}:</td> |
|
21 |
<td class="setting_value" colspan="2"> |
|
22 |
<textarea name="website_description" cols="50" rows="3">{WEBSITE_DESCRIPTION}</textarea> |
|
23 |
</td> |
|
24 |
</tr> |
|
25 |
<tr> |
|
26 |
<td class="setting_name">{TEXT_WEBSITE_KEYWORDS}:</td> |
|
27 |
<td class="setting_value" colspan="2"> |
|
28 |
<textarea name="website_keywords" cols="50" rows="3" >{WEBSITE_KEYWORDS}</textarea> |
|
29 |
</td> |
|
30 |
</tr> |
|
31 |
<tr> |
|
32 |
<td class="setting_name">{TEXT_WEBSITE_HEADER}:</td> |
|
33 |
<td class="setting_value" colspan="2"> |
|
34 |
<textarea name="website_header" cols="50" rows="3">{WEBSITE_HEADER}</textarea> |
|
35 |
</td> |
|
36 |
</tr> |
|
37 |
<tr> |
|
38 |
<td class="setting_name">{TEXT_WEBSITE_FOOTER}:</td> |
|
39 |
<td class="setting_value" colspan="2"> |
|
40 |
<textarea name="website_footer" cols="50" rows="3">{WEBSITE_FOOTER}</textarea> |
|
41 |
</td> |
|
42 |
</tr> |
|
43 |
<!-- BEGIN show_page_level_limit_block --> |
|
44 |
<tr{DISPLAY_ADVANCED}> |
|
45 |
<td class="setting_name">{TEXT_PAGE_LEVEL_LIMIT}:</td> |
|
46 |
<td class="setting_value" colspan="2"> |
|
47 |
<select name="page_level_limit"> |
|
48 |
<!-- BEGIN page_level_limit_list_block --> |
|
49 |
<option value="{NUMBER}"{SELECTED}>{NUMBER}</option> |
|
50 |
<!-- END page_level_limit_list_block --> |
|
51 |
</select> |
|
52 |
</td> |
|
53 |
</tr> |
|
54 |
<!-- END show_page_level_limit_block --> |
|
55 |
<tr> |
|
56 |
<td class="setting_name">{TEXT_PAGE_TRASH}:</td> |
|
57 |
<td class="setting_value" colspan="2"> |
|
58 |
<input type="radio" name="page_trash" id="page_trash_inline" style="width: 14px; height: 14px;" value="inline"{PAGE_TRASH_INLINE} /> |
|
59 |
<label for="page_trash_inline">{TEXT_ENABLED}</label> |
|
60 |
<input type="radio" name="page_trash" id="page_trash_disabled" style="width: 14px; height: 14px;" value="disabled"{PAGE_TRASH_DISABLED} /> |
|
61 |
<label for="page_trash_disabled">{TEXT_DISABLED}</label> |
|
62 |
<div style="margin: 0; padding: 0;{DISPLAY_PAGE_TRASH_SEPARATE}"> |
|
63 |
<input type="radio" name="page_trash" id="page_trash_separate" style="width: 14px; height: 14px;" value="separate"{PAGE_TRASH_SEPARATE} /> |
|
64 |
<label for="page_trash_separate">{TEXT_SEPARATE}</label> |
|
65 |
</div> |
|
66 |
</td> |
|
67 |
</tr> |
|
68 |
<!-- BEGIN show_checkbox_1_block --> |
|
69 |
<tr{DISPLAY_ADVANCED}> |
|
70 |
<td class="setting_name">{TEXT_PAGE_LANGUAGES}:</td> |
|
71 |
<td class="setting_value" colspan="2"> |
|
72 |
<input type="radio" name="page_languages" id="page_languages_true" style="width: 14px; height: 14px;" value="true"{PAGE_LANGUAGES_ENABLED} /> |
|
73 |
<label for="page_languages_true">{TEXT_ENABLED}</label> |
|
74 |
<input type="radio" name="page_languages" id="page_languages_false" style="width: 14px; height: 14px;" value="false"{PAGE_LANGUAGES_DISABLED} /> |
|
75 |
<label for="page_languages_false">{TEXT_DISABLED}</label> |
|
76 |
</td> |
|
77 |
</tr> |
|
78 |
<tr{DISPLAY_ADVANCED}> |
|
79 |
<td class="setting_name">{TEXT_MULTIPLE_MENUS}:</td> |
|
80 |
<td class="setting_value" colspan="2"> |
|
81 |
<input type="radio" name="multiple_menus" id="multiple_menus_true" style="width: 14px; height: 14px;" value="true"{MULTIPLE_MENUS_ENABLED} /> |
|
82 |
<label for="multiple_menus_true">{TEXT_ENABLED}</label> |
|
83 |
<input type="radio" name="multiple_menus" id="multiple_menus_false" style="width: 14px; height: 14px;" value="false"{MULTIPLE_MENUS_DISABLED} /> |
|
84 |
<label for="multiple_menus_false">{TEXT_DISABLED}</label> |
|
85 |
</td> |
|
86 |
</tr> |
|
87 |
<!-- END show_checkbox_1_block --> |
|
88 |
<tr> |
|
89 |
<td class="setting_name">{TEXT_HOME_FOLDERS}:</td> |
|
90 |
<td class="setting_value" colspan="2"> |
|
91 |
<input type="radio" name="home_folders" id="home_folders_true" style="width: 14px; height: 14px;" value="true"{HOME_FOLDERS_ENABLED} /> |
|
92 |
<label for="home_folders_true">{TEXT_ENABLED}</label> |
|
93 |
<input type="radio" name="home_folders" id="home_folders_false" style="width: 14px; height: 14px;" value="false"{HOME_FOLDERS_DISABLED} /> |
|
94 |
<label for="home_folders_false">{TEXT_DISABLED}</label> |
|
95 |
</td> |
|
96 |
</tr> |
|
97 |
<!-- BEGIN show_checkbox_2_block --> |
|
98 |
<tr{DISPLAY_ADVANCED}> |
|
99 |
<td class="setting_name">{TEXT_MANAGE_SECTIONS}:</td> |
|
100 |
<td class="setting_value" colspan="2"> |
|
101 |
<input type="radio" name="manage_sections" id="manage_sections_true" style="width: 14px; height: 14px;" value="true"{MANAGE_SECTIONS_ENABLED} /> |
|
102 |
<label for="manage_sections_true">{TEXT_ENABLED}</label> |
|
103 |
<input type="radio" name="manage_sections" id="manage_sections_false" style="width: 14px; height: 14px;" value="false"{MANAGE_SECTIONS_DISABLED} /> |
|
104 |
<label for="manage_sections_false">{TEXT_DISABLED}</label> |
|
105 |
</td> |
|
106 |
</tr> |
|
107 |
<tr{DISPLAY_ADVANCED}> |
|
108 |
<td class="setting_name">{TEXT_SECTION_BLOCKS}:</td> |
|
109 |
<td class="setting_value" colspan="2"> |
|
110 |
<input type="radio" name="section_blocks" id="section_blocks_true" style="width: 14px; height: 14px;" value="true"{SECTION_BLOCKS_ENABLED} /> |
|
111 |
<label for="section_blocks_true">{TEXT_ENABLED}</label> |
|
112 |
<input type="radio" name="section_blocks" id="section_blocks_false" style="width: 14px; height: 14px;" value="false"{SECTION_BLOCKS_DISABLED} /> |
|
113 |
<label for="section_blocks_false">{TEXT_DISABLED}</label> |
|
114 |
</td> |
|
115 |
</tr> |
|
116 |
<!-- END show_checkbox_2_block --> |
|
117 |
<tr> |
|
118 |
<td class="setting_name">{TEXT_INTRO_PAGE}:</td> |
|
119 |
<td class="setting_value" colspan="2"> |
|
120 |
<input type="radio" name="intro_page" id="intro_page_true" style="width: 14px; height: 14px;" value="true"{INTRO_PAGE_ENABLED} /> |
|
121 |
<label for="intro_page_true">{TEXT_ENABLED}</label> |
|
122 |
<input type="radio" name="intro_page" id="intro_page_false" style="width: 14px; height: 14px;" value="false"{INTRO_PAGE_DISABLED} /> |
|
123 |
<label for="intro_page_false">{TEXT_DISABLED}</label> |
|
124 |
</td> |
|
125 |
</tr> |
|
126 |
<!-- BEGIN show_checkbox_3_block --> |
|
127 |
<tr{DISPLAY_ADVANCED}> |
|
128 |
<td class="setting_name">{TEXT_HOMEPAGE_REDIRECTION}:</td> |
|
129 |
<td class="setting_value" colspan="2"> |
|
130 |
<input type="radio" name="homepage_redirection" id="homepage_redirection_true" style="width: 14px; height: 14px;" value="true"{HOMEPAGE_REDIRECTION_ENABLED} /> |
|
131 |
<label for="homepage_redirection_true">{TEXT_ENABLED}</label> |
|
132 |
<input type="radio" name="homepage_redirection" id="homepage_redirection_false" style="width: 14px; height: 14px;" value="false"{HOMEPAGE_REDIRECTION_DISABLED} /> |
|
133 |
<label for="homepage_redirection_false">{TEXT_DISABLED}</label> |
|
134 |
</td> |
|
135 |
</tr> |
|
136 |
<tr{DISPLAY_ADVANCED}> |
|
137 |
<td class="setting_name">{TEXT_SMART_LOGIN}:</td> |
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files