Project

General

Profile

« Previous | Next » 

Revision 591

Added by doc almost 17 years ago

added language support to all integrated modules (except for news and form module)

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.7.0 -------------------------------------
14 14
24-Jan-2008 Christian Sommer
15
+	added language support to all integrated modules (except for news and form module)
15 16
#	fixed another E_NOTICE warning
16 17
24-Jan-2008 Matthias Gallas
17 18
+	Added keywords to files where they are missing
trunk/wb/modules/wrapper/view.php
23 23

  
24 24
*/
25 25

  
26
// Get url
26
// check if module language file exists for the language set by the user (e.g. DE, EN)
27
if(!file_exists(WB_PATH .'/modules/wrapper/languages/'.LANGUAGE .'.php')) {
28
	// no module language file exists for the language set by the user, include default module language file EN.php
29
	require_once(WB_PATH .'/modules/wrapper/languages/EN.php');
30
} else {
31
	// a module language file exists for the language defined by the user, load it
32
	require_once(WB_PATH .'/modules/wrapper/languages/'.LANGUAGE .'.php');
33
}
34

  
35
// get url
27 36
$get_settings = $database->query("SELECT url,height FROM ".TABLE_PREFIX."mod_wrapper WHERE section_id = '$section_id'");
28 37
$fetch_settings = $get_settings->fetchRow();
29 38
$url = ($fetch_settings['url']);
30 39

  
31 40
?>
32 41
<iframe src="<?php echo $url; ?>" width="100%" height="<?php echo $fetch_settings['height']; ?>px" frameborder="0" scrolling="auto">
33
Your browser does not support inline frames.<br />
34
Click on the link below to visit the website that was meant to be shown here...<br />
42
<?php echo $MOD_WRAPPER['NOTICE']; ?>
35 43
<a href="<?php echo $url; ?>" target="_blank"><?php echo $url; ?></a>
36 44
</iframe>
trunk/wb/modules/wrapper/info.php
26 26
$module_directory = 'wrapper';
27 27
$module_name = 'Wrapper';
28 28
$module_function = 'page';
29
$module_version = '2.6';
30
$module_platform = '2.6.x';
29
$module_version = '2.7';
30
$module_platform = '2.7.x';
31 31
$module_author = 'Ryan Djurovich';
32 32
$module_license = 'GNU General Public License';
33 33
$module_description = 'This module allows you to wrap your site around another using an inline frame';
trunk/wb/modules/wrapper/languages/EN.php
1
<?php
2

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2008, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
 -----------------------------------------------------------------------------------------
25
  ENGLISH LANGUAGE FILE FOR THE ADDON: WRAPPER
26
 -----------------------------------------------------------------------------------------
27
*/
28

  
29
// Headings and text outputs
30
$MOD_WRAPPER['NOTICE'] 		=	'Your browser does not support inline frames.<br />Click on the link below to visit the website that was meant to be shown here...<br />';
31

  
32
?>
trunk/wb/modules/wrapper/languages/DE.php
1
<?php
2

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2008, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
 -----------------------------------------------------------------------------------------
25
  DEUTSCHE SPRACHDATEI FUER DAS MODUL: WRAPPER
26
 -----------------------------------------------------------------------------------------
27
*/
28

  
29
// Deutsche Modulbeschreibung
30
$module_description = 'Dieses Modul erlaubt das einbinden fremder Inhalte auf Deiner Seiten mithilfe von Inline Frames (iframe)';
31

  
32
// ?berschriften und Textausgaben
33
$MOD_WRAPPER['NOTICE'] =	'Dein Browser unterst&uuml;tzt keine Inline Frames.<br />Bitte klicke auf nachfolgenden Link um den Seiteninhalt der externen Seite zu betrachten ...<br />';
34

  
35
?>
trunk/wb/modules/menu_link/view.php
28 28
page exists, we might as well give them a link to the home page.
29 29
*/
30 30

  
31
// check if module language file exists for the language set by the user (e.g. DE, EN)
32
if(!file_exists(WB_PATH .'/modules/menu_link/languages/'.LANGUAGE .'.php')) {
33
	// no module language file exists for the language set by the user, include default module language file EN.php
34
	require_once(WB_PATH .'/modules/menu_link/languages/EN.php');
35
} else {
36
	// a module language file exists for the language defined by the user, load it
37
	require_once(WB_PATH .'/modules/menu_link/languages/'.LANGUAGE .'.php');
38
}
39

  
31 40
?>
32 41
<a href="<?php echo WB_URL; ?>">
33
Click HERE to go to the main page
42
<?php echo $MOD_MENU_LINK['TEXT']; ?>
34 43
</a>
trunk/wb/modules/menu_link/info.php
24 24
*/
25 25

  
26 26
/* History:
27
2.7 - 24. Jan. 2008 - doc
28
- added language support, changed platform to 2.7
27 29

  
28 30
2.6.1.1 - 16. Jan. 2008 - thorn
29 31
- added table mod_menu_link
......
36 38
$module_directory = 'menu_link';
37 39
$module_name = 'Menu Link';
38 40
$module_function = 'page';
39
$module_version = '2.6.1.1';
40
$module_platform = '2.6.x';
41
$module_version = '2.7';
42
$module_platform = '2.7.x';
41 43
$module_author = 'Ryan Djurovich, thorn';
42 44
$module_license = 'GNU General Public License';
43 45
$module_description = 'This module allows you to insert a link into the menu.';
trunk/wb/modules/menu_link/languages/EN.php
1
<?php
2

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2008, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
 -----------------------------------------------------------------------------------------
25
  ENGLISH LANGUAGE FILE FOR THE ADDON: MENU_LINK
26
 -----------------------------------------------------------------------------------------
27
*/
28

  
29
// Headings and text outputs
30
$MOD_MENU_LINK['TEXT']				= 'Click HERE to go to the main page';
31

  
32
?>
trunk/wb/modules/menu_link/languages/DE.php
1
<?php
2

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2008, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
 -----------------------------------------------------------------------------------------
