OneID - Version 1.0.7

Version Notes

OneID Sign In refactored into a block (to be used in custom themes easier)

Download this release

Release Info

Developer OneID
Extension OneID
Version 1.0.7
Comparing to
See all releases


Code changes from version 1.0.6 to 1.0.7

app/code/local/OneID/Connector/Block/Login.php DELETED
@@ -1,5 +0,0 @@
1
- <?php
2
-
3
- class OneID_Connector_Block_Login extends Mage_Core_Block_Template {
4
-
5
- }
 
 
 
 
 
app/code/local/OneID/Connector/Block/Signin.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+
3
+ class OneID_Connector_Block_Signin extends Mage_Core_Block_Template {
4
+
5
+ }
app/design/frontend/base/default/layout/OneID.xml CHANGED
@@ -29,9 +29,13 @@
29
  <reference name="head">
30
  <action method="addCss"><name>css/oneid.css</name></action>
31
  </reference>
32
- <remove name="customer_form_login"/>
33
  <reference name="content">
34
- <block type="customer/form_login" name="oneid_form_login" template="oneid/form/login.phtml"/>
 
 
 
 
35
  </reference>
36
  </customer_account_login>
37
 
29
  <reference name="head">
30
  <action method="addCss"><name>css/oneid.css</name></action>
31
  </reference>
32
+
33
  <reference name="content">
34
+ <reference name="customer_form_login">
35
+ <reference name="form.additional.info">
36
+ <block type="OneID/signin" name="oneid_signin_button" template="oneid/oneid/signin.phtml"></block>
37
+ </reference>
38
+ </reference>
39
  </reference>
40
  </customer_account_login>
41
 
app/design/frontend/base/default/template/oneid/form/login.phtml DELETED
@@ -1,68 +0,0 @@
1
- <div class="account-login">
2
- <div class="page-title">
3
- <h1><?php echo $this->__('Login or Create an Account') ?></h1>
4
- </div>
5
- <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
6
- <?php /* Extensions placeholder */ ?>
7
- <?php echo $this->getChildHtml('customer.form.login.extra')?>
8
- <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
9
- <div class="col2-set">
10
- <div class="col-1 new-users">
11
- <div class="content">
12
- <h2><?php echo $this->__('New Customers') ?></h2>
13
- <p><?php echo $this->__('By creating an account with our store, you will be able to move through the checkout process faster, store multiple shipping addresses, view and track your orders in your account and more.') ?></p>
14
- </div>
15
- </div>
16
- <div class="col-2 registered-users">
17
- <div class="content">
18
- <h2><?php echo $this->__('Registered Customers') ?></h2>
19
- <p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
20
- <ul class="form-list">
21
- <li>
22
- <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
23
- <div class="input-box">
24
- <input type="text" name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
25
- </div>
26
- </li>
27
- <li>
28
- <label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
29
- <div class="input-box">
30
- <input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
31
- </div>
32
- </li>
33
- <li>
34
- <div id="oneid-login-form-button" class="oneid-only oneid-login-container" style="float: left; margin-top: -7px; margin-right: 5px; display: block;" ></div>
35
- <script type="text/javascript">
36
- OneIdExtern.registerApiReadyFunction(function(){
37
- OneId.loginButton(OneId.$("#oneid-login-form-button"), { "challenge" : <?php echo $this->helper("OneID")->getLoginCHALJ() ?> });
38
- });
39
- </script>
40
- </li>
41
- <?php echo $this->getChildHtml('form.additional.info'); ?>
42
- </ul>
43
-
44
- <p class="required"><?php echo $this->__('* Required Fields') ?></p>
45
- </div>
46
- </div>
47
- </div>
48
- <div class="col2-set">
49
- <div class="col-1 new-users">
50
- <div class="buttons-set">
51
- <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>
52
- </div>
53
- </div>
54
- <div class="col-2 registered-users">
55
- <div class="buttons-set">
56
- <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
57
- <button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
58
- </div>
59
-
60
- </div>
61
- </div>
62
- </form>
63
- <script type="text/javascript">
64
- //<![CDATA[
65
- var dataForm = new VarienForm('login-form', true);
66
- //]]>
67
- </script>
68
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>OneID</name>
4
- <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license>Apache Software License (ASL)</license>
7
  <channel>community</channel>
