forkel_bars - Version 1.0.2

Version Notes

===== 1.0.2 =====
* Wrong XML syntax in bars.xml.
* Simplified main.js with pure JavaScript. No Prototype anymore.
* Minimized main.js
* Hide bar until DOM is loaded.

===== 1.0.1 =====
* Display each notification bar for a specific admin user role.

===== 1.0.0 =====
* Initial version of this module

Download this release

Release Info

Developer Tobias Forkel
Extension forkel_bars
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/community/Forkel/Bars/Changelog.txt CHANGED
@@ -7,6 +7,12 @@
7
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
  */
9
 
 
 
 
 
 
 
10
  ===== 1.0.1 =====
11
  * Display each notification bar for a specific admin user role.
12
 
7
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
  */
9
 
10
+ ===== 1.0.2 =====
11
+ * Wrong XML syntax in bars.xml.
12
+ * Simplified main.js with pure JavaScript. No Prototype anymore.
13
+ * Minimized main.js
14
+ * Hide bar until DOM is loaded.
15
+
16
  ===== 1.0.1 =====
17
  * Display each notification bar for a specific admin user role.
18
 
app/code/community/Forkel/Bars/etc/config.xml CHANGED
@@ -13,7 +13,7 @@
13
  <config>
14
  <modules>
15
  <Forkel_Bars>
16
- <version>1.0.1</version>
17
  </Forkel_Bars>
18
  </modules>
19
  <global>
13
  <config>
14
  <modules>
15
  <Forkel_Bars>
16
+ <version>1.0.2</version>
17
  </Forkel_Bars>
18
  </modules>
19
  <global>
app/design/adminhtml/default/default/layout/forkel/bars.xml CHANGED
@@ -2,7 +2,7 @@
2
  <layout>
3
  <default>
4
  <reference name="head">
5
- <action method="addJs"><script>community/forkel_bars/main.js"></script></action>
6
  </reference>
7
  <reference name="notifications">
8
  <block type="forkel_bars/adminhtml_notification" before="notification_window" name="forkel_bars_adminhtml_notification" template="forkel/bars/adminhtml/notification.phtml" />
2
  <layout>
3
  <default>
4
  <reference name="head">
5
+ <action method="addJs"><script>community/forkel_bars/main.min.js</script></action>
6
  </reference>
7
  <reference name="notifications">
8
  <block type="forkel_bars/adminhtml_notification" before="notification_window" name="forkel_bars_adminhtml_notification" template="forkel/bars/adminhtml/notification.phtml" />
app/design/adminhtml/default/default/template/forkel/bars/adminhtml/notification.phtml CHANGED
@@ -4,6 +4,7 @@
4
 
5
  <style>
6
  #forkel_bars_adminhtml_notification {
 
7
  color: <?php echo $notification->getColor() ?>;
8
  overflow: hidden;
9
  font-size: 1.2em;
@@ -26,3 +27,4 @@
26
  </div>
27
 
28
  <?php endif; ?>
 
4
 
5
  <style>
6
  #forkel_bars_adminhtml_notification {
7
+ display: none;
8
  color: <?php echo $notification->getColor() ?>;
9
  overflow: hidden;
10
  font-size: 1.2em;
27
  </div>
28
 
29
  <?php endif; ?>
30
+
js/community/forkel_bars/main.js DELETED
@@ -1,3 +0,0 @@
1
- document.observe('dom:loaded', function() {
2
- $$('.header').first().insert({ before: $$('#forkel_bars_adminhtml_notification').first() });
3
- });
 
 
 
js/community/forkel_bars/main.min.js ADDED
@@ -0,0 +1 @@
 
1
+ document.observe('dom:loaded',function(){var e=document.body,o=document.getElementById('forkel_bars_adminhtml_notification');e.insertBefore(o,e.firstChild),o.style.display='block'});
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>forkel_bars</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/OSL-3.0">Open Software License v. 3.0 (OSL-3.0)</license>
7
  <channel>community</channel>
@@ -61,15 +61,21 @@
61
  &#xD;
62
  &lt;h3&gt;Support&lt;/h3&gt;&#xD;
63
  &lt;p&gt;This module is provided as-is with no warranty or support. Purchase a Warranty and Support Package on &lt;a href="http://www.tobiasforkel.de"&gt;http://www.tobiasforkel.de&lt;/a&gt; starting from $50.&lt;/p&gt;</description>
64
- <notes>===== 1.0.1 =====&#xD;
 
 
 
 
 
 
65
  * Display each notification bar for a specific admin user role.&#xD;
66
  &#xD;
67
  ===== 1.0.0 =====&#xD;
68
  * Initial version of this module</notes>
