Version Notes
Add the static files, such as js/css/images
Download this release
Release Info
Developer | Giko |
Extension | Giko_AjaxLogin |
Version | 0.5.2 |
Comparing to | |
See all releases |
Code changes from version 0.5.1 to 0.5.2
app/code/community/Giko/Ajaxlogin/etc/config.xml
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
<config>
|
14 |
<modules>
|
15 |
<Giko_Ajaxlogin>
|
16 |
-
<version>0.5.
|
17 |
</Giko_Ajaxlogin>
|
18 |
</modules>
|
19 |
|
13 |
<config>
|
14 |
<modules>
|
15 |
<Giko_Ajaxlogin>
|
16 |
+
<version>0.5.2</version>
|
17 |
</Giko_Ajaxlogin>
|
18 |
</modules>
|
19 |
|
app/design/frontend/base/default/template/ajaxlogin/form.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<head>
|
3 |
+
<script type="text/javascript" src="/js/giko/ajaxlogin.js"></script>
|
4 |
+
</head>
|
5 |
+
<body>
|
6 |
+
<div class="col-2">
|
7 |
+
<h3><?php echo $this->__('Login') ?></h3>
|
8 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
9 |
+
<form id="ajaxlogin_form" action="<?php echo $this->getPostAction() ?>" method="post">
|
10 |
+
<fieldset>
|
11 |
+
<p><?php echo $this->__('Please log in below:') ?></p>
|
12 |
+
<ul class="form-list">
|
13 |
+
<li>
|
14 |
+
<label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
15 |
+
<div class="input-box">
|
16 |
+
<input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" />
|
17 |
+
</div>
|
18 |
+
</li>
|
19 |
+
<li>
|
20 |
+
<label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
21 |
+
<div class="input-box">
|
22 |
+
<input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
|
23 |
+
</div>
|
24 |
+
</li>
|
25 |
+
<li>
|
26 |
+
<button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
27 |
+
</li>
|
28 |
+
</ul>
|
29 |
+
</fieldset>
|
30 |
+
</form>
|
31 |
+
</div>
|
32 |
+
|
33 |
+
<script type="text/javascript">
|
34 |
+
var loginForm = $('ajaxlogin_form');
|
35 |
+
|
36 |
+
$('login-email').observe('keypress', bindLoginPost);
|
37 |
+
$('login-password').observe('keypress', bindLoginPost);
|
38 |
+
</script>
|
39 |
+
</body>
|
40 |
+
</html>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Giko_AjaxLogin</name>
|
4 |
-
<version>0.5.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -11,8 +11,8 @@
|
|
11 |
<notes>Add the static files, such as js/css/images</notes>
|
12 |
<authors><author><name>Giko</name><user>Giko</user><email>wo@luochunhui.com</email></author></authors>
|
13 |
<date>2011-07-17</date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Giko"><dir name="Ajaxlogin"><dir name="Block"><file name="Form.php" hash="97bc941ff767d3f3810f5f86e17c06dd"/><file name="Js.php" hash="94c12764388620c4f9ff81196969259c"/></dir><dir name="Helper"><file name="Data.php" hash="82b0004af2c85fec0359e35992854a94"/></dir><dir name="controllers"><file name="LoginController.php" hash="9b4c1f383edde1d07a02e198a186eb8e"/></dir><dir name="etc"><file name="config.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>core</channel><min>1.5.0</min><max>1.6.0</max></package></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Giko_AjaxLogin</name>
|
4 |
+
<version>0.5.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
11 |
<notes>Add the static files, such as js/css/images</notes>
|
12 |
<authors><author><name>Giko</name><user>Giko</user><email>wo@luochunhui.com</email></author></authors>
|
13 |
<date>2011-07-17</date>
|
14 |
+
<time>07:19:10</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Giko"><dir name="Ajaxlogin"><dir name="Block"><file name="Form.php" hash="97bc941ff767d3f3810f5f86e17c06dd"/><file name="Js.php" hash="94c12764388620c4f9ff81196969259c"/></dir><dir name="Helper"><file name="Data.php" hash="82b0004af2c85fec0359e35992854a94"/></dir><dir name="controllers"><file name="LoginController.php" hash="9b4c1f383edde1d07a02e198a186eb8e"/></dir><dir name="etc"><file name="config.xml" hash="78a3f8ca1c4f04eda9b9d093d3713a2e"/><file name="system.xml" hash="f620a68064925a7385c544b8f213adb0"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Giko_Ajaxlogin.xml" hash="5db395b7e6ba60868fb6e7938d498b39"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ajaxlogin.xml" hash="e95676c60dcb48cfc22378cc1d603928"/></dir><dir name="template"><dir name="ajaxlogin"><file name="form.phtml" hash="cab254d9e4e5f262e491271fe5f1b331"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="giko"><file name="ajaxlogin.css" hash="d74f51ff3af0b2e40a5b061a013dee22"/></dir></dir><dir name="images"><dir name="giko"><dir name="ajaxlogin"><file name="close.png" hash="4278a8b021acb550ad96cdddb2db6d8f"/><file name="preload.gif" hash="bf3ec68db23e93ba2ec795ef558e96da"/></dir></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="giko"><file name="tinybox.js" hash="1a6b0ef907a4f5cc136ef0846be88a05"/><file name="ajaxlogin.js" hash="a68dafd2df08570a60d241d6285ec62e"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>core</channel><min>1.5.0</min><max>1.6.0</max></package></required></dependencies>
|
18 |
</package>
|