Revision 933
Added by doc almost 16 years ago
trunk/CHANGELOG | ||
---|---|---|
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
14 | 14 |
16-Feb-2009 Christian Sommer |
15 |
! moved reload option of Add-ons to main Add-on section |
|
15 | 16 |
! reworked logout to reset possible remember key in database when logging out |
16 | 17 |
15-Feb-2009 Christian Sommer |
17 | 18 |
# fixed bug with smart login option (remember me) (ticket #689) |
trunk/wb/admin/templates/reload.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* $Id:$ |
|
4 |
* Website Baker Add-On reload |
|
5 |
* |
|
6 |
* This file contains the function to update the template information from the |
|
7 |
* database with the ones stored in the template info.php files. |
|
8 |
* |
|
9 |
* LICENSE: GNU Lesser General Public License 3.0 |
|
10 |
* |
|
11 |
* @author Christian Sommer |
|
12 |
* @copyright (c) 2009 |
|
13 |
* @license http://www.gnu.org/copyleft/lesser.html |
|
14 |
* @version 0.1.0 |
|
15 |
* @platform Website Baker 2.7 |
|
16 |
* |
|
17 |
* Website Baker Project <http://www.websitebaker.org/> |
|
18 |
* Copyright (C) 2004-2009, Ryan Djurovich |
|
19 |
* |
|
20 |
* Website Baker is free software; you can redistribute it and/or modify |
|
21 |
* it under the terms of the GNU General Public License as published by |
|
22 |
* the Free Software Foundation; either version 2 of the License, or |
|
23 |
* (at your option) any later version. |
|
24 |
* |
|
25 |
* Website Baker is distributed in the hope that it will be useful, |
|
26 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
27 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
28 |
* GNU General Public License for more details. |
|
29 |
* |
|
30 |
* You should have received a copy of the GNU General Public License |
|
31 |
* along with Website Baker; if not, write to the Free Software |
|
32 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
33 |
*/ |
|
34 |
|
|
35 |
// include WB configuration file and WB admin class |
|
36 |
require_once('../../config.php'); |
|
37 |
require_once('../../framework/class.admin.php'); |
|
38 |
|
|
39 |
// check user permissions for admintools (redirect users with wrong permissions) |
|
40 |
$admin = new admin('Admintools', 'admintools', false, false); |
|
41 |
if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php')); |
|
42 |
|
|
43 |
// check if the referer URL if available |
|
44 |
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : |
|
45 |
(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : ''); |
|
46 |
|
|
47 |
// if referer is set, check if script was invoked from "admin/modules/index.php" |
|
48 |
$required_url = '/admin/templates/index.php'; |
|
49 |
if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) |
|
50 |
die(header('Location: ../../index.php')); |
|
51 |
|
|
52 |
// include WB functions file |
|
53 |
require_once(WB_PATH . '/framework/functions.php'); |
|
54 |
|
|
55 |
// load WB language file |
|
56 |
require_once(WB_PATH . '/languages/' . LANGUAGE .'.php'); |
|
57 |
|
|
58 |
// create Admin object with admin header |
|
59 |
$admin = new admin('Addons', '', true, false); |
|
60 |
$js_back = ADMIN_URL . '/templates/index.php'; |
|
61 |
|
|
62 |
// reload template information from template "info.php" files |
|
63 |
if ($handle = opendir(WB_PATH . '/templates/')) { |
|
64 |
// remove all templates from database |
|
65 |
$table = TABLE_PREFIX . 'addons'; |
|
66 |
$sql = "DELETE FROM $table WHERE `type` = 'template'"; |
|
67 |
$database->query($sql); |
|
68 |
|
|
69 |
// loop over all templates |
|
70 |
while(false !== ($file = readdir($handle))) { |
|
71 |
if($file != '' AND substr($file, 0, 1) != '.' AND $file != 'index.php') { |
|
72 |
load_template(WB_PATH . '/templates/' . $file); |
|
73 |
} |
|
74 |
} |
|
75 |
closedir($handle); |
|
76 |
// output success message |
|
77 |
$admin->print_success($MESSAGE['ADDON']['TEMPLATES_RELOADED'], $js_back); |
|
78 |
|
|
79 |
} else { |
|
80 |
// output error message |
|
81 |
$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back); |
|
82 |
} |
|
83 |
|
|
84 |
?> |
|
85 | 0 |
trunk/wb/admin/templates/index.php | ||
---|---|---|
54 | 54 |
if($admin->get_permission('templates_view') != true) { |
55 | 55 |
$template->set_var('DISPLAY_LIST', 'hide'); |
56 | 56 |
} |
57 |
if($admin->get_permission('admintools') != true) { |
|
58 |
$template->set_var('DISPLAY_RELOAD', 'hide'); |
|
59 |
} |
|
60 | 57 |
|
61 | 58 |
// Insert language headings |
62 | 59 |
$template->set_var(array( |
... | ... | |
75 | 72 |
'TEXT_UNINSTALL' => $TEXT['UNINSTALL'], |
76 | 73 |
'TEXT_VIEW_DETAILS' => $TEXT['VIEW_DETAILS'], |
77 | 74 |
'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'], |
78 |
'CHANGE_TEMPLATE_NOTICE' => $MESSAGE['TEMPLATES']['CHANGE_TEMPLATE_NOTICE'], |
|
79 |
'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . '-' . $TEXT['SETTINGS'], |
|
80 |
'TEXT_RELOAD_ADDON' => $MESSAGE['ADDON']['RELOAD'], |
|
81 |
'TEXT_RELOAD' => $TEXT['RELOAD'] |
|
75 |
'CHANGE_TEMPLATE_NOTICE' => $MESSAGE['TEMPLATES']['CHANGE_TEMPLATE_NOTICE'] |
|
82 | 76 |
) |
83 | 77 |
); |
84 | 78 |
|
trunk/wb/admin/templates/template.html | ||
---|---|---|
76 | 76 |
<br /> |
77 | 77 |
</form> |
78 | 78 |
|
79 |
<form name="details" action="reload.php" method="post" class="{DISPLAY_RELOAD}"> |
|
80 |
<hr style="margin-bottom: 1em; margin-top: 1em; border: 0.5px solid #DDD;" /> |
|
81 |
|
|
82 |
<h2>{TXT_ADMIN_SETTINGS}</h2> |
|
83 |
<p>{TEXT_RELOAD_ADDON}</p> |
|
84 |
<input type="submit" name="submit" value="{TEXT_RELOAD}" style="width: 100px;" /> |
|
85 |
|
|
86 |
<br /> |
|
87 |
</form> |
|
88 |
|
|
89 | 79 |
<!-- END main_block --> |
trunk/wb/admin/languages/reload.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* $Id:$ |
|
4 |
* Website Baker Add-On reload |
|
5 |
* |
|
6 |
* This file contains the function to update the language information from the |
|
7 |
* database with the ones stored in the language info.php files. |
|
8 |
* |
|
9 |
* LICENSE: GNU Lesser General Public License 3.0 |
|
10 |
* |
|
11 |
* @author Christian Sommer |
|
12 |
* @copyright (c) 2009 |
|
13 |
* @license http://www.gnu.org/copyleft/lesser.html |
|
14 |
* @version 0.1.0 |
|
15 |
* @platform Website Baker 2.7 |
|
16 |
* |
|
17 |
* Website Baker Project <http://www.websitebaker.org/> |
|
18 |
* Copyright (C) 2004-2009, Ryan Djurovich |
|
19 |
* |
|
20 |
* Website Baker is free software; you can redistribute it and/or modify |
|
21 |
* it under the terms of the GNU General Public License as published by |
|
22 |
* the Free Software Foundation; either version 2 of the License, or |
|
23 |
* (at your option) any later version. |
|
24 |
* |
|
25 |
* Website Baker is distributed in the hope that it will be useful, |
|
26 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
27 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
28 |
* GNU General Public License for more details. |
|
29 |
* |
|
30 |
* You should have received a copy of the GNU General Public License |
|
31 |
* along with Website Baker; if not, write to the Free Software |
|
32 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
33 |
*/ |
|
34 |
|
|
35 |
// include WB configuration file and WB admin class |
|
36 |
require_once('../../config.php'); |
|
37 |
require_once('../../framework/class.admin.php'); |
|
38 |
|
|
39 |
// check user permissions for admintools (redirect users with wrong permissions) |
|
40 |
$admin = new admin('Admintools', 'admintools', false, false); |
|
41 |
if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php')); |
|
42 |
|
|
43 |
// check if the referer URL if available |
|
44 |
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : |
|
45 |
(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : ''); |
|
46 |
|
|
47 |
// if referer is set, check if script was invoked from "admin/modules/index.php" |
|
48 |
$required_url = '/admin/languages/index.php'; |
|
49 |
if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) |
|
50 |
die(header('Location: ../../index.php')); |
|
51 |
|
|
52 |
// include WB functions file |
|
53 |
require_once(WB_PATH . '/framework/functions.php'); |
|
54 |
|
|
55 |
// load WB language file |
|
56 |
require_once(WB_PATH . '/languages/' . LANGUAGE .'.php'); |
|
57 |
|
|
58 |
// create Admin object with admin header |
|
59 |
$admin = new admin('Addons', '', true, false); |
|
60 |
$js_back = ADMIN_URL . '/languages/index.php'; |
|
61 |
|
|
62 |
// reload template information from language "info.php" files |
|
63 |
if ($handle = opendir(WB_PATH . '/languages/')) { |
|
64 |
// remove all languages from database |
|
65 |
$table = TABLE_PREFIX . 'addons'; |
|
66 |
$sql = "DELETE FROM $table WHERE `type` = 'language'"; |
|
67 |
$database->query($sql); |
|
68 |
|
|
69 |
// loop over all languages |
|
70 |
while(false !== ($file = readdir($handle))) { |
|
71 |
if($file != '' && substr($file, 0, 1) != '.' && $file != 'index.php') { |
|
72 |
load_language(WB_PATH . '/languages/' . $file); |
|
73 |
} |
|
74 |
} |
|
75 |
closedir($handle); |
|
76 |
// output success message |
|
77 |
$admin->print_success($MESSAGE['ADDON']['LANGUAGES_RELOADED'], $js_back); |
|
78 |
|
|
79 |
} else { |
|
80 |
// output error message |
|
81 |
$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back); |
|
82 |
} |
|
83 |
|
|
84 |
?> |
|
85 | 0 |
trunk/wb/admin/languages/index.php | ||
---|---|---|
54 | 54 |
if($admin->get_permission('languages_view') != true) { |
55 | 55 |
$template->set_var('DISPLAY_LIST', 'hide'); |
56 | 56 |
} |
57 |
if($admin->get_permission('admintools') != true) { |
|
58 |
$template->set_var('DISPLAY_RELOAD', 'hide'); |
|
59 |
} |
|
60 | 57 |
|
61 | 58 |
// Insert language headings |
62 | 59 |
$template->set_var(array( |
... | ... | |
74 | 71 |
'TEXT_INSTALL' => $TEXT['INSTALL'], |
75 | 72 |
'TEXT_UNINSTALL' => $TEXT['UNINSTALL'], |
76 | 73 |
'TEXT_VIEW_DETAILS' => $TEXT['VIEW_DETAILS'], |
77 |
'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'], |
|
78 |
'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . '-' . $TEXT['SETTINGS'], |
|
79 |
'TEXT_RELOAD_ADDON' => $MESSAGE['ADDON']['RELOAD'], |
|
80 |
'TEXT_RELOAD' => $TEXT['RELOAD'] |
|
74 |
'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'] |
|
81 | 75 |
) |
82 | 76 |
); |
83 | 77 |
|
trunk/wb/admin/languages/template.html | ||
---|---|---|
73 | 73 |
<br /> |
74 | 74 |
</form> |
75 | 75 |
|
76 |
<form name="details" action="reload.php" method="post" class="{DISPLAY_RELOAD}"> |
|
77 |
<hr style="margin-bottom: 1em; margin-top: 1em; border: 0.5px solid #DDD;" /> |
|
78 |
|
|
79 |
<h2>{TXT_ADMIN_SETTINGS}</h2> |
|
80 |
<p>{TEXT_RELOAD_ADDON}</p> |
|
81 |
<input type="submit" name="submit" value="{TEXT_RELOAD}" style="width: 100px;" /> |
|
82 |
|
|
83 |
<br /> |
|
84 |
</form> |
|
85 |
|
|
86 | 76 |
<!-- END main_block --> |
trunk/wb/admin/addons/reload.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* $Id$ |
|
4 |
* Website Baker Add-On reload |
|
5 |
* |
|
6 |
* This file contains the function to update the Add-on information from the |
|
7 |
* database with the ones stored in the Add-on files (e.g. info.php or EN.php) |
|
8 |
* |
|
9 |
* LICENSE: GNU Lesser General Public License 3.0 |
|
10 |
* |
|
11 |
* @author Christian Sommer |
|
12 |
* @copyright (c) 2009 |
|
13 |
* @license http://www.gnu.org/copyleft/lesser.html |
|
14 |
* @version 0.1.0 |
|
15 |
* @platform Website Baker 2.7 |
|
16 |
* |
|
17 |
* Website Baker Project <http://www.websitebaker.org/> |
|
18 |
* Copyright (C) 2004-2009, Ryan Djurovich |
|
19 |
* |
|
20 |
* Website Baker is free software; you can redistribute it and/or modify |
|
21 |
* it under the terms of the GNU General Public License as published by |
|
22 |
* the Free Software Foundation; either version 2 of the License, or |
|
23 |
* (at your option) any later version. |
|
24 |
* |
|
25 |
* Website Baker is distributed in the hope that it will be useful, |
|
26 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
27 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
28 |
* GNU General Public License for more details. |
|
29 |
* |
|
30 |
* You should have received a copy of the GNU General Public License |
|
31 |
* along with Website Baker; if not, write to the Free Software |
|
32 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
33 |
*/ |
|
34 |
|
|
35 |
/** |
|
36 |
* check if there is anything to do |
|
37 |
*/ |
|
38 |
$post_check = array('reload_modules', 'reload_templates', 'reload_languages'); |
|
39 |
foreach ($post_check as $index => $key) { |
|
40 |
if (!isset($_POST[$key])) unset($post_check[$index]); |
|
41 |
} |
|
42 |
if (count($post_check) == 0) die(header('Location: index.php')); |
|
43 |
|
|
44 |
/** |
|
45 |
* check if user has permissions to access this file |
|
46 |
*/ |
|
47 |
// include WB configuration file and WB admin class |
|
48 |
require_once('../../config.php'); |
|
49 |
require_once('../../framework/class.admin.php'); |
|
50 |
|
|
51 |
// check user permissions for admintools (redirect users with wrong permissions) |
|
52 |
$admin = new admin('Admintools', 'admintools', false, false); |
|
53 |
if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php')); |
|
54 |
|
|
55 |
// check if the referer URL if available |
|
56 |
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : |
|
57 |
(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : ''); |
|
58 |
|
|
59 |
// if referer is set, check if script was invoked from "admin/modules/index.php" |
|
60 |
$required_url = ADMIN_URL . '/addons/index.php'; |
|
61 |
if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) |
|
62 |
die(header('Location: ../../index.php')); |
|
63 |
|
|
64 |
// include WB functions file |
|
65 |
require_once(WB_PATH . '/framework/functions.php'); |
|
66 |
|
|
67 |
// load WB language file |
|
68 |
require_once(WB_PATH . '/languages/' . LANGUAGE .'.php'); |
|
69 |
|
|
70 |
// create Admin object with admin header |
|
71 |
$admin = new admin('Addons', '', true, false); |
|
72 |
$js_back = ADMIN_URL . '/addons/index.php'; |
|
73 |
|
|
74 |
/** |
|
75 |
* Reload all specified Addons |
|
76 |
*/ |
|
77 |
$msg = array(); |
|
78 |
$table = TABLE_PREFIX . 'addons'; |
|
79 |
|
|
80 |
foreach ($post_check as $key) { |
|
81 |
switch ($key) { |
|
82 |
case 'reload_modules': |
|
83 |
if ($handle = opendir(WB_PATH . '/modules')) { |
|
84 |
// delete modules from database |
|
85 |
$sql = "DELETE FROM `$table` WHERE `type` = 'module'"; |
|
86 |
$database->query($sql); |
|
87 |
|
|
88 |
// loop over all modules |
|
89 |
while(false !== ($file = readdir($handle))) { |
|
90 |
if ($file != '' && substr($file, 0, 1) != '.' && $file != 'admin.php' && $file != 'index.php') { |
|
91 |
load_module(WB_PATH . '/modules/' . $file); |
|
92 |
} |
|
93 |
} |
|
94 |
closedir($handle); |
|
95 |
// add success message |
|
96 |
$msg[] = $MESSAGE['ADDON']['MODULES_RELOADED']; |
|
97 |
|
|
98 |
} else { |
|
99 |
// provide error message and stop |
|
100 |
$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back); |
|
101 |
} |
|
102 |
break; |
|
103 |
|
|
104 |
case 'reload_templates': |
|
105 |
if ($handle = opendir(WB_PATH . '/templates')) { |
|
106 |
// delete templates from database |
|
107 |
$sql = "DELETE FROM `$table` WHERE `type` = 'template'"; |
|
108 |
$database->query($sql); |
|
109 |
|
|
110 |
// loop over all templates |
|
111 |
while(false !== ($file = readdir($handle))) { |
|
112 |
if($file != '' AND substr($file, 0, 1) != '.' AND $file != 'index.php') { |
|
113 |
load_template(WB_PATH . '/templates/' . $file); |
|
114 |
} |
|
115 |
} |
|
116 |
closedir($handle); |
|
117 |
// add success message |
|
118 |
$msg[] = $MESSAGE['ADDON']['TEMPLATES_RELOADED']; |
|
119 |
|
|
120 |
} else { |
|
121 |
// provide error message and stop |
|
122 |
$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back); |
|
123 |
} |
|
124 |
break; |
|
125 |
|
|
126 |
case 'reload_languages': |
|
127 |
if ($handle = opendir(WB_PATH . '/languages/')) { |
|
128 |
// delete languages from database |
|
129 |
$sql = "DELETE FROM `$table` WHERE `type` = 'language'"; |
|
130 |
$database->query($sql); |
|
131 |
|
|
132 |
// loop over all languages |
|
133 |
while(false !== ($file = readdir($handle))) { |
|
134 |
if ($file != '' && substr($file, 0, 1) != '.' && $file != 'index.php') { |
|
135 |
load_language(WB_PATH . '/languages/' . $file); |
|
136 |
} |
|
137 |
} |
|
138 |
closedir($handle); |
|
139 |
// add success message |
|
140 |
$msg[] = $MESSAGE['ADDON']['LANGUAGES_RELOADED']; |
|
141 |
|
|
142 |
} else { |
|
143 |
// provide error message and stop |
|
144 |
$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back); |
|
145 |
} |
|
146 |
break; |
|
147 |
} |
|
148 |
} |
|
149 |
|
|
150 |
// output success message |
|
151 |
$admin->print_success(implode($msg, '<br />'), $js_back); |
|
152 |
|
|
153 |
?> |
|
0 | 154 |
trunk/wb/admin/addons/index.php | ||
---|---|---|
49 | 49 |
if($admin->get_permission('languages') != true) { |
50 | 50 |
$template->set_var('DISPLAY_LANGUAGES', 'none'); |
51 | 51 |
} |
52 |
if($admin->get_permission('admintools') != true) { |
|
53 |
$template->set_var('DISPLAY_RELOAD', 'none'); |
|
54 |
} |
|
52 | 55 |
|
53 | 56 |
// Insert section names and descriptions |
54 | 57 |
$template->set_var(array( |
... | ... | |
57 | 60 |
'LANGUAGES' => $MENU['LANGUAGES'], |
58 | 61 |
'MODULES_OVERVIEW' => $OVERVIEW['MODULES'], |
59 | 62 |
'TEMPLATES_OVERVIEW' => $OVERVIEW['TEMPLATES'], |
60 |
'LANGUAGES_OVERVIEW' => $OVERVIEW['LANGUAGES'] |
|
63 |
'LANGUAGES_OVERVIEW' => $OVERVIEW['LANGUAGES'], |
|
64 |
'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . ' ' . $TEXT['SETTINGS'], |
|
65 |
'MESSAGE_RELOAD_ADDONS' => $MESSAGE['ADDON']['RELOAD'], |
|
66 |
'TEXT_RELOAD' => $TEXT['RELOAD'], |
|
67 |
'RELOAD_URL' => ADMIN_URL . '/addons/reload.php', |
|
61 | 68 |
) |
62 | 69 |
); |
63 | 70 |
|
trunk/wb/admin/addons/template.html | ||
---|---|---|
42 | 42 |
<tr> |
43 | 43 |
<td align="center" valign="top"> |
44 | 44 |
|
45 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_MODULES};">
|
|
45 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_MODULES};"> |
|
46 | 46 |
<tr> |
47 | 47 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
48 | 48 |
<a href="{ADMIN_URL}/modules/index.php"> |
... | ... | |
61 | 61 |
</table> |
62 | 62 |
|
63 | 63 |
|
64 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_TEMPLATES};">
|
|
64 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_TEMPLATES};"> |
|
65 | 65 |
<tr> |
66 | 66 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
67 | 67 |
<a href="{ADMIN_URL}/templates/index.php"> |
... | ... | |
80 | 80 |
</table> |
81 | 81 |
|
82 | 82 |
|
83 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_LANGUAGES};">
|
|
83 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_LANGUAGES};"> |
|
84 | 84 |
<tr> |
85 | 85 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
86 | 86 |
<a href="{ADMIN_URL}/languages/index.php"> |
... | ... | |
97 | 97 |
</td> |
98 | 98 |
</tr> |
99 | 99 |
</table> |
100 |
|
|
101 |
<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_RELOAD};"> |
|
102 |
<tr> |
|
103 |
<td class="graphic" align="center" valign="middle" rowspan="2"> |
|
104 |
<img src="{ADMIN_URL}/images/icons/admintools.png" border="0" /> |
|
105 |
</td> |
|
106 |
<td class="title"> |
|
107 |
{TXT_ADMIN_SETTINGS} |
|
108 |
</td> |
|
109 |
</tr> |
|
110 |
<tr> |
|
111 |
<td class="description"> |
|
112 |
<form action="{RELOAD_URL}" method="post"> |
|
113 |
{MESSAGE_RELOAD_ADDONS}<br style="margin-bottom: 0.5em" /> |
|
114 |
|
|
115 |
<input style="display:{DISPLAY_MODULES};" type="checkbox" name="reload_modules" id="reload_modules" value="true" /> |
|
116 |
<label style="display:{DISPLAY_MODULES};" for="reload_modules">{MODULES}</label> |
|
100 | 117 |
|
118 |
<input style="display:{DISPLAY_TEMPLATES};" type="checkbox" name="reload_templates" id="reload_templates" value="true" /> |
|
119 |
<label style="display:{DISPLAY_TEMPLATES};" for="reload_templates">{TEMPLATES}</label> |
|
120 |
|
|
121 |
<input style="display:{DISPLAY_LANGUAGES};" type="checkbox" name="reload_languages" id="reload_languages" value="true" /> |
|
122 |
<label style="display:{DISPLAY_LANGUAGES};" for="reload_languages">{LANGUAGES}</label> |
|
123 |
|
|
124 |
<input type="submit" name="submit" value="{TEXT_RELOAD}" /> |
|
125 |
</form> |
|
126 |
</td> |
|
127 |
</tr> |
|
128 |
</table> |
|
129 |
|
|
101 | 130 |
</td> |
102 | 131 |
</tr> |
103 | 132 |
</table> |
trunk/wb/admin/modules/reload.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* $Id:$ |
|
4 |
* Website Baker Add-On reload |
|
5 |
* |
|
6 |
* This file contains the function to update the module information from the |
|
7 |
* database with the ones stored in the module info.php files. |
|
8 |
* |
|
9 |
* LICENSE: GNU Lesser General Public License 3.0 |
|
10 |
* |
|
11 |
* @author Christian Sommer |
|
12 |
* @copyright (c) 2009 |
|
13 |
* @license http://www.gnu.org/copyleft/lesser.html |
|
14 |
* @version 0.1.0 |
|
15 |
* @platform Website Baker 2.7 |
|
16 |
* |
|
17 |
* Website Baker Project <http://www.websitebaker.org/> |
|
18 |
* Copyright (C) 2004-2009, Ryan Djurovich |
|
19 |
* |
|
20 |
* Website Baker is free software; you can redistribute it and/or modify |
|
21 |
* it under the terms of the GNU General Public License as published by |
|
22 |
* the Free Software Foundation; either version 2 of the License, or |
|
23 |
* (at your option) any later version. |
|
24 |
* |
|
25 |
* Website Baker is distributed in the hope that it will be useful, |
|
26 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
27 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
28 |
* GNU General Public License for more details. |
|
29 |
* |
|
30 |
* You should have received a copy of the GNU General Public License |
|
31 |
* along with Website Baker; if not, write to the Free Software |
|
32 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
33 |
*/ |
|
34 |
|
|
35 |
// include WB configuration file and WB admin class |
|
36 |
require_once('../../config.php'); |
|
37 |
require_once('../../framework/class.admin.php'); |
|
38 |
|
|
39 |
// check user permissions for admintools (redirect users with wrong permissions) |
|
40 |
$admin = new admin('Admintools', 'admintools', false, false); |
|
41 |
if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php')); |
|
42 |
|
|
43 |
// check if the referer URL if available |
|
44 |
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : |
|
45 |
(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : ''); |
|
46 |
|
|
47 |
// if referer is set, check if script was invoked from "admin/modules/index.php" |
|
48 |
$required_url = '/admin/modules/index.php'; |
|
49 |
if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) |
|
50 |
die(header('Location: ../../index.php')); |
|
51 |
|
|
52 |
// include WB functions file |
|
53 |
require_once(WB_PATH . '/framework/functions.php'); |
|
54 |
|
|
55 |
// load WB language file |
|
56 |
require_once(WB_PATH . '/languages/' . LANGUAGE .'.php'); |
|
57 |
|
|
58 |
// create Admin object with admin header |
|
59 |
$admin = new admin('Addons', '', true, false); |
|
60 |
$js_back = ADMIN_URL . '/modules/index.php'; |
|
61 |
|
|
62 |
// reload module information from module "info.php" files |
|
63 |
if ($handle = opendir(WB_PATH . '/modules/')) { |
|
64 |
// remove all modules from database |
|
65 |
$table = TABLE_PREFIX . 'addons'; |
|
66 |
$sql = "DELETE FROM $table WHERE `type` = 'module'"; |
|
67 |
$database->query($sql); |
|
68 |
|
|
69 |
// loop over all modules |
|
70 |
while(false !== ($file = readdir($handle))) { |
|
71 |
if ($file != '' && substr($file, 0, 1) != '.' && $file != 'admin.php' && $file != 'index.php') { |
|
72 |
load_module(WB_PATH.'/modules/'.$file); |
|
73 |
} |
|
74 |
} |
|
75 |
closedir($handle); |
|
76 |
// output success message |
|
77 |
$admin->print_success($MESSAGE['ADDON']['MODULES_RELOADED'], $js_back); |
|
78 |
|
|
79 |
} else { |
|
80 |
// output error message |
|
81 |
$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back); |
|
82 |
} |
|
83 |
|
|
84 |
?> |
|
85 | 0 |
trunk/wb/admin/modules/index.php | ||
---|---|---|
54 | 54 |
if($admin->get_permission('modules_view') != true) { |
55 | 55 |
$template->set_var('DISPLAY_LIST', 'hide'); |
56 | 56 |
} |
57 |
if($admin->get_permission('admintools') != true) { |
|
58 |
$template->set_var('DISPLAY_RELOAD', 'hide'); |
|
59 |
} |
|
60 | 57 |
|
61 | 58 |
// Insert language headings |
62 | 59 |
$template->set_var(array( |
... | ... | |
74 | 71 |
'TEXT_INSTALL' => $TEXT['INSTALL'], |
75 | 72 |
'TEXT_UNINSTALL' => $TEXT['UNINSTALL'], |
76 | 73 |
'TEXT_VIEW_DETAILS' => $TEXT['VIEW_DETAILS'], |
77 |
'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'], |
|
78 |
'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . '-' . $TEXT['SETTINGS'], |
|
79 |
'TEXT_RELOAD_ADDON' => $MESSAGE['ADDON']['RELOAD'], |
|
80 |
'TEXT_RELOAD' => $TEXT['RELOAD'] |
|
74 |
'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'] |
|
81 | 75 |
) |
82 | 76 |
); |
83 | 77 |
|
trunk/wb/admin/modules/template.html | ||
---|---|---|
73 | 73 |
<br /> |
74 | 74 |
</form> |
75 | 75 |
|
76 |
<form name="details" action="reload.php" method="post" class="{DISPLAY_RELOAD}"> |
|
77 |
<hr style="margin-bottom: 1em; margin-top: 1em; border: 0.5px solid #DDD;" /> |
|
78 |
|
|
79 |
<h2>{TXT_ADMIN_SETTINGS}</h2> |
|
80 |
<p>{TEXT_RELOAD_ADDON}</p> |
|
81 |
<input type="submit" name="submit" value="{TEXT_RELOAD}" style="width: 100px;" /> |
|
82 |
|
|
83 |
<br /> |
|
84 |
</form> |
|
85 |
|
|
86 | 76 |
<!-- END main_block --> |
trunk/wb/languages/FI.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Rajoitus voimassa, yritä tunnin kuluttua uudelleen'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Tarkistusluku (Captcha) virheellinen '; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduulin lataus onnistui'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Sivupohjan lataus onnistui'; |
trunk/wb/languages/EN.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sorry, this form has been submitted too many times so far this hour. Please retry in the next hour.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully'; |
trunk/wb/languages/CS.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Omlouváme se, ale tento formulář dosáhl limitu povolených odeslání pro tuto hodinu. Prosím zkuste to znovu v další hodině..'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Kontrolní kód (známý jako Captcha) neodpovídá. Pokud máte problémy s přečtením tohoto kódu, kontaktujte '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduly byly úspěšně přehrány'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Šablony byly úspěšně přehrány'; |
trunk/wb/languages/SE.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Tyvärr, detta formulär har skickats för många gånger inom denna timme. Försök igen om ett tag.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Verifieringsnumret (också känt som Captcha) som du angav är felaktigt. Om du har problem med att läsa ut Captcha, vänligen sänd email till: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduler laddades om'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Mallar laddades om'; |
trunk/wb/languages/ES.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Disculpe este formulario ha sido enviado demasiadas veces seguidas. Vuelva a intentarlo en una hora.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'El número de verificación que ha introducido es incorrecto. Si estás teniendo problemas leyéndolo, por favor, envíe un e-mail a: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Módulos recargados correctamente'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Plantillas recargadas correctamente'; |
trunk/wb/languages/FR.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Désolé mais vous avez utilisé ce formulaire trop de fois durant cette heure. Merci de réessayer à l\'heure suivante'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Le numéro de vérification (Captcha) que vous avez entré est incorrect. Si vous rencontrez des problèmes quant à la lecture de ce numéro, merci d\'envoyer un email à : '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules réinstallés avec succès'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Modèles réinstallés avec succès'; |
trunk/wb/languages/ET.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Vabandame, see vorm on juba liiga palju kordi selle tunni jooksul saadetud. Palun proovi järgmine tund uuesti.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully'; |
trunk/wb/languages/HR.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Ova forma je pregledavana previše puta u jednom satu. Molimo pokušajte slijedeæi sat.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Broj provjere (poznat kao Captcha) netoèno je unešen. Ako imate problema s èitanjem Captcha, molimo pošaljite email: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Uspješno nasnimljeni moduli'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Uspješno nasnimljeni predlošci'; |
trunk/wb/languages/NL.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sorry, dit formulier is te vaak verstuurd binnen dit uur. Probeert u het over een uur nog eens.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Het verificatienummer (ook wel Captcha genoemd) dat u hebt ingevoerd is incorrect. Als u de Captcha niet goed kunt lezen, stuur dan een e-mail naar: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules succesvol herladen'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates succesvol herladen'; |
trunk/wb/languages/PL.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Niestety, ten formularz został wysłany zbyt wiele razy w ciągu tej godziny. Prosimy spróbować ponownie za godzinę.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Wprowadzony numer weryfikacyjny (tzw. Captcha) jest nieprawidłowy. Jeśli masz problemy z odczytaniem Captcha, napisz do: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduły zostały załadowane ponownie'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Szablony zostały załadowane ponownie'; |
trunk/wb/languages/HU.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sajnáljuk, de ez az ûrlap túl sokszor lett kitöltve egy óran belül! Kérem próbálja meg egy óra múlva.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully'; |
trunk/wb/languages/IT.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Spiacente: hai compilato questa form troppe volte nell\'ultima ora.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Il numero di controllo (chiama Captcha) che hai inserito non è valido. Se hai problemi con la lettura del Captcha, invia un email email: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduli ricaricati con successo'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates ricaricati con successo'; |
trunk/wb/languages/NO.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Beklager, denne form har blitt sendt for mange ganger denne timen. Vennligst prøv igjen neste time.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Bekreftelsesnummeret (også kjent som Captcha) som du skrev inn er feil. Hvis du har problemer med å lese Captcha, vennligst kontakt: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Lykkes i å oppdatere moduler'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Lykkes i å oppdatere maler'; |
trunk/wb/languages/LV.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Atvaino, ši forma ir tikusi aizpildita parak daudz reižu šis stundas laika. Ludzu pamegini velreiz pec stundas.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Ievaditais parbaudes numurs ir nepareizs. Ja radušas problemas ar parbaudes koda nolasišanu, suti zinu uz: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduli veiksmigi parladeti'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'šabloni veiksmigi parladeti'; |
trunk/wb/languages/CA.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Ho sentim, aquest formulari ha estat enviat massa vegades durant l\'última hora. Per favor torneu-ho a intentar d\'ací una hora.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully'; |
trunk/wb/languages/PT.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Desculpe, este formulário foi submetido várias vezes nessa hora. Favor tentar novamente dentro de uma hora.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'O Número de Verifica&ccdil;ão (conhecido como Captcha) que você entrou, é inválido. Se estiver tendo problemas usando o Captcha, envie uma mensagem para: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Módulos recarregados com sucesso'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Temas (Templates) recarregados com sucesso'; |
trunk/wb/languages/DA.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Beklager! Denne formular er blevet afsendt for mange gange indenfor den sidste time, og du vil derfor blive afvist - Prøv igen om en times tid!'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Verifikations tallene (også kendt som Captcha) som du tastede er ikke korrekte. Hvis du har problemer med at læse Captha tallene, så kontakt venligst sidens Administrator på denne mailadresse: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduler opdateret med succes'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates opdateret med succes'; |
trunk/wb/languages/TR.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sorry, this form has been submitted too many times so far this hour. Please retry in the next hour.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modül, baþarýlý bir þekildeninkini tekrar yüklendi'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Kalýplar, baþarýlý bir þekildeninkini tekrar yüklendi'; |
trunk/wb/languages/RU.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Извините, слишком много сообщений за последний час. Пожалуйста попробуйте повторить отправку через некоторое время.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Код подтверждения введен неверно. Если вы не можете прочесть код, пожалуйста сообщите разработчикам: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Модули перезагружены успешно'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Шаблоны перезагружены успешно'; |
trunk/wb/languages/DE.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Dieses Formular wurde zu oft aufgerufen. Bitte versuchen Sie es in einer Stunde noch einmal.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Die eingegebene Prüfziffer stimmt nicht überein. Wenn Sie Probleme mit dem Lesen der Prüfziffer haben, bitte schreiben Sie eine E-Mail an uns: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Nachfolgende Schaltfläche gleicht die Informationen der Datenbank mit den Daten der Addon Dateien "info.php" ab. Dies kann notwendig sein, wenn Addons über FTP hochgeladen wurden.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Abgleich der Datenbank mit den Informationen aus den Addon-Dateien (z.B. nach FTP Upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Fehler beim Abgleich der Addon Informationen.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Module erfolgreich geladen'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Designvorlagen erfolgreich geladen'; |
trunk/wb/languages/BG.php | ||
---|---|---|
586 | 586 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Съжаляваме, този форуляр е подаден повече пъти от позволеното през този час. Опитайте отнове по време на следващи час.'; |
587 | 587 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Контролния номер (позант като Captcha) е грешен. Ако имате проблем с четенето на Captcha, изпратете e-mail на: '.SERVER_EMAIL.''; |
588 | 588 |
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
|
|
589 |
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
|
|
590 | 590 |
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.'; |
591 | 591 |
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully'; |
592 | 592 |
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully'; |
Also available in: Unified diff
Moved reload option of Add-ons to main Add-on section.