Added feature #6784: New login-box System-Extension "felogin" by Steffen Kamper
authorIngmar Schlecht <ingmar.schlecht@typo3.org>
Tue, 15 Jan 2008 18:42:49 +0000 (18:42 +0000)
committerIngmar Schlecht <ingmar.schlecht@typo3.org>
Tue, 15 Jan 2008 18:42:49 +0000 (18:42 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2904 709f56b5-9817-0410-a4d7-c38de5d9e867

15 files changed:
ChangeLog
NEWS.txt
t3lib/config_default.php
typo3/sysext/felogin/ChangeLog [new file with mode: 0644]
typo3/sysext/felogin/ext_emconf.php [new file with mode: 0644]
typo3/sysext/felogin/ext_icon.gif [new file with mode: 0644]
typo3/sysext/felogin/ext_localconf.php [new file with mode: 0644]
typo3/sysext/felogin/ext_tables.php [new file with mode: 0644]
typo3/sysext/felogin/ext_tables.sql [new file with mode: 0644]
typo3/sysext/felogin/ext_typoscript_setup.txt [new file with mode: 0644]
typo3/sysext/felogin/flexform.xml [new file with mode: 0644]
typo3/sysext/felogin/locallang_db.xml [new file with mode: 0644]
typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php [new file with mode: 0644]
typo3/sysext/felogin/pi1/locallang.xml [new file with mode: 0644]
typo3/sysext/felogin/template.html [new file with mode: 0644]

index f83c6db..4de772f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-15  Ingmar Schlecht  <ingmar@typo3.org>
+
+       * Added feature #6784: New login-box System-Extension "felogin". This is a refactored version of the "newloginbox" extension, now integrated into the core. (Big thanks to Steffen Kamper for writing this extension for core integration!)
+
 2008-01-15  Ingo Renner  <ingo@typo3.org>
 
        * added feature #5536: Some Hooks for tslib_content
index bf30880..f807a5b 100644 (file)
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -1,5 +1,5 @@
 ************************************************************************
-CHANGES & IMPROVEMENTS between TYPO3 4.0 and 4.1
+CHANGES & IMPROVEMENTS between TYPO3 4.1 and 4.2
 (for technical details see ChangeLog)
 ************************************************************************
 
@@ -112,6 +112,10 @@ DBAL
 Frontend features
 =================
 
+       * New login-box System-Extension "felogin":
+               -> This is a refactored version of the "newloginbox" extension, now integrated into the core.
+               -> If you install the extension, it will replace the old login content element (CType: "Login Form").
+               -> The new plugin comes with a great new redirection framework and lots of configuration options - but still runs nicely out of the box.
        * Roll-over (RO) on a GMENU in IE didn't work with xhtml_strict (Bug #3729)
        * Content encoding with x-gzip is now available also for IE7
        * Various improvements to the admin panel
index be889e0..a01eff4 100755 (executable)
@@ -100,7 +100,7 @@ $TYPO3_CONF_VARS = Array(
                'requiredExt' => 'cms,version,lang,sv', // String list: List of extensions which are REQUIRED and cannot be unloaded by the Extension Manager!
                'excludeForPackaging' => '(CVS|\..*|.*~|.*\.bak)',              // String list: List of directories and files which will not be packaged into extensions nor taken into account otherwise by the Extension Manager. Perl regular expression syntax!
                'extCache' => 1,                                                // Int. 0,1,2,3: 0: ext-scripts (ext_localconf.php and ext_tables.php) are NOT cached, but included every time. 1: scripts cached to typo3conf/temp_CACHED_[sitePathHash]* (saves some milliseconds even with PHP accelerators), 2: scripts cached and prefix includes a hash based on the 'extList' string, 3: scripts cached to typo3conf/temp_CACHED_* (no hash included at all...)
-               'extList' => 'tsconfig_help,context_help,extra_page_cm_options,impexp,belog,aboutmodules,setup,opendocs,install,t3editor',                                              // String list: List of extensions which are enabled for this install. Use the Extension Manager (EM) to manage this!
+               'extList' => 'tsconfig_help,context_help,extra_page_cm_options,impexp,belog,aboutmodules,setup,opendocs,install,t3editor,felogin',                                              // String list: List of extensions which are enabled for this install. Use the Extension Manager (EM) to manage this!
                'extConf' => array(                                             // Config-options for extensions, stored as serialized arrays by extension-keys. Handled automatically by the EM.
 //                     '--key--' => array()
                ),
diff --git a/typo3/sysext/felogin/ChangeLog b/typo3/sysext/felogin/ChangeLog
new file mode 100644 (file)
index 0000000..f23733e
--- /dev/null
@@ -0,0 +1,11 @@
+2008-01-15  Ingmar Schlecht  <ingmar@typo3.org>
+
+       * Some minor cleanup before committing to trunk prior to TYPO3 4.2 Alpha 3
+
+2007-12-04 Steffen Kamper  <info@sk-typo3.de>
+
+       * Final 1.0.0 for testing in the trunk
+
+2007-11-16 Steffen Kamper  <info@sk-typo3.de>
+
+       * Initial release
diff --git a/typo3/sysext/felogin/ext_emconf.php b/typo3/sysext/felogin/ext_emconf.php
new file mode 100644 (file)
index 0000000..4c49b65
--- /dev/null
@@ -0,0 +1,47 @@
+<?php
+
+########################################################################
+# Extension Manager/Repository config file for ext: "felogin"
+#
+# Auto generated 15-01-2008 18:29
+#
+# Manual updates:
+# Only the data in the array - anything else is removed by next write.
+# "version" and "dependencies" must not be touched!
+########################################################################
+
+$EM_CONF[$_EXTKEY] = array(
+       'title' => 'Frontend Login for Website Users',
+       'description' => 'A template-based plugin to log in Website Users in the Frontend',
+       'category' => 'plugin',
+       'author' => 'Steffen Kamper',
+       'author_email' => 'info@sk-typo3.de',
+       'shy' => '',
+       'dependencies' => '',
+       'conflicts' => '',
+       'priority' => '',
+       'module' => '',
+       'state' => 'beta',
+       'internal' => '',
+       'uploadfolder' => 1,
+       'createDirs' => '',
+       'modify_tables' => 'fe_groups,fe_users',
+       'clearCacheOnLoad' => 1,
+       'lockType' => '',
+       'author_company' => '',
+       'version' => '1.0.0',
+       'constraints' => array(
+               'depends' => array(
+                       'typo3' => '4.1.9-0.0.0',
+               ),
+               'conflicts' => array(
+               ),
+               'suggests' => array(
+               ),
+       ),
+       '_md5_values_when_last_written' => 'a:11:{s:9:"ChangeLog";s:4:"9dfe";s:12:"ext_icon.gif";s:4:"7160";s:17:"ext_localconf.php";s:4:"1dbd";s:14:"ext_tables.php";s:4:"0a9e";s:14:"ext_tables.sql";s:4:"640e";s:24:"ext_typoscript_setup.txt";s:4:"9f50";s:12:"flexform.xml";s:4:"2e79";s:16:"locallang_db.xml";s:4:"a53e";s:13:"template.html";s:4:"4394";s:28:"pi1/class.tx_felogin_pi1.php";s:4:"0a41";s:17:"pi1/locallang.xml";s:4:"6d7d";}',
+       'suggests' => array(
+       ),
+);
+
+?>
\ No newline at end of file
diff --git a/typo3/sysext/felogin/ext_icon.gif b/typo3/sysext/felogin/ext_icon.gif
new file mode 100644 (file)
index 0000000..83dec4e
Binary files /dev/null and b/typo3/sysext/felogin/ext_icon.gif differ
diff --git a/typo3/sysext/felogin/ext_localconf.php b/typo3/sysext/felogin/ext_localconf.php
new file mode 100644 (file)
index 0000000..2137c06
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+if (!defined ('TYPO3_MODE'))   die ('Access denied.');
+
+       //replace old Login
+$pluginContent = trim('
+plugin.tx_felogin_pi1 = USER_INT
+plugin.tx_felogin_pi1 {
+  includeLibs = EXT:felogin/pi1/class.tx_felogin_pi1.php
+  userFunc = tx_felogin_pi1->main
+}
+');
+       t3lib_extMgm::addTypoScript($_EXTKEY,'setup','
+# Setting '.$_EXTKEY.' plugin TypoScript
+'.$pluginContent);
+
+$addLine = trim('
+tt_content.login = COA
+tt_content.login {
+       10 = < lib.stdheader
+       20 >
+       20 = < plugin.tx_felogin_pi1
+}
+');
+                               
+t3lib_extMgm::addTypoScript($_EXTKEY,'setup','# Setting '.$_EXTKEY.' plugin TypoScript'.$addLine.'',43);
+
+
+//activate support for kb_md5fepw
+if (t3lib_extMgm::isLoaded('kb_md5fepw') && (TYPO3_MODE == 'FE')) {
+       $GLOBALS ['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'][] = 'tx_kbmd5fepw_newloginbox->loginFormOnSubmit';
+       require_once(t3lib_extMgm::extPath('kb_md5fepw').'pi1/class.tx_kbmd5fepw_newloginbox.php');
+}
+
+?>
diff --git a/typo3/sysext/felogin/ext_tables.php b/typo3/sysext/felogin/ext_tables.php
new file mode 100644 (file)
index 0000000..c9f0592
--- /dev/null
@@ -0,0 +1,41 @@
+<?php
+if (!defined ('TYPO3_MODE'))   die ('Access denied.');
+$_EXTCONF = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['felogin']);
+
+t3lib_div::loadTCA('tt_content');
+
+if(t3lib_div::int_from_ver(TYPO3_version) >= 4002000)
+       t3lib_extMgm::addPiFlexFormValue('*','FILE:EXT:'.$_EXTKEY.'/flexform.xml','login');
+else
+       t3lib_extMgm::addPiFlexFormValue('default','FILE:EXT:'.$_EXTKEY.'/flexform.xml');
+
+
+
+       #replace login
+$TCA['tt_content']['types']['login']['showitem']='CType;;4;button;1-1-1, header;;3;;2-2-2,pi_flexform';        
+
+       // Adds the redirect-field to the fe_group- and fe_users-table
+$tempColumns = Array (
+       "felogin_redirectPid" => Array (                
+               "exclude" => 1,         
+               "label" => "LLL:EXT:felogin/locallang_db.xml:felogin_redirectPid",              
+               "config" => Array (
+                       "type" => "group",      
+                       "internal_type" => "db",        
+                       "allowed" => "pages",   
+                       "size" => 1,    
+                       "minitems" => 0,
+                       "maxitems" => 1,
+               )
+       ),
+);
+
+t3lib_div::loadTCA("fe_groups");
+t3lib_extMgm::addTCAcolumns("fe_groups",$tempColumns,1);
+t3lib_extMgm::addToAllTCAtypes("fe_groups","felogin_redirectPid;;;;1-1-1");
+
+t3lib_div::loadTCA("fe_users");
+t3lib_extMgm::addTCAcolumns("fe_users",$tempColumns,1);
+t3lib_extMgm::addToAllTCAtypes("fe_users","felogin_redirectPid;;;;1-1-1");
+
+?>
diff --git a/typo3/sysext/felogin/ext_tables.sql b/typo3/sysext/felogin/ext_tables.sql
new file mode 100644 (file)
index 0000000..cd72cb4
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Table structure for table 'fe_groups'
+#
+CREATE TABLE fe_groups (
+       felogin_redirectPid  tinytext 
+);
+
+
+
+#
+# Table structure for table 'fe_users'
+#
+CREATE TABLE fe_users (
+       felogin_redirectPid  tinytext 
+);
+
+
diff --git a/typo3/sysext/felogin/ext_typoscript_setup.txt b/typo3/sysext/felogin/ext_typoscript_setup.txt
new file mode 100644 (file)
index 0000000..b4d7458
--- /dev/null
@@ -0,0 +1,98 @@
+plugin.tx_felogin_pi1 {
+               #storagePid - where are the user records? use single value or a commaseperated list
+       storagePid = {$styles.content.loginform.pid}
+       
+               #Template File
+       templateFile = EXT:felogin/template.html
+       
+               #wrapContentInBaseClass
+       wrapContentInBaseClass = 1
+       
+       
+               #typolink-configuration for links / urls
+               #parameter and additionalParams are set by extension
+       linkConfig {
+               target = 
+       }
+       
+               #preserve GET vars - define "all" or commaseperated list of GET-vars that should be included by link generation
+       preserveGETvars = all
+       
+       
+               #additional fields
+       showForgotPasswordLink =
+       showPermaLogin =
+       
+       
+       welcomeHeader_stdWrap {
+               wrap = <h3>|</h3>
+       }
+       welcomeMessage_stdWrap {
+               wrap = <div>|</div>
+       }
+       
+       successHeader_stdWrap {
+               wrap = <h3>|</h3>
+       }
+       successMessage_stdWrap {
+               wrap = <div>|</div>
+       }
+       
+       logoutHeader_stdWrap {
+               wrap = <h3>|</h3>
+       }
+       logoutMessage_stdWrap {
+               wrap = <div>|</div>
+       }
+       
+       errorHeader_stdWrap {
+               wrap = <h3>|</h3>
+       }
+       errorMessage_stdWrap {
+               wrap = <div>|</div>
+       }
+       
+       forgotHeader_stdWrap {
+               wrap = <h3>|</h3>
+       }
+       forgotMessage_stdWrap {
+               wrap = <div>|</div>
+       }
+       
+       
+       
+               #redirect
+       redirectMode =
+       redirectFirstMethod = 
+       redirectPageLogin =
+       redirectPageLoginError =
+       redirectPageLogout =
+       
+       #disable redirect with one switch
+       redirectDisable = 
+       
+       email_from =
+       email_fromName =
+       replyTo =
+       
+       
+       # Allowed Referrer-Redirect-Domains:
+       domains =
+       
+       
+}
+
+plugin.tx_felogin_pi1._CSS_DEFAULT_STYLE (
+       .tx-felogin-pi1 label {
+               display: block;
+       }
+)
+
+plugin.tx_felogin_pi1._LOCAL_LANG.default {
+}
+
+plugin.tx_felogin_pi1._DEFAULT_PI_VARS {
+}
+
+
+
diff --git a/typo3/sysext/felogin/flexform.xml b/typo3/sysext/felogin/flexform.xml
new file mode 100644 (file)
index 0000000..646362c
--- /dev/null
@@ -0,0 +1,340 @@
+<T3DataStructure>
+       <meta>
+               <langDisable>0</langDisable>
+       </meta>
+       <sheets>
+               <sDEF>
+                       <ROOT>
+                               <TCEforms>
+                                       <sheetTitle>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.sheet_general</sheetTitle>
+                               </TCEforms>
+                               <type>array</type>
+                               <el>
+                                       <showForgotPassword>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.show_forgot_password</label>
+                                                       <config>
+                                                               <type>check</type>
+                                                       </config>
+                                               </TCEforms>
+                                       </showForgotPassword>
+                                       <showPermaLogin>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.show_permalogin</label>
+                                                       <config>
+                                                               <default>1</default>
+                                                               <type>check</type>
+                                                       </config>
+                                               </TCEforms>
+                                       </showPermaLogin>
+                                       <pages>
+                                               <TCEforms>
+                                                       <exclude>1</exclude>
+                                                       <label>LLL:EXT:lang/locallang_general.php:LGL.startingpoint</label>
+                                                       <config>
+                                                               <type>group</type>
+                                                               <internal_type>db</internal_type>
+                                                               <allowed>pages</allowed>
+                                                               <size>3</size>
+                                                               <maxitems>22</maxitems>
+                                                               <minitems>0</minitems>
+                                                               <show_thumbs>1</show_thumbs>
+                                                       </config>
+                                               </TCEforms>
+                                       </pages>
+
+                                       <recursive>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:lang/locallang_general.php:LGL.recursive</label>
+                                                       <config>
+                                                               <type>select</type>
+                                                               <items type="array">
+                                                                       <numIndex index="0" type="array">
+                                                                               <numIndex index="0"></numIndex>
+                                                                               <numIndex index="1"></numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="1" type="array">
+                                                                               <numIndex index="0">LLL:EXT:cms/locallang_ttc.php:recursive.I.1</numIndex>
+                                                                               <numIndex index="1">1</numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="2" type="array">
+                                                                               <numIndex index="0">LLL:EXT:cms/locallang_ttc.php:recursive.I.2</numIndex>
+                                                                               <numIndex index="1">2</numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="3" type="array">
+                                                                               <numIndex index="0">LLL:EXT:cms/locallang_ttc.php:recursive.I.3</numIndex>
+                                                                               <numIndex index="1">3</numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="4" type="array">
+                                                                               <numIndex index="0">LLL:EXT:cms/locallang_ttc.php:recursive.I.4</numIndex>
+                                                                               <numIndex index="1">4</numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="5" type="array">
+                                                                               <numIndex index="0">LLL:EXT:cms/locallang_ttc.php:recursive.I.5</numIndex>
+                                                                               <numIndex index="1">250</numIndex>
+                                                                       </numIndex>
+                                                               </items>
+                                                               <minitems>0</minitems>
+                                                               <maxitems>1</maxitems>
+                                                               <size>1</size>
+                                                       </config>
+                                               </TCEforms>
+                                       </recursive>
+                                       <templateFile>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.template_file</label>
+                                                       <config>
+                                                               <type>group</type>
+                                                               <internal_type>file</internal_type>
+                                                               <allowed>tmpl,html,htm</allowed>
+                                                               <max_size>100</max_size>
+                                                               <uploadfolder>uploads/tx_felogin</uploadfolder>
+                                                               <maxitems>1</maxitems>
+                                                               <size>1</size>
+                                                               <selectedListStyle>width:180px</selectedListStyle>
+                                                       </config>
+                                               </TCEforms>
+                                       </templateFile>
+                               </el>
+                       </ROOT>
+               </sDEF>
+               <s_redirect>
+                       <ROOT>
+                               <TCEforms>
+                                       <sheetTitle>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.sheet_redirect</sheetTitle>
+                               </TCEforms>
+                               <type>array</type>
+                               <el>
+                                       <redirectMode>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectMode</label>
+                                                       <config>
+                                                               <type>select</type>
+                                                               <items type="array">
+                                                                       <numIndex index="0" type="array">
+                                                                               <numIndex index="0">LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectMode.I.0</numIndex>
+                                                                               <numIndex index="1">groupLogin</numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="1" type="array">
+                                                                               <numIndex index="0">LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectMode.I.1</numIndex>
+                                                                               <numIndex index="1">userLogin</numIndex>
+                                                                       </numIndex>
+
+                                                                       <numIndex index="2" type="array">
+                                                                               <numIndex index="0">LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectMode.I.2</numIndex>
+                                                                               <numIndex index="1">login</numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="3" type="array">
+                                                                               <numIndex index="0">LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectMode.I.3</numIndex>
+                                                                               <numIndex index="1">logout</numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="4" type="array">
+                                                                               <numIndex index="0">LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectMode.I.4</numIndex>
+                                                                               <numIndex index="1">loginError</numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="5" type="array">
+                                                                               <numIndex index="0">LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectMode.I.5</numIndex>
+                                                                               <numIndex index="1">getpost</numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="6" type="array">
+                                                                               <numIndex index="0">LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectMode.I.6</numIndex>
+                                                                               <numIndex index="1">referer</numIndex>
+                                                                       </numIndex>
+                                                                       <numIndex index="7" type="array">
+                                                                               <numIndex index="0">LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectMode.I.7</numIndex>
+                                                                               <numIndex index="1">refererDomains</numIndex>
+                                                                       </numIndex>
+                                                               </items>
+                                                               <size>8</size>
+                                                               <minitems>0</minitems>
+                                                               <maxitems>8</maxitems>
+                                                       </config>
+                                               </TCEforms>
+                                       </redirectMode>
+                                       <redirectFirstMethod>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectFirstMethod</label>
+                                                       <config>
+                                                               <type>check</type>
+                                                       </config>
+                                               </TCEforms>
+                                       </redirectFirstMethod>
+                                       <redirectPageLogin>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectPageLogin</label>
+                                                       <config>
+                                                               <type>group</type>
+                                                               <internal_type>db</internal_type>
+                                                               <allowed>pages</allowed>
+                                                               <size>1</size>
+                                                               <maxitems>1</maxitems>
+                                                               <minitems>0</minitems>
+                                                               <show_thumbs>1</show_thumbs>
+                                                       </config>
+                                               </TCEforms>
+                                       </redirectPageLogin>          
+                                       <redirectPageLoginError>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectPageLoginError</label>
+                                                       <config>
+                                                               <type>group</type>
+                                                               <internal_type>db</internal_type>
+                                                               <allowed>pages</allowed>
+                                                               <size>1</size>
+                                                               <maxitems>1</maxitems>
+                                                               <minitems>0</minitems>
+                                                               <show_thumbs>1</show_thumbs>
+                                                       </config>
+                                               </TCEforms>
+                                       </redirectPageLoginError>       
+                                       <redirectPageLogout>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectPageLogout</label>
+                                                       <config>
+                                                               <type>group</type>
+                                                               <internal_type>db</internal_type>
+                                                               <allowed>pages</allowed>
+                                                               <size>1</size>
+                                                               <maxitems>1</maxitems>
+                                                               <minitems>0</minitems>
+                                                               <show_thumbs>1</show_thumbs>
+                                                       </config>
+                                               </TCEforms>
+                                       </redirectPageLogout>   
+                                       <redirectDisable>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.redirectDisable</label>
+                                                       <config>
+                                                               <type>check</type>
+                                                       </config>
+                                               </TCEforms>
+                                       </redirectDisable>
+                               </el>
+                       </ROOT>
+               </s_redirect>
+               <s_messages>
+                       <ROOT>
+                               <TCEforms>
+                                       <sheetTitle>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.sheet_messages</sheetTitle>
+                               </TCEforms>
+                               <type>array</type>
+                               <el>
+                                       <welcome_header>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.welcome_header</label>
+                                                       <config>
+                                                               <type>input</type>
+                                                               <size>30</size>
+                                                       </config>
+                                               </TCEforms>
+                                       </welcome_header>
+                                       <welcome_message>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.welcome_message</label>
+                                                       <config>
+                                                               <type>text</type>
+                                                               <cols>30</cols>
+                                                               <rows>5</rows>
+                                                       </config>
+                                               </TCEforms>
+                                       </welcome_message>
+                                       <success_header>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.success_header</label>
+                                                       <config>
+                                                               <type>input</type>
+                                                               <size>30</size>
+                                                       </config>
+                                               </TCEforms>
+                                       </success_header>
+                                       <success_message>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.success_message</label>
+                                                       <config>
+                                                               <type>text</type>
+                                                               <cols>30</cols>
+                                                               <rows>5</rows>
+                                                       </config>
+                                               </TCEforms>
+                                       </success_message>
+                                       <error_header>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.error_header</label>
+                                                       <config>
+                                                               <type>input</type>
+                                                               <size>30</size>
+                                                       </config>
+                                               </TCEforms>
+                                       </error_header>
+                                       <error_message>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.error_message</label>
+                                                       <config>
+                                                               <type>text</type>
+                                                               <cols>30</cols>
+                                                               <rows>5</rows>
+                                                       </config>
+                                               </TCEforms>
+                                       </error_message>
+                                       <status_header>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.status_header</label>
+                                                       <config>
+                                                               <type>input</type>
+                                                               <size>30</size>
+                                                       </config>
+                                               </TCEforms>
+                                       </status_header>
+                                       <status_message>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.status_message</label>
+                                                       <config>
+                                                               <type>text</type>
+                                                               <cols>30</cols>
+                                                               <rows>5</rows>
+                                                       </config>
+                                               </TCEforms>
+                                       </status_message>
+                                       <logout_header>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.logout_header</label>
+                                                       <config>
+                                                               <type>input</type>
+                                                               <size>30</size>
+                                                       </config>
+                                               </TCEforms>
+                                       </logout_header>
+                                       <logout_message>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.logout_message</label>
+                                                       <config>
+                                                               <type>text</type>
+                                                               <cols>30</cols>
+                                                               <rows>5</rows>
+                                                       </config>
+                                               </TCEforms>
+                                       </logout_message>
+                                       <forgot_header>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.forgot_header</label>
+                                                       <config>
+                                                               <type>input</type>
+                                                               <size>30</size>
+                                                       </config>
+                                               </TCEforms>
+                                       </forgot_header>
+                                       <forgot_message>
+                                               <TCEforms>
+                                                       <label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.forgot_message</label>
+                                                       <config>
+                                                               <type>text</type>
+                                                               <cols>30</cols>
+                                                               <rows>5</rows>
+                                                       </config>
+                                               </TCEforms>
+                                       </forgot_message>
+                               </el>
+                       </ROOT>
+               </s_messages>
+       </sheets>
+</T3DataStructure>
diff --git a/typo3/sysext/felogin/locallang_db.xml b/typo3/sysext/felogin/locallang_db.xml
new file mode 100644 (file)
index 0000000..59834ce
--- /dev/null
@@ -0,0 +1,312 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<T3locallang>
+       <meta type="array">
+               <type>database</type>
+               <description>Language labels for database tables/fields belonging to extension 'felogin'</description>
+       </meta>
+       <data type="array">
+               <languageKey index="default" type="array">
+                       <label index="tt_content.CType_pi1">Website User Login</label>
+                       <label index="felogin_redirectPid">Redirect at Login to Page (felogin):</label>
+                       <label index="tt_content.pi_flexform.general_header">General Header:</label>
+                       <label index="tt_content.pi_flexform.general_message">General Message:</label>
+                       <label index="tt_content.pi_flexform.redirect_header">Redirect Header:</label>
+                       <label index="tt_content.pi_flexform.redirect_message">Redirect Message:</label>
+                       <label index="tt_content.pi_flexform.welcome_header">Welcome Header:</label>
+                       <label index="tt_content.pi_flexform.welcome_message">Welcome Message:</label>
+                       <label index="tt_content.pi_flexform.success_header">Login Success Header:</label>
+                       <label index="tt_content.pi_flexform.success_message">Login Success Message:</label>
+                       <label index="tt_content.pi_flexform.error_header">Login Error Header:</label>
+                       <label index="tt_content.pi_flexform.error_message">Login Error Message:</label>
+                       <label index="tt_content.pi_flexform.status_header">Status Display Header:</label>
+                       <label index="tt_content.pi_flexform.status_message">Status Display Message:</label>
+                       <label index="tt_content.pi_flexform.logout_header">Logout Header:</label>
+                       <label index="tt_content.pi_flexform.logout_message">Logout Message:</label>
+                       <label index="tt_content.pi_flexform.forgot_header">Forgot Password Header:</label>
+                       <label index="tt_content.pi_flexform.forgot_message">Forgot Password Message:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">General</label>
+                       <label index="tt_content.pi_flexform.sheet_redirect">Redirect Options</label>
+                       <label index="tt_content.pi_flexform.sheet_messages">Messages</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Show &quot;Forgot password?&quot; link:</label>
+                       <label index="tt_content.pi_flexform.show_permalogin">Show &quot;Stay logged in&quot; checkbox (if switched on for the installation):</label>
+                       <label index="tt_content.pi_flexform.groupSelectmode">FE group select mode:</label>
+                       <label index="tt_content.pi_flexform.groupSelectmode_showAll">Show all</label>
+                       <label index="tt_content.pi_flexform.groupSelectmode_showSelected">Show selected</label>
+                       <label index="tt_content.pi_flexform.groupSelectmode_DontShowSelected">Dont show selected</label>
+                       <label index="tt_content.pi_flexform.groupSelectmode_FromTS">(from Typoscript)</label>
+                       <label index="tt_content.pi_flexform.groupSelection">FE group selection:</label>
+                       <label index="tt_content.pi_flexform.groupSelection_noGroup">no group</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Using fieldlists below:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">User Fields/list:</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">User Fields/details:</label>
+                       <label index="tt_content.pi_flexform.redirectMode">Redirect Mode (you have to choose the options, without defined Mode there is no redirect):</label>
+                       <label index="tt_content.pi_flexform.redirectMode.I.0">defined by Usergroup Record</label>
+                       <label index="tt_content.pi_flexform.redirectMode.I.1">defined by User Record</label>
+                       <label index="tt_content.pi_flexform.redirectMode.I.2">after Login (TS or Flexform)</label>
+                       <label index="tt_content.pi_flexform.redirectMode.I.3">after Logout (TS or Flexform)</label>
+                       <label index="tt_content.pi_flexform.redirectMode.I.4">after Login Error (TS or Flexform)</label>
+                       <label index="tt_content.pi_flexform.redirectMode.I.5">defined by GET/POST-Vars</label>
+                       <label index="tt_content.pi_flexform.redirectMode.I.6">defined by Referrer</label>
+                       <label index="tt_content.pi_flexform.redirectMode.I.7">defined by Domain entries</label>
+                       <label index="tt_content.pi_flexform.redirectFirstMethod">Use the first mode found:</label>
+                       <label index="tt_content.pi_flexform.redirectDisable">Disable redirect:</label>
+                       <label index="tt_content.pi_flexform.redirectPageLogin">After successful login redirect to page:</label>
+                       <label index="tt_content.pi_flexform.redirectPageLoginError">After login with error redirect to page:</label>
+                       <label index="tt_content.pi_flexform.redirectPageLogout">After logout redirect to page:</label>
+                       <label index="tt_content.pi_flexform.template_file">Template file:</label>
+               </languageKey>
+               
+               <languageKey index="dk" type="array">
+                       <label index="tt_content.pi_flexform.header">Overskrift:</label>
+                       <label index="tt_content.pi_flexform.message">Tekst:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Generelle valg</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Velkomst</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Login Succes</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Login Fejl</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Status</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Logout</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Vis &quot;Glemt password?&quot; link:</label>
+                       <label index="tt_content.pi_flexform.template_file">Skabelon fil</label>
+               </languageKey>
+               <languageKey index="de" type="array">
+                       <label index="tt_content.pi_flexform.header">Überschrift:</label>
+                       <label index="tt_content.pi_flexform.message">Nachricht:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Allgemein</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Willkommen</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Erfolgreich angemeldet</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Anmeldefehler</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Status</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Abmelden</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">&quot;Passwort vergessen?&quot; Link anzeigen:</label>
+                       <label index="tt_content.pi_flexform.show_permalogin">&quot;Eingeloggt bleiben&quot; checkbox anzeigen (wenn auf dem System verfügbar:</label>
+                       <label index="tt_content.pi_flexform.groupSelectmode">FE-Gruppen Auswahlmodus:</label>
+                       <label index="tt_content.pi_flexform.groupSelectmode_showAll">Alle anzeigen</label>
+                       <label index="tt_content.pi_flexform.groupSelectmode_showSelected">Nur die Ausgewählten anzeigen</label>
+                       <label index="tt_content.pi_flexform.groupSelectmode_DontShowSelected">Die Ausgewählten NICHT anzeigen</label>
+                       <label index="tt_content.pi_flexform.groupSelectmode_FromTS">(gemäss Typoscript)</label>
+                       <label index="tt_content.pi_flexform.groupSelection">FE-Gruppen Auswahl:</label>
+                       <label index="tt_content.pi_flexform.groupSelection_noGroup">in keiner Gruppe einsortiert</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Folgende Felder benutzen:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">Listenansicht:</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">Detailansicht:</label>
+                       <label index="tt_content.pi_flexform.redirectPageLogin">Nach erfolgreichem Login auf folgende Seite weiterleiten:</label>
+                       <label index="tt_content.pi_flexform.template_file">Template:</label>
+                       <label index="felogin_redirPid">Beim Login weiterleiten zur Seite...</label>
+               </languageKey>
+               <languageKey index="no" type="array">
+                       <label index="tt_content.pi_flexform.header">Overskrift:</label>
+                       <label index="tt_content.pi_flexform.message">Tekst:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Generelle valg</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Velkomstmelding</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Vellykket innlogging</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Feil ved innlogging</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Status</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Logg ut</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Vis &quot;Glemt passordet?&quot;-lenke</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Bruk feltlisten under:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">Brukerfelter/liste:</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">Brukerfelter/detaljer:</label>
+                       <label index="tt_content.pi_flexform.template_file">Malfil</label>
+               </languageKey>
+               <languageKey index="it" type="array">
+                       <label index="tt_content.pi_flexform.header">Intestazione:</label>
+                       <label index="tt_content.pi_flexform.message">Messaggio:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Generale:</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Benvenuto</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Login avvenuto</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Errore di Login</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Stato</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Logout</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Mostra link &quot;Dimenticato la password?&quot;:</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Usa i campi sottostanti:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">Campi Utente/lista:</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">Campi Utente/dettagli:</label>
+                       <label index="felogin_redirPid">Carica la pagina (al login)</label>
+               </languageKey>
+               <languageKey index="fr" type="array">
+                       <label index="tt_content.pi_flexform.header">Titre</label>
+                       <label index="tt_content.pi_flexform.message">Message</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Général</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Bienvenue</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Succès</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Erreur</label>
+                       <label index="tt_content.pi_flexform.sheet_status">État</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Déconnexion</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Affiché le lien &quot;Mot de passe oublié?&quot;</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Utiliser les champs suivant:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">Champs (liste)</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">Champs (détails)</label>
+               </languageKey>
+               <languageKey index="es" type="array">
+                       <label index="tt_content.pi_flexform.template_file">Fichero de plantilla</label>
+               </languageKey>
+               <languageKey index="nl" type="array">
+                       <label index="tt_content.pi_flexform.header">Kop:</label>
+                       <label index="tt_content.pi_flexform.message">Bericht:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Algemeen</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Welkom</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Inloggen gelukt</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Fout bij het inloggen</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Status</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Uitloggen</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Toon &quot;Password vergeten?&quot; link:</label>
+                       <label index="tt_content.pi_flexform.template_file">Sjabloon bestand</label>
+               </languageKey>
+               <languageKey index="cz" type="array">
+                       <label index="tt_content.pi_flexform.header">Nadpis</label>
+                       <label index="tt_content.pi_flexform.message">Zpráva:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Obecné</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Vítejte</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Úspěšné přihlášení</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Chyba přihlášení</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Stav</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Odhlášení</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Zobrazovat odkaz &quot;Zapoměli jste své heslo&quot;?</label>
+                       <label index="tt_content.pi_flexform.template_file">Soubor šablony</label>
+               </languageKey>
+               <languageKey index="pl" type="array">
+                       <label index="tt_content.pi_flexform.header">Nagłówek:</label>
+                       <label index="tt_content.pi_flexform.message">Wiadomość:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Ogólne</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Powitanie</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Udane logowanie</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Błędne logowanie</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Status</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Wylogowanie</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Pokazuj odnośnik &quot;zapomniałem hasło&quot;:</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Użycie listy pól poniżej:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">Pola użytkownika/lista:</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">Pola użytkownika/szczegóły:</label>
+                       <label index="felogin_redirPid">Przekieruj po zalogowaniu do strony:</label>
+               </languageKey>
+               <languageKey index="si" type="array">
+               </languageKey>
+               <languageKey index="fi" type="array">
+                       <label index="tt_content.pi_flexform.header">Otsikko:</label>
+                       <label index="tt_content.pi_flexform.message">Viesti</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Yleistä</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Tervetulotoivotus</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Onnistunut sisäänkirjoitus</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Epäonnistunut sisäänkirjoitus</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Tila</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Ulos kirjoittautuminen</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Näytä &quot;Unohditko salasanasi ?&quot; linkki:</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Käytetään allaolevaa tietolistaa:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">Käyttäjän tiedot/lista:</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">Käyttäjän tiedot/tarkat tiedot:</label>
+                       <label index="felogin_redirPid">Edelleen ohjaus loginissa sivulle:</label>
+               </languageKey>
+               <languageKey index="tr" type="array">
+                       <label index="tt_content.pi_flexform.header">Başlık:</label>
+                       <label index="tt_content.pi_flexform.message">Mesaj:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Genel</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Hoşgeldin</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Oturum başarıyla açıldı</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Oturum açmada hata</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Statü</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Oturumu kapat</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">'Parola kayıp?' linkini göster:</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Altdaki alan listelerini kullan:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">Liste görüntüsü</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">Detaylı görüntü</label>
+               </languageKey>
+               <languageKey index="se" type="array">
+                       <label index="felogin_redirPid">Vidareskicka vid inloggning till sidan:</label>
+               </languageKey>
+               <languageKey index="pt" type="array">
+               </languageKey>
+               <languageKey index="ru" type="array">
+                       <label index="tt_content.pi_flexform.header">Заголовок:</label>
+                       <label index="tt_content.pi_flexform.message">Сообщение:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Общие</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Добро пожаловать!</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Успешный вход</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Ошибка входа</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Статус</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Выход</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Показывать ссылку &quot;Забыли пароль?&quot;</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Используя список полей внизу:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">Поля в режиме списка пользователей:</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">Поля в режиме деталей пользователя:</label>
+               </languageKey>
+               <languageKey index="ro" type="array">
+               </languageKey>
+               <languageKey index="ch" type="array">
+               </languageKey>
+               <languageKey index="sk" type="array">
+               </languageKey>
+               <languageKey index="lt" type="array">
+               </languageKey>
+               <languageKey index="is" type="array">
+               </languageKey>
+               <languageKey index="hr" type="array">
+                       <label index="tt_content.pi_flexform.header">Zaglavlje:</label>
+                       <label index="tt_content.pi_flexform.message">Poruka:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Općenito</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Dobrodošli</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Prijava uspješna</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Greška pri prijavi</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Status</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Odjava</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Prikaži &quot;Zaboravljena lozinka?&quot; link:</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Koristeći niže navedena polja:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">Korisnička Polja/popis:</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">Korisnička Polja/detalji:</label>
+               </languageKey>
+               <languageKey index="hu" type="array">
+               </languageKey>
+               <languageKey index="gl" type="array">
+               </languageKey>
+               <languageKey index="th" type="array">
+               </languageKey>
+               <languageKey index="gr" type="array">
+               </languageKey>
+               <languageKey index="hk" type="array">
+               </languageKey>
+               <languageKey index="eu" type="array">
+               </languageKey>
+               <languageKey index="bg" type="array">
+               </languageKey>
+               <languageKey index="br" type="array">
+                       <label index="tt_content.pi_flexform.header">Cabeçalho:</label>
+                       <label index="tt_content.pi_flexform.message">Mensagem:</label>
+                       <label index="tt_content.pi_flexform.sheet_general">Geral</label>
+                       <label index="tt_content.pi_flexform.sheet_welcome">Bem-vindo</label>
+                       <label index="tt_content.pi_flexform.sheet_success">Identificação com Sucesso</label>
+                       <label index="tt_content.pi_flexform.sheet_error">Erro de Identificação</label>
+                       <label index="tt_content.pi_flexform.sheet_status">Situação</label>
+                       <label index="tt_content.pi_flexform.sheet_logout">Encerrar</label>
+                       <label index="tt_content.pi_flexform.show_forgot_password">Exibir o link &quot;Esqueci minha senha?&quot;:</label>
+                       <label index="tt_content.pi_flexform.field_manualOrder">Utilizando os campos abaixo:</label>
+                       <label index="tt_content.pi_flexform.field_orderList">Campos de Usuário/Lista:</label>
+                       <label index="tt_content.pi_flexform.field_orderDetails">Campos de Usuário/Detalhes:</label>
+                       <label index="felogin_redirPid">Ao logar, redirecionar para Página:</label>
+               </languageKey>
+               <languageKey index="et" type="array">
+               </languageKey>
+               <languageKey index="ar" type="array">
+               </languageKey>
+               <languageKey index="he" type="array">
+               </languageKey>
+               <languageKey index="ua" type="array">
+               </languageKey>
+               <languageKey index="lv" type="array">
+               </languageKey>
+               <languageKey index="jp" type="array">
+               </languageKey>
+               <languageKey index="vn" type="array">
+               </languageKey>
+               <languageKey index="ca" type="array">
+               </languageKey>
+               <languageKey index="ba" type="array">
+               </languageKey>
+               <languageKey index="kr" type="array">
+               </languageKey>
+               <languageKey index="eo" type="array">
+               </languageKey>
+               <languageKey index="my" type="array">
+               </languageKey>
+               <languageKey index="hi" type="array">
+               </languageKey>
+       </data>
+</T3locallang>
diff --git a/typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php b/typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php
new file mode 100644 (file)
index 0000000..a26fdbd
--- /dev/null
@@ -0,0 +1,576 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 2007-2008 Steffen Kamper <info@sk-typo3.de>
+*  Based on Newloginbox (c) 2002-2004 Kasper Skaarhoj <kasper@typo3.com>
+*
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+*
+*  The code was adapted from newloginbox, see manual for detailed description
+***************************************************************/
+
+require_once(PATH_tslib.'class.tslib_pibase.php');
+
+
+/**
+ * Plugin 'Website User Login' for the 'felogin' extension.
+ *
+ * @author     Steffen Kamper <info@sk-typo3.de>
+ * @package    TYPO3
+ * @subpackage tx_felogin
+ */
+class tx_felogin_pi1 extends tslib_pibase {
+       var $prefixId      = 'tx_felogin_pi1';          // Same as class name
+       var $scriptRelPath = 'pi1/class.tx_felogin_pi1.php';    // Path to this script relative to the extension dir.
+       var $extKey        = 'felogin'; // The extension key.
+       var $pi_checkCHash = true;
+       var $userIsLoggedIn;    // Is user logged in?
+       var $template;
+       var $uploadDir;
+       var $redirectUrl;
+
+       /**
+        * The main method of the plugin
+        *
+        * @param       string          $content: The PlugIn content
+        * @param       array           $conf: The PlugIn configuration
+        *
+        * @return      string          The     content that is displayed on the website
+        */
+       public function main($content,$conf)    {
+
+                       // Loading TypoScript array into object variable:
+               $this->conf = $conf;
+               $this->uploadDir = 'uploads/tx_felogin/';
+
+                       // Loading language-labels
+               $this->pi_loadLL();
+
+                       // Init FlexForm configuration for plugin:
+               $this->pi_initPIflexForm();
+               $this->mergeflexFormValuesIntoConf();
+
+
+                       // Get storage PIDs:
+               if ($this->conf['storagePid']) {
+                       $this->spid = $this->conf['storagePid'];
+               } else {
+                       $pids = $GLOBALS['TSFE']->getStorageSiterootPids();
+                       $this->spid = $pids['_STORAGE_PID'];
+               }
+
+                       // GPvars:
+               $this->logintype = t3lib_div::_GP('logintype');
+               $this->redirectUrl = t3lib_div::_GP('redirect_url');
+
+
+
+                       // Get Template
+               $templateFile = $this->conf['templateFile'] ? $this->conf['templateFile'] : 'EXT:felogin/template.html';
+               $this->template = $this->cObj->fileResource($templateFile);
+
+                       // Is user logged in?
+               $this->userIsLoggedIn = $GLOBALS['TSFE']->loginUser;
+
+                       // Redirect
+               if ($this->conf['redirectMode'] && !$this->conf['redirectDisable']) {
+                       $this->redirectUrl = $this->processRedirect();
+               }
+
+
+                       // What to display
+               $content='';
+               if ($this->piVars['forgot']) {
+                       $content .= $this->showForgot();
+               } else {
+                       if($this->userIsLoggedIn && !$this->logintype) {
+                               $content .= $this->showLogout();
+                       } else {
+                               $content .= $this->showLogin();
+                       }
+               }
+
+
+
+                       // Process the redirect
+               if (($this->logintype === 'login' || $this->logintype === 'logout') && $this->redirectUrl) {
+                       if (!$GLOBALS['TSFE']->fe_user->cookieId) {
+                               $content .= '<p style="color:red; font-weight:bold;">' . $this->pi_getLL('cookie_warning', '', 1) . '</p>';
+                       } else {
+                               header('Location: '.t3lib_div::locationHeaderUrl($this->redirectUrl));
+                               exit;
+                       }
+               }
+               return $this->conf['wrapContentInBaseClass'] ? $this->pi_wrapInBaseClass($content) : $content;
+
+       }
+
+        /**
+         * Shows the forgot password form
+         *
+         * @return     string          content
+         */
+        private function showForgot() {
+               $subpart = $this->cObj->getSubpart($this->template, '###TEMPLATE_FORGOT###');
+               if ($this->piVars['forgot_email']) {
+                       if (t3lib_div::validEmail($this->piVars['forgot_email'])) {
+                                       // look for user record and send the password
+                               $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
+                                       'uid, username, password',
+                                       'fe_users',
+                                       'email='.$GLOBALS['TYPO3_DB']->fullQuoteStr($this->piVars['forgot_email'], 'fe_users').' AND pid IN ('.$GLOBALS['TYPO3_DB']->cleanIntList($this->spid).') '.$this->cObj->enableFields('fe_users')
+                               );
+
+                               if ($GLOBALS['TYPO3_DB']->sql_num_rows($res)) {
+                                       $row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
+                                       $msg = sprintf($this->pi_getLL('ll_forgot_email_password', '', 0), $this->piVars['forgot_email'], $row['username'], $row['password']);
+                               } else {
+                                       $msg = sprintf($this->pi_getLL('ll_forgot_email_nopassword', '', 0), $this->piVars['forgot_email']);
+                               }
+
+
+                                       // Generate new password with md5 and save it in user record
+                               if ($GLOBALS['TYPO3_DB']->sql_num_rows($res) && t3lib_extMgm::isLoaded('kb_md5fepw')) {
+                                       $newPass = $this->generatePassword(8);
+                                       $res = $GLOBALS['TYPO3_DB']->exec_UPDATEquery(
+                                               'fe_users',
+                                               'uid=' . $row['uid'],
+                                               array('password' => md5($newPass))
+                                       );
+                                       $msg = sprintf($this->pi_getLL('ll_forgot_email_password', '', 0),$this->piVars['forgot_email'], $row['username'], $newPass);
+                               }
+
+                               $this->cObj->sendNotifyEmail($msg, $this->piVars['forgot_email'], '', $this->conf['email_from'], $this->conf['email_fromName'], $this->conf['replyTo']);
+                               $markerArray['###STATUS_MESSAGE###'] = sprintf($this->pi_getLL('ll_forgot_message_emailSent', '', 1),'<em>' . htmlspecialchars($this->piVars['forgot_email']) .'</em>');
+                               $subpartArray['###FORGOT_FORM###'] = '';
+
+
+                       } else {
+                                       //wrong email
+                               $markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('forgot_message',$this->conf['forgotMessage_stdWrap.']);
+                               $markerArray['###BACKLINK_LOGIN###'] = '';
+                       }
+               } else {
+                       $markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('forgot_message',$this->conf['forgotMessage_stdWrap.']);
+                       $markerArray['###BACKLINK_LOGIN###'] = '';
+               }
+
+               $markerArray['###BACKLINK_LOGIN###'] = $this->getPageLink($this->pi_getLL('ll_forgot_header_backToLogin', '', 1), array());
+               $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('forgot_header',$this->conf['forgotHeader_stdWrap.']);
+
+               $markerArray['###LEGEND###'] = $this->pi_getLL('send_password', '', 1);
+               $markerArray['###ACTION_URI###'] = $this->getPageLink('',array($this->prefixId.'[forgot]'=>1),true);
+               $markerArray['###EMAIL_LABEL###'] = $this->pi_getLL('your_email', '', 1);
+               $markerArray['###FORGOT_PASSWORD_ENTEREMAIL###'] = $this->pi_getLL('forgot_password_enterEmail', '', 1);
+               $markerArray['###FORGOT_EMAIL###'] = $this->prefixId.'[forgot_email]';
+               $markerArray['###SEND_PASSWORD###'] = $this->pi_getLL('send_password', '', 1);
+
+               return $this->cObj->substituteMarkerArrayCached($subpart, $markerArray, $subpartArray, $linkpartArray);
+       }
+
+       /**
+        * Shows logout form
+        *
+        * @return      string          The content.
+        */
+       private function showLogout() {
+               $subpart = $this->cObj->getSubpart($this->template, '###TEMPLATE_LOGOUT###');
+
+               $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('status_header',$this->conf['logoutHeader_stdWrap.']);
+               $markerArray['###STATUS_MESSAGE###']=$this->getDisplayText('status_message',$this->conf['logoutMessage_stdWrap.']);$this->cObj->stdWrap($this->flexFormValue('message','s_status'),$this->conf['logoutMessage_stdWrap.']);
+
+               $markerArray['###LEGEND###'] = $this->pi_getLL('logout', '', 1);
+               $markerArray['###ACTION_URI###'] = $this->getPageLink('',array(),true);
+               $markerArray['###LOGOUT_LABEL###'] = $this->pi_getLL('logout', '', 1);
+               $markerArray['###NAME###'] = htmlspecialchars($GLOBALS['TSFE']->fe_user->user['name']);
+               $markerArray['###STORAGE_PID###'] = $this->spid;
+               $markerArray['###USERNAME###'] = htmlspecialchars($GLOBALS['TSFE']->fe_user->user['username']);
+               $markerArray['###USERNAME_LABEL###'] = $this->pi_getLL('username', '', 1);
+
+               return $this->cObj->substituteMarkerArrayCached($subpart, $markerArray, $subpartArray, $linkpartArray);
+       }
+
+       /**
+        * Shows login form
+        *
+        * @return      string          content
+        */
+        private function showLogin() {
+               $subpart = $this->cObj->getSubpart($this->template, '###TEMPLATE_LOGIN###');
+
+               $markerArray['###LEGEND###'] = $this->pi_getLL('oLabel_header_welcome', '', 1);
+
+               if($this->logintype === 'login') {
+                       if($this->userIsLoggedIn) {
+                                       // login success
+                               $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('success_header',$this->conf['successHeader_stdWrap.']); 
+                               $markerArray['###STATUS_MESSAGE###'] = str_replace('###USER###',htmlspecialchars($GLOBALS['TSFE']->fe_user->user['username']),$this->getDisplayText('success_message',$this->conf['successMessage_stdWrap.'])); 
+                               $subpartArray['###LOGIN_FORM###'] = '';
+
+                                       // Hook for general actions after after login has been confirmed (by Thomas Danzl <thomas@danzl.org>)
+                               if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['login_confirmed']) {
+                                       $_params = array();
+                                       foreach($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['newloginbox']['felogin'] as $_funcRef) {
+                                               if ($_funcRef) {
+                                                       t3lib_div::callUserFunction($_funcRef, $_params, $this);
+                                               }
+                                       }
+                               }
+
+                       } else {
+                                       // login error
+                               $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('error_header',$this->conf['errorHeader_stdWrap.']); 
+                               $markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('error_message',$this->conf['errorMesssage_stdWrap.']); 
+                       }
+               } else {
+                       if($this->logintype === 'logout') {
+                                       // login form after logout
+                               $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('logout_header',$this->conf['welcomeHeader_stdWrap.']); 
+                               $markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('logout_message',$this->conf['welcomeMessage_stdWrap.']);
+                       } else {
+                                       // login form
+                               $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('welcome_header',$this->conf['welcomeHeader_stdWrap.']); 
+                               $markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('welcome_message',$this->conf['welcomeMessage_stdWrap.']);
+                       }
+               }
+
+
+                       // Hook (used by kb_md5fepw extension by Kraft Bernhard <kraftb@gmx.net>)
+                       // This hook allows to call User JS functions.
+                       // The methods should also set the required JS functions to get included
+               $onSubmit = '';
+               $extraHidden = '';
+               if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'])) {
+                       $_params = array();
+                       $onSubmitAr = array();
+                       $extraHiddenAr = array();
+                       foreach($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'] as $funcRef) {
+                               list($onSub, $hid) = t3lib_div::callUserFunction($funcRef, $_params, $this);
+                               $onSubmitAr[] = $onSub;
+                               $extraHiddenAr[] = $hid;
+                       }
+               }
+               if (count($onSubmitAr)) {
+                       $onSubmit = implode('; ', $onSubmitAr).'; return true;';
+                       $extraHidden = implode(chr(10), $extraHiddenAr);
+               }
+
+                       // Login form
+               $markerArray['###ACTION_URI###'] = $this->getPageLink('',array(),true);
+               $markerArray['###EXTRA_HIDDEN###'] = $extraHidden; // used by kb_md5fepw extension...
+        $markerArray['###LEGEND###'] = $this->pi_getLL('login', '', 1);
+               $markerArray['###LOGIN_LABEL###'] = $this->pi_getLL('login', '', 1);
+               $markerArray['###ON_SUBMIT###'] = $onSubmit; // used by kb_md5fepw extension...
+               $markerArray['###PASSWORD_LABEL###'] = $this->pi_getLL('password', '', 1);
+               $markerArray['###STORAGE_PID###'] = $this->spid;
+               $markerArray['###USERNAME_LABEL###'] = $this->pi_getLL('username', '', 1);
+               $markerArray['###REDIRECT_URL###'] = $this->redirectUrl;
+
+               if ($this->flexFormValue('showForgotPassword','sDEF')) {
+                       $linkpartArray['###FORGOT_PASSWORD_LINK###'] = explode('|',$this->getPageLink('|',array($this->prefixId.'[forgot]'=>1)));
+                       $markerArray['###FORGOT_PASSWORD###'] = $this->pi_getLL('ll_forgot_header', '', 1);
+               } else {
+                       $subpartArray['###FORGOTP_VALID###'] = '';
+               }
+
+
+
+               if (($this->conf['showPermaLogin']) && ($GLOBALS['TYPO3_CONF_VARS']['FE']['permalogin'] == 0 || $GLOBALS['TYPO3_CONF_VARS']['FE']['permalogin'] == 1) && $GLOBALS['TYPO3_CONF_VARS']['FE']['lifetime'] > 0) {
+                       $markerArray['###PERMALOGIN###'] = $this->pi_getLL('permalogin', '', 1);
+                       if($GLOBALS['TYPO3_CONF_VARS']['FE']['permalogin'] == 1) {
+                               $markerArray['###PERMALOGIN_HIDDENFIELD_ATTRIBUTES###'] = 'disabled="disabled"';
+                               $markerArray['###PERMALOGIN_CHECKBOX_ATTRIBUTES###'] = 'checked="checked"';
+                       } else {
+                               $markerArray['###PERMALOGIN_HIDDENFIELD_ATTRIBUTES###'] = '';
+                               $markerArray['###PERMALOGIN_CHECKBOX_ATTRIBUTES###'] = '';
+                       }
+               } else {
+                       $subpartArray['###PERMALOGIN_VALID###'] = '';
+               }
+               return $this->cObj->substituteMarkerArrayCached($subpart, $markerArray, $subpartArray, $linkpartArray);
+       }
+
+       /**
+        * Process redirect methods. The function searches for a redirect url using all configured methods.
+        *
+        * @return      string          redirect url
+        */
+        private function processRedirect() {
+               if ($this->conf['redirectMode']) {
+                       foreach (explode(',',$this->conf['redirectMode']) as $redirMethod) {
+                               if ($GLOBALS['TSFE']->loginUser && $this->logintype === 'login') {
+                                               // logintype is needed because the login-page wouldn't be accessible anymore after a login (would always redirect)
+                                       switch ($redirMethod) {
+                                               case 'groupLogin': // taken from dkd_redirect_at_login written by Ingmar Schlecht; database-field changed
+                                                       $groupData = $GLOBALS['TSFE']->fe_user->groupData;
+                                                       $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
+                                                               'felogin_redirectPid',
+                                                               $GLOBALS['TSFE']->fe_user->usergroup_table,
+                                                               'felogin_redirectPid!="" AND uid IN ('.implode(',',$groupData['uid']).')'
+                                                       );
+                                                       if ($row = $GLOBALS['TYPO3_DB']->sql_fetch_row($res))   {
+                                                               $redirect_url = $this->pi_getPageLink($row[0],array(),true); // take the first group with a redirect page
+                                                       }
+                                               break;
+                                               case 'userLogin':
+                                                       $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
+                                                               'felogin_redirectPid',
+                                                               $GLOBALS['TSFE']->fe_user->user_table,
+                                                               $GLOBALS['TSFE']->fe_user->userid_column . '=' . $GLOBALS['TSFE']->fe_user->user['uid'] . ' AND felogin_redirectPid!=""'
+                                                       );
+                                                       if ($row = $GLOBALS['TYPO3_DB']->sql_fetch_row($res))   {
+                                                               $redirect_url = $this->pi_getPageLink($row[0],array(),true);
+                                                       }
+                                               break;
+                                               case 'login':
+                                                       if ($this->conf['redirectPageLogin']) {
+                                                               $redirect_url = $this->pi_getPageLink(intval($this->conf['redirectPageLogin']),array(),true);
+                                                       }
+                                               break;
+                                               case 'getpost':
+                                                       $redirect_url = $this->redirectUrl;
+                                               break;
+                                               case 'referer':
+                                                       $redirect_url = t3lib_div::getIndpEnv('HTTP_REFERER');
+                                                               // avoid forced logout, when trying to login immediatly after a logout
+                                                       $redirect_url = ereg_replace("[&?]logintype=[a-z]+", '', $redirect_url);
+                                               break;
+                                               case 'refererDomains':
+                                                               // Auto redirect.
+                                                               // Feature to redirect to the page where the user came from (HTTP_REFERER).
+                                                               // Allowed domains to redirect to, can be configured with plugin.tx_felogin_pi1.domains
+                                                               // Thanks to plan2.net / Martin Kutschker for implementing this feature.
+                                                       if (!$redirect_url && $this->conf['domains']) {
+                                                               $redirect_url = t3lib_div::getIndpEnv('HTTP_REFERER');
+                                                                       // is referring url allowed to redirect?
+                                                               $match = array();
+                                                               if (ereg('^http://([[:alnum:]._-]+)/', $redirect_url, $match)) {
+                                                                       $redirect_domain = $match[1];
+                                                                       $found = false;
+                                                                       foreach(split(',', $this->conf['domains']) as $d) {
+                                                                               if (ereg('(^|\.)'.$d.'$', $redirect_domain)) {
+                                                                                       $found = true;
+                                                                                       break;
+                                                                               }
+                                                                       }
+                                                                       if (!$found) {
+                                                                               $redirect_url = '';
+                                                                       }
+                                                               }
+
+                                                                       // Avoid forced logout, when trying to login immediatly after a logout
+                                                               $redirect_url = ereg_replace("[&?]logintype=[a-z]+", "", $redirect_url);
+                                                       }
+                                               break;
+                                       }
+                               } else if ($this->logintype === 'login') { // after login-error
+                                       switch ($redirMethod) {
+                                               case 'loginError':
+                                                       if ($this->conf['redirectPageLoginError']) {
+                                                               $redirect_url = $this->pi_getPageLink(intval($this->conf['redirectPageLoginError']), array(), true);
+                                                       }
+                                               break;
+                                       }
+                               } elseif ($this->logintype === 'logout') { // after logout
+                                       switch ($redirMethod) {
+                                               case 'logout':
+                                                       if ($this->conf['redirectPageLogout']) {
+                                                               $redirect_url = $this->pi_getPageLink(intval($this->conf['redirectPageLogout']), array(), true);
+                                                       }
+                                               break;
+                                       }
+                               } else { // not logged in
+                                               // Placeholder for maybe future options
+                                       switch ($redirMethod) {
+                                       }
+                               }
+
+                               if ($redirect_url && $this->conf['redirectFirstMethod']) {
+                                       break;
+                               }
+                       }
+               }
+               return $redirect_url;
+       }
+
+       /**
+        * Reads flexform configuration and merge it with $this->conf
+        *
+        * @return      void
+        */
+        private function mergeflexFormValuesIntoConf() {
+               $flex = array();
+               if ($this->flexFormValue('showForgotPassword', 'sDEF')) 
+                       $flex['showForgotPassword'] = $this->flexFormValue('showForgotPassword','sDEF');
+
+               if ($this->flexFormValue('showPermaLogin', 'sDEF'))
+                       $flex['showPermaLogin'] = $this->flexFormValue('showPermaLogin', 'sDEF');
+
+               if ($this->flexFormValue('pages', 'sDEF'))
+                       $flex['pages'] = $this->flexFormValue('pages', 'sDEF');
+
+               if ($this->flexFormValue('recursive', 'sDEF'))
+                       $flex['recursive'] = $this->flexFormValue('recursive',  'sDEF');
+
+               if ($this->flexFormValue('templateFile', 'sDEF'))
+                       $flex['templateFile'] = $this->uploadDir . $this->flexFormValue('templateFile', 'sDEF');
+
+               if ($this->flexFormValue('redirectMode', 's_redirect'))
+                       $flex['redirectMode'] = $this->flexFormValue('redirectMode', 's_redirect');
+
+               if ($this->flexFormValue('redirectFirstMethod', 's_redirect'))
+                       $flex['redirectFirstMethod'] = $this->flexFormValue('redirectFirstMethod', 's_redirect');
+
+               if ($this->flexFormValue('redirectDisable', 's_redirect'))
+                       $flex['redirectDisable'] = $this->flexFormValue('redirectDisable', 's_redirect');
+
+               if ($this->flexFormValue('redirectPageLogin', 's_redirect'))
+                       $flex['redirectPageLogin'] = $this->flexFormValue('redirectPageLogin', 's_redirect');
+
+               if ($this->flexFormValue('redirectPageLoginError', 's_redirect'))
+                       $flex['redirectPageLoginError'] = $this->flexFormValue('redirectPageLoginError','s_redirect');
+
+               if ($this->flexFormValue('redirectPageLogout', 's_redirect'))
+                       $flex['redirectPageLogout'] = $this->flexFormValue('redirectPageLogout', 's_redirect');
+
+               $pid = $flex['pages'] ? $this->pi_getPidList($flex['pages'], $flex['recursive']) : 0;
+               if ($pid > 0)   {
+                       $flex['storagePid'] = $pid;
+               }
+
+               $this->conf = array_merge($this->conf, $flex);
+       }
+
+       /**
+        * Loads a variable from the flexform
+        *
+        * @param       string          name of variable
+        * @param       string          name of sheet
+        * @return      string          value of var
+        */
+       private function flexFormValue($var, $sheet) {
+               return $this->pi_getFFvalue($this->cObj->data['pi_flexform'], $var,$sheet);
+       }
+
+       /**
+        * Generate link with typolink function
+        *
+        * @param       string          linktext
+        * @param       array           link vars
+        * @param       boolean         true: returns only url  false (default) returns the link)
+        *
+        * @return      string          link or url
+        */
+        private function getPageLink($label, $piVars,$returnUrl = false) {
+               $additionalParams = '';
+
+               if (count($piVars)) {
+                       foreach($piVars as $key=>$val) {
+                               $additionalParams .= '&' . $key . '=' . $val;
+                       }
+               }
+                       // should GETvars be preserved?
+               if ($this->conf['preserveGETvars'])     {
+                       $additionalParams .= $this->getPreserveGetVars();
+               }
+
+               $this->conf['linkConfig.']['parameter'] = $GLOBALS['TSFE']->id;
+               if ($additionalParams)  {
+                       $this->conf['linkConfig.']['additionalParams'] =  $additionalParams;
+               }
+
+               if ($returnUrl) {
+                       return $this->cObj->typolink_url($this->conf['linkConfig.']);
+               } else {
+                       return $this->cObj->typolink($label,$this->conf['linkConfig.']);
+               }
+       }
+
+       /**
+        * Is used by TS-setting preserveGETvars
+        * possible values are "all" or a commaseperated list of GET-vars
+        * they are used as additionalParams for link generation
+        *
+        * @return      string          additionalParams-string
+        */
+        private function getPreserveGetVars() {
+
+               $params = '';
+               $preserveVars =! ($this->conf['preserveGETvars'] || $this->conf['preserveGETvars']=='all' ? array() : implode(',', (array)$this->conf['preserveGETvars']));
+               $getVars = t3lib_div::_GET();
+
+               foreach ($getVars as $key=>$val) {
+                       if (stristr($key,$this->prefixId) === false) {
+                               if (is_array($val)) {
+                                       foreach ($val as $key1=>$val1) {
+                                               if ($this->conf['preserveGETvars']=='all' || in_array($key.'['.$key1.']',$preserveVars)) {
+                                                       $params.='&'.$key.'['.$key1.']='.$val1;
+                                               }
+                                       }
+                               } else {
+                                       if (!in_array($key,array('id','no_cache','logintype','redirect_url','cHash'))) {
+                                               $params.='&'.$key.'='.$val;
+                                       }
+                               }
+                       }
+               }
+               return $params;
+       }
+
+       /**
+        * Is used by forgot password - function with md5 option.
+        *
+        * @author      Bernhard Kraft
+        *
+        * @param       int                     length of new password
+        * @return      string          new password
+        */
+        private function generatePassword($len) {
+               $pass = '';
+               while ($len--) {
+                       $char = rand(0,35);
+                       if ($char < 10) {
+                               $pass .= ''.$char;
+                       } else {
+                               $pass .= chr($char-10+97);
+                       }
+               }
+               return $pass;
+       }
+       
+       /**
+        * Returns the header / message value from flexform if present, else from locallang.xml
+        *
+        * @param       string          label name
+        * @param       string          TS stdWrap array
+        * @return      string          label text
+        */
+       private function getDisplayText($label, $stdWrapArray=array()) {
+               return $this->flexFormValue($label,'s_messages') ? $this->cObj->stdWrap($this->flexFormValue($label,'s_messages'),$stdWrapArray) : $this->cObj->stdWrap($this->pi_getLL('ll_'.$label, '', 1), $stdWrapArray);
+       }
+}
+
+
+
+if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/felogin/pi1/class.tx_felogin_pi1.php'])       {
+       include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/felogin/pi1/class.tx_felogin_pi1.php']);
+}
+
+?>
\ No newline at end of file
diff --git a/typo3/sysext/felogin/pi1/locallang.xml b/typo3/sysext/felogin/pi1/locallang.xml
new file mode 100644 (file)
index 0000000..1695e30
--- /dev/null
@@ -0,0 +1,1273 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<T3locallang>
+       <meta type="array">
+               <description>Texts for plugin 'newloginbox'</description>
+               <type></type>
+               <csh_table></csh_table>
+               <labelContext type="array">
+               </labelContext>
+       </meta>
+       <data type="array">
+               <languageKey index="default" type="array">
+                       <label index="ll_welcome_header">User login</label>
+                       <label index="ll_welcome_message">Enter your username and password here in order to log in on the website:</label>
+                       <label index="ll_logout_header">You have logged out.</label>
+                       <label index="ll_logout_message">You just logged out from your user session on this website. You can login again or as another user by the form below.</label>
+                       <label index="ll_error_header">Login failure</label>
+                       <label index="ll_error_message">An error occurred during login. Most likely you didn't enter the username or password correctly.
+Be certain that you enter them precisely as they are, including upper/lower case.
+Another possibility is that cookies might be disabled in your webbrowser.</label>
+                       <label index="ll_success_header">Login successful</label>
+                       <label index="ll_success_message">You are now logged in as '###USER###'</label>
+                       <label index="ll_status_header">Current status</label>
+                       <label index="ll_status_message">This is your current status:</label>
+                       <label index="cookie_warning">Warning: There is a possibility that cookies are not enabled in your webbrowser! If your login disappears on your next click that is the case and you should enable cookies (or accept cookies from this website) immediately!</label>
+                       <label index="username">Username:</label>
+                       <label index="password">Password:</label>
+                       <label index="login">Login</label>
+                       <label index="permalogin">Stay logged in:</label>
+                       <label index="logout">Logout</label>
+                       <label index="send_password">Send password</label>
+                       <label index="your_email">Your email:</label>
+            <label index="ll_forgot_header">Forgot your password?</label>
+                       <label index="ll_forgot_email_password">Your password
+Hi %s
+
+Your username is &quot;%s&quot;
+Your password is &quot;%s&quot;
+                       </label>
+                       <label index="ll_forgot_email_nopassword">Your password
+Hi %s
+
+We couldn't find a username for this email address and so cannot send the password to you. Probably you misspelled the email address (upper/lower case makes a difference) or maybe you even didn't register yet?
+                       </label>
+                       <label index="ll_forgot_message">Please enter the email address by which you registered your user account. Then press &quot;Send password&quot; and your password will immediately be emailed to you. Make sure to spell your email address correctly.</label>
+                       <label index="ll_forgot_message_emailSent">Your password has now been sent to the email address %s</label>
+                       <label index="ll_forgot_header_backToLogin">Return to login form</label>
+               </languageKey>
+               <languageKey index="dk" type="array">
+                       <label index="ll_welcome_header">Brugerlogin</label>
+                       <label index="ll_welcome_message">Indtast dit brugernavn og password her for at logge ind på websitet:</label>
+            <label index="ll_logout_header">Du har nu logget ud.</label>
+            <label index="ll_logout_message">Du har netop logget ud fra dit ophold som bruger på dette website. Du kan logge ind igen med formen herunder.</label>
+            <label index="ll_error_header">Fejl i login</label>
+            <label index="ll_error_message">Der skete en fejl under login proceduren. Højst sandsynligt har du ikke indtastet brugernavn og password korrekt.
+Vær sikker på, at indtaster dem helt rigtigt inklusiv store og små bogstaver.
+En anden mulighed kan være, at du har slået 'cookies' fra i din browser.</label>
+            <label index="ll_success_header">Login succesfuldt</label>
+            <label index="ll_success_message">Du er nu logget in som '###USER###'</label>
+            <label index="ll_status_header">Nuværende status</label>
+            <label index="ll_status_message">Dette er din nuværende status:</label>
+            <label index="cookie_warning">Advarsel: Der er en sandsynlighed for at cookies ikke er slået til i din browser! Hvis dit login forsvinder ved næste klik så er det tilfældet og du bør slå cookies til (eller acceptere cookies fra dette website) med det samme!</label>
+            <label index="username">Brugernavn:</label>
+            <label index="password">Password:</label>
+            <label index="login">Log ind</label>
+            <label index="logout">Log ud</label>
+            <label index="send_password">Send password</label>
+            <label index="your_email">Din email:</label>
+            <label index="ll_forgot_header">Har du glemt dit password?</label>
+            <label index="ll_forgot_email_password">Dit password
+Hej %s
+
+Dit brugernavn er &quot;%s&quot;
+Dit password er &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Dit password
+Hej %s
+
+Vi kunne ikke finde et brugernavn tilhørende denne email-adresse og kan derfor ikke sende et password til dig. Du har formentlig stavet din email adresse forkert (store og små bogstaver betragtes som forskellige) eller også har du ikke registreret dig selv endnu?</label>
+            <label index="ll_forgot_message">Indtast venligst den email-adresse som du er registreret med. Tryk derefter &quot;Send password&quot; og du vil straks modtage dit password pr. email. Vær sikker på, at du staver din email adresse rigtigt.</label>
+            <label index="ll_forgot_message_emailSent">Dit password er nu blevet sendt til email adressen %s</label>
+            <label index="ll_forgot_header_backToLogin">Tilbage til login formular</label>
+        </languageKey>
+        <languageKey index="de" type="array">
+            <label index="ll_welcome_header">Benutzer Anmeldung</label>
+            <label index="ll_welcome_message">Geben Sie Ihren Benutzernamen und Ihr Passwort ein, um sich an der Webseite anzumelden:</label>
+            <label index="ll_logout_header">Sie haben sich abgemeldet.</label>
+            <label index="ll_logout_message">Sie haben sich von dieser Webseite abgemeldet. Sie können sich erneut, auch als ein anderer Benutzer, mit dem unten angezeigten Formular anmelden.</label>
+            <label index="ll_error_header">Anmeldefehler</label>
+            <label index="ll_error_message">Ein Fehler trat während der Anmeldung auf. Wahrscheinlich haben Sie Ihren Benutzernamen oder das Passwort falsch eingegeben.
+Vergewissern Sie sich, dass Sie beide Angaben korrekt eingegeben haben - Groß-/Kleinschreibung wird unterschieden.
+Eine andere Möglichkeit ist, dass Sie eventuell die Cookies in Ihrem Webbrowser deaktiviert haben.</label>
+            <label index="ll_success_header">Anmeldung erfolgreich</label>
+            <label index="ll_success_message">Sie sind nun angemeldet als '###USER###'</label>
+            <label index="ll_status_header">Aktueller Status</label>
+            <label index="ll_status_message">Das ist Ihr aktueller Status:</label>
+            <label index="cookie_warning">Warnung: Es besteht die Möglichkeit, dass in Ihrem Browser Cookies deaktiviert sind! Sollte trotz erfolgreicher Anmeldung beim nächsten Klick wieder die Anmeldeseite erscheinen, so sind Cookies deaktiviert. Sie sollten daher umgehend Cookies akzeptieren, entweder generell für alle Websites oder nur für diese spezielle.</label>
+            <label index="username">Benutzername:</label>
+            <label index="password">Passwort:</label>
+            <label index="login">Anmelden</label>
+            <label index="permalogin">Angemeldet bleiben:</label>
+            <label index="logout">Abmelden</label>
+            <label index="send_password">Passwort senden</label>
+            <label index="your_email">Ihre Email:</label>
+            <label index="ll_forgot_header">Passwort vergessen?</label>
+            <label index="ll_forgot_email_password">Ihr Passwort
+Hallo %s
+
+Ihr Benutzername ist &quot;%s&quot;
+Ihr Passwort ist &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Ihr Passwort
+Hallo %s
+
+Wir konnten keine mit dem angegeben Benutzernamen verknüpfte Email-Adresse finden. Aus diesem Grund können wir Ihnen kein Passwort zusenden. Vielleicht haben Sie Ihre Email-Adresse fehlerhaft eingegeben (Groß-/Kleinschreibug wird unterschieden!) oder Sie haben sich eventuell noch gar nicht registriert.</label>
+            <label index="ll_forgot_message">Bitte geben Sie die Email Adresse ein, mit der Sie sich registiert haben. Anschließend klicken Sie auf &quot;Passwort senden&quot; und Ihr Passwort wird Ihnen umgehend zugesendet. Achten Sie auf die korrekte schreibweise Ihrer Email-Adresse.</label>
+            <label index="ll_forgot_message_emailSent">Ihr Passwort wurde nun zur Email Adresse %s gesendet</label>
+            <label index="ll_forgot_header_backToLogin">Zurück zum Anmeldeformular</label>
+        </languageKey>
+        <languageKey index="no" type="array">
+            <label index="ll_welcome_header">Brukerinnlogging</label>
+            <label index="ll_welcome_message">Tast inn ditt brukernavn og passord her for å logge inn på nettstedet:</label>
+            <label index="ll_logout_header">Du har nå logget ut.</label>
+            <label index="ll_logout_message">Du har nettopp logget ut fra ditt opphold som bruker på nettstedet. Du kan logge inn igjen ved å benytte skjemaet under.</label>
+            <label index="ll_error_header">Innlogging feilet</label>
+            <label index="ll_error_message">Noe gikk galt under innloggingsprosedyren. Mest sannsynlig har du ikke tastet brukernavn og passord korrekt.
+Forsikre deg om at du taster dem helt riktig inklusive store og små bokstaver.
+En annen mulighet kan være at informasjonskapsler (cookies) er avslått i din nettleser.</label>
+            <label index="ll_success_header">Innlogging vellykket</label>
+            <label index="ll_success_message">Du er nå logget inn som '###USER###'</label>
+            <label index="ll_status_header">Nåværende status</label>
+            <label index="ll_status_message">Dette er din nåværende status</label>
+            <label index="cookie_warning">Advarsel: Det er en sannsynlighet for at cookies ikke er slått på i din nettleser! Dersom ditt logg inn forsvinner ved neste klikk er det tilfellet og du bør slå på cookies (eller akseptere fra dette nettstedet) med det samme!</label>
+            <label index="username">Brukernavn:</label>
+            <label index="password">Passord:</label>
+            <label index="login">Logg inn</label>
+            <label index="logout">Logg ut</label>
+            <label index="send_password">Send passord</label>
+            <label index="your_email">Din e-post:</label>
+            <label index="ll_forgot_header">Har du glemt passordet ditt?</label>
+            <label index="ll_forgot_email_password">Ditt passord
+Hei %s
+
+Ditt brukernavn er: %s
+Ditt passord er: %s</label>
+            <label index="ll_forgot_email_nopassword">Ditt passord
+Hei %s
+
+Vi kunne ikke finne et brukernavn tilhørende denne e-post adressen og kan derfor ikke sende et passord til deg. Du har muligens stavet din e-post adresse feil (det skilles mellom store og små bokstaver) eller du har kanskje ikke registrert deg enda?</label>
+            <label index="ll_forgot_message">Vennligst tast inn den e-post adressen som du er registrert med. Trykk deretter på &quot;Send passord&quot; og du vil straks motta passordet ditt pr. e-post. Pass på at du staver e-post adressen din riktig.</label>
+            <label index="ll_forgot_message_emailSent">Passordet ditt har nå blitt sendt til e-post adressen %s</label>
+            <label index="ll_forgot_header_backToLogin">Tilbake til innloggingsskjemaet</label>
+        </languageKey>
+        <languageKey index="it" type="array">
+            <label index="ll_welcome_header">Login utente</label>
+            <label index="ll_welcome_message">Inserisci username e password per effettuare il login:</label>
+            <label index="ll_logout_header">Hai effettuato il logout.</label>
+            <label index="ll_logout_message">La tua sessione su questo sito è terminata. Puoi effettuare un nuovo login utilizzando il form sottostante.</label>
+            <label index="ll_error_header">Errore di login</label>
+            <label index="ll_error_message">Errore durante il login. Probabilmente non hai inserito correttamente lo username o la password.
+Assicurati di averli digitati in modo corretto, anche per quanto riguarda le lettere maiuscole/minuscole.
+ Assicurati altresì di aver abilitato i cookies nel tuo browser.</label>
+            <label index="ll_success_header">Login effettuato con successo</label>
+            <label index="ll_success_message">Hai effettuato il login come l'utente '###USER###'</label>
+            <label index="ll_status_header">Stato corrente</label>
+            <label index="ll_status_message">Questo è il tuo stato corrente:</label>
+            <label index="cookie_warning">Attenzione: è probabile che il tuo browser non abbia i cookies abilitati! Se il messaggio di avvenuto login scompare nella prossima pagina che visiterai, allora devi abilitare (o accettare) i cookies provenienti da questo sito.</label>
+            <label index="username">Username:</label>
+            <label index="password">Password:</label>
+            <label index="login">Login</label>
+            <label index="logout">Logout</label>
+            <label index="send_password">Invia password:</label>
+            <label index="your_email">Email:</label>
+            <label index="ll_forgot_header">Hai dimenticato la password?</label>
+            <label index="ll_forgot_email_password">La tua password 
+
+Salve %s
+
+Il tuo username è &quot;%s&quot;
+La tua password è &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">La tua password
+Salve %s
+
+Nel nostro sistema non c'è alcun utente con l'indirizzo email da te indicato. Probabilmente hai specificato un email non corretto (controlla la maiuscole/minuscole), oppure non ti sei mai registrato.</label>
+            <label index="ll_forgot_message">Inserisci l'indirizzo email con il quale ti sei registrato. Stai attento a scriverlo correttamente! (anche per quanto riguarda le maiuscole/minuscole).  La tua password ti sarà immediatamente inviata!</label>
+            <label index="ll_forgot_message_emailSent">La tua password è stata inviata all'indirizzo email %s</label>
+            <label index="ll_forgot_header_backToLogin">Ritorna al form di login</label>
+        </languageKey>
+        <languageKey index="fr" type="array">
+            <label index="ll_welcome_header">Identification de l'utilisateur</label>
+            <label index="ll_welcome_message">Entrez votre nom d'utilisateur et votre mot de passe pour vous identifier:</label>
+            <label index="ll_logout_header">Vous êtes déconnecté</label>
+            <label index="ll_logout_message">Vous vous êtes déconnecté avec succès. Vous pouvez vous identifier à nouveau en utilisant le formulaire ci-dessous.</label>
+            <label index="ll_error_header">Identification incorrecte</label>
+            <label index="ll_error_message">Une erreur est survenue durant la connexion. Vraisemblablement le nom d'utilisateur ou le mot de passe étaient faux.
+Faites attention à être précis, en particulier en ce qui concerne l'usage des minuscules et des majuscules.
+Il est aussi possible que les cookies soient désactivés.</label>
+            <label index="ll_success_header">Identification correcte</label>
+            <label index="ll_success_message">Vous êtes maintenant identifié en temps que '###USER###'</label>
+            <label index="ll_status_header">Etat actuel</label>
+            <label index="ll_status_message">Votre état actuel:</label>
+            <label index="cookie_warning">Attention: Il est possible que les cookies ne soient pas activés dans votre navigateur! C'est le cas si votre connexion se perd lorsque vous naviguez sur le site. Dans ce cas, vous devriez immédiatement accepter les cookies, au moins pour ce site web!</label>
+            <label index="username">Nom d'utilisateur:</label>
+            <label index="password">Mot de passe:</label>
+            <label index="login">Identification</label>
+            <label index="permalogin">Rester connecté:</label>
+            <label index="logout">Déconnexion</label>
+            <label index="send_password">Envoyer le mot de passe</label>
+            <label index="your_email">Votre adresse e-mail:</label>
+            <label index="ll_forgot_header">Oublié votre mot de passe?</label>
+            <label index="ll_forgot_email_password">Votre mot de passe
+Hi %s
+
+Votre nom d'utilisateur est &quot;%s&quot;
+Votre mot de passe est &quot;%s&quot;</label>
+            <label index="ll_forgot_message">Veuillez indiquer l'adresse mail que vous avez utilisée lors de la création de votre compte. Appuyez ensuite sur le bouton &quot;Envoyer le mot de passe&quot; et votre mot de passe vous sera directement envoyé par courrier électronique. Veillez à saisir correctement votre adresse mail.</label>
+            <label index="ll_forgot_message_emailSent">Votre mot de passe a été envoyé à l'adresse %s</label>
+            <label index="ll_forgot_header_backToLogin">Retourner au formulaire d'identification</label>
+        </languageKey>
+        <languageKey index="es" type="array">
+            <label index="ll_welcome_header">Iniciar sesión de usuario</label>
+            <label index="ll_welcome_message">Introduzca su nombre de usuario y contraseña para iniciar su sesión en el sitio web:</label>
+            <label index="ll_logout_header">Acaba de cerrar su sesión.</label>
+            <label index="ll_logout_message">Acaba de cerrar su sesión en este sitio web. Puede iniciar otra sesión usando el siguiente formulario.</label>
+            <label index="ll_error_header">Falló el inicio de sesión</label>
+            <label index="ll_error_message">Ha ocurrido un error durante el inicio de sesión. Lo mas normal es que haya introducido un nombre de usuario o contraseña incorrectos.
+Asegúrese de que los introduce de manera exacta, respetando las mayúsculas y minúsculas.
+Otra posibilidad es que tenga las cookies deshabilitadas en su navegador.</label>
+            <label index="ll_success_header">Inicio de sesión correcto</label>
+            <label index="ll_success_message">Ha iniciado sesión como '###USER###'</label>
+            <label index="ll_status_header">Estado actual</label>
+            <label index="ll_status_message">Este es su estado actual:</label>
+            <label index="username">Nombre de usuario:</label>
+            <label index="password">Contraseña:</label>
+            <label index="login">Iniciar sesión</label>
+            <label index="logout">Finalizar sesión</label>
+            <label index="send_password">Enviar contraseña</label>
+            <label index="your_email">Su dirección de e-mail:</label>
+            <label index="ll_forgot_header">¿Ha olvidado su contraseña?</label>
+            <label index="ll_forgot_email_password">Su contraseña
+Hola %s
+
+Su nombre de usuario es &quot;%s&quot;
+Su contraseña es &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Su contraseña
+Hola %s
+
+No podemos encontrar un nombre de usuario para esta dirección de correo, por lo tanto no podemos enviarle ninguna contraseña. Probablemente se haya confundido al introducir su dirección de correo (compruebe las mayúsculas y minúsculas), o es probable que aún no esté registrado en el sistema.</label>
+            <label index="ll_forgot_message">Por favor introduzca la dirección de correo electrónico con la que se registró. Después pulse el botón &quot;Enviar contraseña&quot; y le enviaremos la contraseña a su cuenta de correo. Asegúrese de escribir correctamente su dirección de correo.</label>
+            <label index="ll_forgot_message_emailSent">Su contraseña se ha enviado a la dirección de correo %s</label>
+            <label index="ll_forgot_header_backToLogin">Volver al formulario de inicio de sesión</label>
+        </languageKey>
+        <languageKey index="nl" type="array">
+            <label index="ll_welcome_header">Gebruikers Login</label>
+            <label index="ll_welcome_message">Voer uw gebruikersnaam en wachtwoord hier in om in te loggen op de website:</label>
+            <label index="ll_logout_header">U bent uitgelogd.</label>
+            <label index="ll_logout_message">U bent zojuist uitgelogd van uw gebruikers-sessie op deze website. U kunt opnieuw inloggen of inloggen als een andere gebruiker d.m.v. onderstaand formulier.</label>
+            <label index="ll_error_header">Login fout</label>
+            <label index="ll_error_message">Er is een fout opgetreden bij het inloggen. Waarschijnlijk heeft u uw gebruikersnaam of wachtwoord niet goed ingevoerd.
+Zorg ervoor dat u die precies zo invoert als ze zijn, lettend op hoofdletters/kleine letters.
+Ook kan het zijn dat cookies uitstaan in uw browser.</label>
+            <label index="ll_success_header">Login succesvol</label>
+            <label index="ll_success_message">U bent nu ingelogd als '###USER###'</label>
+            <label index="ll_status_header">Huidige status</label>
+            <label index="ll_status_message">Dit is uw huidige status:</label>
+            <label index="cookie_warning">Waarschuwing: Het is mogelijk dat uw browser geen &quot;cookies&quot; accepteerd. Als uw aanmelding na doorklikken weer is verdwenen, zal dit vrijwel zeker het geval zijn. Om dit te herstellen moet u de mogelijkheid tot het gebruiken van cookies in uw browser activeren of voor deze site accepteren!</label>
+            <label index="username">Gebruikersnaam:</label>
+            <label index="password">Wachtwoord:</label>
+            <label index="login">Inloggen</label>
+            <label index="logout">Uitloggen</label>
+            <label index="send_password">Wachtwoord verzenden</label>
+            <label index="your_email">Uw email:</label>
+            <label index="ll_forgot_header">Wachtwoord vergeten?</label>
+            <label index="ll_forgot_email_password">Uw wachtwoord
+Hallo %s
+
+Uw wachtwoord is &quot;%s&quot;
+Uw wachtwoord is &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Uw wachtwoord
+Hallo %s
+
+We konden geen gebruikersnaam vinden met dit emailadres en kunnen u het wachtwoord niet toezenden. Waarschijnlijk heeft een een typefout gemaakt in het emailadres (hoofdletters / kleine letters maken verschil) of misschien bent u nog niet geregistreerd?</label>
+            <label index="ll_forgot_message">Geef a.u.b. het emailadres op waarmee u deze gebruikersaccount heeft geregistreerd. Klik vervolgens op &quot;Wachtwoord verzenden&quot; en u krijgt uw wachtwoord onmiddelijk toegestuurd. Zorg ervoor dat u geen typefouten maaakt in het emailadres.</label>
+            <label index="ll_forgot_message_emailSent">Uw wachtwoord is nu gestuurd naar het email adres %s</label>
+            <label index="ll_forgot_header_backToLogin">Terug naar het login formulier</label>
+        </languageKey>
+        <languageKey index="cz" type="array">
+            <label index="ll_welcome_header">Přihlášení uživatele</label>
+            <label index="ll_welcome_message">Pro přihlášení vložte svoje přihlašovací jméno a heslo:</label>
+            <label index="ll_logout_header">Byli jste ohlášeni.</label>
+            <label index="ll_logout_message">Byli jste právě odhlášeni z uživatelské sekce tohoto webu. Nyní se můžete přihlásit jako jiný uživatel pomocí formuláře dole.</label>
+            <label index="ll_error_header">Chyba přihlášení.</label>
+            <label index="ll_error_message">Při přihlašování nastala chyba. Je možné, že jste nezadali správné přihlašovací jméno a heslo.
+Dejte prozor, aby jste tyto údaje zadali zcela přesně, včetě správných velkých/malých znaků.
+Je také nutné mít povoleny cookies ve vašem prohlížeci.</label>
+            <label index="ll_success_header">Přihlášení se podařilo</label>
+            <label index="ll_success_message">Jste nyní přihlášen/a jako '###USER###'</label>
+            <label index="ll_status_header">Současný stav</label>
+            <label index="ll_status_message">Toto je váš současný stav</label>
+            <label index="cookie_warning">Varování: je možné, že ve vašem prohlížeči nejsou povoleny cookies - pokud vaše přihlášení vyprší na další stránce, znamená to, že je musíte povolit.</label>
+            <label index="username">Jméno uživatele:</label>
+            <label index="password">Heslo:</label>
+            <label index="login">Přihlásit</label>
+            <label index="logout">Odhlásit</label>
+            <label index="send_password">Zaslat heslo</label>
+            <label index="your_email">Váš email:</label>
+            <label index="ll_forgot_header">Zapoměli jste své heslo?</label>
+            <label index="ll_forgot_email_password">Vaše heslo
+Dobrý den, přihlašovací údaje pro %s jsou:
+
+Jméno uživatele: &quot;%s&quot;
+Heslo: &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Vaše heslo
+Dobrý den, 
+
+uživatelské údaje pro %s  spojené s touto emailovou adresou nebyly nalezeny a proto Vám nové heslo nemohlo být zasláno.
+Je možné, že jste zadali nesprávně emailovou adresu (malá/velká písmena...) nebo nejste zatím zaregistrováni.</label>
+            <label index="ll_forgot_message">Prosím vyplňte emailovou adresu pod kterou jste registrováni a stiskněte tlačítko &quot;Odeslat heslo&quot;. Vaše heslo vám bude okamžitě zasláno. Dejte prosím pozor na přesné zadání emailové adresy.</label>
+            <label index="ll_forgot_message_emailSent">Heslo bylo odesláno na email %s</label>
+            <label index="ll_forgot_header_backToLogin">Zpět na přihlašovací formulář</label>
+        </languageKey>
+        <languageKey index="pl" type="array">
+            <label index="ll_welcome_header">Formularz logowania</label>
+            <label index="ll_welcome_message">Podaj swój login i hasło aby się zalogować:</label>
+            <label index="ll_logout_header">Wylogowałeś się.</label>
+            <label index="ll_logout_message">Właśnie zostałeś wylogowany. Możesz zalogować się ponownie lub jako inny użytkownik, korzystając z poniższego formularza.</label>
+            <label index="ll_error_header">Błędne logowanie</label>
+            <label index="ll_error_message">Podczas logowania nastąpił błąd. Najczęściej jest on spowodowany złym loginem lub hasłem.
+Upewnij się, że podałeś poprawnie dane, wielkość liter.
+Inny powód to wyłączone ciasteczka (cookies) w twojej przeglądarce.</label>
+            <label index="ll_success_header">Udane logowanie</label>
+            <label index="ll_success_message">Jesteś zalogowany jako '###USER###'</label>
+            <label index="ll_status_header">Bieżący status</label>
+            <label index="ll_status_message">Twój bieżący status:</label>
+            <label index="cookie_warning">Uwaga: Prawdopodobnie twoja przeglądarka ma wyłączoną obsługę ciasteczek! Jeśli twoj login znika przy następnym kliknięciu, powinieneś włączyć akceptowanie ciasteczek (przynajmniej pochodzących z tej witryny)!</label>
+            <label index="username">Użytkownik:</label>
+            <label index="password">Hasło:</label>
+            <label index="login">Zaloguj się</label>
+            <label index="logout">Wyloguj się</label>
+            <label index="send_password">Wyślij hasło</label>
+            <label index="your_email">Twój email:</label>
+            <label index="ll_forgot_header">Zapomniałem hasło.</label>
+            <label index="ll_forgot_email_password">Przypomnienie hasla 
+Witaj %s
+
+Twoj login to   %s
+Twoje haslo to %s</label>
+            <label index="ll_forgot_email_nopassword">Twoje haslo
+Witaj %s
+
+Nie moglismy znalezc użytkownika o tym emailu. 
+Byc moze zle podales adres email (wielkosc liter ma znaczenie) 
+albo po prostu nie ma cie w naszej bazie.</label>
+            <label index="ll_forgot_message">Podaj adres email taki, jak wpisałeś podczas rejstrowania konta. Wciśnij &quot;Wyślij hasło&quot;, a twoje hasło zostanie do wysłane. Upewnij się, że podałeś prawidłowy email.</label>
+            <label index="ll_forgot_message_emailSent">Twoje hasło zostało wysłane pod adres %s</label>
+            <label index="ll_forgot_header_backToLogin">Powrót do formularza logowania</label>
+        </languageKey>
+        <languageKey index="si" type="array">
+        </languageKey>
+        <languageKey index="fi" type="array">
+            <label index="ll_welcome_header">Käyttäjän sisäänkirjoitus</label>
+            <label index="ll_welcome_message">Anna käyttäjätunnuksesi ja salasanasi kirjoittautuaksesi sisään sivuille:</label>
+            <label index="ll_logout_header">Olet kirjoittautunut ulos.</label>
+            <label index="ll_logout_message">Kirjoittauduit ulos tämän sivuston käyttäjäsessiosta. Voit kirjoittautua uudestaan sisään allaolevalla lomakkeella.</label>
+            <label index="ll_error_header">Sisäänkirjoittautumisessa virhe.</label>
+            <label index="ll_error_message">Sisäänkirjoittautumisessa tapahtui virhe. Todennäköisesti et antanut käyttäjätunnusta tai salasanaa oikein.
+Annoitko tiedot aivan oikein huomioiden isot ja pienet kirjaimet
+Toinen mahdollisuus on ettei selaimessasi ole cookies käytössä.</label>
+            <label index="ll_success_header">Onnistunut sisäänkirjoittautuminen.</label>
+            <label index="ll_success_message">Olet kirjoittautunut sisään käyttäjätunnuksella '###USER###'</label>
+            <label index="ll_status_header">Tila</label>
+            <label index="ll_status_message">Tämän hetkinen tilasi on:</label>
+            <label index="cookie_warning">Varoitus: Selaimessasi eivät cookies ole ilmeisesti hyväksyttyjä! Jos login häviää seuraavalla klikkauksella Sinun tulee heti mahdollistaa cookies tälle websivustolle!</label>
+            <label index="username">Käyttäjänimi:</label>
+            <label index="password">Salasana:</label>
+            <label index="login">Sisäänkirjoitus</label>
+            <label index="logout">Uloskirjoitus</label>
+            <label index="send_password">Lähetä salasana</label>
+            <label index="your_email">Sähköpostiosoitteesi:</label>
+            <label index="ll_forgot_header">Unohditko salasanasi?</label>
+            <label index="ll_forgot_email_password">Salasanasi
+Hi %s
+
+Käyttäjätunnuksesi on &quot;%s&quot;
+Salasanasi on &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Salasanasi
+Hi %s
+
+Emme löytäneet käyttäjätunnusta tälle sähköpostiosoitteelle emmekä siksi voi lähettää Sinulle salasanaa. Olet mahdollisesti antanut virheellisen sähköpostiosoiteen (huomaa isojen ja pienten kirjainten ero) tai ehkä et ole vielä rekisteröitynyt?</label>
+            <label index="ll_forgot_message">Ole hyvä ja anna sähköpostiosoite jonka rekisteröit käyttäjätunnuksellesi. Paina sitten &quot;Lähetä salasana&quot; niin salasanasi lähetetään sähköpostilla välittömästi. Varmista että annat sähköpostiosoitteesi oikein.</label>
+            <label index="ll_forgot_message_emailSent">Salasanasi on nyt lähetetty sähköpostiosoitteeseen %s</label>
+            <label index="ll_forgot_header_backToLogin">Palaa sisäänkirjoitus lomakkeelle</label>
+        </languageKey>
+        <languageKey index="tr" type="array">
+            <label index="ll_welcome_header">Oturum aç</label>
+            <label index="ll_welcome_message">Websitede oturum açabilmek için kullanıcı adı ve parolanızı girin:</label>
+            <label index="ll_logout_header">Oturumunuzu kapattınız.</label>
+            <label index="ll_logout_message">Kullanıcı oturumunuzu terk ettiniz. Alttaki formu kullanarak yeniden veya ayrı bir kullanıcı olarak oturum açabilirsiniz.</label>
+            <label index="ll_error_header">Oturum açmada hata</label>
+            <label index="ll_error_message">Oturum açarken bir hata oluştu. Muhtemelen kullanıcı adı veya parolanızı hatalı girdiniz.
+Bu bilgileri, büyük ve küçük karakterleri dikkate alarak, doğru girdiğinizden emin olun.
+Cookie'lerin internet tarayıcınız tarafından kabul edilmediği de muhtemel.
+Eğer bu bilgilerin doğruluğundan eminseniz ve hala sorunla karşılaştıysanız diğer bir hata sebebi cookie'leriniz internet tarayıcınızda kapalı olabilir.</label>
+            <label index="ll_success_header">Oturum başarıyla açıldı</label>
+            <label index="ll_success_message">###USER### olarak oturum açtınız.</label>
+            <label index="ll_status_header">Güncel statü</label>
+            <label index="ll_status_message">Şu an ki statünüz:</label>
+            <label index="cookie_warning">Uyarı: Cookie'lerin internet tarayıcınızda kapalı olma ihtimali mevcut! Şayet oturumunuz bir sonraki tıklamanızla kayboluyorsa bu durumla karşıkarşıyasınız ve hemen cookie'leri faal hale getirmeli veya bu websitenin cookie'lerini kabul etmelisiniz!</label>
+            <label index="username">Kullanıcı adı:</label>
+            <label index="password">Parola:</label>
+            <label index="login">Oturum aç</label>
+            <label index="logout">Oturumu kapat</label>
+            <label index="send_password">Parolayı gönder</label>
+            <label index="your_email">E-postanız:</label>
+            <label index="ll_forgot_header">Parolanızı mı unuttunuz?</label>
+            <label index="ll_forgot_email_password">Parolanız
+Merhaba %s
+
+Kullanıcı adınız '%s'
+Parolanız '%s'</label>
+            <label index="ll_forgot_email_nopassword">Parolanız
+Merhaba %s
+
+Bu e-posta adresine ayit kullanıcı adı bulamadık ve bu yüzden parolayı size gönderemiyoruz.
+Muhtemelen e-posta adresini hatalı girdiniz (büyük veya küçük karakterler fark eder) veya belki de üyeliğe başvurmadınız.</label>
+            <label index="ll_forgot_message">Kullanıcı hesabınızı açarken berlirttiğiniz e-posta adresini girin. Ardından 'Parolayı gönder'i tıklayın ve parolanız anında e-posta kutunuza ulaşacaktır. E-posta adresinizi doğru girdiğinizden emin olun.</label>
+            <label index="ll_forgot_message_emailSent">Parolanız %s e-posta adresine gönderilmiştir.</label>
+            <label index="ll_forgot_header_backToLogin">Oturum açma formuna geri dön</label>
+        </languageKey>
+        <languageKey index="se" type="array">
+            <label index="ll_welcome_header">Användarinloggning</label>
+            <label index="ll_welcome_message">Fyll i ditt användarnamn och lösenord för att komma in på websiten:</label>
+            <label index="ll_logout_header">Du är utloggad</label>
+            <label index="ll_logout_message">Du har nyss loggat ut från din session på denna website. Du kan logga in på nytt eller byta identitet med nedanstående formulär.</label>
+            <label index="ll_error_header">Inloggningen misslyckades</label>
+            <label index="ll_error_message">Ett fel uppstod vid inloggningen. Mest troligt är, att du inte skrev in användarnamnet och lösenordet rätt.
+Försäkra dej om att du skrev dem exact så som de är, med gemena och versaler.
+En annan möjlighet är att du förbjudit din dator att ta emot Cookies.</label>
+            <label index="ll_success_header">Inloggningen lyckades</label>
+            <label index="ll_success_message">Du är inloggad med namnet '###USER###'</label>
+            <label index="ll_status_header">Nuläge</label>
+            <label index="ll_status_message">Detta är din status för tillfället:</label>
+            <label index="username">Användarnamn:</label>
+            <label index="password">Lösenord:</label>
+            <label index="login">Logga in</label>
+            <label index="logout">Logga ut</label>
+            <label index="send_password">Skicka lösenord</label>
+            <label index="your_email">Din epostadress:</label>
+            <label index="ll_forgot_header">Har du glömt ditt lösenord?</label>
+            <label index="ll_forgot_email_password">Ditt lösenord
+Hej %s
+
+Ditt användarnamn är &quot;%s&quot;
+Ditt lösenord är &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Ditt lösenord
+Hej %s
+
+Vi kunde inte hitta ett användarnamn för detta lösenord så vi kan inte sända dej ditt lösenord. Det är möjligt att du skrivit din epostadress felaktigt (det är skillnad på små och stora bokstäver) eller så är du kanske inte ännu en registrerad användare?</label>
+            <label index="ll_forgot_message">Vänligen fyll i den epostadress som du använde när du registrerade dej. Klicka sedan på &quot;Skicka lösenord&quot; och ditt lösenord skickas omedelbart till din epostbox. Var noga med att skriva adressen rätt!</label>
+            <label index="ll_forgot_message_emailSent">Ditt lösenord har nu skickats till epostadressen %s</label>
+            <label index="ll_forgot_header_backToLogin">Gå tillbaka till inloggningssidan</label>
+        </languageKey>
+        <languageKey index="pt" type="array">
+            <label index="ll_welcome_header">Acesso do utilizador</label>
+            <label index="ll_welcome_message">Digite aqui seu nome de utilizador e senha para entrar no site:</label>
+            <label index="ll_logout_header">Você desconectou-se do site.</label>
+            <label index="ll_logout_message">Você acaba de se desconectar. Você pode entrar novamente ou como outro utilizador através do formulário abaixo.</label>
+            <label index="ll_error_header">Falha no Acesso.</label>
+            <label index="ll_error_message">Ocorreu um erro durante o Acesso. O mais comum é que você não digitou seu nome de utilizador/senha corretamente.
+Esteja certo de que os digitou precisamente como são, incluindo maiúsculas/minúsculas.
+Outra possibilidade é que seu navegador não aceita &lt;i&gt;cookies&lt;/i&gt;.</label>
+            <label index="ll_success_header">Acesso bem sucedido.</label>
+            <label index="ll_success_message">Você está agora conectado como '###USER###'</label>
+            <label index="ll_status_header">Estado actual</label>
+            <label index="ll_status_message">Este é seu estado actual:</label>
+            <label index="username">Utilizador:</label>
+            <label index="password">Senha:</label>
+            <label index="login">Acesso</label>
+            <label index="logout">Sair</label>
+            <label index="send_password">Enviar senha</label>
+            <label index="your_email">Seu e-mail:</label>
+            <label index="ll_forgot_header">Esqueceu sua senha?</label>
+            <label index="ll_forgot_email_password">Sua Senha
+Olá %s
+
+Seu nome de utilizador é &quot;%s&quot;
+Sua senha é &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Sua Senha
+Olá %s
+
+Não podemos encontrar um nome de utilizador para este endereço de e-mail e assim não podemos enviar-lhe a senha. Provavelmente você não digitou corretamente o endereço de e-mail (letras maiúsculas e minúsculas fazem diferença) ou talvez você não se tenha registado ainda?</label>
+            <label index="ll_forgot_message">Por favor, digite o endereço de e-mail que você usou ao registar sua conta de utilizador. Então pressione &quot;Enviar senha&quot; e sua senha ser-lhe-á imediatamente enviada por e-mail. Esteja certo de informar corretamente seu endereço de e-mail.</label>
+            <label index="ll_forgot_message_emailSent">Sua senha foi agora enviada para o e-mail %s</label>
+            <label index="ll_forgot_header_backToLogin">Retornar ao formulário de acesso</label>
+        </languageKey>
+        <languageKey index="ru" type="array">
+            <label index="ll_welcome_header">Вход в систему</label>
+            <label index="ll_welcome_message">Введите имя пользователя и пароль для входа в систему:</label>
+            <label index="ll_logout_header">Вы вышли из системы.</label>
+            <label index="ll_logout_message">Вы автоматически вошли в систему. Чтобы зарегистрироваться снова или войти в систему под другим именем, используйте форму ниже.</label>
+            <label index="ll_error_header">Ошибка при входе в систему</label>
+            <label index="ll_error_message">Произошла ошибка при входе в систему. Вероятно имя пользователя или пароль не соответствуют.
+Проверьте, правильно ли введены данные, был ли использован правильный язык, заглавные или прописные буквы.
+Убедитесь также, допускает ли Ваш обозреватель Cookies.</label>
+            <label index="ll_success_header">Вход в систему прошел успешно</label>
+            <label index="ll_success_message">Ваше имя пользователя: '###USER###'</label>
+            <label index="ll_status_header">Текущий статус</label>
+            <label index="ll_status_message">Ваш текущий статус:</label>
+            <label index="cookie_warning">Внимание: возможно Ваш обозреватель не допускает Cookies! Если форма входа не отобразится после следующего щелчка, установите допуск Cookies!</label>
+            <label index="username">Имя пользователя:</label>
+            <label index="password">Пароль:</label>
+            <label index="login">Вход в систему</label>
+            <label index="logout">Выход из системы</label>
+            <label index="send_password">Отправить</label>
+            <label index="your_email">Ваш адрес:</label>
+            <label index="ll_forgot_header">Забыли пароль?</label>
+            <label index="ll_forgot_email_password">Ваш пароль
+
+Здравствуйте, %s.
+
+Ваше имя пользователя: &quot;%s&quot;
+Ваш пароль: &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Ваш пароль
+
+Здравствуйте, %s.
+
+Под указанным Вами адресом электронной почты не был найден пользователь системы.
+В связи с этим мы не можем отправить Вам Ваш пароль.
+Проверьте пожалуйста, указали ли Вы правильный адрес (система различает заглавные и прописные буквы).
+Возможно также, что Вы еще не прошли регистрацию.</label>
+            <label index="ll_forgot_message">Введите, пожалуйста, адрес электронной почты, указанный Вами при регистрации. Нажмите на &quot;отправить&quot;, и Вы получите Ваш пароль на данный адрес незамедлительно. Удостоверьтесь в правильности указанного адреса.</label>
+            <label index="ll_forgot_message_emailSent">Ваш пароль был выслан по адресу %s</label>
+            <label index="ll_forgot_header_backToLogin">Вернуться к форме входа в систему</label>
+        </languageKey>
+        <languageKey index="ro" type="array">
+        </languageKey>
+        <languageKey index="ch" type="array">
+        </languageKey>
+        <languageKey index="sk" type="array">
+        </languageKey>
+        <languageKey index="lt" type="array">
+        </languageKey>
+        <languageKey index="is" type="array">
+        </languageKey>
+        <languageKey index="hr" type="array">
+            <label index="ll_welcome_header">Korisnička prijava</label>
+            <label index="ll_welcome_message">Unesite vaše korisničko ime i lozinku kako bi se prijavili na website.</label>
+            <label index="ll_logout_header">Odjavili ste se.</label>
+            <label index="ll_logout_message">Upravo ste se odjavili s ovih stranica. Možete se prijaviti ponovo ili kao drugi korisnik koristeći sljedeći formular.</label>
+            <label index="ll_error_header">Prijava neuspješna</label>
+            <label index="ll_error_message">Greška se dogodila pri logiranju. Najvjerovatnije niste ispravno unijeli korisničko ime ili lozinku.
+Provjerite da budu uneseni točno onako kako  su napisani, uključujući velika i mala slova.
+Druga je mogućnost da su &quot;cookies&quot; onemogućeni na vašem web pregledniku.</label>
+            <label index="ll_success_header">Prijava uspješna</label>
+            <label index="ll_success_message">Prijavljeni se kao '###USER###'</label>
+            <label index="ll_status_header">Trenutni status</label>
+            <label index="ll_status_message">Ovo je vaš trenutni status:</label>
+            <label index="cookie_warning">Pažnja: Postoji mogućnost da &quot;cookies&quot; nisu omogućeni na vašem web pregledniku. Ako vaša prijava nestane pri sljedećem kliku miša to je to i trebali bi omogućiti &quot;cookies&quot; (accept cookies from this website).</label>
+            <label index="username">Korisničko ime:</label>
+            <label index="password">Lozinka:</label>
+            <label index="login">Prijava</label>
+            <label index="logout">Odjava</label>
+            <label index="send_password">Pošalji lozinku</label>
+            <label index="your_email">Vaša e-mail adresa:</label>
+            <label index="ll_forgot_header">Zaboravili ste lozinku?</label>
+            <label index="ll_forgot_email_password">Vaša lozinka
+Hi %s
+
+Vaše korisničko ime je  &quot;%s&quot;
+Vaša lozinka je &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Vaša lozinka
+Hi %s
+
+Nismo uspjeli pronaći korisničko ime za vašu e-mail adresu pa vam ne možemo poslati ni lozinku. Vjerovatno ste krivo ukucali e-mail adresu (velika/mala slova se razlikuju) ili se može niste još ni registrirali?</label>
+            <label index="ll_forgot_message">Molimo unesite e-mail adresu s kojom ste se registrirali. Potom pristisnite &quot;Pošalji lozinku&quot; i vaša će vam lozinka biti odmah poslana. Pripazite da e-mail adresu unesete ispravno.</label>
+            <label index="ll_forgot_message_emailSent">Vaša je lozinka poslana na e-mail sdresu %s</label>
+            <label index="ll_forgot_header_backToLogin">Povratak na formular za prijavu</label>
+        </languageKey>
+        <languageKey index="hu" type="array">
+        </languageKey>
+        <languageKey index="gl" type="array">
+            <label index="ll_welcome_header">Atuisup isernera</label>
+            <label index="ll_welcome_message">Atuisutut taanerit isissullu uunga allaguk nittartakkamut iserniassagavit:</label>
+            <label index="ll_logout_header">Anivutit.</label>
+            <label index="ll_logout_message">Nittartakkamiinnernit aneqqammerputit. Immersugassaq ataaniittoq atorlugu iseqqissinnaavutit atuisutulluunniit allatut isersinnaallutit.</label>
+            <label index="ll_error_header">Iserneq iluatsinngitsoorpoq</label>
+            <label index="ll_error_message">Isernerata nalaani ajortoqarpoq. Ilimanarneruvoq atuisutut atit isissulluunniit allassimanngikkit.
+Eqqoqqissaartumik allanneqartut qulakkeeruk, naqqinnerit angissusii puiornagulu.
+Browserinni cookies atorunnaartinneqartut pisuutaasinnaapput aamma.</label>
+            <label index="ll_success_header">Iserneq iluatsippoq</label>
+            <label index="ll_success_message">'###USER###'-tut isersimavutit</label>
+            <label index="ll_status_header">Massakkut inissisimaneq</label>
+            <label index="ll_status_message">Massakkut imatut inissisimavutit:</label>
+            <label index="cookie_warning">Mianersuut: Browserinni cookies atuutigunanngillat! Tulliani toorsiguit login-erit tammassappat massakkorluinnaq cookies atuutissavatit! (nittartakkamilluunniit uannga cookies akuersaartarlugit)</label>
+            <label index="username">Atuisup aqqa:</label>
+            <label index="password">Isissut:</label>
+            <label index="login">Iserneq</label>
+            <label index="logout">Anineq</label>
+            <label index="send_password">Isissut nassiuguk</label>
+            <label index="your_email">Illit email-it:</label>
+            <label index="ll_forgot_header">Isissut puiorpiuk?</label>
+            <label index="ll_forgot_email_password">Illit isissutsit
+Aluu %s
+
+Atuisutut ima ateqarputit &quot;%s&quot;
+Isissutsit imaappoq &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Illit isissutsit
+Aluu %s
+
+Taamaattumik emaililimmik nalunaarsorneqartoq atuisup aqqa naninngilarput taamaattumillu isissut ilinnut nassiunneqarsinnaanngilaq.
+e-mail adresse allannerlugunarpat (naqinnerit angissusii eqqamalaakkit) imaluuniit suli nalunaarsunngilatit?</label>
+            <label index="ll_forgot_message">email-it nalunaarsornermi atorsimasat uunga allaguk. Taava &quot;Isissut nassiuguk&quot; tooruk. Ingerlaannaq isissutissat nassiunneqarumaarpoq. Eqqortumik emailit allassimallugu qulakkeeruk.</label>
+            <label index="ll_forgot_message_emailSent">Isissutsit massakkut email-imut %s-imut nassiunneqarpoq</label>
+            <label index="ll_forgot_header_backToLogin">Isernermut immersugassamut uterit</label>
+        </languageKey>
+        <languageKey index="th" type="array">
+        </languageKey>
+        <languageKey index="gr" type="array">
+        </languageKey>
+        <languageKey index="hk" type="array">
+        </languageKey>
+        <languageKey index="eu" type="array">
+        </languageKey>
+        <languageKey index="bg" type="array">
+        </languageKey>
+        <languageKey index="br" type="array">
+            <label index="ll_welcome_header">Identificação de Usuário</label>
+            <label index="ll_welcome_message">Informe aqui seu usuário e senha para identificar-se no site:</label>
+            <label index="ll_logout_header">Você encerrou seu acesso ao site.</label>
+            <label index="ll_logout_message">Você acaba de se desconectar. Você pode entrar novamente ou como outro usuário através do formulário abaixo.</label>
+            <label index="ll_error_header">Falha no Acesso.</label>
+            <label index="ll_error_message">Ocorreu um erro durante o acesso. O mais provável é que você não digitou seu usuário/senha corretamente.
+Certifique-se de que digitou corretamente, incluindo maiúsculas/minúsculas.
+Outra possibilidade é que seu navegador não aceita &lt;i&gt;cookies&lt;/i&gt;.</label>
+            <label index="ll_success_header">Acesso bem sucedido.</label>
+            <label index="ll_success_message">Você está agora conectado como '###USER###'</label>
+            <label index="ll_status_header">Situação atual</label>
+            <label index="ll_status_message">Esta é sua situação atual:</label>
+            <label index="cookie_warning">Atenção: Há a possibilidade dos cookies não estarem ativos em seu navegador. Se o seu login desaparecer no seu próximo clique é por que é necessário habilitar os cookies (ou aceitar cookies deste website) imediatamente!</label>
+            <label index="username">Usuário:</label>
+            <label index="password">Senha:</label>
+            <label index="login">Acesso</label>
+            <label index="logout">Sair</label>
+            <label index="send_password">Enviar senha</label>
+            <label index="your_email">Seu e-mail:</label>
+            <label index="ll_forgot_header">Esqueceu sua senha?</label>
+            <label index="ll_forgot_email_password">Sua Senha
+Olá %s
+
+Seu usuário é &quot;%s&quot;
+Sua senha é &quot;%s&quot;</label>
+            <label index="ll_forgot_email_nopassword">Sua Senha
+Olá %s
+
+Não podemos encontrar um usuário para este endereço de e-mail e assim não podemos enviar-lhe a senha. Provavelmente você não digitou corretamente o endereço de e-mail (letras maiúsculas e minúsculas fazem diferença) ou talvez você não se tenha registado ainda?</label>
+            <label index="ll_forgot_message">Por favor, digite o endereço de e-mail que você usou ao registar seu usuário. Então pressione &quot;Enviar senha&quot; e sua senha será imediatamente enviada por e-mail. Certifique-se que seu endereço de e-mail esteja correto.</label>
+            <label index="ll_forgot_message_emailSent">Sua senha foi agora enviada para o e-mail %s</label>
+            <label index="ll_forgot_header_backToLogin">Retornar ao formulário de acesso</label>
+        </languageKey>
+        <languageKey index="et" type="array">
+        </languageKey>
+        <languageKey index="ar" type="array">
+        </languageKey>
+        <languageKey index="he" type="array">
+        </languageKey>
+        <languageKey index="ua" type="array">
+        </languageKey>
+        <languageKey index="lv" type="array">
+        </languageKey>
+        <languageKey index="jp" type="array">
+        </languageKey>
+        <languageKey index="vn" type="array">
+        </languageKey>
+        <languageKey index="ca" type="array">
+        </languageKey>
+        <languageKey index="ba" type="array">
+        </languageKey>
+        <languageKey index="kr" type="array">
+        </languageKey>
+        <languageKey index="eo" type="array">
+        </languageKey>
+        <languageKey index="my" type="array">
+        </languageKey>
+        <languageKey index="hi" type="array">
+        </languageKey>
+    </data>
+    <orig_hash type="array">
+        <languageKey index="default" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="permalogin" type="integer">192836582</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="dk" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="de" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="permalogin" type="integer">192836582</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="no" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="it" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="fr" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="permalogin" type="integer">192836582</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="es" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="nl" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="cz" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="pl" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="si" type="array">
+        </languageKey>
+        <languageKey index="fi" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="tr" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="se" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="pt" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="ru" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="ro" type="array">
+        </languageKey>
+        <languageKey index="ch" type="array">
+        </languageKey>
+        <languageKey index="sk" type="array">
+        </languageKey>
+        <languageKey index="lt" type="array">
+        </languageKey>
+        <languageKey index="is" type="array">
+        </languageKey>
+        <languageKey index="hr" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="hu" type="array">
+        </languageKey>
+        <languageKey index="gl" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="th" type="array">
+        </languageKey>
+        <languageKey index="gr" type="array">
+        </languageKey>
+        <languageKey index="hk" type="array">
+        </languageKey>
+        <languageKey index="eu" type="array">
+        </languageKey>
+        <languageKey index="bg" type="array">
+        </languageKey>
+        <languageKey index="br" type="array">
+            <label index="ll_welcome_header" type="integer">236929731</label>
+            <label index="ll_welcome_message" type="integer">165291194</label>
+            <label index="ll_logout_header" type="integer">128821468</label>
+            <label index="ll_logout_message" type="integer">246637860</label>
+            <label index="ll_error_header" type="integer">165006287</label>
+            <label index="ll_error_message" type="integer">162066914</label>
+            <label index="ll_success_header" type="integer">236890074</label>
+            <label index="ll_success_message" type="integer">127181223</label>
+            <label index="ll_status_header" type="integer">261174419</label>
+            <label index="ll_status_message" type="integer">110223230</label>
+            <label index="cookie_warning" type="integer">70277754</label>
+            <label index="username" type="integer">212632006</label>
+            <label index="password" type="integer">187963993</label>
+            <label index="login" type="integer">161344120</label>
+            <label index="logout" type="integer">3292644</label>
+            <label index="send_password" type="integer">244443771</label>
+            <label index="your_email" type="integer">165004462</label>
+            <label index="ll_forgot_header" type="integer">1726109</label>
+            <label index="ll_forgot_email_password" type="integer">216071650</label>
+            <label index="ll_forgot_email_nopassword" type="integer">79536620</label>
+            <label index="ll_forgot_message" type="integer">194258101</label>
+            <label index="ll_forgot_message_emailSent" type="integer">214484910</label>
+            <label index="ll_forgot_header_backToLogin" type="integer">71375192</label>
+        </languageKey>
+        <languageKey index="et" type="array">
+        </languageKey>
+        <languageKey index="ar" type="array">
+        </languageKey>
+        <languageKey index="he" type="array">
+        </languageKey>
+        <languageKey index="ua" type="array">
+        </languageKey>
+        <languageKey index="lv" type="array">
+        </languageKey>
+        <languageKey index="jp" type="array">
+        </languageKey>
+        <languageKey index="vn" type="array">
+        </languageKey>
+        <languageKey index="ca" type="array">
+        </languageKey>
+        <languageKey index="ba" type="array">
+        </languageKey>
+        <languageKey index="kr" type="array">
+        </languageKey>
+        <languageKey index="eo" type="array">
+        </languageKey>
+        <languageKey index="my" type="array">
+        </languageKey>
+        <languageKey index="hi" type="array">
+        </languageKey>
+    </orig_hash>
+    <orig_text type="array">
+        <languageKey index="default" type="array">
+        </languageKey>
+        <languageKey index="dk" type="array">
+        </languageKey>
+        <languageKey index="de" type="array">
+        </languageKey>
+        <languageKey index="no" type="array">
+        </languageKey>
+        <languageKey index="it" type="array">
+        </languageKey>
+        <languageKey index="fr" type="array">
+        </languageKey>
+        <languageKey index="es" type="array">
+        </languageKey>
+        <languageKey index="nl" type="array">
+        </languageKey>
+        <languageKey index="cz" type="array">
+        </languageKey>
+        <languageKey index="pl" type="array">
+        </languageKey>
+        <languageKey index="si" type="array">
+        </languageKey>
+        <languageKey index="fi" type="array">
+        </languageKey>
+        <languageKey index="tr" type="array">
+        </languageKey>
+        <languageKey index="se" type="array">
+        </languageKey>
+        <languageKey index="pt" type="array">
+        </languageKey>
+        <languageKey index="ru" type="array">
+        </languageKey>
+        <languageKey index="ro" type="array">
+        </languageKey>
+        <languageKey index="ch" type="array">
+        </languageKey>
+        <languageKey index="sk" type="array">
+        </languageKey>
+        <languageKey index="lt" type="array">
+        </languageKey>
+        <languageKey index="is" type="array">
+        </languageKey>
+        <languageKey index="hr" type="array">
+        </languageKey>
+        <languageKey index="hu" type="array">
+        </languageKey>
+        <languageKey index="gl" type="array">
+        </languageKey>
+        <languageKey index="th" type="array">
+        </languageKey>
+        <languageKey index="gr" type="array">
+        </languageKey>
+        <languageKey index="hk" type="array">
+        </languageKey>
+        <languageKey index="eu" type="array">
+        </languageKey>
+        <languageKey index="bg" type="array">
+        </languageKey>
+        <languageKey index="br" type="array">
+        </languageKey>
+        <languageKey index="et" type="array">
+        </languageKey>
+        <languageKey index="ar" type="array">
+        </languageKey>
+        <languageKey index="he" type="array">
+        </languageKey>
+        <languageKey index="ua" type="array">
+        </languageKey>
+        <languageKey index="lv" type="array">
+        </languageKey>
+        <languageKey index="jp" type="array">
+        </languageKey>
+        <languageKey index="vn" type="array">
+        </languageKey>
+        <languageKey index="ca" type="array">
+        </languageKey>
+        <languageKey index="ba" type="array">
+        </languageKey>
+        <languageKey index="kr" type="array">
+        </languageKey>
+        <languageKey index="eo" type="array">
+        </languageKey>
+        <languageKey index="my" type="array">
+        </languageKey>
+        <languageKey index="hi" type="array">
+        </languageKey>
+    </orig_text>
+</T3locallang>
diff --git a/typo3/sysext/felogin/template.html b/typo3/sysext/felogin/template.html
new file mode 100644 (file)
index 0000000..fda78ae
--- /dev/null
@@ -0,0 +1,164 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+       <title>Templates for felogin</title>
+</head>
+<body>
+
+<h1>Common markers</h1>
+<p>These are substituted in all felogin item displaying templates.</p>
+
+<h2>Markers</h2>
+<ul>
+       <li>###ACTION_URI###     - URI of the request for the login/logout form</li>
+       <li>###EXTRA_HIDDEN###   - Hook required (additionnal hidden field used by kb_md5fepw extension by Kraft Bernhard)</li>
+       <li>###ON_SUBMIT###      - Hook required (used by kb_md5fepw extension by Kraft Bernhard)</li>
+       <li>###PREFIXID###       - Same as class name ('tx_newloginbox_pi1') usefull to get a unique classname prefix</li>
+       <li>###REDIRECT_URL###   - URL of redirection upon login</li>
+       <li>###STORAGE_PID###    - explicit enough I guess (if not : id of the page where user are stored)</li>
+       <li>###STATUS_HEADER###  - depends of the template</li>
+       <li>###STATUS_MESSAGE### - depends of the template</li>
+</ul>
+
+<h2>Wrap parts</h2>
+<ul>
+       <li>###HEADER_VALID###  - usefull to define what to show/hide</li>
+       <li>###MESSAGE_VALID### - usefull to define what to show/hide</li>
+       <li>###FORGOTP_VALID### - usefull to define what to show/hide</li>
+       <li>###PERMALOGIN_VALID### - usefull to define what to show/hide</li>
+</ul>
+
+<h2>felogin Language Markers (see pi/locallang.xml)</h2>
+<ul>
+       <li>###EMAIL_LABEL###                 - corresponding to 'your_email'</li>
+       <li>###FORGOT_PASSWORD###             - corresponding to 'forgot_password'</li>
+       <li>###FORGOT_PASSWORD_BACKTOLOGIN### - corresponding to 'forgot_password_backToLogin'</li>
+       <li>###FORGOT_PASSWORD_ENTEREMAIL###  - corresponding to 'forgot_password_enterEmail'</li>
+       <li>###LOGIN_LABEL###                 - corresponding to 'login'</li>
+       <li>###PASSWORD_LABEL###              - corresponding to 'password'</li>
+       <li>###SEND_PASSWORD###               - corresponding to 'send_password'</li>
+       <li>###USERNAME_LABEL###              - corresponding to 'username'</li>
+</ul>
+
+
+
+
+
+<!--###TEMPLATE_LOGIN###-->
+
+###STATUS_HEADER###
+###STATUS_MESSAGE###
+<!-- ###LOGIN_FORM### -->
+<form action="###ACTION_URI###" target="_top" method="post" onSubmit="###ON_SUBMIT###">
+       <fieldset>
+       <legend>###LEGEND###</legend>
+       <div>
+               <label for="user">###USERNAME_LABEL###</label>
+               <input type="text" id="user" name="user" value="" />
+       </div>
+       <div>
+               <label for="pass">###PASSWORD_LABEL###</label>
+               <input type="password" id="pass" name="pass" value="" />
+       </div>
+       
+       <!--###PERMALOGIN_VALID###-->
+               <div>
+                       <label for="permalogin">###PERMALOGIN###</label>
+                       <input name="permalogin" value="0" type="hidden" ###PERMALOGIN_HIDDENFIELD_ATTRIBUTES### id="permaloginHiddenField" />
+                       <input name="permalogin" value="1" type="checkbox" ###PERMALOGIN_CHECKBOX_ATTRIBUTES### id="permalogin"  onclick="document.getElementById('permaloginHiddenField').disabled = this.checked;" />
+               </div>
+       <!--###PERMALOGIN_VALID###-->
+       
+       <div>   
+               <input type="submit" name="submit" value="###LOGIN_LABEL###" />
+       </div>
+
+       <div class="felogin-hidden">
+               <input type="hidden" name="logintype" value="login" />
+               <input type="hidden" name="pid" value="###STORAGE_PID###" />
+               <input type="hidden" name="redirect_url" value="###REDIRECT_URL###" />
+               ###EXTRA_HIDDEN###
+       </div>
+       </fieldset>
+</form>
+
+<!--###FORGOTP_VALID###-->
+<p><!--###FORGOT_PASSWORD_LINK###-->###FORGOT_PASSWORD###<!--###FORGOT_PASSWORD_LINK###--></p>
+<!--###FORGOTP_VALID###-->
+
+<!-- ###LOGIN_FORM### -->
+
+<!--###TEMPLATE_LOGIN###-->
+
+
+
+
+
+
+
+
+
+
+
+
+<!--###TEMPLATE_LOGOUT###-->
+
+###STATUS_HEADER###
+###STATUS_MESSAGE###
+
+<form action="###ACTION_URI###" target="_top" method="post">
+       <fieldset>
+       <legend>###LEGEND###</legend>
+       <div>
+               <label>###USERNAME_LABEL###</label>
+               ###USERNAME###
+    </div>
+       <div>
+               <input type="submit" name="submit" value="###LOGOUT_LABEL###" />
+        </div>
+       
+       <div class="felogin-hidden"> 
+               <input type="hidden" name="logintype" value="logout" />
+               <input type="hidden" name="pid" value="###STORAGE_PID###" />
+       </div>
+       </fieldset>
+</form>
+
+<!--###TEMPLATE_LOGOUT###-->
+
+
+
+
+
+
+
+<!--###TEMPLATE_FORGOT###-->
+
+###STATUS_HEADER###
+###STATUS_MESSAGE###
+
+
+<!-- ###FORGOT_FORM### -->
+<form action="###ACTION_URI###" method="post">
+       <fieldset>
+       <legend>###LEGEND###</legend>
+       <div>
+               <label for="###FORGOT_EMAIL###">###EMAIL_LABEL###</label>
+               <input type="text" name="###FORGOT_EMAIL###" id="###FORGOT_EMAIL###" />
+       </div>
+       <div>
+               <input type="submit" name="submit" value="###SEND_PASSWORD###" />
+        </div>
+       </fieldset>
+</form>
+<!-- ###FORGOT_FORM### -->
+<p>###BACKLINK_LOGIN###&nbsp;</p>
+<!--###TEMPLATE_FORGOT###-->
+
+
+
+
+
+
+