Revision 1308
Added by Dietmar over 14 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.1 ------------------------------------- |
14 | 14 |
19-Mar-2010 Dietmar Woellbrink (Luisehahne) |
15 |
- remove deprecated backup modul |
|
16 |
19-Mar-2010 Dietmar Woellbrink (Luisehahne) |
|
15 | 17 |
! rework admin/pages/save.php so that modules can use it |
16 | 18 |
! fixed missing global install variable to work in modules |
17 | 19 |
17-Mar-2010 Dietmar Woellbrink (Luisehahne) |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
52 | 52 |
|
53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.x'); |
55 |
if(!defined('REVISION')) define('REVISION', '1306');
|
|
55 |
if(!defined('REVISION')) define('REVISION', '1308');
|
|
56 | 56 |
|
57 | 57 |
?> |
branches/2.8.x/wb/modules/backup/index.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category modules |
|
5 |
* @package backup |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
header('Location: ../index.php'); |
|
20 |
|
|
21 |
?> |
|
22 | 0 |
branches/2.8.x/wb/modules/backup/tool.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category modules |
|
5 |
* @package backup |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
// Direct access prevention |
|
20 |
defined('WB_PATH') OR die(header('Location: ../index.php')); |
|
21 |
|
|
22 |
// check if module language file exists for the language set by the user (e.g. DE, EN) |
|
23 |
if(!file_exists(WB_PATH .'/modules/backup/languages/'.LANGUAGE .'.php')) { |
|
24 |
// no module language file exists for the language set by the user, include default module language file EN.php |
|
25 |
require_once(WB_PATH .'/modules/backup/languages/EN.php'); |
|
26 |
} else { |
|
27 |
// a module language file exists for the language defined by the user, load it |
|
28 |
require_once(WB_PATH .'/modules/backup/languages/'.LANGUAGE .'.php'); |
|
29 |
} |
|
30 |
|
|
31 |
// Show form |
|
32 |
?> |
|
33 |
<br /> |
|
34 |
<form name="prompt" method="post" action="<?php echo WB_URL; ?>/modules/backup/backup-sql.php"> |
|
35 |
<input type="radio" checked="checked" name="tables" value="ALL"><?php echo $MOD_BACKUP['BACKUP_ALL_TABLES']; ?><br> |
|
36 |
<input type="radio" name="tables" value="WB"><?php echo $MOD_BACKUP['BACKUP_WB_SPECIFIC']; ?><br><br> |
|
37 |
<input type="submit" name="backup" value="<?php echo $TEXT['BACKUP_DATABASE']; ?>" onClick="javascript: if(!confirm('<?php echo $MESSAGE['GENERIC']['PLEASE_BE_PATIENT']; ?>')) { return false; }" /> |
|
38 |
</form> |
|
39 | 0 |
branches/2.8.x/wb/modules/backup/info.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category modules |
|
5 |
* @package backup |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
$module_directory = 'backup'; |
|
20 |
$module_name = 'Backup'; |
|
21 |
$module_function = 'tool'; |
|
22 |
$module_version = '2.7'; |
|
23 |
$module_platform = '2.7 | 2.8.x'; |
|
24 |
$module_author = 'Ryan Djurovich, John'; |
|
25 |
$module_license = 'GNU General Public License'; |
|
26 |
$module_description = 'This module allows you to backup your database.'; |
|
27 |
|
|
28 |
?> |
|
29 | 0 |
branches/2.8.x/wb/modules/backup/languages/RU.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category modules |
|
5 |
* @package backup |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
// text outputs |
|
20 |
$MOD_BACKUP['BACKUP_ALL_TABLES'] = 'Backup всех таблиц базы'; |
|
21 |
$MOD_BACKUP['BACKUP_WB_SPECIFIC'] = 'Backup только таблиц CMS'; |
|
22 |
$TEXT['BACKUP_DATABASE'] = 'Выполнить Backup'; |
|
23 |
|
|
24 |
?> |
|
25 | 0 |
branches/2.8.x/wb/modules/backup/languages/DA.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category backup |
|
5 |
* @package language |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
// text outputs |
|
20 |
$MOD_BACKUP['BACKUP_ALL_TABLES'] = 'Tag backup af alle tabeller i databasen'; |
|
21 |
$MOD_BACKUP['BACKUP_WB_SPECIFIC'] = 'Tag kun backup af WB-tabeller i databasen'; |
|
22 |
$TEXT['BACKUP_DATABASE'] = 'Tag backup af databasen'; |
|
23 |
|
|
24 |
?> |
|
25 | 0 |
branches/2.8.x/wb/modules/backup/languages/DE.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category modules |
|
5 |
* @package backup |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
// Deutsche Modulbeschreibung |
|
20 |
$module_description = 'Dieses Modul ermöglicht die Erstellung einer Datenbanksicherung.'; |
|
21 |
|
|
22 |
// Textausgaben |
|
23 |
$MOD_BACKUP['BACKUP_ALL_TABLES'] = 'Sichern Sie alle Tabellen der Datenbank'; |
|
24 |
$MOD_BACKUP['BACKUP_WB_SPECIFIC'] = 'Sichern Sie nur die von WebsiteBaker generierten Tabellen der Datenbank'; |
|
25 |
$TEXT['BACKUP_DATABASE'] = 'Erstelle Datenbanksicherung'; |
|
26 |
|
|
27 |
?> |
|
28 | 0 |
branches/2.8.x/wb/modules/backup/languages/EN.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category modules |
|
5 |
* @package backup |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
// text outputs |
|
20 |
$MOD_BACKUP['BACKUP_ALL_TABLES'] = 'Backup all tables in database'; |
|
21 |
$MOD_BACKUP['BACKUP_WB_SPECIFIC'] = 'Backup only WB-specific tables'; |
|
22 |
$TEXT['BACKUP_DATABASE'] = 'Backup Database'; |
|
23 |
|
|
24 |
?> |
|
25 | 0 |
branches/2.8.x/wb/modules/backup/languages/FR.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category modules |
|
5 |
* @package backup |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
//Module Description |
|
20 |
$module_description = 'Ce module permets de sauvegarder votre base de données'; |
|
21 |
|
|
22 |
// text outputs |
|
23 |
$MOD_BACKUP['BACKUP_ALL_TABLES'] = 'Sauvegarder toutes les tables de la base de données'; |
|
24 |
$MOD_BACKUP['BACKUP_WB_SPECIFIC'] = 'Sauvegarder seulement les tables spécifiques à WB'; |
|
25 |
$TEXT['BACKUP_DATABASE'] = 'Sauvegarder la base de données'; |
|
26 |
|
|
27 |
?> |
|
28 | 0 |
branches/2.8.x/wb/modules/backup/languages/index.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category modules |
|
5 |
* @package backup |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
header("Location: ../../../index.php"); |
|
20 |
|
|
21 |
?> |
|
22 | 0 |
branches/2.8.x/wb/modules/backup/languages/NL.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category modules |
|
5 |
* @package backup |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
// text outputs |
|
20 |
$MOD_BACKUP['BACKUP_ALL_TABLES'] = 'Backup van alle tabellen in de database'; |
|
21 |
$MOD_BACKUP['BACKUP_WB_SPECIFIC'] = 'Backup enkel de WB specifieke tabellen'; |
|
22 |
$TEXT['BACKUP_DATABASE'] = 'Backup Database'; |
|
23 |
|
|
24 |
?> |
|
25 | 0 |
branches/2.8.x/wb/modules/backup/languages/NO.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category modules |
|
5 |
* @package backup |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.3.4 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
*/ |
|
18 |
|
|
19 |
// text outputs |
|
20 |
$MOD_BACKUP['BACKUP_ALL_TABLES'] ='Sikkerhetskopier alle tabellene i databsen'; |
|
21 |
$MOD_BACKUP['BACKUP_WB_SPECIFIC'] ='Sikkerhetskopier bare WB sine tabeller'; |
|
22 |
$TEXT['BACKUP_DATABASE'] ='Sikkerhetskopier Databsen'; |
|
23 |
|
|
24 |
?> |
|
25 | 0 |
Also available in: Unified diff
remove deprecated backup modul