Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1969)
+++ branches/2.8.x/CHANGELOG	(revision 1970)
@@ -11,6 +11,10 @@
 ! = Update/Change
 ===============================================================================
 
+01 Oct-2013 Build 1970 Dietmar Woellbrink (Luisehahne)
+! MultiLingual set svn properties to all files
+# MultiLingual typofix in methode updateDefaultPagesCode
+! Pages settings fix output page_code treelist (not ready yet)
 30 Sep-2013 Build 1969 Dietmar Woellbrink (Luisehahne)
 # fixed wrong [REFERRER_ID] replacement for search 
 # security Application error message fix in search/search.php
Index: branches/2.8.x/wb/admin/pages/settings.php
===================================================================
--- branches/2.8.x/wb/admin/pages/settings.php	(revision 1969)
+++ branches/2.8.x/wb/admin/pages/settings.php	(revision 1970)
@@ -428,13 +428,23 @@
 		$aTplBlockData['PAGE_CODE_LABEL_TEXT'] = $mLang->TEXT_PAGE_CODE;
 		$aTplBlockData['PAGE_CODE_UPDATE_URL'] = WB_REL.'/modules/MultiLingual/update_keys.php?page_id='.$page_id;
 	// get the root element(level 0) of current page with same language  in same menu
-		$sql =  'SELECT `page_id` FROM `'.$oDb->TablePrefix.'pages` '
-		     .  'WHERE `language`=\''.DEFAULT_LANGUAGE.'\' '
-		     .         'AND `level`=0 ';
-		if(defined('MULTIPLE_MENUS') && MULTIPLE_MENUS == 'true') {
-			$sql .=    'AND `menu`='.$aCurrentPage['menu'].' ';
-		}
-		$sql .= 'ORDER BY `position` ASC';
+//		$sql =  'SELECT `page_id` FROM `'.$oDb->TablePrefix.'pages` '
+//		     .  'WHERE `language`=\''.DEFAULT_LANGUAGE.'\' '
+//		     .         'AND `level`=0 ';
+//		if(defined('MULTIPLE_MENUS') && MULTIPLE_MENUS == 'true') {
+////			$sql .=    'AND `menu`='.$aCurrentPage['menu'].' ';
+//		}
+//		$sql .= 'ORDER BY `position` ASC';
+        $sLangKey = DEFAULT_LANGUAGE;
+        $sql = 'SELECT DISTINCT `page_id` '
+             . 'FROM `'.$oDb->TablePrefix.'pages` '
+             . 'WHERE `level`= \'0\' '
+             .   'AND `root_parent`=`page_id` '
+             .   'AND `visibility`!=\'none\' '
+             .   'AND `visibility`!=\'hidden\' '
+             .   ( ($sLangKey!='') ? ' AND `language` = \''.$sLangKey.'\'' : '')
+             .   'GROUP BY `language` '
+             .   'ORDER BY `position`';
 		$iLangStartPageId = $oDb->get_one($sql);
 	// read the tree of the found root element
 		$oPageList = new a_pages_SmallRawPageTree();
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1969)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1970)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.3');
-if(!defined('REVISION')) define('REVISION', '1969');
+if(!defined('REVISION')) define('REVISION', '1970');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/modules/MultiLingual/tpl/lang.tpl
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/tpl/lang.tpl	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/tpl/lang.tpl	(revision 1970)
@@ -1,29 +1,29 @@
-{#
-/**
- *
- * @category        modules
- * @package         MultiLingial
- * @author          WebsiteBaker Project, Luisehahne
- * @copyright       2009-2012, WebsiteBaker Org. e.V.
- * @link            http://www.websitebaker2.org/
- * @license         http://www.gnu.org/licenses/gpl.html
- * @platform        WebsiteBaker 2.8.x
- * @requirements    PHP 5.2.2 and higher
- * @version         $Id:  $
- * @filesource      $HeadURL:  $
- * @lastmodified    $Date:  $
- *
- */
-#}
- 
-<div id="langmenu">
-{% for file in lang.FILES %}
-    <span style="width:{{ file.LANG_ICON_WIDTH }};vertical-align:middle;">
-    <a class="{{ file.LANG_ICON_CLASS }}" href="{{ file.LANG_PAGE_URL }}" title="{{ file.TEXT_PAGE_TITLE }}">
-    <span>
-    	<img style="border: none;" src="{{ file.URL_ICON_FOLDER }}/{{ file.LANG_ICON }}.{{ file.LANG_ICON_EXT }}" title="{{ file.TEXT_PAGE_TITLE }}" alt="{{ file.TEXT_PAGE_TITLE }}" />
-    </span>
-    </a>
-    </span>
-{% endfor %}
-</div>
+{#
+/**
+ *
+ * @category        modules
+ * @package         MultiLingial
+ * @author          WebsiteBaker Project, Luisehahne
+ * @copyright       2009-2012, WebsiteBaker Org. e.V.
+ * @link            http://www.websitebaker2.org/
+ * @license         http://www.gnu.org/licenses/gpl.html
+ * @platform        WebsiteBaker 2.8.x
+ * @requirements    PHP 5.2.2 and higher
+ * @version         $Id$
+ * @filesource      $HeadURL$
+ * @lastmodified    $Date$
+ *
+ */
+#}
+ 
+<div id="langmenu">
+{% for file in lang.FILES %}
+    <span style="width:{{ file.LANG_ICON_WIDTH }};vertical-align:middle;">
+    <a class="{{ file.LANG_ICON_CLASS }}" href="{{ file.LANG_PAGE_URL }}" title="{{ file.TEXT_PAGE_TITLE }}">
+    <span>
+    	<img style="border: none;" src="{{ file.URL_ICON_FOLDER }}/{{ file.LANG_ICON }}.{{ file.LANG_ICON_EXT }}" title="{{ file.TEXT_PAGE_TITLE }}" alt="{{ file.TEXT_PAGE_TITLE }}" />
+    </span>
+    </a>
+    </span>
+{% endfor %}
+</div>

Property changes on: branches/2.8.x/wb/modules/MultiLingual/tpl/lang.tpl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/tpl/lang.twig
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/tpl/lang.twig	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/tpl/lang.twig	(revision 1970)
@@ -26,9 +26,9 @@
  * @copyright    Werner v.d.Decken <wkl@isteam.de>
  * @license      http://www.gnu.org/licenses/gpl.html   GPL License
  * @version      1.6.8
- * @revision     $Revision: $
- * @link         $HeadURL: $
- * @lastmodified $Date: $
+ * @revision     $Revision$
+ * @link         $HeadURL$
+ * @lastmodified $Date$
  * @since        File available since 09.01.2013
  * @description  xyz
  */

Property changes on: branches/2.8.x/wb/modules/MultiLingual/tpl/lang.twig
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/tpl/index.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/tpl/index.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/tpl/index.php	(revision 1970)

Property changes on: branches/2.8.x/wb/modules/MultiLingual/tpl/index.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/tpl/lang.html.twig
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/tpl/lang.html.twig	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/tpl/lang.html.twig	(revision 1970)
@@ -26,9 +26,9 @@
  * @copyright    M.v.d.Decken <wkl@isteam.de>
  * @license      http://www.gnu.org/licenses/gpl.html   GPL License
  * @version      1.6.8
- * @revision     $Revision: $
- * @link         $HeadURL: $
- * @lastmodified $Date: $
+ * @revision     $Revision$
+ * @link         $HeadURL$
+ * @lastmodified $Date$
  * @since        File available since 09.01.2013
  */
 #}

Property changes on: branches/2.8.x/wb/modules/MultiLingual/tpl/lang.html.twig
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/uninstall.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/uninstall.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/uninstall.php	(revision 1970)
@@ -26,9 +26,9 @@
  * @copyright    Werner v.d.Decken <wkl@isteam.de>
  * @license      http://www.gnu.org/licenses/gpl.html   GPL License
  * @version      1.6.8
- * @revision     $Revision: $
- * @link         $HeadURL: $
- * @lastmodified $Date: $
+ * @revision     $Revision$
+ * @link         $HeadURL$
+ * @lastmodified $Date$
  * @since        File available since 09.01.2013
  * @description  xyz
  */

Property changes on: branches/2.8.x/wb/modules/MultiLingual/uninstall.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/info.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/info.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/info.php	(revision 1970)
@@ -26,9 +26,9 @@
  * @copyright    Werner v.d.Decken <wkl@isteam.de>
  * @license      http://www.gnu.org/licenses/gpl.html   GPL License
  * @version      1.6.8
- * @revision     $Revision: $
- * @link         $HeadURL: $
- * @lastmodified $Date: $
+ * @revision     $Revision$
+ * @link         $HeadURL$
+ * @lastmodified $Date$
  * @since        File available since 09.01.2013
  * @description  provides a flexible posibility for changeing to a translated page
  */

Property changes on: branches/2.8.x/wb/modules/MultiLingual/info.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/default.ini
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/default.ini	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/default.ini	(revision 1970)

Property changes on: branches/2.8.x/wb/modules/MultiLingual/default.ini
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/update_keys.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/update_keys.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/update_keys.php	(revision 1970)
@@ -26,9 +26,9 @@
  * @copyright    Werner v.d.Decken <wkl@isteam.de>
  * @license      http://www.gnu.org/licenses/gpl.html   GPL License
  * @version      1.6.8
- * @revision     $Revision: $
- * @link         $HeadURL: $
- * @lastmodified $Date: $
+ * @revision     $Revision$
+ * @link         $HeadURL$
+ * @lastmodified $Date$
  * @since        File available since 09.01.2013
  * @description  xyz
  */
@@ -55,6 +55,8 @@
 $temp_page_id =  intval( htmlentities($page_id ) );
 
 $oTrans = Translate::getInstance();
+$oTrans->enableAddon( 'modules/'.basename(dirname(__FILE__)) );
+
 // check for page languages
 $oPageLang = new m_MultiLingual_Lib();
 $Result = $oPageLang->updateDefaultPagesCode(); 

Property changes on: branches/2.8.x/wb/modules/MultiLingual/update_keys.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/frontend.css
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/frontend.css	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/frontend.css	(revision 1970)

Property changes on: branches/2.8.x/wb/modules/MultiLingual/frontend.css
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/languages/NL.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/languages/NL.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/languages/NL.php	(revision 1970)
@@ -9,9 +9,9 @@
  * @license         http://www.gnu.org/licenses/gpl.html
  * @platform        WebsiteBaker 2.8.x
  * @requirements    PHP 5.2.2 and higher
- * @version         $Id:  $
- * @filesource		$HeadURL:  $
- * @lastmodified    $Date:  $
+ * @version         $Id$
+ * @filesource		$HeadURL$
+ * @lastmodified    $Date$
  *
  */
 

Property changes on: branches/2.8.x/wb/modules/MultiLingual/languages/NL.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/languages/EN.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/languages/EN.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/languages/EN.php	(revision 1970)
@@ -9,9 +9,9 @@
  * @license         http://www.gnu.org/licenses/gpl.html
  * @platform        WebsiteBaker 2.8.x
  * @requirements    PHP 5.2.2 and higher
- * @version         $Id:  $
- * @filesource		$HeadURL:  $
- * @lastmodified    $Date:  $
+ * @version         $Id$
+ * @filesource		$HeadURL$
+ * @lastmodified    $Date$
  *
  */
 

Property changes on: branches/2.8.x/wb/modules/MultiLingual/languages/EN.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/languages/FR.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/languages/FR.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/languages/FR.php	(revision 1970)
@@ -9,9 +9,9 @@
  * @license         http://www.gnu.org/licenses/gpl.html
  * @platform        WebsiteBaker 2.8.x
  * @requirements    PHP 5.2.2 and higher
- * @version         $Id:  $
- * @filesource		$HeadURL:  $
- * @lastmodified    $Date:  $
+ * @version         $Id$
+ * @filesource		$HeadURL$
+ * @lastmodified    $Date$
  *
  */
 

Property changes on: branches/2.8.x/wb/modules/MultiLingual/languages/FR.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/languages/index.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/languages/index.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/languages/index.php	(revision 1970)

Property changes on: branches/2.8.x/wb/modules/MultiLingual/languages/index.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/languages/DE.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/languages/DE.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/languages/DE.php	(revision 1970)
@@ -9,9 +9,9 @@
  * @license         http://www.gnu.org/licenses/gpl.html
  * @platform        WebsiteBaker 2.8.x
  * @requirements    PHP 5.2.2 and higher
- * @version         $Id:  $
- * @filesource		$HeadURL:  $
- * @lastmodified    $Date:  $
+ * @version         $Id$
+ * @filesource		$HeadURL$
+ * @lastmodified    $Date$
  *
  */
 

Property changes on: branches/2.8.x/wb/modules/MultiLingual/languages/DE.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/include.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/include.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/include.php	(revision 1970)
@@ -26,9 +26,9 @@
  * @copyright    Werner v.d.Decken <wkl@isteam.de>
  * @license      http://www.gnu.org/licenses/gpl.html   GPL License
  * @version      0.0.1
- * @revision     $Revision: $
- * @link         $HeadURL: $
- * @lastmodified $Date: $
+ * @revision     $Revision$
+ * @link         $HeadURL$
+ * @lastmodified $Date$
  * @since        File available since 09.01.2013
  * @description  provides a flexible posibility for changeing to a translated page
  */

Property changes on: branches/2.8.x/wb/modules/MultiLingual/include.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/readme.txt
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/readme.txt	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/readme.txt	(revision 1970)
@@ -1,19 +1,19 @@
-#
-#
-How to use MultiLingual
-##########################################################################
-The easiest way is the combination with Droplet [[iMultiLingual]]
-
-##########################################################################
-but you also can handle it in the  old manner:
-
-insert the following PHP-code in your templates index.php in the place you want 
-show the languages link bar.
-
-<?php if(function_exists('language_menu')){ echo language_menu(); } ?>
-
-##########################################################################
-If you wish to modify the template, just open the file
- /modules/MultiLingual/tpl/lang.html.twig
-and make your modifications.
-
+#
+#
+How to use MultiLingual
+##########################################################################
+The easiest way is the combination with Droplet [[iMultiLingual]]
+
+##########################################################################
+but you also can handle it in the  old manner:
+
+insert the following PHP-code in your templates index.php in the place you want 
+show the languages link bar.
+
+<?php if(function_exists('language_menu')){ echo language_menu(); } ?>
+
+##########################################################################
+If you wish to modify the template, just open the file
+ /modules/MultiLingual/tpl/lang.html.twig
+and make your modifications.
+

Property changes on: branches/2.8.x/wb/modules/MultiLingual/readme.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/Lib.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/Lib.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/Lib.php	(revision 1970)
@@ -26,9 +26,9 @@
  * @copyright    Werner v.d.Decken <wkl@isteam.de>
  * @license      http://www.gnu.org/licenses/gpl.html   GPL License
  * @version      1.6.8
- * @revision     $Revision: $
- * @link         $HeadURL: $
- * @lastmodified $Date: $
+ * @revision     $Revision$
+ * @link         $HeadURL$
+ * @lastmodified $Date$
  * @since        File available since 09.01.2013
  * @description  provides a flexible posibility for changeing to a translated page
  */
@@ -62,7 +62,7 @@
 		$this->_oApp        = (isset($GLOBALS['admin']) ? $GLOBALS['admin'] : $GLOBALS['wb']);
 		$this->_oDb         = WbDatabase::getInstance();
 		$this->_oReg        = WbAdaptor::getInstance();
-		$this->_config      = parse_ini_file(dirname(__FILE__).'/default.ini',true);
+		$this->_config      = $this->_aConfig = $this->getConfig((dirname(__FILE__)).'/default.ini');
 		$this->_aTwigEnv    = $this->_config['twig-environment'];
 		$this->_aTwigLoader = $this->_config['twig-loader-file'];
 	}
@@ -185,7 +185,16 @@
 	}
 
 