25
  DEUTSCHE SPRACHDATEI FUER DAS MODUL: MENU_LINK
26
 -----------------------------------------------------------------------------------------
27
*/
28

  
29
// Deutsche Modulbeschreibung
30
$module_description 	= 'Dieses Modul erm&ouml;glicht die Anzeige eines Links im Seitenmen&uuml;.';
31

  
32
// ?berschriften und Textausgaben
33
$MOD_MENU_LINK['TEXT']				= 'Klicke HIER um zur Startseite zu gelangen';
34

  
35
?>
trunk/wb/modules/wysiwyg/info.php
26 26
$module_directory = 'wysiwyg';
27 27
$module_name = 'WYSIWYG';
28 28
$module_function = 'page';
29
$module_version = '2.6';
30
$module_platform = '2.6.x';
29
$module_version = '2.7';
30
$module_platform = '2.7.x';
31 31
$module_author = 'Ryan Djurovich';
32 32
$module_license = 'GNU General Public License';
33
$module_description = 'This module allows you to edit the contents of a page using the WYSIWYG htmlArea program';
33
$module_description = 'This module allows you to edit the contents of a page using a graphical editor';
34 34

  
35 35
?>
trunk/wb/modules/wysiwyg/languages/DE.php
1
<?php
2

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2008, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
 -----------------------------------------------------------------------------------------
25
  DEUTSCHE SPRACHDATEI FUER DAS MODUL: WYSIWYG
26
 -----------------------------------------------------------------------------------------
27
*/
28

  
29
// Deutsche Modulbeschreibung
30
$module_description = 'Dieses Modul erm&ouml;glicht die Bearbeitung von Seiteninhalten mit Hilfe eines grafischen Editors';
31

  
32
?>
trunk/wb/modules/backup/info.php
26 26
$module_directory = 'backup';
27 27
$module_name = 'Backup';
28 28
$module_function = 'tool';
29
$module_version = '2.6';
30
$module_platform = '2.6.x';
29
$module_version = '2.7';
30
$module_platform = '2.7.x';
31 31
$module_author = 'Ryan Djurovich, John';
32 32
$module_license = 'GNU General Public License';
33 33
$module_description = 'This module allows you to backup your database.';
trunk/wb/modules/backup/languages/EN.php
22 22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23

  
24 24
 -----------------------------------------------------------------------------------------
25
  ENGLISH LANGUAGE FILE FOR THE ADMIN TOOL: BACKUP
25
  ENGLISH LANGUAGE FILE FOR THE ADDON: BACKUP
26 26
 -----------------------------------------------------------------------------------------
27 27
*/
28 28

  
trunk/wb/modules/backup/languages/DE.php
22 22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23

  
24 24
 -----------------------------------------------------------------------------------------
25
  DEUTSCHES SPRACHDATEI FUER DAS ADMIN TOOL: BACKUP
25
  DEUTSCHE SPRACHDATEI FUER DAS MODUL: BACKUP
26 26
 -----------------------------------------------------------------------------------------
