Admin_Bar_Greeting_To_Maori - Version 1.0.0

Version Notes

Initial Release

Download this release

Release Info

Developer Duncan Jones
Extension Admin_Bar_Greeting_To_Maori
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

Admin_Bar_Greeting_To_Maori-1.0.0/app/code/community/ROIMarketing/AdminBarGreetingToMaori/etc/config.xml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * DISCLAIMER
5
+ *
6
+ * Do not edit or add to this file if you wish to upgrade to newer
7
+ * versions in the future.
8
+ *
9
+ * @category ROIMarketing
10
+ * @package AdminBarGreetingToMaori
11
+ * @copyright Copyright (c) 2014 ROIMarketing (http://www.roimarketing.co.nz)
12
+ * @contacts info@roimarketing.co.nz
13
+ */
14
+ -->
15
+ <config>
16
+ <modules>
17
+ <ROIMarketing_AdminBarGreetingToMaori>
18
+ <name>AdminBarGreetingToMaori</name>
19
+ <version>1.0.0</version>
20
+ </ROIMarketing_AdminBarGreetingToMaori>
21
+ </modules>
22
+ <adminhtml>
23
+ <layout>
24
+ <updates>
25
+ <ROIMarketing_AdminBarGreetingToMaori>
26
+ <file>roimarketing_adminbargreetingtomaori.xml</file>
27
+ </ROIMarketing_AdminBarGreetingToMaori>
28
+ </updates>
29
+ </layout>
30
+ </adminhtml>
31
+ </config>
Admin_Bar_Greeting_To_Maori-1.0.0/app/design/adminhtml/default/default/layout/roimarketing_adminbargreetingtomaori.xml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * DISCLAIMER
5
+ *
6
+ * Do not edit or add to this file if you wish to upgrade to newer
7
+ * versions in the future.
8
+ *
9
+ * @category ROIMarketing
10
+ * @package AdminBarGreetingToMaori
11
+ * @copyright Copyright (c) 2014 ROIMarketing (http://www.roimarketing.co.nz)
12
+ * @contacts info@roimarketing.co.nz
13
+ */
14
+ -->
15
+ <layout>
16
+ <default>
17
+ <reference name="root">
18
+ <block type="adminhtml/page_header" name="header" as="header">
19
+ <action method="setTemplate">
20
+ <template>roimarketing_adminbargreetingtomaori/header.phtml</template>
21
+ </action>
22
+ </block>
23
+ </reference>
24
+ </default>
25
+ </layout>
Admin_Bar_Greeting_To_Maori-1.0.0/app/design/adminhtml/default/default/template/roimarketing_adminbargreetingtomaori/header.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 default_default
23
+ * @copyright Copyright (c) 2013 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
+ /** @var $this Mage_Adminhtml_Block_Page_Header */
28
+ ?>
29
+ <div class="header-top">
30
+ <a href="<?php echo $this->getHomeLink() ?>"><img src="<?php echo $this->getSkinUrl('images/logo.gif') ?>" alt="<?php echo $this->__('Magento Logo') ?>" class="logo"/></a>
31
+ <div class="header-right">
32
+ <p class="super">
33
+ <img style="position: relative; top: 5px;" src="<?php echo $this->getSkinUrl('images/roimarketing_adminbargreetingtomaori/flag.png') ?>"
34
+ <span class="separator"/>
35
+ <?php echo $this->__("Kia Ora, %s", $this->escapeHtml($this->getUser()->getUsername())) ?><span class="separator">|</span><?php echo $this->formatDate(null, 'full') ?><span class="separator">|</span><a href="http://golinks.magento.com/CE15" onclick="this.target='_blank'" class="go-try"><?php echo $this->__('Try Magento Go for Free') ?></a><span class="separator">|</span><a href="<?php echo $this->getLogoutLink() ?>" class="link-logout"><?php echo $this->__('Log Out') ?></a>
36
+ </p>
37
+ <?php if ( Mage::getSingleton('admin/session')->isAllowed('admin/global_search') ): ?>
38
+ <fieldset>
39
+ <legend>Search</legend>
40
+ <span id="global_search_indicator" class="autocomplete-indicator" style="display: none">
41
+ <img src="<?php echo $this->getSkinUrl('images/ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading...') ?>" class="v-middle"/>
42
+ </span>
43
+ <?php $defSearch = $this->__('Global Record Search') ?>
44
+ <input id="global_search" name="query" type="text" class="input-text" value="<?php if(!empty($query)): ?><?php echo $query ?><?php else: ?><?php echo $defSearch ?><?php endif ?>" onfocus="if(this.value=='<?php echo $defSearch ?>')this.value=''; " onblur="if(this.value=='')this.value='<?php echo $defSearch ?>';" />
45
+ <div id="global_search_autocomplete" class="autocomplete"></div>
46
+ <script type="text/javascript">
47
+ new Ajax.Autocompleter(
48
+ 'global_search',
49
+ 'global_search_autocomplete',
50
+ '<?php echo $this->getUrl('adminhtml/index/globalSearch') ?>',
51
+ {
52
+ paramName:"query",
53
+ minChars:2,
54
+ indicator:"global_search_indicator",
55
+ updateElement:getSelectionId,
56
+ evalJSON:'force'
57
+ }
58
+ );
59
+ function getSelectionId(li) {
60
+ location.href = li.getAttribute('url');
61
+ }
62
+ </script>
63
+ </fieldset>
64
+ <?php endif; ?>
65
+ </div>
66
+ </div>
Admin_Bar_Greeting_To_Maori-1.0.0/app/etc/modules/ROIMarketing_AdminBarGreetingToMaori.xml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * DISCLAIMER
5
+ *
6
+ * Do not edit or add to this file if you wish to upgrade to newer
7
+ * versions in the future.
8
+ *
9
+ * @category ROIMarketing
10
+ * @package AdminBarGreetingToMaori
11
+ * @copyright Copyright (c) 2014 ROIMarketing (http://www.roimarketing.co.nz)
12
+ * @contacts info@roimarketing.co.nz
13
+ */
14
+ -->
15
+ <config>
16
+ <modules>
17
+ <ROIMarketing_AdminBarGreetingToMaori>
18
+ <active>true</active>
19
+ <codePool>community</codePool>
20
+ </ROIMarketing_AdminBarGreetingToMaori>
21
+ </modules>
22
+ </config>
Admin_Bar_Greeting_To_Maori-1.0.0/package.xml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Admin_Bar_Greeting_To_Maori</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license>GPLv2 or later</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Change Your Admin Bar Greeting To Maori</summary>
10
+ <description>Simply install this extension and you will instantly be greeted with the Maori greeting of Kia Ora and the current New Zealand flag - a little bit of Kiwiana inside your Magento Admin dashboard.&#xD;
11
+ &#xD;
12
+ Supported Releases: 1.5 &amp; later</description>
13
+ <notes>Initial Release</notes>
14
+ <authors><author><name>ROI Marketing</name><user>roimarketing</user><email>info@roimarketing.co.nz</email></author></authors>
15
+ <date>2014-11-12</date>
16
+ <time>22:06:25</time>
17
+ <contents><target name="magecommunity"><dir name="ROIMarketing"><dir name="AdminBarGreetingToMaori"><dir name="etc"><file name="config.xml" hash="5a1010b9da17204ff9ff15552303f3df"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ROIMarketing_AdminBarGreetingToMaori.xml" hash="4bb29e4ee0f8dfd47b23b65e9b93a18d"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="roimarketing_adminbargreetingtomaori.xml" hash="3c763f2da24ed3516e6e62904368acc0"/></dir><dir name="template"><dir name="roimarketing_adminbargreetingtomaori"><file name="header.phtml" hash="4fc65d742cc24ad3359b912d8a8a2db2"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="roimarketing_adminbargreetingtomaori"><file name="flag.png" hash="3d4234f37c8fde2b7baf859e75a72a9f"/></dir></dir></dir></dir></dir></target></contents>
18
+ <compatible/>
19
+ <dependencies><required><php><min>5.2.0</min><max>5.4.34</max></php></required></dependencies>
20
+ </package>
Admin_Bar_Greeting_To_Maori-1.0.0/skin/adminhtml/default/default/images/roimarketing_adminbargreetingtomaori/flag.png ADDED
Binary file
app/code/community/ROIMarketing/AdminBarGreetingToMaori/etc/config.xml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * DISCLAIMER
5
+ *
6
+ * Do not edit or add to this file if you wish to upgrade to newer
7
+ * versions in the future.
8
+ *
9
+ * @category ROIMarketing
10
+ * @package AdminBarGreetingToMaori
11
+ * @copyright Copyright (c) 2014 ROIMarketing (http://www.roimarketing.co.nz)
12
+ * @contacts info@roimarketing.co.nz
13
+ */
14
+ -->
15
+ <config>
16
+ <modules>
17
+ <ROIMarketing_AdminBarGreetingToMaori>
18
+ <name>AdminBarGreetingToMaori</name>
19
+ <version>1.0.0</version>
20
+ </ROIMarketing_AdminBarGreetingToMaori>
21
+ </modules>
22
+ <adminhtml>
23
+ <layout>
24
+ <updates>
25
+ <ROIMarketing_AdminBarGreetingToMaori>
26
+ <file>roimarketing_adminbargreetingtomaori.xml</file>
27
+ </ROIMarketing_AdminBarGreetingToMaori>
28
+ </updates>
29
+ </layout>
30
+ </adminhtml>
31
+ </config>
app/design/adminhtml/default/default/layout/roimarketing_adminbargreetingtomaori.xml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * DISCLAIMER
5
+ *
6
+ * Do not edit or add to this file if you wish to upgrade to newer
7
+ * versions in the future.
8
+ *
9
+ * @category ROIMarketing
10
+ * @package AdminBarGreetingToMaori
11
+ * @copyright Copyright (c) 2014 ROIMarketing (http://www.roimarketing.co.nz)
12
+ * @contacts info@roimarketing.co.nz
13
+ */
14
+ -->
15
+ <layout>
16
+ <default>
17
+ <reference name="root">
18
+ <block type="adminhtml/page_header" name="header" as="header">
19
+ <action method="setTemplate">
20
+ <template>roimarketing_adminbargreetingtomaori/header.phtml</template>
21
+ </action>
22
+ </block>
23
+ </reference>
24
+ </default>
25
+ </layout>
app/design/adminhtml/default/default/template/roimarketing_adminbargreetingtomaori/header.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 default_default
23
+ * @copyright Copyright (c) 2013 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
+ /** @var $this Mage_Adminhtml_Block_Page_Header */
28
+ ?>
29
+ <div class="header-top">
30
+ <a href="<?php echo $this->getHomeLink() ?>"><img src="<?php echo $this->getSkinUrl('images/logo.gif') ?>" alt="<?php echo $this->__('Magento Logo') ?>" class="logo"/></a>
31
+ <div class="header-right">
32
+ <p class="super">
33
+ <img style="position: relative; top: 5px;" src="<?php echo $this->getSkinUrl('images/roimarketing_adminbargreetingtomaori/flag.png') ?>"
34
+ <span class="separator"/>
35
+ <?php echo $this->__("Kia Ora, %s", $this->escapeHtml($this->getUser()->getUsername())) ?><span class="separator">|</span><?php echo $this->formatDate(null, 'full') ?><span class="separator">|</span><a href="http://golinks.magento.com/CE15" onclick="this.target='_blank'" class="go-try"><?php echo $this->__('Try Magento Go for Free') ?></a><span class="separator">|</span><a href="<?php echo $this->getLogoutLink() ?>" class="link-logout"><?php echo $this->__('Log Out') ?></a>
36
+ </p>
37
+ <?php if ( Mage::getSingleton('admin/session')->isAllowed('admin/global_search') ): ?>
38
+ <fieldset>
39
+ <legend>Search</legend>
40
+ <span id="global_search_indicator" class="autocomplete-indicator" style="display: none">
41
+ <img src="<?php echo $this->getSkinUrl('images/ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading...') ?>" class="v-middle"/>
42
+ </span>
43
+ <?php $defSearch = $this->__('Global Record Search') ?>
44
+ <input id="global_search" name="query" type="text" class="input-text" value="<?php if(!empty($query)): ?><?php echo $query ?><?php else: ?><?php echo $defSearch ?><?php endif ?>" onfocus="if(this.value=='<?php echo $defSearch ?>')this.value=''; " onblur="if(this.value=='')this.value='<?php echo $defSearch ?>';" />
45
+ <div id="global_search_autocomplete" class="autocomplete"></div>
46
+ <script type="text/javascript">
47
+ new Ajax.Autocompleter(
48
+ 'global_search',
49
+ 'global_search_autocomplete',
50
+ '<?php echo $this->getUrl('adminhtml/index/globalSearch') ?>',
51
+ {
52
+ paramName:"query",
53
+ minChars:2,
54
+ indicator:"global_search_indicator",
55
+ updateElement:getSelectionId,
56
+ evalJSON:'force'
57
+ }
58
+ );
59
+ function getSelectionId(li) {
60
+ location.href = li.getAttribute('url');
61
+ }
62
+ </script>
63
+ </fieldset>
64
+ <?php endif; ?>
65
+ </div>
66
+ </div>
app/etc/modules/ROIMarketing_AdminBarGreetingToMaori.xml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * DISCLAIMER
5
+ *
6
+ * Do not edit or add to this file if you wish to upgrade to newer
7
+ * versions in the future.
8
+ *
9
+ * @category ROIMarketing
10
+ * @package AdminBarGreetingToMaori
11
+ * @copyright Copyright (c) 2014 ROIMarketing (http://www.roimarketing.co.nz)
12
+ * @contacts info@roimarketing.co.nz
13
+ */
14
+ -->
15
+ <config>
16
+ <modules>
17
+ <ROIMarketing_AdminBarGreetingToMaori>
18
+ <active>true</active>
19
+ <codePool>community</codePool>
20
+ </ROIMarketing_AdminBarGreetingToMaori>
21
+ </modules>
22
+ </config>
package.xml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Admin_Bar_Greeting_To_Maori</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license>GPLv2 or later</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Change Your Admin Bar Greeting To Maori</summary>
10
+ <description>Simply install this extension and you will instantly be greeted with the Maori greeting of Kia Ora and the current New Zealand flag - a little bit of Kiwiana inside your Magento Admin dashboard.&#xD;
11
+ &#xD;
12
+ Supported Releases: 1.5 &amp; later</description>
13
+ <notes>Initial Release</notes>
14
+ <authors><author><name>Duncan Jones</name><user>DuncanJones</user><email>info@roimarketing.co.nz</email></author></authors>
15
+ <date>2014-11-12</date>
16
+ <time>22:06:25</time>
17
+ <contents><target name="magecommunity"><dir name="ROIMarketing"><dir name="AdminBarGreetingToMaori"><dir name="etc"><file name="config.xml" hash="5a1010b9da17204ff9ff15552303f3df"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ROIMarketing_AdminBarGreetingToMaori.xml" hash="4bb29e4ee0f8dfd47b23b65e9b93a18d"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="roimarketing_adminbargreetingtomaori.xml" hash="3c763f2da24ed3516e6e62904368acc0"/></dir><dir name="template"><dir name="roimarketing_adminbargreetingtomaori"><file name="header.phtml" hash="4fc65d742cc24ad3359b912d8a8a2db2"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="roimarketing_adminbargreetingtomaori"><file name="flag.png" hash="3d4234f37c8fde2b7baf859e75a72a9f"/></dir></dir></dir></dir></dir></target></contents>
18
+ <compatible/>
19
+ <dependencies><required><php><min>5.2.0</min><max>5.4.34</max></php></required></dependencies>
20
+ </package>
skin/adminhtml/default/default/images/roimarketing_adminbargreetingtomaori/flag.png ADDED
Binary file