+    protected function getConfig($sFilename)
+    {
+        if(is_readable($sFilename)){
+            return parse_ini_file($sFilename, true);
+        }else {
+            return null;
+        }
+    }
 
+
 	private function _getAllowedLanguagesFromAddons($sLangKey='')
 	{
 		$aLangAddons = array();
@@ -300,7 +309,7 @@
 // fill page_code with page_id for default_language
 		while( list( $page_id, $val ) = each ( $entries ) )
 		{
-			if( $val['language'] == $this->_oReg->DefaultLangauage ) {
+			if( $val['language'] == $this->_oReg->DefaultLanguage ) {
 				if( ($retVal = $this->_updatePageCode((int)$page_id, 'pages', (int)$page_id ))==false ){ break;  }
 			}
 		}

Property changes on: branches/2.8.x/wb/modules/MultiLingual/Lib.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/install.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/install.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/install.php	(revision 1970)
@@ -26,9 +26,9 @@
  * @copyright    Werner v.d.Decken <wkl@isteam.de>
  * @license      http://www.gnu.org/licenses/gpl.html   GPL License
  * @version      1.6.8
- * @revision     $Revision: $
- * @link         $HeadURL: $
- * @lastmodified $Date: $
+ * @revision     $Revision$
+ * @link         $HeadURL$
+ * @lastmodified $Date$
  * @since        File available since 09.01.2013
  * @description  xyz
  */

Property changes on: branches/2.8.x/wb/modules/MultiLingual/install.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/index.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/index.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/index.php	(revision 1970)

Property changes on: branches/2.8.x/wb/modules/MultiLingual/index.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/2.8.x/wb/modules/MultiLingual/upgrade.php
===================================================================
--- branches/2.8.x/wb/modules/MultiLingual/upgrade.php	(revision 1969)
+++ branches/2.8.x/wb/modules/MultiLingual/upgrade.php	(revision 1970)
@@ -26,9 +26,9 @@
  * @copyright    Werner v.d.Decken <wkl@isteam.de>
  * @license      http://www.gnu.org/licenses/gpl.html   GPL License
  * @version      1.6.8
- * @revision     $Revision: $
- * @link         $HeadURL: $
- * @lastmodified $Date: $
+ * @revision     $Revision$
+ * @link         $HeadURL$
+ * @lastmodified $Date$
  * @since        File available since 09.01.2013
  * @description  provides a flexible posibility for changeing to a translated page
  */

Property changes on: branches/2.8.x/wb/modules/MultiLingual/upgrade.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Id HeadURL
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