69
  <authors><author><name>Tobias Forkel</name><user>tforkel</user><email>magento@tobiasforkel.de</email></author></authors>
70
- <date>2016-01-04</date>
71
- <time>21:01:14</time>
72
- <contents><target name="magecommunity"><dir name="Forkel"><dir name="Bars"><dir name="Block"><dir name="Adminhtml"><dir name="Index"><dir name="Edit"><file name="Form.php" hash="98183881e27d929e1a5b43aaaecd611c"/></dir><file name="Edit.php" hash="0103c7c1c3459fce8605ed20abbd6e78"/><file name="Grid.php" hash="5a2dbf65cda4161d3b4d077302ec2e9f"/></dir><file name="Index.php" hash="525509035f5c44c2d8adc0967a052415"/><file name="Notification.php" hash="0dcf5550a6838bbcbce1fed5bfb501f4"/><dir name="Server"><dir name="Edit"><file name="Form.php" hash="a8ff7f4a34ce5102188317b863bdeda6"/></dir><file name="Edit.php" hash="27810453296f514b1f381dbb1841ce43"/><file name="Grid.php" hash="8a70811620d424cfe3a4c162024a1d13"/></dir><file name="Server.php" hash="c993f4e4212e3b3ca3513ebb501def4a"/></dir></dir><file name="Changelog.txt" hash="649f1a2bb472938650ac3576fbe2a89b"/><dir name="controllers"><dir name="Adminhtml"><dir name="Forkel"><dir name="Bars"><file name="IndexController.php" hash="c6caff3224fd46a067e92b2a69e6f3fe"/><file name="ServerController.php" hash="1da8c0ef1465fdad96aaed34a74818ee"/></dir></dir></dir></dir><dir name="data"><dir name="forkel_bars_setup"><file name="data-install-1.0.0.php" hash="aa5f4bfd3543c266eb498890e42397a0"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8731d3ad2f9ebc933f327f73d4332922"/><file name="config.xml" hash="f6756cc9bd5c7dded5913902ed646d21"/></dir><dir name="Helper"><file name="Data.php" hash="3db6cae062e3ea960b0095ce25608202"/></dir><dir name="Model"><file name="Index.php" hash="4dd69936a248504bbf28d2ea4f672093"/><dir name="Resource"><dir name="Index"><file name="Collection.php" hash="1c9b8c4157f07777058eea128c683426"/></dir><file name="Index.php" hash="16f51afe18dba2f4bf1146ae1bf2a73a"/><dir name="Server"><file name="Collection.php" hash="da06239337f1b586285df29fd308200e"/></dir><file name="Server.php" hash="11141fe5a4646eda013b85e2e1ec7d07"/></dir><file name="Roles.php" hash="037b30f230e133eb28f73bcb44b7a7db"/><file name="Server.php" hash="1b373759e53211ad488d2b5bf1ba2344"/></dir><dir name="sql"><dir name="forkel_bars_setup"><file name="install-1.0.0.php" hash="ca8634919a6ed6221172f81b2613a416"/><file name="upgrade-1.0.0-1.0.1.php" hash="f0c2d80d5b645570758b42aa744a45b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="forkel"><file name="bars.xml" hash="906e48ef8ad9dd4cf2bb21f46ca7cf24"/></dir></dir><dir name="template"><dir name="forkel"><dir name="bars"><dir><dir name="adminhtml"><file name="notification.phtml" hash="e2e7540c99badb581da8cf7aa1d44b78"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Forkel_Bars.xml" hash="1b36f833bbcf2b4061f775a0a95dbdfe"/></dir></target><target name="mage"><dir name="js"><dir name="community"><dir name="forkel_bars"><file name="main.js" hash="475948c3771853ead0aecca7c229776a"/></dir></dir></dir></target><target name="magelocal"><dir name="de_DE"><file name="Forkel_Bars.csv" hash=""/></dir><dir name="en_US"><file name="Forkel_Bars.csv" hash=""/></dir></target></contents>
73
  <compatible/>
74
  <dependencies><required><php><min>5.4.0</min><max>5.6.16</max></php></required></dependencies>
75
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>forkel_bars</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/OSL-3.0">Open Software License v. 3.0 (OSL-3.0)</license>
7
  <channel>community</channel>
61
  &#xD;
62
  &lt;h3&gt;Support&lt;/h3&gt;&#xD;
63
  &lt;p&gt;This module is provided as-is with no warranty or support. Purchase a Warranty and Support Package on &lt;a href="http://www.tobiasforkel.de"&gt;http://www.tobiasforkel.de&lt;/a&gt; starting from $50.&lt;/p&gt;</description>