@@ -21,11 +21,11 @@ Privacy: OneID does not track any user behavior &#x2013; and certainly won&#x201
21
  Security: OneID secures customer information using three separate cryptographic combinations across multiple devices.&#xD;
22
  Convenience: OneID removes the hassle of having to remember user names and passwords.&#xD;
23
  And along with all those great benefits to you and your users, with this plugin you'll also get to use OneID to log into and administer your WordPress site using your OneID.</description>
24
- <notes>Figuring out packaging</notes>
25
  <authors><author><name>OneID</name><user>bpk_oneid</user><email>bpk@oneid.com</email></author></authors>
26
- <date>2013-01-21</date>
27
- <time>19:35:42</time>
28
- <contents><target name="magelocal"><dir name="OneID"><dir name="Connector"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><file name="Success.php" hash="94f38f858a45304c10138c3a1b265490"/></dir></dir><file name="Login.php" hash="3cb291ca3f4700f279735fdeb544a8b3"/></dir><dir name="Helper"><file name="Data.php" hash="6d702e8fcf10c58de1ce6aa457dca427"/></dir><dir name="controllers"><file name="AccountController.php" hash="2401a0a519aac21bebeee77233fd0b03"/><file name="ConnectorController.php" hash="ea726d60099a66c2e63ad27fa1af5b8c"/><file name="OnepageController.php" hash="78d2dbae1606057fb3544296351898d8"/></dir><dir name="etc"><file name="config.xml" hash="cd1e65278f1c6a46103e68ff054ccaaa"/><file name="system.xml" hash="d47ac462cf6efd529aca557fad1b890e"/></dir><dir name="sql"><dir name="oneid_connector_setup"><file name="mysql4-install-0.1.0.php" hash="cad7569ee96103d087bf077661c1cafe"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="oneid"><dir name="block"><file name="login.phtml" hash="787f58873550105c3318baa8b0b77ded"/><dir name="page"><dir name="html"><file name="footer.phtml" hash="c4059028bd7db7b0f0d3b157157cea60"/><file name="head.phtml" hash="9dd7e46b5c3ce6eb4e92ef6738d55dc6"/><file name="newjavascript.js" hash="c9e0fa9a4851c0070614f605ebac8257"/></dir></dir></dir><dir name="checkout"><file name="cart.phtml" hash="4b02b99a1bbc8ad14a4452775df49ef2"/><dir name="onepage"><file name="billing.phtml" hash="db33088fbf7c82e54359f6b47f9782bd"/><file name="link.phtml" hash="c38a01ac21b86b2cd2b923f99b0d32f9"/><file name="login.phtml" hash="14a18316708340b2cb9d40d8c00a1050"/><file name="payment.phtml" hash="9b984eb3b27d9d522a5233a8be59f28f"/><dir name="review"><file name="button.phtml" hash="7646991c5b937654771fa78627e49c95"/></dir><file name="shipping.phtml" hash="ecc2387a24237e4b7021779578a2d942"/></dir><file name="onepage.phtml" hash="26399371e208ecb11bf0cda67621bcee"/><file name="success.phtml" hash="1bd4d74a04b4166aa8ce08b581d01fa0"/></dir><dir name="customer"><dir name="account"><file name="dashboard.phtml" hash="55b1ec9a6860486943e2e4fb8d81aede"/></dir><dir name="form"><file name="edit.phtml" hash="23eea7e7e29cb36c3c5885d7775de528"/><file name="forgotpassword.phtml" hash="cd02367e8214930140d80a7834e0f4a4"/></dir></dir><dir name="form"><file name="login.phtml" hash="3c58f25d91d404b002e53ebc10f71095"/><file name="traditional_login.phtml" hash="597e5d7b99eb7dcfb8f5a63185ce5e38"/></dir><dir name="oneid"><file name="signin.phtml" hash="1aeb1ac58db061d9649b92ee25b2ed20"/></dir></dir></dir><dir name="layout"><file name="OneID.xml" hash="d9c69594cce96e225e93897693b78ffa"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="oneid.css" hash="ab21ae320804ed42baaa587d9ad1804d"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Oneid_Connector.xml" hash="436ae58c4d1a855c664ab921b7b0ad44"/></dir></target></contents>
29
  <compatible/>
30
  <dependencies><required><php><min>5.0.0</min><max>5.4.10</max></php></required></dependencies>
31
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>OneID</name>
4
+ <version>1.0.7</version>
5
  <stability>stable</stability>
