Version Notes
First Version of 71lbs magento extension
Download this release
Release Info
Developer | Jose |
Extension | lbs71 |
Version | 0.1.0.2 |
Comparing to | |
See all releases |
Code changes from version 0.1.0.1 to 0.1.0.2
app/code/community/lbs71/Adminrefunds/Helper/Data.php
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Lbs71_Adminrefunds_Helper_Data extends Mage_Core_Helper_Abstract
|
3 |
+
{
|
4 |
+
}
|
app/code/community/lbs71/Adminrefunds/controllers/AdminRefundsController.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Lbs71_Adminrefunds_AdminrefundsController extends Mage_Adminhtml_Controller_Action
|
3 |
+
{
|
4 |
+
public function indexAction()
|
5 |
+
{
|
6 |
+
//Form template
|
7 |
+
$this->loadLayout()->_setActiveMenu('lbs71/example');
|
8 |
+
|
9 |
+
//create a text block with the name of "example-block"
|
10 |
+
$block = $this->getLayout()->createBlock('core/template', 'example-block')->
|
11 |
+
setTemplate('adminrefunds/loginform.phtml');
|
12 |
+
|
13 |
+
$this->_addContent($block);
|
14 |
+
|
15 |
+
$this->renderLayout();
|
16 |
+
}
|
17 |
+
|
18 |
+
public function postAction(){
|
19 |
+
|
20 |
+
//Form template
|
21 |
+
$this->loadLayout()->_setActiveMenu('lbs71/example');
|
22 |
+
|
23 |
+
//create a text block with the name of "example-block"
|
24 |
+
$block = $this->getLayout()->createBlock('core/template', 'example-block')->
|
25 |
+
setTemplate('adminrefunds/refunds.phtml');
|
26 |
+
|
27 |
+
$this->_addContent($block);
|
28 |
+
$this->renderLayout();
|
29 |
+
|
30 |
+
$email = '';
|
31 |
+
$password = '';
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
}
|
36 |
+
|
37 |
+
public function aboutAction(){
|
38 |
+
//Form template
|
39 |
+
$this->loadLayout()->_setActiveMenu('lbs71/example');
|
40 |
+
|
41 |
+
//create a text block with the name of "example-block"
|
42 |
+
$block = $this->getLayout()->createBlock('core/template', 'example-block')->
|
43 |
+
setTemplate('adminrefunds/about.phtml');
|
44 |
+
|
45 |
+
$this->_addContent($block);
|
46 |
+
$this->_setActiveMenu('lbs71/about');
|
47 |
+
$this->renderLayout();
|
48 |
+
}
|
49 |
+
}
|
app/code/community/lbs71/Adminrefunds/etc/adminhtml.xml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<config>
|
2 |
+
<menu>
|
3 |
+
<lbs71 translate="title" module="lbs71_adminrefunds">
|
4 |
+
<title>71Lbs</title>
|
5 |
+
<sort_order>1</sort_order>
|
6 |
+
<children>
|
7 |
+
<example>
|
8 |
+
<title>View Refunds</title>
|
9 |
+
<sort_order>1</sort_order>
|
10 |
+
<action>adminhtml/adminrefunds/index</action>
|
11 |
+
</example>
|
12 |
+
</children>
|
13 |
+
<children>
|
14 |
+
<about>
|
15 |
+
<title>About</title>
|
16 |
+
<sort_order>2</sort_order>
|
17 |
+
<action>adminhtml/adminrefunds/about</action>
|
18 |
+
</about>
|
19 |
+
</children>
|
20 |
+
</lbs71>
|
21 |
+
</menu>
|
22 |
+
|
23 |
+
<acl>
|
24 |
+
<resources>
|
25 |
+
<admin>
|
26 |
+
<children>
|
27 |
+
<lbs71 translate="title" module="lbs71_adminrefunds">
|
28 |
+
<title>Top Level 71lbs Refunds Menu Item</title>
|
29 |
+
<sort_order>1</sort_order>
|
30 |
+
<children>
|
31 |
+
<example>
|
32 |
+
<title>Refunds Menu Item</title>
|
33 |
+
</example>
|
34 |
+
</children>
|
35 |
+
<children>
|
36 |
+
<about>
|
37 |
+
<title>About Menu Item</title>
|
38 |
+
</about>
|
39 |
+
</children>
|
40 |
+
</lbs71>
|
41 |
+
</children>
|
42 |
+
</admin>
|
43 |
+
</resources>
|
44 |
+
</acl>
|
45 |
+
|
46 |
+
</config>
|
app/code/community/lbs71/Adminrefunds/etc/config.xml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Lbs71_Adminrefunds>
|
5 |
+
<version>1.0.0</version>
|
6 |
+
</Lbs71_Adminrefunds>
|
7 |
+
</modules>
|
8 |
+
<admin>
|
9 |
+
<routers>
|
10 |
+
<adminhtml>
|
11 |
+
<args>
|
12 |
+
<modules>
|
13 |
+
<Lbs71_Adminrefunds after="Mage_Adminhtml">Lbs71_Adminrefunds</Lbs71_Adminrefunds>
|
14 |
+
</modules>
|
15 |
+
</args>
|
16 |
+
</adminhtml>
|
17 |
+
</routers>
|
18 |
+
</admin>
|
19 |
+
|
20 |
+
<global>
|
21 |
+
<helpers>
|
22 |
+
<lbs71_adminrefunds>
|
23 |
+
<class>Lbs71_Adminrefunds_Helper</class>
|
24 |
+
</lbs71_adminrefunds>
|
25 |
+
</helpers>
|
26 |
+
</global>
|
27 |
+
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>lbs71</name>
|
4 |
-
<version>0.1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
@@ -11,8 +11,8 @@
|
|
11 |
<notes>First Version of 71lbs magento extension</notes>
|
12 |
<authors><author><name>Jose</name><user>jose</user><email>jose@71lbs.com</email></author></authors>
|
13 |
<date>2013-09-23</date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="adminrefunds"><file name="about.phtml" hash="bdef28c10b8e35233315a60c0bea8fcf"/><file name="loginform.phtml" hash="6b1a1c577af19f92ec957d487fdfc7b0"/><file name="refunds.phtml" hash="a21d36d3f491cfd9732cfe4cf51fd649"/></dir></dir><dir name="layout"><file name="lbs71_refunds.xml" hash="e51300247881edf596bb80c0dee3080a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Lbs71_Adminrefunds.xml" hash="ce98574fb38a544d2ea26c9e0243bcdd"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>5.4.16</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>lbs71</name>
|
4 |
+
<version>0.1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
11 |
<notes>First Version of 71lbs magento extension</notes>
|
12 |
<authors><author><name>Jose</name><user>jose</user><email>jose@71lbs.com</email></author></authors>
|
13 |
<date>2013-09-23</date>
|
14 |
+
<time>17:10:53</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="lbs71"><dir name="Adminrefunds"><dir name="Helper"><file name="Data.php" hash="f67bbcee1a0dc3ae098f1be7dbe8b8dd"/></dir><dir name="controllers"><file name="AdminRefundsController.php" hash="e34be3af35557f01cde71bba3155d1b7"/></dir><dir name="etc"><file name="adminhtml.xml" hash="55ce2355972a6f5f291866632e58f5a9"/><file name="config.xml" hash="2973fe59a6d8bbfd4b7f5d4ef11a175c"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="adminrefunds"><file name="about.phtml" hash="bdef28c10b8e35233315a60c0bea8fcf"/><file name="loginform.phtml" hash="6b1a1c577af19f92ec957d487fdfc7b0"/><file name="refunds.phtml" hash="a21d36d3f491cfd9732cfe4cf51fd649"/></dir></dir><dir name="layout"><file name="lbs71_refunds.xml" hash="e51300247881edf596bb80c0dee3080a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Lbs71_Adminrefunds.xml" hash="ce98574fb38a544d2ea26c9e0243bcdd"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>5.4.16</max></php></required></dependencies>
|
18 |
</package>
|