Version Notes
Itwin One
Download this release
Release Info
| Developer | André Luiz Faustino |
| Extension | Itwin_One |
| Version | 0.0.1 |
| Comparing to | |
| See all releases | |
Version 0.0.1
- app/code/local/Itwin/One/Block/Adminhtml/Onebackend.php +5 -0
- app/code/local/Itwin/One/Helper/Data.php +7 -0
- app/code/local/Itwin/One/controllers/Adminhtml/OnebackendController.php +10 -0
- app/code/local/Itwin/One/etc/config.xml +76 -0
- app/design/adminhtml/default/default/layout/one.xml +8 -0
- app/etc/modules/Itwin_One.xml +10 -0
- package.xml +18 -0
app/code/local/Itwin/One/Block/Adminhtml/Onebackend.php
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
class Itwin_One_Block_Adminhtml_Onebackend extends Mage_Adminhtml_Block_Template {
|
| 4 |
+
|
| 5 |
+
}
|
app/code/local/Itwin/One/Helper/Data.php
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
class Itwin_One_Helper_Data extends Mage_Core_Helper_Abstract
|
| 4 |
+
{
|
| 5 |
+
|
| 6 |
+
}
|
| 7 |
+
|
app/code/local/Itwin/One/controllers/Adminhtml/OnebackendController.php
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Itwin_One_Adminhtml_OnebackendController extends Mage_Adminhtml_Controller_Action
|
| 3 |
+
{
|
| 4 |
+
public function indexAction()
|
| 5 |
+
{
|
| 6 |
+
$this->loadLayout();
|
| 7 |
+
$this->_title($this->__("Backend Page Title"));
|
| 8 |
+
$this->renderLayout();
|
| 9 |
+
}
|
| 10 |
+
}
|
app/code/local/Itwin/One/etc/config.xml
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<config>
|
| 3 |
+
<modules>
|
| 4 |
+
<Itwin_One>
|
| 5 |
+
<version>0.0.1</version>
|
| 6 |
+
</Itwin_One>
|
| 7 |
+
</modules>
|
| 8 |
+
|
| 9 |
+
<global>
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
<helpers>
|
| 14 |
+
<one>
|
| 15 |
+
<class>Itwin_One_Helper</class>
|
| 16 |
+
</one>
|
| 17 |
+
</helpers>
|
| 18 |
+
|
| 19 |
+
<blocks><one><class>Itwin_One_Block</class></one></blocks>
|
| 20 |
+
</global>
|
| 21 |
+
<admin>
|
| 22 |
+
<routers>
|
| 23 |
+
<one>
|
| 24 |
+
<use>admin</use>
|
| 25 |
+
<args>
|
| 26 |
+
<module>Itwin_One</module>
|
| 27 |
+
<frontName>one</frontName>
|
| 28 |
+
</args>
|
| 29 |
+
</one>
|
| 30 |
+
</routers>
|
| 31 |
+
</admin><adminhtml>
|
| 32 |
+
<menu>
|
| 33 |
+
<one module="one">
|
| 34 |
+
<title>One</title>
|
| 35 |
+
<sort_order>100</sort_order>
|
| 36 |
+
<children>
|
| 37 |
+
<onebackend module="one">
|
| 38 |
+
<title>Backend Page Title</title>
|
| 39 |
+
<sort_order>0</sort_order>
|
| 40 |
+
<action>one/adminhtml_onebackend</action>
|
| 41 |
+
</onebackend>
|
| 42 |
+
</children>
|
| 43 |
+
</one>
|
| 44 |
+
</menu>
|
| 45 |
+
<acl>
|
| 46 |
+
<resources>
|
| 47 |
+
<all>
|
| 48 |
+
<title>Allow Everything</title>
|
| 49 |
+
</all>
|
| 50 |
+
<admin>
|
| 51 |
+
<children>
|
| 52 |
+
<one translate="title" module="one">
|
| 53 |
+
<title>One</title>
|
| 54 |
+
<sort_order>1000</sort_order>
|
| 55 |
+
<children>
|
| 56 |
+
<onebackend translate="title">
|
| 57 |
+
<title>Backend Page Title</title>
|
| 58 |
+
</onebackend>
|
| 59 |
+
</children>
|
| 60 |
+
</one>
|
| 61 |
+
</children>
|
| 62 |
+
</admin>
|
| 63 |
+
|
| 64 |
+
</resources>
|
| 65 |
+
</acl>
|
| 66 |
+
|
| 67 |
+
<layout>
|
| 68 |
+
<updates>
|
| 69 |
+
<one>
|
| 70 |
+
<file>one.xml</file>
|
| 71 |
+
</one>
|
| 72 |
+
</updates>
|
| 73 |
+
</layout>
|
| 74 |
+
</adminhtml>
|
| 75 |
+
|
| 76 |
+
</config>
|
app/design/adminhtml/default/default/layout/one.xml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<layout version="0.1.0">
|
| 3 |
+
<one_adminhtml_onebackend_index>
|
| 4 |
+
<reference name="content">
|
| 5 |
+
<block type="one/adminhtml_onebackend" name="onebackend" template="one/onebackend.phtml"/>
|
| 6 |
+
</reference>
|
| 7 |
+
</one_adminhtml_onebackend_index>
|
| 8 |
+
</layout>
|
app/etc/modules/Itwin_One.xml
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<config>
|
| 3 |
+
<modules>
|
| 4 |
+
<Itwin_One>
|
| 5 |
+
<active>true</active>
|
| 6 |
+
<codePool>local</codePool>
|
| 7 |
+
<version>0.0.1</version>
|
| 8 |
+
</Itwin_One>
|
| 9 |
+
</modules>
|
| 10 |
+
</config>
|
package.xml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<package>
|
| 3 |
+
<name>Itwin_One</name>
|
| 4 |
+
<version>0.0.1</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>
|
| 8 |
+
<extends/>
|
| 9 |
+
<summary>Itwin One</summary>
|
| 10 |
+
<description>Itwin One</description>
|
| 11 |
+
<notes>Itwin One</notes>
|
| 12 |
+
<authors><author><name>André Luiz Faustino</name><user>andreluizfsantos</user><email>andreluizfsantos@hotmail.com</email></author></authors>
|
| 13 |
+
<date>2011-12-09</date>
|
| 14 |
+
<time>16:55:49</time>
|
| 15 |
+
<contents><target name="magelocal"><dir name="Itwin"><dir name="One"><dir name="Block"><dir name="Adminhtml"><file name="Onebackend.php" hash="80a3715381c766166ca79d457be621da"/></dir></dir><dir name="Helper"><file name="Data.php" hash="e6fd4e36f828a062ceef124143a5a281"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="OnebackendController.php" hash="e809eecbf4f9fb29b8a5021d550cd58d"/></dir></dir><dir name="etc"><file name="config.xml" hash="2661563c9c1bb88ed3755afc6a674024"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Itwin_One.xml" hash="4f8d050af331111233679323b1e82c65"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><file name="one" hash=""/></dir><dir name="layout"><file name="one.xml" hash="56b2bdd5c08f4faceb3d9a689354c09c"/></dir></dir></dir></dir></target></contents>
|
| 16 |
+
<compatible/>
|
| 17 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
+
</package>
|