64
+ <notes>===== 1.0.2 =====&#xD;
65
+ * Wrong XML syntax in bars.xml.&#xD;
66
+ * Simplified main.js with pure JavaScript. No Prototype anymore.&#xD;
67
+ * Minimized main.js&#xD;
68
+ * Hide bar until DOM is loaded.&#xD;
69
+ &#xD;
70
+ ===== 1.0.1 =====&#xD;
71
  * Display each notification bar for a specific admin user role.&#xD;
72
  &#xD;
73
  ===== 1.0.0 =====&#xD;
74
  * Initial version of this module</notes>
75
  <authors><author><name>Tobias Forkel</name><user>tforkel</user><email>magento@tobiasforkel.de</email></author></authors>
76
+ <date>2016-03-19</date>
77
+ <time>05:50:58</time>
78
+ <contents><target name="magecommunity"><dir name="Forkel"><dir name="Bars"><dir name="Block"><dir name="Adminhtml"><dir name="Index"><dir name="Edit"><file name="Form.php" hash="98183881e27d929e1a5b43aaaecd611c"/></dir><file name="Edit.php" hash="0103c7c1c3459fce8605ed20abbd6e78"/><file name="Grid.php" hash="5a2dbf65cda4161d3b4d077302ec2e9f"/></dir><file name="Index.php" hash="525509035f5c44c2d8adc0967a052415"/><file name="Notification.php" hash="0dcf5550a6838bbcbce1fed5bfb501f4"/><dir name="Server"><dir name="Edit"><file name="Form.php" hash="a8ff7f4a34ce5102188317b863bdeda6"/></dir><file name="Edit.php" hash="27810453296f514b1f381dbb1841ce43"/><file name="Grid.php" hash="8a70811620d424cfe3a4c162024a1d13"/></dir><file name="Server.php" hash="c993f4e4212e3b3ca3513ebb501def4a"/></dir></dir><file name="Changelog.txt" hash="5d62558c7c578ca87067541056b0059a"/><dir name="controllers"><dir name="Adminhtml"><dir name="Forkel"><dir name="Bars"><file name="IndexController.php" hash="c6caff3224fd46a067e92b2a69e6f3fe"/><file name="ServerController.php" hash="1da8c0ef1465fdad96aaed34a74818ee"/></dir></dir></dir></dir><dir name="data"><dir name="forkel_bars_setup"><file name="data-install-1.0.0.php" hash="aa5f4bfd3543c266eb498890e42397a0"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8731d3ad2f9ebc933f327f73d4332922"/><file name="config.xml" hash="b1c3544faad45862fb47ffd92d4e9595"/></dir><dir name="Helper"><file name="Data.php" hash="3db6cae062e3ea960b0095ce25608202"/></dir><dir name="Model"><file name="Index.php" hash="4dd69936a248504bbf28d2ea4f672093"/><dir name="Resource"><dir name="Index"><file name="Collection.php" hash="1c9b8c4157f07777058eea128c683426"/></dir><file name="Index.php" hash="16f51afe18dba2f4bf1146ae1bf2a73a"/><dir name="Server"><file name="Collection.php" hash="da06239337f1b586285df29fd308200e"/></dir><file name="Server.php" hash="11141fe5a4646eda013b85e2e1ec7d07"/></dir><file name="Roles.php" hash="037b30f230e133eb28f73bcb44b7a7db"/><file name="Server.php" hash="1b373759e53211ad488d2b5bf1ba2344"/></dir><dir name="sql"><dir name="forkel_bars_setup"><file name="install-1.0.0.php" hash="ca8634919a6ed6221172f81b2613a416"/><file name="upgrade-1.0.0-1.0.1.php" hash="f0c2d80d5b645570758b42aa744a45b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="forkel"><file name="bars.xml" hash="976b594a70575c0a47ecaeee6d770abf"/></dir></dir><dir name="template"><dir name="forkel"><dir name="bars"><dir><dir name="adminhtml"><file name="notification.phtml" hash="f9109b4d316832790926df436ca61cb4"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Forkel_Bars.xml" hash="1b36f833bbcf2b4061f775a0a95dbdfe"/></dir></target><target name="mage"><dir name="js"><dir name="community"><dir name="forkel_bars"><file name="main.min.js" hash="9fc965c32ea6ad226f4add7c4ddaae11"/></dir></dir></dir></target><target name="magelocal"><dir name="de_DE"><file name="Forkel_Bars.csv" hash=""/></dir><dir name="en_US"><file name="Forkel_Bars.csv" hash=""/></dir></target></contents>
79
  <compatible/>
80
  <dependencies><required><php><min>5.4.0</min><max>5.6.16</max></php></required></dependencies>
81
  </package>