Version Notes
- magento 1.9.x compatible
- rwd enabled
- observing customer_registration_is_allowed
Download this release
Release Info
Developer | Dominik Wyss |
Extension | Wmdlogincheck |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- app/code/community/Wmd/Wmdlogincheck/Helper/Data.php +7 -8
- app/code/community/Wmd/Wmdlogincheck/Helper/Observer.php +25 -7
- app/code/community/Wmd/Wmdlogincheck/Model/System/Config/Backend/Wmdlogincheck/Pages/Allowed.php +5 -6
- app/code/community/Wmd/Wmdlogincheck/Model/System/Config/Source/Customer/Logincheck/Actions.php +5 -8
- app/code/community/Wmd/Wmdlogincheck/etc/adminhtml.xml +41 -0
- app/code/community/Wmd/Wmdlogincheck/etc/config.xml +78 -83
- app/code/community/Wmd/Wmdlogincheck/etc/system.xml +6 -6
- app/design/frontend/default/default/template/persistent/customer/form/login.phtml +32 -15
- app/design/frontend/{default/default → rwd/logincheck}/template/customer/form/login.phtml +26 -13
- app/design/frontend/rwd/logincheck/template/persistent/customer/form/login.phtml +106 -0
- app/locale/de_CH/Wmd_Wmdlogincheck.csv +0 -25
- app/locale/de_DE/Wmd_Wmdlogincheck.csv +0 -25
- app/locale/en_US/{Wmd_Wmdlogincheck.csv → Wmd_Logincheck.csv} +23 -18
- package.xml +10 -22
app/code/community/Wmd/Wmdlogincheck/Helper/Data.php
CHANGED
@@ -2,18 +2,17 @@
|
|
2 |
/**
|
3 |
* Wmd_Wmdlogincheck_Helper_Data
|
4 |
*
|
5 |
-
* WMD
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
9 |
-
* that you find at http://eklatant.ch/WMD-License-Community.txt
|
10 |
*
|
11 |
* @category Wmd
|
12 |
* @package Wmd_Wmdlogincheck
|
13 |
-
* @author Dominik Wyss <info@
|
14 |
-
* @copyright
|
15 |
-
* @link http://
|
16 |
-
* @license http://
|
17 |
*/?>
|
18 |
<?php
|
19 |
class Wmd_Wmdlogincheck_Helper_Data extends Mage_Core_Helper_Abstract
|
@@ -48,9 +47,9 @@ class Wmd_Wmdlogincheck_Helper_Data extends Mage_Core_Helper_Abstract
|
|
48 |
{
|
49 |
if (!$this->canCreateAccount())
|
50 |
{
|
51 |
-
return 'Login';
|
52 |
}
|
53 |
-
return 'Login or Create an Account';
|
54 |
}
|
55 |
|
56 |
/**
|
2 |
/**
|
3 |
* Wmd_Wmdlogincheck_Helper_Data
|
4 |
*
|
5 |
+
* WMD Extensions
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
|
|
9 |
*
|
10 |
* @category Wmd
|
11 |
* @package Wmd_Wmdlogincheck
|
12 |
+
* @author Dominik Wyss <info@wmdextensions.com>
|
13 |
+
* @copyright 2014 Dominik Wyss | WMD Extensions
|
14 |
+
* @link http://wmdextensions.com/
|
15 |
+
* @license http://wmdextensions.com/WMD-License-Community.txt
|
16 |
*/?>
|
17 |
<?php
|
18 |
class Wmd_Wmdlogincheck_Helper_Data extends Mage_Core_Helper_Abstract
|
47 |
{
|
48 |
if (!$this->canCreateAccount())
|
49 |
{
|
50 |
+
return $this->__('Login');
|
51 |
}
|
52 |
+
return $this->__('Login or Create an Account');
|
53 |
}
|
54 |
|
55 |
/**
|
app/code/community/Wmd/Wmdlogincheck/Helper/Observer.php
CHANGED
@@ -2,23 +2,23 @@
|
|
2 |
/**
|
3 |
* Wmd_Wmdlogincheck_Helper_Observer
|
4 |
*
|
5 |
-
* WMD
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
9 |
-
* that you find at http://eklatant.ch/WMD-License-Community.txt
|
10 |
*
|
11 |
* @category Wmd
|
12 |
* @package Wmd_Wmdlogincheck
|
13 |
-
* @author Dominik Wyss <info@
|
14 |
-
* @copyright
|
15 |
-
* @link http://
|
16 |
-
* @license http://
|
17 |
*/?>
|
18 |
<?php
|
19 |
class Wmd_Wmdlogincheck_Helper_Observer extends Mage_Core_Helper_Abstract
|
20 |
{
|
21 |
/**
|
|
|
22 |
* Customer session check for isLoggedIn.
|
23 |
* Ignore allowed paths and allowed customer account actions.
|
24 |
* Redirect all other requests to customer account login page.
|
@@ -73,7 +73,7 @@ class Wmd_Wmdlogincheck_Helper_Observer extends Mage_Core_Helper_Abstract
|
|
73 |
$allowedAction = is_int(strpos($allowedActionNames, $controller->getFullActionName()));
|
74 |
|
75 |
// redirect to account login: if there is no login,
|
76 |
-
// not an allowed cms page nor an allowed customer account action
|
77 |
if (!$isLoggedIn && !$allowedPath && !$allowedAction)
|
78 |
{
|
79 |
$controller->getResponse()->setRedirect(Mage::getUrl('customer/account/login'));
|
@@ -82,5 +82,23 @@ class Wmd_Wmdlogincheck_Helper_Observer extends Mage_Core_Helper_Abstract
|
|
82 |
return $this;
|
83 |
}
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
}
|
2 |
/**
|
3 |
* Wmd_Wmdlogincheck_Helper_Observer
|
4 |
*
|
5 |
+
* WMD Extensions
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
|
|
9 |
*
|
10 |
* @category Wmd
|
11 |
* @package Wmd_Wmdlogincheck
|
12 |
+
* @author Dominik Wyss <info@wmdextensions.com>
|
13 |
+
* @copyright 2014 Dominik Wyss | WMD Extensions
|
14 |
+
* @link http://wmdextensions.com/
|
15 |
+
* @license http://wmdextensions.com/WMD-License-Community.txt
|
16 |
*/?>
|
17 |
<?php
|
18 |
class Wmd_Wmdlogincheck_Helper_Observer extends Mage_Core_Helper_Abstract
|
19 |
{
|
20 |
/**
|
21 |
+
* controller_action_layout_load_before
|
22 |
* Customer session check for isLoggedIn.
|
23 |
* Ignore allowed paths and allowed customer account actions.
|
24 |
* Redirect all other requests to customer account login page.
|
73 |
$allowedAction = is_int(strpos($allowedActionNames, $controller->getFullActionName()));
|
74 |
|
75 |
// redirect to account login: if there is no login,
|
76 |
+
// request is not for an allowed cms page nor contains an allowed customer account action
|
77 |
if (!$isLoggedIn && !$allowedPath && !$allowedAction)
|
78 |
{
|
79 |
$controller->getResponse()->setRedirect(Mage::getUrl('customer/account/login'));
|
82 |
return $this;
|
83 |
}
|
84 |
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Check for isRegistrationAllowed.
|
88 |
+
* customer_registration_is_allowed
|
89 |
+
*
|
90 |
+
* @param object $observer
|
91 |
+
*
|
92 |
+
* @return object
|
93 |
+
*/
|
94 |
+
|
95 |
+
public function checkIsRegistrationAllowed($observer)
|
96 |
+
{
|
97 |
+
if (!Mage::helper('wmdlogincheck')->canCreateAccount())
|
98 |
+
{
|
99 |
+
$observer->getResult()->setIsAllowed(false);
|
100 |
+
}
|
101 |
+
return $this;
|
102 |
+
}
|
103 |
|
104 |
}
|
app/code/community/Wmd/Wmdlogincheck/Model/System/Config/Backend/Wmdlogincheck/Pages/Allowed.php
CHANGED
@@ -2,18 +2,17 @@
|
|
2 |
/**
|
3 |
* Wmd_Wmdlogincheck_Model_System_Config_Backend_Wmdlogincheck_Pages_Allowed
|
4 |
*
|
5 |
-
* WMD
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
9 |
-
* that you find at http://eklatant.ch/WMD-License-Community.txt
|
10 |
*
|
11 |
* @category Wmd
|
12 |
* @package Wmd_Wmdlogincheck
|
13 |
-
* @author Dominik Wyss <info@
|
14 |
-
* @copyright
|
15 |
-
* @link http://
|
16 |
-
* @license http://
|
17 |
*/?>
|
18 |
<?php
|
19 |
class Wmd_Wmdlogincheck_Model_System_Config_Backend_Wmdlogincheck_Pages_Allowed extends Mage_Core_Model_Config_Data
|
2 |
/**
|
3 |
* Wmd_Wmdlogincheck_Model_System_Config_Backend_Wmdlogincheck_Pages_Allowed
|
4 |
*
|
5 |
+
* WMD Extensions
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
|
|
9 |
*
|
10 |
* @category Wmd
|
11 |
* @package Wmd_Wmdlogincheck
|
12 |
+
* @author Dominik Wyss <info@wmdextensions.com>
|
13 |
+
* @copyright 2014 Dominik Wyss | WMD Extensions
|
14 |
+
* @link http://wmdextensions.com/
|
15 |
+
* @license http://wmdextensions.com/WMD-License-Community.txt
|
16 |
*/?>
|
17 |
<?php
|
18 |
class Wmd_Wmdlogincheck_Model_System_Config_Backend_Wmdlogincheck_Pages_Allowed extends Mage_Core_Model_Config_Data
|
app/code/community/Wmd/Wmdlogincheck/Model/System/Config/Source/Customer/Logincheck/Actions.php
CHANGED
@@ -1,19 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
* WMD Web-Manufaktur/Digiswiss
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
9 |
-
* that you find at http://eklatant.ch/WMD-License-Community.txt
|
10 |
*
|
11 |
* @category Wmd
|
12 |
* @package Wmd_Wmdlogincheck
|
13 |
-
* @author Dominik Wyss <info@
|
14 |
-
* @copyright
|
15 |
-
* @link http://
|
16 |
-
* @license http://
|
17 |
*/?>
|
18 |
<?php
|
19 |
class Wmd_Wmdlogincheck_Model_System_Config_Source_Customer_Logincheck_Actions
|
1 |
<?php
|
2 |
/**
|
3 |
+
* WMD Extensions
|
|
|
|
|
4 |
* NOTICE OF LICENSE
|
5 |
*
|
6 |
* This source file is subject to the EULA
|
|
|
7 |
*
|
8 |
* @category Wmd
|
9 |
* @package Wmd_Wmdlogincheck
|
10 |
+
* @author Dominik Wyss <info@wmdextensions.com>
|
11 |
+
* @copyright 2014 Dominik Wyss | WMD Extensions
|
12 |
+
* @link http://wmdextensions.com/
|
13 |
+
* @license http://wmdextensions.com/WMD-License-Community.txt
|
14 |
*/?>
|
15 |
<?php
|
16 |
class Wmd_Wmdlogincheck_Model_System_Config_Source_Customer_Logincheck_Actions
|
app/code/community/Wmd/Wmdlogincheck/etc/adminhtml.xml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* WMD Extensions
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the EULA
|
8 |
+
*
|
9 |
+
* @category Wmd
|
10 |
+
* @package Wmd_Wmdlogincheck
|
11 |
+
* @author Dominik Wyss <info@wmdextensions.com>
|
12 |
+
* @copyright 2014 Dominik Wyss | WMD Extensions
|
13 |
+
* @link http://wmdextensions.com/
|
14 |
+
* @license http://wmdextensions.com/WMD-License-Community.txt
|
15 |
+
*/
|
16 |
+
-->
|
17 |
+
<config>
|
18 |
+
<acl>
|
19 |
+
<resources>
|
20 |
+
<all>
|
21 |
+
<title>Allow Everything</title>
|
22 |
+
</all>
|
23 |
+
<admin>
|
24 |
+
<children>
|
25 |
+
<system>
|
26 |
+
<children>
|
27 |
+
<config>
|
28 |
+
<children>
|
29 |
+
<wmdlogincheck>
|
30 |
+
<title>Login Check</title>
|
31 |
+
</wmdlogincheck>
|
32 |
+
</children>
|
33 |
+
</config>
|
34 |
+
</children>
|
35 |
+
</system>
|
36 |
+
</children>
|
37 |
+
</admin>
|
38 |
+
</resources>
|
39 |
+
</acl>
|
40 |
+
</config>
|
41 |
+
|
app/code/community/Wmd/Wmdlogincheck/etc/config.xml
CHANGED
@@ -1,98 +1,93 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
-
* WMD
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
-
* that you find at http://eklatant.ch/WMD-License-Community.txt
|
9 |
*
|
10 |
* @category Wmd
|
11 |
* @package Wmd_Wmdlogincheck
|
12 |
-
* @author Dominik Wyss <info@
|
13 |
-
* @copyright
|
14 |
-
* @link http://
|
15 |
-
* @license http://
|
16 |
*/
|
17 |
-->
|
18 |
<config>
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
<wmdlogincheck>
|
73 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
</wmdlogincheck>
|
75 |
-
</
|
76 |
-
<helpers>
|
77 |
-
<wmdlogincheck>
|
78 |
-
<class>Wmd_Wmdlogincheck_Helper</class>
|
79 |
-
</wmdlogincheck>
|
80 |
-
</helpers>
|
81 |
-
</global>
|
82 |
-
<default>
|
83 |
-
<wmdlogincheck>
|
84 |
-
<general>
|
85 |
-
<enable>0</enable>
|
86 |
-
</general>
|
87 |
-
<pages>
|
88 |
-
<allowed><![CDATA[no-route,home,about-magento-demo-store,customer-service,enable-cookies]]></allowed>
|
89 |
-
</pages>
|
90 |
-
<actions>
|
91 |
-
<allowed><![CDATA[/customer_account_create/,/customer_account_forgotpassword/]]></allowed>
|
92 |
-
</actions>
|
93 |
-
<contacts>
|
94 |
-
<protect>0</protect>
|
95 |
-
</contacts>
|
96 |
-
</wmdlogincheck>
|
97 |
-
</default>
|
98 |
</config>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
+
* WMD Extensions
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
|
|
8 |
*
|
9 |
* @category Wmd
|
10 |
* @package Wmd_Wmdlogincheck
|
11 |
+
* @author Dominik Wyss <info@wmdextensions.com>
|
12 |
+
* @copyright 2014 Dominik Wyss | WMD Extensions
|
13 |
+
* @link http://wmdextensions.com/
|
14 |
+
* @license http://wmdextensions.com/WMD-License-Community.txt
|
15 |
*/
|
16 |
-->
|
17 |
<config>
|
18 |
+
<modules>
|
19 |
+
<Wmd_Wmdlogincheck>
|
20 |
+
<version>1.0.5</version>
|
21 |
+
</Wmd_Wmdlogincheck>
|
22 |
+
</modules>
|
23 |
+
<frontend>
|
24 |
+
<translate>
|
25 |
+
<modules>
|
26 |
+
<Wmd_Wmdlogincheck>
|
27 |
+
<files>
|
28 |
+
<default>Wmd_Wmdlogincheck.csv</default>
|
29 |
+
</files>
|
30 |
+
</Wmd_Wmdlogincheck>
|
31 |
+
</modules>
|
32 |
+
</translate>
|
33 |
+
<events>
|
34 |
+
<controller_action_layout_load_before>
|
35 |
+
<observers>
|
36 |
+
<wmd_wmdlogincheck_observer>
|
37 |
+
<type>singleton</type>
|
38 |
+
<class>Wmd_Wmdlogincheck_Helper_Observer</class>
|
39 |
+
<method>checkLogin</method>
|
40 |
+
</wmd_wmdlogincheck_observer>
|
41 |
+
</observers>
|
42 |
+
</controller_action_layout_load_before>
|
43 |
+
<customer_registration_is_allowed>
|
44 |
+
<observers>
|
45 |
+
<wmd_wmdlogincheck_registration_observer>
|
46 |
+
<type>singleton</type>
|
47 |
+
<class>Wmd_Wmdlogincheck_Helper_Observer</class>
|
48 |
+
<method>checkIsRegistrationAllowed</method>
|
49 |
+
</wmd_wmdlogincheck_registration_observer>
|
50 |
+
</observers>
|
51 |
+
</customer_registration_is_allowed>
|
52 |
+
</events>
|
53 |
+
</frontend>
|
54 |
+
<adminhtml>
|
55 |
+
<translate>
|
56 |
+
<modules>
|
57 |
+
<Wmd_Wmdlogincheck>
|
58 |
+
<files>
|
59 |
+
<default>Wmd_Wmdlogincheck.csv</default>
|
60 |
+
</files>
|
61 |
+
</Wmd_Wmdlogincheck>
|
62 |
+
</modules>
|
63 |
+
</translate>
|
64 |
+
</adminhtml>
|
65 |
+
<global>
|
66 |
+
<models>
|
67 |
+
<wmdlogincheck>
|
68 |
+
<class>Wmd_Wmdlogincheck_Model</class>
|
69 |
+
</wmdlogincheck>
|
70 |
+
</models>
|
71 |
+
<helpers>
|
72 |
+
<wmdlogincheck>
|
73 |
+
<class>Wmd_Wmdlogincheck_Helper</class>
|
74 |
+
</wmdlogincheck>
|
75 |
+
</helpers>
|
76 |
+
</global>
|
77 |
+
<default>
|
78 |
<wmdlogincheck>
|
79 |
+
<general>
|
80 |
+
<enable>0</enable>
|
81 |
+
</general>
|
82 |
+
<pages>
|
83 |
+
<allowed><![CDATA[no-route,home,about-magento-demo-store,customer-service,enable-cookies]]></allowed>
|
84 |
+
</pages>
|
85 |
+
<actions>
|
86 |
+
<allowed><![CDATA[/customer_account_create/,/customer_account_forgotpassword/]]></allowed>
|
87 |
+
</actions>
|
88 |
+
<contacts>
|
89 |
+
<protect>0</protect>
|
90 |
+
</contacts>
|
91 |
</wmdlogincheck>
|
92 |
+
</default>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
</config>
|
app/code/community/Wmd/Wmdlogincheck/etc/system.xml
CHANGED
@@ -1,18 +1,17 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
-
* WMD
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
-
* that you find at http://eklatant.ch/WMD-License-Community.txt
|
9 |
*
|
10 |
* @category Wmd
|
11 |
* @package Wmd_Wmdlogincheck
|
12 |
-
* @author Dominik Wyss <info@
|
13 |
-
* @copyright
|
14 |
-
* @link http://
|
15 |
-
* @license http://
|
16 |
*/
|
17 |
-->
|
18 |
<config>
|
@@ -33,6 +32,7 @@
|
|
33 |
<show_in_default>1</show_in_default>
|
34 |
<show_in_website>1</show_in_website>
|
35 |
<show_in_store>1</show_in_store>
|
|
|
36 |
<fields>
|
37 |
<enable translate="label,comment">
|
38 |
<label>Enable Login Check</label>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
+
* WMD Extensions
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
|
|
8 |
*
|
9 |
* @category Wmd
|
10 |
* @package Wmd_Wmdlogincheck
|
11 |
+
* @author Dominik Wyss <info@wmdextensions.com>
|
12 |
+
* @copyright 2014 Dominik Wyss | WMD Extensions
|
13 |
+
* @link http://wmdextensions.com/
|
14 |
+
* @license http://wmdextensions.com/WMD-License-Community.txt
|
15 |
*/
|
16 |
-->
|
17 |
<config>
|
32 |
<show_in_default>1</show_in_default>
|
33 |
<show_in_website>1</show_in_website>
|
34 |
<show_in_store>1</show_in_store>
|
35 |
+
<expanded>1</expanded>
|
36 |
<fields>
|
37 |
<enable translate="label,comment">
|
38 |
<label>Enable Login Check</label>
|
app/design/frontend/default/default/template/persistent/customer/form/login.phtml
CHANGED
@@ -1,26 +1,36 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
* WMD Web-Manufaktur/Digiswiss
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
-
* This source file is subject to the
|
9 |
-
* that
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
*
|
11 |
-
* @category
|
12 |
-
* @package
|
13 |
-
* @
|
14 |
-
* @
|
15 |
-
|
16 |
-
* @license http://eklatant.ch/WMD-License-Community.txt
|
17 |
?>
|
18 |
<?php
|
19 |
/**
|
20 |
* Customer login form template
|
21 |
*
|
22 |
-
* @see
|
23 |
*/
|
|
|
24 |
?>
|
25 |
<div class="account-login">
|
26 |
<div class="page-title">
|
@@ -28,6 +38,7 @@
|
|
28 |
</div>
|
29 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
30 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
|
|
31 |
<div class="col2-set">
|
32 |
<div class="col-1 new-users">
|
33 |
<div class="content">
|
@@ -45,7 +56,7 @@
|
|
45 |
<li>
|
46 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
47 |
<div class="input-box">
|
48 |
-
<input type="text" name="login[username]" value="<?php echo $this->
|
49 |
</div>
|
50 |
</li>
|
51 |
<li>
|
@@ -54,7 +65,10 @@
|
|
54 |
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
55 |
</div>
|
56 |
</li>
|
|
|
|
|
57 |
</ul>
|
|
|
58 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
59 |
</div>
|
60 |
</div>
|
@@ -63,14 +77,14 @@
|
|
63 |
<div class="col-1 new-users">
|
64 |
<div class="buttons-set">
|
65 |
<?php if (Mage::helper('wmdlogincheck')->canCreateAccount()): ?>
|
66 |
-
<button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
|
67 |
<?php else: ?>
|
68 |
<button type="button" class="button" style="visibility:hidden;"><span><span> </span></span></button>
|
69 |
<?php endif; ?>
|
70 |
</div>
|
71 |
</div>
|
72 |
<div class="col-2 registered-users">
|
73 |
-
<div class="buttons-set">
|
74 |
<?php if (Mage::helper('wmdlogincheck')->canGetNewPassword()): ?>
|
75 |
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
76 |
<?php endif; ?>
|
@@ -78,6 +92,9 @@
|
|
78 |
</div>
|
79 |
</div>
|
80 |
</div>
|
|
|
|
|
|
|
81 |
</form>
|
82 |
<script type="text/javascript">
|
83 |
//<![CDATA[
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Magento
|
4 |
+
*
|
|
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
|
|
26 |
?>
|
27 |
<?php
|
28 |
/**
|
29 |
* Customer login form template
|
30 |
*
|
31 |
+
* @see app/design/frontend/base/default/template/customer/form/login.phtml
|
32 |
*/
|
33 |
+
/** @var $this Mage_Customer_Block_Form_Login */
|
34 |
?>
|
35 |
<div class="account-login">
|
36 |
<div class="page-title">
|
38 |
</div>
|
39 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
40 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
41 |
+
<?php echo $this->getBlockHtml('formkey'); ?>
|
42 |
<div class="col2-set">
|
43 |
<div class="col-1 new-users">
|
44 |
<div class="content">
|
56 |
<li>
|
57 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
58 |
<div class="input-box">
|
59 |
+
<input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
|
60 |
</div>
|
61 |
</li>
|
62 |
<li>
|
65 |
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
66 |
</div>
|
67 |
</li>
|
68 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
69 |
+
<?php echo $this->getChildHtml('persistent.remember.me'); ?>
|
70 |
</ul>
|
71 |
+
<?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
|
72 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
73 |
</div>
|
74 |
</div>
|
77 |
<div class="col-1 new-users">
|
78 |
<div class="buttons-set">
|
79 |
<?php if (Mage::helper('wmdlogincheck')->canCreateAccount()): ?>
|
80 |
+
<button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
|
81 |
<?php else: ?>
|
82 |
<button type="button" class="button" style="visibility:hidden;"><span><span> </span></span></button>
|
83 |
<?php endif; ?>
|
84 |
</div>
|
85 |
</div>
|
86 |
<div class="col-2 registered-users">
|
87 |
+
<div class="buttons-set">
|
88 |
<?php if (Mage::helper('wmdlogincheck')->canGetNewPassword()): ?>
|
89 |
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
90 |
<?php endif; ?>
|
92 |
</div>
|
93 |
</div>
|
94 |
</div>
|
95 |
+
<?php if (Mage::helper('checkout')->isContextCheckout()): ?>
|
96 |
+
<input name="context" type="hidden" value="checkout" />
|
97 |
+
<?php endif; ?>
|
98 |
</form>
|
99 |
<script type="text/javascript">
|
100 |
//<![CDATA[
|
app/design/frontend/{default/default → rwd/logincheck}/template/customer/form/login.phtml
RENAMED
@@ -1,19 +1,28 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
* WMD Web-Manufaktur/Digiswiss
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
-
* This source file is subject to the
|
9 |
-
* that
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
*
|
11 |
-
* @category
|
12 |
-
* @package
|
13 |
-
* @
|
14 |
-
* @
|
15 |
-
|
16 |
-
* @license http://eklatant.ch/WMD-License-Community.txt
|
17 |
?>
|
18 |
<?php
|
19 |
/**
|
@@ -27,7 +36,10 @@
|
|
27 |
<h1><?php echo $this->__(Mage::helper('wmdlogincheck')->returnTitle()) ?></h1>
|
28 |
</div>
|
29 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
|
|
|
|
30 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
|
|
31 |
<div class="col2-set">
|
32 |
<div class="col-1 new-users">
|
33 |
<div class="content">
|
@@ -45,7 +57,7 @@
|
|
45 |
<li>
|
46 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
47 |
<div class="input-box">
|
48 |
-
<input type="text" name="login[username]" value="<?php echo $this->
|
49 |
</div>
|
50 |
</li>
|
51 |
<li>
|
@@ -54,6 +66,7 @@
|
|
54 |
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
55 |
</div>
|
56 |
</li>
|
|
|
57 |
</ul>
|
58 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
59 |
</div>
|
@@ -70,7 +83,7 @@
|
|
70 |
</div>
|
71 |
</div>
|
72 |
<div class="col-2 registered-users">
|
73 |
-
<div class="buttons-set">
|
74 |
<?php if (Mage::helper('wmdlogincheck')->canGetNewPassword()): ?>
|
75 |
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
76 |
<?php endif; ?>
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Magento
|
4 |
+
*
|
|
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
|
|
26 |
?>
|
27 |
<?php
|
28 |
/**
|
36 |
<h1><?php echo $this->__(Mage::helper('wmdlogincheck')->returnTitle()) ?></h1>
|
37 |
</div>
|
38 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
+
<?php /* Extensions placeholder */ ?>
|
40 |
+
<?php echo $this->getChildHtml('customer.form.login.extra')?>
|
41 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
42 |
+
<?php echo $this->getBlockHtml('formkey'); ?>
|
43 |
<div class="col2-set">
|
44 |
<div class="col-1 new-users">
|
45 |
<div class="content">
|
57 |
<li>
|
58 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
59 |
<div class="input-box">
|
60 |
+
<input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
|
61 |
</div>
|
62 |
</li>
|
63 |
<li>
|
66 |
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
67 |
</div>
|
68 |
</li>
|
69 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
70 |
</ul>
|
71 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
72 |
</div>
|
83 |
</div>
|
84 |
</div>
|
85 |
<div class="col-2 registered-users">
|
86 |
+
<div class="buttons-set">
|
87 |
<?php if (Mage::helper('wmdlogincheck')->canGetNewPassword()): ?>
|
88 |
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
89 |
<?php endif; ?>
|
app/design/frontend/rwd/logincheck/template/persistent/customer/form/login.phtml
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Customer login form template
|
30 |
+
*
|
31 |
+
* @see app/design/frontend/base/default/template/customer/form/login.phtml
|
32 |
+
*/
|
33 |
+
/** @var $this Mage_Customer_Block_Form_Login */
|
34 |
+
?>
|
35 |
+
<div class="account-login<?php if (!$this->helper('customer')->isRegistrationAllowed()) echo ' login-only' ?>">
|
36 |
+
<div class="page-title">
|
37 |
+
<h1><?php if ($this->helper('customer')->isRegistrationAllowed()): ?>
|
38 |
+
<?php echo $this->__('Login or Create an Account') ?>
|
39 |
+
<?php else: ?>
|
40 |
+
<?php echo $this->__('Login'); ?>
|
41 |
+
<?php endif; ?></h1>
|
42 |
+
</div>
|
43 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
44 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form" class="scaffold-form">
|
45 |
+
<?php echo $this->getBlockHtml('formkey'); ?>
|
46 |
+
<div class="col2-set">
|
47 |
+
<?php if ($this->helper('customer')->isRegistrationAllowed()): ?>
|
48 |
+
<div class="col-1 new-users">
|
49 |
+
<div class="content">
|
50 |
+
<h2><?php echo $this->__('New Here?') ?></h2>
|
51 |
+
<p class="form-instructions"><?php echo $this->__('Registration is free and easy!') ?></p>
|
52 |
+
<ul class="benefits">
|
53 |
+
<li><?php echo $this->__('Faster checkout') ?></li>
|
54 |
+
<li><?php echo $this->__('Save multiple shipping addresses') ?></li>
|
55 |
+
<li><?php echo $this->__('View and track orders and more') ?></li>
|
56 |
+
</ul>
|
57 |
+
</div>
|
58 |
+
<div class="buttons-set">
|
59 |
+
<a title="<?php echo $this->__('Create an Account') ?>" class="button" href="<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>"><span><span><?php echo $this->__('Create an Account') ?></span></span></a>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<?php endif; ?>
|
63 |
+
<?php // This column should be col-1 if the registration column is not displayed ?>
|
64 |
+
<div class="<?php if ($this->helper('customer')->isRegistrationAllowed()): ?>col-2<?php else: ?>col-1<?php endif; ?> registered-users">
|
65 |
+
<div class="content fieldset">
|
66 |
+
<h2><?php echo $this->__('Already registered?') ?></h2>
|
67 |
+
<p class="form-instructions"><?php echo $this->__('If you have an account with us, please log in.') ?></p>
|
68 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
69 |
+
<ul class="form-list">
|
70 |
+
<li>
|
71 |
+
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
72 |
+
<div class="input-box">
|
73 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
|
74 |
+
</div>
|
75 |
+
</li>
|
76 |
+
<li>
|
77 |
+
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
78 |
+
<div class="input-box">
|
79 |
+
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
80 |
+
</div>
|
81 |
+
</li>
|
82 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
83 |
+
<?php if (Mage::helper('wmdlogincheck')->canGetNewPassword()): ?>
|
84 |
+
<li>
|
85 |
+
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
86 |
+
</li>
|
87 |
+
<?php endif; ?>
|
88 |
+
<?php echo $this->getChildHtml('persistent.remember.me'); ?>
|
89 |
+
</ul>
|
90 |
+
<?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
|
91 |
+
</div>
|
92 |
+
<div class="buttons-set">
|
93 |
+
<button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
<?php if (Mage::helper('checkout')->isContextCheckout()): ?>
|
98 |
+
<input name="context" type="hidden" value="checkout" />
|
99 |
+
<?php endif; ?>
|
100 |
+
</form>
|
101 |
+
<script type="text/javascript">
|
102 |
+
//<![CDATA[
|
103 |
+
var dataForm = new VarienForm('login-form', true);
|
104 |
+
//]]>
|
105 |
+
</script>
|
106 |
+
</div>
|
app/locale/de_CH/Wmd_Wmdlogincheck.csv
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
"WMD Login Check","WMD Anmeldungsprüfung"
|
2 |
-
"General Login Check Configuration","Allgemeine Anmeldungsprüfung Konfiguration"
|
3 |
-
"Enable Login Check","Aktiviere Anmeldungsprüfung"
|
4 |
-
"Select 'Yes' to stop users accessing the catalog without logging in.","'Ja' anwählen um nur angemeldeten Nutzern Zugang zum Shop zu gewähren."
|
5 |
-
"Yes","Ja "
|
6 |
-
"No","Nein"
|
7 |
-
"Login Check Pages","Anmeldungsprüfung Seiten"
|
8 |
-
"Allowed Pages","Erlaubte Seiten"
|
9 |
-
"Select(Ctrl + Click to select more then one) the pages users can access without logging in.","Seiten auswählen(Strg + Klick um mehr als einen Eintrag auszuwählen) die Nutzer ohne Anmeldung besuchen können. "
|
10 |
-
"Contacts","Kontakte"
|
11 |
-
"Enable Cookies","Cookies aktivieren"
|
12 |
-
"Home","Start"
|
13 |
-
"Customer Service","Kundendienst"
|
14 |
-
"Login Check Actions","Anmeldungsprüfung Aktionen"
|
15 |
-
"Allowed Actions","Erlaubte Aktionen"
|
16 |
-
"Select(Ctrl + Click to select more then one) the actions users can access without logging in.","Aktionen auswählen(Strg + Klick um mehr als einen Eintrag auszuwählen) die Nutzer ohne Anmeldung durchführen können."
|
17 |
-
"Disable All","Alle deaktivieren"
|
18 |
-
"Customer Account Login","Kundenkonto Anmeldung"
|
19 |
-
"Customer Account Create","Kundenkonto erstellen"
|
20 |
-
"Customer Account Forgot Password","Kundenkonto Passwort vergessen"
|
21 |
-
"Customer Account Confirmation","Kundenkonto Bestätigung"
|
22 |
-
"System/Configuration/Web/Default Pages/CMS Home Page identifier is '%s'. You should allow this page or set CMS Home Page to some page you allow here to avoid this requests being forwarded to the Customer Login page.","System/Konfiguration/Web/Standardseiten/Startseite Bezeichner ist '%s'. Sie sollten diese Seite erlauben oder eine Standardseite festlegen die hier erlaubt ist um zu verhindern, dass Anfragen für die Standardseite auf die Kundenlogin Seite weitergeleitet werden."
|
23 |
-
"Contacts Page","Kontakt Seite"
|
24 |
-
"Login Protect","Login geschützt"
|
25 |
-
"Select 'Yes' to stop users accessing the contacts page without logging in.","'Ja' anwählen um nur angemeldeten Nutzern Zugang zur Kontakt Seite zu gewähren."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/locale/de_DE/Wmd_Wmdlogincheck.csv
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
"WMD Login Check","WMD Anmeldungsprüfung"
|
2 |
-
"General Login Check Configuration","Allgemeine Anmeldungsprüfung Konfiguration"
|
3 |
-
"Enable Login Check","Aktiviere Anmeldungsprüfung"
|
4 |
-
"Select 'Yes' to stop users accessing the catalog without logging in.","'Ja' anwählen um nur angemeldeten Nutzern Zugang zum Shop zu gewähren."
|
5 |
-
"Yes","Ja "
|
6 |
-
"No","Nein"
|
7 |
-
"Login Check Pages","Anmeldungsprüfung Seiten"
|
8 |
-
"Allowed Pages","Erlaubte Seiten"
|
9 |
-
"Select(Ctrl + Click to select more then one) the pages users can access without logging in.","Seiten auswählen(Strg + Klick um mehr als einen Eintrag auszuwählen) die Nutzer ohne Anmeldung besuchen können. "
|
10 |
-
"Contacts","Kontakte"
|
11 |
-
"Enable Cookies","Cookies aktivieren"
|
12 |
-
"Home","Start"
|
13 |
-
"Customer Service","Kundendienst"
|
14 |
-
"Login Check Actions","Anmeldungsprüfung Aktionen"
|
15 |
-
"Allowed Actions","Erlaubte Aktionen"
|
16 |
-
"Select(Ctrl + Click to select more then one) the actions users can access without logging in.","Aktionen auswählen(Strg + Klick um mehr als einen Eintrag auszuwählen) die Nutzer ohne Anmeldung durchführen können."
|
17 |
-
"Disable All","Alle deaktivieren"
|
18 |
-
"Customer Account Login","Kundenkonto Anmeldung"
|
19 |
-
"Customer Account Create","Kundenkonto erstellen"
|
20 |
-
"Customer Account Forgot Password","Kundenkonto Passwort vergessen"
|
21 |
-
"Customer Account Confirmation","Kundenkonto Bestätigung"
|
22 |
-
"System/Configuration/Web/Default Pages/CMS Home Page identifier is '%s'. You should allow this page or set CMS Home Page to some page you allow here to avoid this requests being forwarded to the Customer Login page.","System/Konfiguration/Web/Standardseiten/Startseite Bezeichner ist '%s'. Sie sollten diese Seite erlauben oder eine Standardseite festlegen die hier erlaubt ist um zu verhindern, dass Anfragen für die Standardseite auf die Kundenlogin Seite weitergeleitet werden."
|
23 |
-
"Contacts Page","Kontakt Seite"
|
24 |
-
"Login Protect","Login geschützt"
|
25 |
-
"Select 'Yes' to stop users accessing the contacts page without logging in.","'Ja' anwählen um nur angemeldeten Nutzern Zugang zur Kontakt Seite zu gewähren."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/locale/en_US/{Wmd_Wmdlogincheck.csv → Wmd_Logincheck.csv}
RENAMED
@@ -1,25 +1,30 @@
|
|
1 |
-
"
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"Yes","Yes"
|
6 |
-
"No","No"
|
7 |
-
"Login Check Pages","Login Check Pages"
|
8 |
-
"Allow Pages","Allow Pages"
|
9 |
-
"Select(Ctrl + Click to select more then one) the pages users can access without logging in.","Select(Ctrl + Click to select more then one) the pages users can access without logging in. "
|
10 |
"Contacts","Contacts"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
"Enable Cookies","Enable Cookies"
|
|
|
|
|
12 |
"Home","Home"
|
13 |
-
"
|
14 |
"Login Check Actions","Login Check Actions"
|
15 |
-
"
|
|
|
|
|
|
|
|
|
|
|
16 |
"Select(Ctrl + Click to select more then one) the actions users can access without logging in.","Select(Ctrl + Click to select more then one) the actions users can access without logging in."
|
17 |
-
"Disable All","Disable All"
|
18 |
-
"Customer Account Login","Customer Account Login"
|
19 |
-
"Customer Account Create","Customer Account Create"
|
20 |
-
"Customer Account Forgot Password","Customer Account Forgot Password"
|
21 |
-
"Customer Account Confirmation","Customer Account Confirmation"
|
22 |
"System/Configuration/Web/Default Pages/CMS Home Page identifier is '%s'. You should allow this page or set CMS Home Page to some page you allow here to avoid this requests being forwarded to the Customer Login page.","System/Configuration/Web/Default Pages/CMS Home Page identifier is '%s'. You should allow this page or set CMS Home Page to some page you allow here to avoid this requests being forwarded to the Customer Login page."
|
23 |
-
"Contacts Page","Contacts Page"
|
24 |
-
"Login Protect","Login Protect"
|
25 |
"Select 'Yes' to stop users accessing the contacts page without logging in.","Select 'Yes' to stop users accessing the contacts page without logging in."
|
|
|
|
|
|
1 |
+
"Additional Modules Actions","Additional Modules Actions"
|
2 |
+
"Allow","Allow"
|
3 |
+
"Allow Actions","Allow Actions"
|
4 |
+
"Allow Pages","Allow Pages"
|
|
|
|
|
|
|
|
|
|
|
5 |
"Contacts","Contacts"
|
6 |
+
"Contacts Page","Contacts Page"
|
7 |
+
"Customer Account Confirmation","Customer Account Confirmation"
|
8 |
+
"Customer Account Create","Customer Account Create"
|
9 |
+
"Customer Account Forgot Password","Customer Account Forgot Password"
|
10 |
+
"Customer Account Login","Customer Account Login"
|
11 |
+
"Customer Service","Customer Service "
|
12 |
+
"Disable All","Disable All"
|
13 |
"Enable Cookies","Enable Cookies"
|
14 |
+
"Enable Login Check","Enable Login Check"
|
15 |
+
"General Login Check Configuration","General Login Check Configuration"
|
16 |
"Home","Home"
|
17 |
+
"Login","Login"
|
18 |
"Login Check Actions","Login Check Actions"
|
19 |
+
"Login Check Pages","Login Check Pages"
|
20 |
+
"Login or Create an Account","Login or Create an Account"
|
21 |
+
"Login Protect","Login Protect"
|
22 |
+
"No","No"
|
23 |
+
"Select 'Yes' to stop users accessing the catalog without logging in.","Select 'Yes' to stop users accessing the catalog without loging in."
|
24 |
+
"Select(Ctrl + Click to select more then one) the pages users can access without logging in.","Select(Ctrl + Click to select more then one) the pages users can access without logging in. "
|
25 |
"Select(Ctrl + Click to select more then one) the actions users can access without logging in.","Select(Ctrl + Click to select more then one) the actions users can access without logging in."
|
|
|
|
|
|
|
|
|
|
|
26 |
"System/Configuration/Web/Default Pages/CMS Home Page identifier is '%s'. You should allow this page or set CMS Home Page to some page you allow here to avoid this requests being forwarded to the Customer Login page.","System/Configuration/Web/Default Pages/CMS Home Page identifier is '%s'. You should allow this page or set CMS Home Page to some page you allow here to avoid this requests being forwarded to the Customer Login page."
|
|
|
|
|
27 |
"Select 'Yes' to stop users accessing the contacts page without logging in.","Select 'Yes' to stop users accessing the contacts page without logging in."
|
28 |
+
"URL","URL"
|
29 |
+
"WMD Login Check","WMD Login Check"
|
30 |
+
"Yes","Yes"
|
package.xml
CHANGED
@@ -1,32 +1,20 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Wmdlogincheck</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
-
<license uri="http://
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>
|
10 |
-
<description>
|
11 |
-

|
12 |
-
-
|
13 |
-
-
|
14 |
-
- Deactivate / activate the Forgott Your Password? link
|
15 |
-
- Allow / disallow CMS Pages of your choice to not logged in users.
|
16 |
-
- Control the customer account actions that can be taken by users.
|
17 |
-

|
18 |
-
</description>
|
19 |
-
<notes>Bug fixed: resetpassword action is working now
|
20 |
-

|
21 |
-
Installation Instructions: 
|
22 |
-
http://wmdextensions.com/customer-service/ 
|
23 |
-
Extension Readme: 
|
24 |
-
http://wmdextensions.com/wmdlogincheck-readme/ 
|
25 |
-
</notes>
|
26 |
<authors><author><name>Dominik Wyss</name><user>justanother</user><email>info@digiswiss.ch</email></author></authors>
|
27 |
-
<date>
|
28 |
-
<time>
|
29 |
-
<contents><target name="magecommunity"><dir name="Wmd"><dir name="Wmdlogincheck"><dir name="Helper"><file name="Data.php" hash="
|
30 |
<compatible/>
|
31 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
32 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Wmdlogincheck</name>
|
4 |
+
<version>1.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license uri="http://wmdextensions.com/license.txt">EULA</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Login Check extension is checking for user login, if not redirects to login page. CMS Pages and actions of your choice. </summary>
|
10 |
+
<description>Login Check extension stops not registered users from seeing your shops content. You can allow unregistered users to see CMS Pages of your choice(eg. contacts). And you can allow or disallow new users to register and disable the 'Forgott Your Password?' link.</description>
|
11 |
+
<notes>- magento 1.9.x compatible
|
12 |
+
- rwd enabled
|
13 |
+
- observing customer_registration_is_allowed</notes>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
<authors><author><name>Dominik Wyss</name><user>justanother</user><email>info@digiswiss.ch</email></author></authors>
|
15 |
+
<date>2014-11-21</date>
|
16 |
+
<time>10:32:17</time>
|
17 |
+
<contents><target name="magecommunity"><dir name="Wmd"><dir name="Wmdlogincheck"><dir name="Helper"><file name="Data.php" hash="44e952f1dab139378d03e36c7f0d2fe0"/><file name="Observer.php" hash="830a4e35708447ccaf135cd93440442b"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Wmdlogincheck"><dir name="Pages"><file name="Allowed.php" hash="8cab48d5a392303c30dd2be9680b7e95"/></dir></dir></dir><dir name="Source"><dir name="Customer"><dir name="Logincheck"><file name="Actions.php" hash="3f105fc38ab520a79ff367c19bb3de86"/></dir></dir></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="dd94685290cb7d65f2d888a7ba9bbe96"/><file name="config.xml" hash="228791ec8dc1caf474a09e916490ba6d"/><file name="system.xml" hash="b2e7529ba9bc4f469ea6f0bd0c00623d"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wmd_Wmdlogincheck.xml" hash="c1914255456abe4874374b07425a8532"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Wmd_Logincheck.csv" hash="61ba2a781aa7a0ae23ef4d069431e168"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="persistent"><dir name="customer"><dir name="form"><file name="login.phtml" hash="a905abe287fb5e065e7dac3adf2cbdf5"/></dir></dir></dir></dir></dir></dir><dir name="rwd"><dir name="logincheck"><dir name="template"><dir name="customer"><dir name="form"><file name="login.phtml" hash="7a653b3e52bc00573222a1ea2b1d471e"/></dir></dir><dir name="persistent"><dir name="customer"><dir name="form"><file name="login.phtml" hash="c335024e75dafb5ce16ec1f6554e4ef6"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|