6
  <license>Apache Software License (ASL)</license>
7
  <channel>community</channel>
21
  Security: OneID secures customer information using three separate cryptographic combinations across multiple devices.&#xD;
22
  Convenience: OneID removes the hassle of having to remember user names and passwords.&#xD;
23
  And along with all those great benefits to you and your users, with this plugin you'll also get to use OneID to log into and administer your WordPress site using your OneID.</description>
24
+ <notes>OneID Sign In refactored into a block (to be used in custom themes easier)</notes>
25
  <authors><author><name>OneID</name><user>bpk_oneid</user><email>bpk@oneid.com</email></author></authors>
26
+ <date>2013-01-22</date>
27
+ <time>20:33:10</time>
28
+ <contents><target name="magelocal"><dir name="OneID"><dir name="Connector"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><file name="Success.php" hash="94f38f858a45304c10138c3a1b265490"/></dir></dir><file name="Signin.php" hash="454d819e284f02ef5e2ae8e57d714918"/></dir><dir name="Helper"><file name="Data.php" hash="6d702e8fcf10c58de1ce6aa457dca427"/></dir><dir name="controllers"><file name="AccountController.php" hash="2401a0a519aac21bebeee77233fd0b03"/><file name="ConnectorController.php" hash="ea726d60099a66c2e63ad27fa1af5b8c"/><file name="OnepageController.php" hash="78d2dbae1606057fb3544296351898d8"/></dir><dir name="etc"><file name="config.xml" hash="cd1e65278f1c6a46103e68ff054ccaaa"/><file name="system.xml" hash="d47ac462cf6efd529aca557fad1b890e"/></dir><dir name="sql"><dir name="oneid_connector_setup"><file name="mysql4-install-0.1.0.php" hash="cad7569ee96103d087bf077661c1cafe"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="oneid"><dir name="block"><file name="login.phtml" hash="787f58873550105c3318baa8b0b77ded"/><dir name="page"><dir name="html"><file name="footer.phtml" hash="c4059028bd7db7b0f0d3b157157cea60"/><file name="head.phtml" hash="9dd7e46b5c3ce6eb4e92ef6738d55dc6"/><file name="newjavascript.js" hash="c9e0fa9a4851c0070614f605ebac8257"/></dir></dir></dir><dir name="checkout"><file name="cart.phtml" hash="4b02b99a1bbc8ad14a4452775df49ef2"/><dir name="onepage"><file name="billing.phtml" hash="db33088fbf7c82e54359f6b47f9782bd"/><file name="link.phtml" hash="c38a01ac21b86b2cd2b923f99b0d32f9"/><file name="login.phtml" hash="14a18316708340b2cb9d40d8c00a1050"/><file name="payment.phtml" hash="9b984eb3b27d9d522a5233a8be59f28f"/><dir name="review"><file name="button.phtml" hash="7646991c5b937654771fa78627e49c95"/></dir><file name="shipping.phtml" hash="ecc2387a24237e4b7021779578a2d942"/></dir><file name="onepage.phtml" hash="26399371e208ecb11bf0cda67621bcee"/><file name="success.phtml" hash="1bd4d74a04b4166aa8ce08b581d01fa0"/></dir><dir name="customer"><dir name="account"><file name="dashboard.phtml" hash="55b1ec9a6860486943e2e4fb8d81aede"/></dir><dir name="form"><file name="edit.phtml" hash="23eea7e7e29cb36c3c5885d7775de528"/><file name="forgotpassword.phtml" hash="cd02367e8214930140d80a7834e0f4a4"/></dir></dir><dir name="form"><file name="traditional_login.phtml" hash="597e5d7b99eb7dcfb8f5a63185ce5e38"/></dir><dir name="oneid"><file name="signin.phtml" hash="1aeb1ac58db061d9649b92ee25b2ed20"/></dir></dir></dir><dir name="layout"><file name="OneID.xml" hash="153030f3e008e6c671cb0f9f5341a638"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="oneid.css" hash="ab21ae320804ed42baaa587d9ad1804d"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Oneid_Connector.xml" hash="436ae58c4d1a855c664ab921b7b0ad44"/></dir></target></contents>
29
  <compatible/>
30
  <dependencies><required><php><min>5.0.0</min><max>5.4.10</max></php></required></dependencies>
31
  </package>