27 27
*/
28 28

  
trunk/wb/modules/reload/info.php
26 26
$module_directory = 'reload';
27 27
$module_name = 'Reload Add-ons';
28 28
$module_function = 'tool';
29
$module_version = '2.6';
30
$module_platform = '2.6.x';
29
$module_version = '2.7';
30
$module_platform = '2.7.x';
31 31
$module_author = 'Ryan Djurovich';
32 32
$module_license = 'GNU General Public License';
33 33
$module_description = 'This module allows you to reload add-on information stored in the addons table.';
trunk/wb/modules/reload/languages/EN.php
22 22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23

  
24 24
 -----------------------------------------------------------------------------------------
25
  ENGLISH LANGUAGE FILE FOR THE ADMIN TOOL: RELOAD ADDINS
25
  ENGLISH LANGUAGE FILE FOR THE ADDON: RELOAD ADDINS
26 26
 -----------------------------------------------------------------------------------------
27 27
*/
28 28

  
trunk/wb/modules/reload/languages/DE.php
22 22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23

  
24 24
 -----------------------------------------------------------------------------------------
25
  DEUTSCHES SPRACHDATEI FUER DAS ADMIN TOOL: RELOAD ADDONS
25
  DEUTSCHE SPRACHDATEI FUER DAS MODUL: RELOAD ADDONS
26 26
 -----------------------------------------------------------------------------------------
27 27
*/
28 28

  
trunk/wb/modules/mail_filter/info.php
34 34
$module_name 			= 'Email Output Filter';
35 35
$module_function 		= 'tool';
36 36
$module_version 		= '0.10';
37
$module_platform 		= '2.7';
37
$module_platform 		= '2.7.x';
38 38
$module_author 		= 'Christian Sommer (doc)';
39 39
$module_license 		= 'GNU General Public License';
40 40
$module_description 	= 'This module allows you to define rewrite rules for emails (e.g. <em>name@mail.com</em> --> <em>name(at)mail(dot).com</em>).';
trunk/wb/modules/mail_filter/languages/EN.php
22 22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23

  
24 24
 -----------------------------------------------------------------------------------------
25
  ENGLISH LANGUAGE FILE FOR THE MAIL FILTER ADMIN TOOL
25
  ENGLISH LANGUAGE FILE FOR THE ADDON: MAIL FILTER
26 26
 -----------------------------------------------------------------------------------------
27 27
*/
28 28

  
trunk/wb/modules/mail_filter/languages/DE.php
22 22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23

  
24 24
 -----------------------------------------------------------------------------------------
25
  DEUTSCHES SPRACHDATEI FUER DAS MAIL_FILTER ADMINISTRATIONS TOOL
25
  DEUTSCHE SPRACHDATEI FUER DAS MODUL: MAIL_FILTER
26 26
 -----------------------------------------------------------------------------------------
27 27
*/
28 28

  
......
35 35

  
36 36
// Text and captions of form elements
37 37
$MOD_MAIL_FILTER['BASIC_CONF']			= 'Grundeinstellungen';
38
$MOD_MAIL_FILTER['EMAIL_FILTER']			= 'Email Filterung';
39
$MOD_MAIL_FILTER['MAILTO_FILTER']		= 'Javascript Verschl&uuml;sselung (mailto)';
38
$MOD_MAIL_FILTER['EMAIL_FILTER']			= 'Textmail Filterung';
39
$MOD_MAIL_FILTER['MAILTO_FILTER']		= 'Mailto Filterung (Javascript)';
40 40
$MOD_MAIL_FILTER['ENABLED']				= 'Aktiviert';
41 41
$MOD_MAIL_FILTER['DISABLED']				= 'Ausgeschaltet';
42 42

  
trunk/wb/modules/code/info.php
26 26
$module_directory = 'code';
27 27
$module_name = 'Code';
28 28
$module_function = 'page';
29
$module_version = '2.6';
30
$module_platform = '2.6.x';
29
$module_version = '2.7';
30
$module_platform = '2.7.x';
31 31
$module_author = 'Ryan Djurovich';
32 32
$module_license = 'GNU General Public License';
33
$module_description = 'This module allows you to edit the contents of a page with a simple, yet powerful, text box';
33
$module_description = 'This module allows you to execute PHP commands (limit access to users you trust!!)';
34 34

  
35 35
?>
trunk/wb/modules/code/languages/DE.php
1
<?php
2

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2008, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
 -----------------------------------------------------------------------------------------
25
  DEUTSCHE SPRACHDATEI FUER DAS MODUL: CODE
26
 -----------------------------------------------------------------------------------------
27
*/
28

  
29
// Deutsche Modulbeschreibung
30
$module_description = 'Dieses Modul erlaubt das ausf&uuml;hren von PHP Befehlen (begrenze den Zugriff auf vertrauensw&uuml;rdige Personen!!)';
31

  
32
?>

Also available in: Unified diff