Floating_banner - Version 0.1.6

Version Notes

Floating Banner v0.1.6

Download this release

Release Info

Developer Stanislav
Extension Floating_banner
Version 0.1.6
Comparing to
See all releases


Code changes from version 0.1.4 to 0.1.6

Files changed (40) hide show
  1. app/code/community/{Stasevic → Stasevi4}/Banner/Adminhtml/Model/System/Config/Source/Leftright.php +1 -1
  2. app/code/community/{Stasevic → Stasevi4}/Banner/Adminhtml/Model/System/Config/Source/Linktype.php +1 -2
  3. app/code/community/Stasevi4/Banner/Helper/Data.php +5 -0
  4. app/code/community/{Stasevic → Stasevi4}/Banner/etc/adminhtml.xml +3 -3
  5. app/code/community/Stasevi4/Banner/etc/config.xml +29 -0
  6. app/code/community/{Stasevic → Stasevi4}/Banner/etc/system.xml +46 -45
  7. app/code/community/Stasevic/Banner/Helper/Data.php +0 -7
  8. app/code/community/Stasevic/Banner/etc/config.xml +0 -30
  9. app/design/frontend/{default/default/layout/stasevic-banner.xml → base/default/layout/stasevi4-banner.xml} +2 -2
  10. app/design/frontend/{default/default/template/Stasevic → base/default/template/stasevi4}/floatbanner.phtml +6 -5
  11. app/etc/modules/{stasevic_banner.xml → Stasevi4_banner.xml} +2 -2
  12. media/{stasevic → stasevi4}/default/fb.jpg +0 -0
  13. media/{stasevic → stasevi4}/default/fb_1.jpg +0 -0
  14. media/stasevi4/default/fb_2.jpg +0 -0
  15. media/{stasevic → stasevi4}/default/p.jpg +0 -0
  16. media/{stasevic → stasevi4}/default/p_1.jpg +0 -0
  17. media/{stasevic → stasevi4}/default/tw.jpg +0 -0
  18. media/{stasevic → stasevi4}/default/tw_1.jpg +0 -0
  19. media/stasevi4/default/tw_2.jpg +0 -0
  20. media/stasevic/default/109609.gif +0 -0
  21. media/stasevic/default/109609_1.gif +0 -0
  22. media/stasevic/default/IToys.jpg +0 -0
  23. media/stasevic/default/IToys_1.jpg +0 -0
  24. media/stasevic/default/IToys_2.jpg +0 -0
  25. media/stasevic/default/Picture_5.png +0 -0
  26. media/stasevic/default/Picture_6.png +0 -0
  27. media/stasevic/default/organic.jpg +0 -0
  28. media/stasevic/default/organic_1.jpg +0 -0
  29. media/stasevic/default/organic_2.jpg +0 -0
  30. media/stasevic/default/organic_3.jpg +0 -0
  31. media/stasevic/default/rusknigaicon.jpg +0 -0
  32. media/stasevic/default/rusknigaicon_1.jpg +0 -0
  33. media/stasevic/default/rusknigaicon_2.jpg +0 -0
  34. media/stasevic/default/rusknigaicon_3.jpg +0 -0
  35. media/stasevic/default/rusknigaicon_4.jpg +0 -0
  36. media/stasevic/default/rusknigaicon_5.jpg +0 -0
  37. media/stasevic/default/rusknigaicon_6.jpg +0 -0
  38. media/stasevic/default/rusknigaicon_7.jpg +0 -0
  39. package.xml +5 -5
  40. skin/frontend/{default/default/css/stasevic-banner.css → base/default/css/stasevi4-banner.css} +0 -0
app/code/community/{Stasevic → Stasevi4}/Banner/Adminhtml/Model/System/Config/Source/Leftright.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class Stasevic_Banner_Adminhtml_Model_System_Config_Source_leftright
3
  {
4
  public function toOptionArray()
5
  {
1
  <?php
2
+ class Stasevi4_Banner_Adminhtml_Model_System_Config_Source_leftright
3
  {
4
  public function toOptionArray()
5
  {
app/code/community/{Stasevic → Stasevi4}/Banner/Adminhtml/Model/System/Config/Source/Linktype.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class Stasevic_Banner_Adminhtml_Model_System_Config_Source_Linktype
4
  {
5
  public function toOptionArray()
6
  {
@@ -10,4 +10,3 @@ class Stasevic_Banner_Adminhtml_Model_System_Config_Source_Linktype
10
  );
11
  }
12
  }
13
- ?>
1
  <?php
2
 
3
+ class Stasevi4_Banner_Adminhtml_Model_System_Config_Source_Linktype
4
  {
5
  public function toOptionArray()
6
  {
10
  );
11
  }
12
  }
 
app/code/community/Stasevi4/Banner/Helper/Data.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+
3
+ class Stasevi4_Banner_Helper_Data extends Mage_Core_Helper_Abstract{
4
+
5
+ }
app/code/community/{Stasevic → Stasevi4}/Banner/etc/adminhtml.xml RENAMED
@@ -8,9 +8,9 @@
8
  <children>
9
  <config>
10
  <children>
11
- <stasevic_banner translate="title" module="stasevic_banner">
12
- <title>Configuration Stasevic Banner Section</title>
13
- </stasevic_banner>
14
  </children>
15
  </config>
16
  </children>
8
  <children>
9
  <config>
10
  <children>
11
+ <stasevi4_banner translate="title" module="stasevic_banner">
12
+ <title>Configuration Stasevi4 Banner Section</title>
13
+ </stasevi4_banner>
14
  </children>
15
  </config>
16
  </children>
app/code/community/Stasevi4/Banner/etc/config.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Stasevi4_Banner>
5
+ <version>0.1.6</version>
6
+ </Stasevi4_Banner>
7
+ </modules>
8
+ <global>
9
+ <models>
10
+ <Stasevi4_Banner>
11
+ <class>Stasevi4_Banner_Adminhtml_Model</class>
12
+ </Stasevi4_Banner>
13
+ </models>
14
+ <helpers>
15
+ <stasevi4_banner>
16
+ <class>Stasevi4_Banner_Helper</class>
17
+ </stasevi4_banner>
18
+ </helpers>
19
+ </global>
20
+ <frontend>
21
+ <layout>
22
+ <updates>
23
+ <stasevi4_banner>
24
+ <file>stasevi4-banner.xml</file>
25
+ </stasevi4_banner>
26
+ </updates>
27
+ </layout>
28
+ </frontend>
29
+ </config>
app/code/community/{Stasevic → Stasevi4}/Banner/etc/system.xml RENAMED
@@ -1,13 +1,14 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <config>
3
  <tabs>
4
- <sbanner translate="label" module="stasevic_banner">
5
- <label>Stasevic Moduls</label>
 
6
  </sbanner>
7
  </tabs>
8
 
9
  <sections>
10
- <stasevic_banner translate="label" module="stasevic_banner">
11
  <label>Banner Configuration</label>
12
  <tab>sbanner</tab>
13
  <sort_order>150</sort_order>
@@ -15,40 +16,40 @@
15
  <show_in_website>1</show_in_website>
16
  <show_in_store>1</show_in_store>
17
  <groups>
18
- <general translate="label" module="stasevic_banner">
19
  <label>General Configuration</label>
20
  <sort_order>10</sort_order>
21
  <show_in_default>1</show_in_default>
22
  <fields>
23
- <enabled translate="label">
24
- <label>Enable Stasevic Banner</label>
25
- <frontend_type>select</frontend_type>
26
- <source_model>adminhtml/system_config_source_yesno</source_model>
27
- <sort_order>1</sort_order>
28
- <show_in_default>1</show_in_default>
29
- </enabled>
30
  <bfloat translate="label">
31
- <label>Banner Float</label>
32
- <frontend_type>select</frontend_type>
33
- <source_model>Stasevic_Banner/system_config_source_leftright</source_model>
34
- <sort_order>2</sort_order>
35
- <show_in_default>1</show_in_default>
36
- </bfloat>
37
  <blinktarget translate="label">
38
  <label>Link Target</label>
39
  <frontend_type>select</frontend_type>
40
- <source_model>Stasevic_Banner/system_config_source_linktype</source_model>
41
- <sort_order>5</sort_order>
42
  <show_in_default>1</show_in_default>
43
  </blinktarget>
44
  </fields>
45
  </general>
46
- <images translate="label" module="stasevic_banner">
47
  <label>Banners</label>
48
  <sort_order>20</sort_order>
49
  <show_in_default>1</show_in_default>
50
  <fields>
51
- <image1_link translate="lable" module="stasevic_banner">
52
  <label>Image Number 1 link</label>
53
  <frontend_type>text</frontend_type>
54
  <sort_order>2</sort_order>
@@ -62,12 +63,12 @@
62
  <comment>Allowed file types: jpeg, gif, png.</comment>
63
  <frontend_type>image</frontend_type>
64
  <backend_model>adminhtml/system_config_backend_image</backend_model>
65
- <upload_dir config="system/filesystem/media" scope_info="1">stasevic</upload_dir>
66
- <base_url type="media" scope_info="1">stasevic</base_url>
67
  <sort_order>3</sort_order>
68
  <show_in_default>1</show_in_default>
69
  </image1>
70
- <image2_link translate="lable" module="stasevic_banner">
71
  <label>Image Number 2 link</label>
72
  <frontend_type>text</frontend_type>
73
  <sort_order>4</sort_order>
@@ -78,12 +79,12 @@
78
  <comment>Allowed file types: jpeg, gif, png.</comment>
79
  <frontend_type>image</frontend_type>
80
  <backend_model>adminhtml/system_config_backend_image</backend_model>
81
- <upload_dir config="system/filesystem/media" scope_info="1">stasevic</upload_dir>
82
- <base_url type="media" scope_info="1">stasevic</base_url>
83
  <sort_order>5</sort_order>
84
  <show_in_default>1</show_in_default>
85
  </image2>
86
- <image3_link translate="lable" module="stasevic_banner">
87
  <label>Image Number 3 link</label>
88
  <frontend_type>text</frontend_type>
89
  <sort_order>6</sort_order>
@@ -94,12 +95,12 @@
94
  <comment>Allowed file types: jpeg, gif, png.</comment>
95
  <frontend_type>image</frontend_type>
96
  <backend_model>adminhtml/system_config_backend_image</backend_model>
97
- <upload_dir config="system/filesystem/media" scope_info="1">stasevic</upload_dir>
98
- <base_url type="media" scope_info="1">stasevic</base_url>
99
  <sort_order>7</sort_order>
100
  <show_in_default>1</show_in_default>
101
  </image3>
102
- <image4_link translate="lable" module="stasevic_banner">
103
  <label>Image Number 4 link</label>
104
  <frontend_type>text</frontend_type>
105
  <sort_order>8</sort_order>
@@ -110,12 +111,12 @@
110
  <comment>Allowed file types: jpeg, gif, png.</comment>
111
  <frontend_type>image</frontend_type>
112
  <backend_model>adminhtml/system_config_backend_image</backend_model>
113
- <upload_dir config="system/filesystem/media" scope_info="1">stasevic</upload_dir>
114
- <base_url type="media" scope_info="1">stasevic</base_url>
115
  <sort_order>9</sort_order>
116
  <show_in_default>1</show_in_default>
117
  </image4>
118
- <image5_link translate="lable" module="stasevic_banner">
119
  <label>Image Number 5 link</label>
120
  <frontend_type>text</frontend_type>
121
  <sort_order>10</sort_order>
@@ -126,12 +127,12 @@
126
  <comment>Allowed file types: jpeg, gif, png.</comment>
127
  <frontend_type>image</frontend_type>
128
  <backend_model>adminhtml/system_config_backend_image</backend_model>
129
- <upload_dir config="system/filesystem/media" scope_info="1">stasevic</upload_dir>
130
- <base_url type="media" scope_info="1">stasevic</base_url>
131
  <sort_order>11</sort_order>
132
  <show_in_default>1</show_in_default>
133
  </image5>
134
- <image6_link translate="lable" module="stasevic_banner">
135
  <label>Image Number 6 link</label>
136
  <frontend_type>text</frontend_type>
137
  <sort_order>12</sort_order>
@@ -142,13 +143,13 @@
142
  <comment>Allowed file types: jpeg, gif, png.</comment>
143
  <frontend_type>image</frontend_type>
144
  <backend_model>adminhtml/system_config_backend_image</backend_model>
145
- <upload_dir config="system/filesystem/media" scope_info="1">stasevic</upload_dir>
146
- <base_url type="media" scope_info="1">stasevic</base_url>
147
  <sort_order>13</sort_order>
148
  <show_in_default>1</show_in_default>
149
  </image6>
150
 
151
- <image7_link translate="lable" module="stasevic_banner">
152
  <label>Image Number 7 link</label>
153
  <frontend_type>text</frontend_type>
154
  <sort_order>14</sort_order>
@@ -159,13 +160,13 @@
159
  <comment>Allowed file types: jpeg, gif, png.</comment>
160
  <frontend_type>image</frontend_type>
161
  <backend_model>adminhtml/system_config_backend_image</backend_model>
162
- <upload_dir config="system/filesystem/media" scope_info="1">stasevic</upload_dir>
163
- <base_url type="media" scope_info="1">stasevic</base_url>
164
  <sort_order>15</sort_order>
165
  <show_in_default>1</show_in_default>
166
  </image7>
167
 
168
- <image8_link translate="lable" module="stasevic_banner">
169
  <label>Image Number 8 link</label>
170
  <frontend_type>text</frontend_type>
171
  <sort_order>16</sort_order>
@@ -176,8 +177,8 @@
176
  <comment>Allowed file types: jpeg, gif, png.</comment>
177
  <frontend_type>image</frontend_type>
178
  <backend_model>adminhtml/system_config_backend_image</backend_model>
179
- <upload_dir config="system/filesystem/media" scope_info="1">stasevic</upload_dir>
180
- <base_url type="media" scope_info="1">stasevic</base_url>
181
  <sort_order>17</sort_order>
182
  <show_in_default>1</show_in_default>
183
 
@@ -187,6 +188,6 @@
187
  </images>
188
 
189
  </groups>
190
- </stasevic_banner>
191
  </sections>
192
  </config>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <config>
3
  <tabs>
4
+ <sbanner translate="label" module="stasevi4_banner">
5
+ <label>Stasevi4 Moduls</label>
6
+ <sort_order>1005</sort_order>
7
  </sbanner>
8
  </tabs>
9
 
10
  <sections>
11
+ <stasevi4_banner translate="label" module="stasevi4_banner">
12
  <label>Banner Configuration</label>
13
  <tab>sbanner</tab>
14
  <sort_order>150</sort_order>
16
  <show_in_website>1</show_in_website>
17
  <show_in_store>1</show_in_store>
18
  <groups>
19
+ <general translate="label" module="stasevi4_banner">
20
  <label>General Configuration</label>
21
  <sort_order>10</sort_order>
22
  <show_in_default>1</show_in_default>
23
  <fields>
24
+ <sbenable translate="label">
25
+ <label>Enable Stasevi4 Banner</label>
26
+ <frontend_type>select</frontend_type>
27
+ <source_model>adminhtml/system_config_source_yesno</source_model>
28
+ <sort_order>10</sort_order>
29
+ <show_in_default>1</show_in_default>
30
+ </sbenable>
31
  <bfloat translate="label">
32
+ <label>Banner Float</label>
33
+ <frontend_type>select</frontend_type>
34
+ <source_model>Stasevi4_Banner/system_config_source_leftright</source_model>
35
+ <sort_order>20</sort_order>
36
+ <show_in_default>1</show_in_default>
37
+ </bfloat>
38
  <blinktarget translate="label">
39
  <label>Link Target</label>
40
  <frontend_type>select</frontend_type>
41
+ <source_model>Stasevi4_Banner/system_config_source_linktype</source_model>
42
+ <sort_order>30</sort_order>
43
  <show_in_default>1</show_in_default>
44
  </blinktarget>
45
  </fields>
46
  </general>
47
+ <images translate="label" module="stasevi4_banner">
48
  <label>Banners</label>
49
  <sort_order>20</sort_order>
50
  <show_in_default>1</show_in_default>
51
  <fields>
52
+ <image1_link translate="lable" module="stasevi4_banner">
53
  <label>Image Number 1 link</label>
54
  <frontend_type>text</frontend_type>
55
  <sort_order>2</sort_order>
63
  <comment>Allowed file types: jpeg, gif, png.</comment>
64
  <frontend_type>image</frontend_type>
65
  <backend_model>adminhtml/system_config_backend_image</backend_model>
66
+ <upload_dir config="system/filesystem/media" scope_info="1">stasevi4</upload_dir>
67
+ <base_url type="media" scope_info="1">stasevi4</base_url>
68
  <sort_order>3</sort_order>
69
  <show_in_default>1</show_in_default>
70
  </image1>
71
+ <image2_link translate="lable" module="stasevi4_banner">
72
  <label>Image Number 2 link</label>
73
  <frontend_type>text</frontend_type>
74
  <sort_order>4</sort_order>
79
  <comment>Allowed file types: jpeg, gif, png.</comment>
80
  <frontend_type>image</frontend_type>
81
  <backend_model>adminhtml/system_config_backend_image</backend_model>
82
+ <upload_dir config="system/filesystem/media" scope_info="1">stasevi4</upload_dir>
83
+ <base_url type="media" scope_info="1">stasevi4</base_url>
84
  <sort_order>5</sort_order>
85
  <show_in_default>1</show_in_default>
86
  </image2>
87
+ <image3_link translate="lable" module="stasevi4_banner">
88
  <label>Image Number 3 link</label>
89
  <frontend_type>text</frontend_type>
90
  <sort_order>6</sort_order>
95
  <comment>Allowed file types: jpeg, gif, png.</comment>
96
  <frontend_type>image</frontend_type>
97
  <backend_model>adminhtml/system_config_backend_image</backend_model>
98
+ <upload_dir config="system/filesystem/media" scope_info="1">stasevi4</upload_dir>
99
+ <base_url type="media" scope_info="1">stasevi4</base_url>
100
  <sort_order>7</sort_order>
101
  <show_in_default>1</show_in_default>
102
  </image3>
103
+ <image4_link translate="lable" module="stasevi4_banner">
104
  <label>Image Number 4 link</label>
105
  <frontend_type>text</frontend_type>
106
  <sort_order>8</sort_order>
111
  <comment>Allowed file types: jpeg, gif, png.</comment>
112
  <frontend_type>image</frontend_type>
113
  <backend_model>adminhtml/system_config_backend_image</backend_model>
114
+ <upload_dir config="system/filesystem/media" scope_info="1">stasevi4</upload_dir>
115
+ <base_url type="media" scope_info="1">stasevi4</base_url>
116
  <sort_order>9</sort_order>
117
  <show_in_default>1</show_in_default>
118
  </image4>
119
+ <image5_link translate="lable" module="stasevi4_banner">
120
  <label>Image Number 5 link</label>
121
  <frontend_type>text</frontend_type>
122
  <sort_order>10</sort_order>
127
  <comment>Allowed file types: jpeg, gif, png.</comment>
128
  <frontend_type>image</frontend_type>
129
  <backend_model>adminhtml/system_config_backend_image</backend_model>
130
+ <upload_dir config="system/filesystem/media" scope_info="1">stasevi4</upload_dir>
131
+ <base_url type="media" scope_info="1">stasevi4</base_url>
132
  <sort_order>11</sort_order>
133
  <show_in_default>1</show_in_default>
134
  </image5>
135
+ <image6_link translate="lable" module="stasevi4_banner">
136
  <label>Image Number 6 link</label>
137
  <frontend_type>text</frontend_type>
138
  <sort_order>12</sort_order>
143
  <comment>Allowed file types: jpeg, gif, png.</comment>
144
  <frontend_type>image</frontend_type>
145
  <backend_model>adminhtml/system_config_backend_image</backend_model>
146
+ <upload_dir config="system/filesystem/media" scope_info="1">stasevi4</upload_dir>
147
+ <base_url type="media" scope_info="1">stasevi4</base_url>
148
  <sort_order>13</sort_order>
149
  <show_in_default>1</show_in_default>
150
  </image6>
151
 
152
+ <image7_link translate="lable" module="stasevi4_banner">
153
  <label>Image Number 7 link</label>
154
  <frontend_type>text</frontend_type>
155
  <sort_order>14</sort_order>
160
  <comment>Allowed file types: jpeg, gif, png.</comment>
161
  <frontend_type>image</frontend_type>
162
  <backend_model>adminhtml/system_config_backend_image</backend_model>
163
+ <upload_dir config="system/filesystem/media" scope_info="1">stasevi4</upload_dir>
164
+ <base_url type="media" scope_info="1">stasevi4</base_url>
165
  <sort_order>15</sort_order>
166
  <show_in_default>1</show_in_default>
167
  </image7>
168
 
169
+ <image8_link translate="lable" module="stasevi4_banner">
170
  <label>Image Number 8 link</label>
171
  <frontend_type>text</frontend_type>
172
  <sort_order>16</sort_order>
177
  <comment>Allowed file types: jpeg, gif, png.</comment>
178
  <frontend_type>image</frontend_type>
179
  <backend_model>adminhtml/system_config_backend_image</backend_model>
180
+ <upload_dir config="system/filesystem/media" scope_info="1">stasevi4</upload_dir>
181
+ <base_url type="media" scope_info="1">stasevi4</base_url>
182
  <sort_order>17</sort_order>
183
  <show_in_default>1</show_in_default>
184
 
188
  </images>
189
 
190
  </groups>
191
+ </stasevi4_banner>
192
  </sections>
193
  </config>
app/code/community/Stasevic/Banner/Helper/Data.php DELETED
@@ -1,7 +0,0 @@
1
- <?php
2
-
3
- class Stasevic_Banner_Helper_Data extends Mage_Core_Helper_Abstract
4
- {
5
-
6
- }
7
- ?>
 
 
 
 
 
 
 
app/code/community/Stasevic/Banner/etc/config.xml DELETED
@@ -1,30 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <modules>
4
- <Stasevic_Banner>
5
- <version>0.1.4</version>
6
- </Stasevic_Banner>
7
- </modules>
8
-
9
- <global>
10
- <models>
11
- <Stasevic_Banner>
12
- <class>Stasevic_Banner_Adminhtml_Model</class>
13
- </Stasevic_Banner>
14
- </models>
15
- <helpers>
16
- <stasevic_banner>
17
- <class>Stasevic_Banner_Helper</class>
18
- </stasevic_banner>
19
- </helpers>
20
- </global>
21
- <frontend>
22
- <layout>
23
- <updates>
24
- <stasevic_banner>
25
- <file>stasevic-banner.xml</file>
26
- </stasevic_banner>
27
- </updates>
28
- </layout>
29
- </frontend>
30
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/{default/default/layout/stasevic-banner.xml → base/default/layout/stasevi4-banner.xml} RENAMED
@@ -2,10 +2,10 @@
2
  <layout version="0.1.0">
3
  <default>
4
  <reference name="head">
5
- <action method="addItem"><type>skin_css</type><name>css/stasevic-banner.css</name></action>
6
  </reference>
7
  <reference name="content">
8
- <block type="core/template" name="side.banners" template="stasevic/floatbanner.phtml"/>
9
  </reference>
10
  </default>
11
  </layout>
2
  <layout version="0.1.0">
3
  <default>
4
  <reference name="head">
5
+ <action method="addItem"><type>skin_css</type><name>css/stasevi4-banner.css</name></action>
6
  </reference>
7
  <reference name="content">
8
+ <block type="core/template" name="side.banners" template="stasevi4/floatbanner.phtml"/>
9
  </reference>
10
  </default>
11
  </layout>
app/design/frontend/{default/default/template/Stasevic → base/default/template/stasevi4}/floatbanner.phtml RENAMED
@@ -1,13 +1,14 @@
1
- <?php if(Mage::getStoreConfig('stasevic_banner/general/enabled') == true){?>
2
- <?php $arr = Mage::getStoreConfig('stasevic_banner/images');?>
3
- <div class="floatmenu <?php echo Mage::getStoreConfig('stasevic_banner/general/bfloat') == 'left' ? 'fleft' : 'fright'; ?>">
 
4
  <ul>
5
  <?php for($i=1; $i<count($arr); $i++){?>
6
  <?php if(array_key_exists('image'. $i, $arr) && $arr['image'. $i] <> '' ){?>
7
  <?php if(array_key_exists('image'. $i .'_link', $arr) && $arr['image'. $i .'_link'] <> '' ){?>
8
- <li><a href="<?php echo $arr['image'. $i .'_link'];?>" target="<?php echo Mage::getStoreConfig('stasevic_banner/general/blinktarget')?>"><img src='<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'stasevic/'.$arr['image'. $i ] ; ?>'/></a></li>
9
  <?php }else{?>
10
- <li><img src='<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'stasevic/'.$arr['image'. $i ] ; ?>'/></li>
11
  <?php }?>
12
  <?php }?>
13
  <?php }?>
1
+ <?php
2
+ if(Mage::getStoreConfig('stasevi4_banner/general/sbenable') == true){?>
3
+ <?php $arr = Mage::getStoreConfig('stasevi4_banner/images');?>
4
+ <div class="floatmenu <?php echo Mage::getStoreConfig('stasevi4_banner/general/bfloat') == 'left' ? 'fleft' : 'fright'; ?>">
5
  <ul>
6
  <?php for($i=1; $i<count($arr); $i++){?>
7
  <?php if(array_key_exists('image'. $i, $arr) && $arr['image'. $i] <> '' ){?>
8
  <?php if(array_key_exists('image'. $i .'_link', $arr) && $arr['image'. $i .'_link'] <> '' ){?>
9
+ <li><a href="<?php echo $arr['image'. $i .'_link'];?>" target="<?php echo Mage::getStoreConfig('stasevi4_banner/general/blinktarget')?>"><img src='<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'stasevi4/'.$arr['image'. $i ] ; ?>'/></a></li>
10
  <?php }else{?>
11
+ <li><img src='<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'stasevi4/'.$arr['image'. $i ] ; ?>'/></li>
12
  <?php }?>
13
  <?php }?>
14
  <?php }?>
app/etc/modules/{stasevic_banner.xml → Stasevi4_banner.xml} RENAMED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <config>
3
  <modules>
4
- <Stasevic_Banner>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
- </Stasevic_Banner>
8
  </modules>
9
  </config>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <config>
3
  <modules>
4
+ <Stasevi4_Banner>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
+ </Stasevi4_Banner>
8
  </modules>
9
  </config>
media/{stasevic → stasevi4}/default/fb.jpg RENAMED
File without changes
media/{stasevic → stasevi4}/default/fb_1.jpg RENAMED
File without changes
media/stasevi4/default/fb_2.jpg ADDED
Binary file
media/{stasevic → stasevi4}/default/p.jpg RENAMED
File without changes
media/{stasevic → stasevi4}/default/p_1.jpg RENAMED
File without changes
media/{stasevic → stasevi4}/default/tw.jpg RENAMED
File without changes
media/{stasevic → stasevi4}/default/tw_1.jpg RENAMED
File without changes
media/stasevi4/default/tw_2.jpg ADDED
Binary file
media/stasevic/default/109609.gif DELETED
Binary file
media/stasevic/default/109609_1.gif DELETED
Binary file
media/stasevic/default/IToys.jpg DELETED
Binary file
media/stasevic/default/IToys_1.jpg DELETED
Binary file
media/stasevic/default/IToys_2.jpg DELETED
Binary file
media/stasevic/default/Picture_5.png DELETED
Binary file
media/stasevic/default/Picture_6.png DELETED
Binary file
media/stasevic/default/organic.jpg DELETED
Binary file
media/stasevic/default/organic_1.jpg DELETED
Binary file
media/stasevic/default/organic_2.jpg DELETED
Binary file
media/stasevic/default/organic_3.jpg DELETED
Binary file
media/stasevic/default/rusknigaicon.jpg DELETED
Binary file
media/stasevic/default/rusknigaicon_1.jpg DELETED
Binary file
media/stasevic/default/rusknigaicon_2.jpg DELETED
Binary file
media/stasevic/default/rusknigaicon_3.jpg DELETED
Binary file
media/stasevic/default/rusknigaicon_4.jpg DELETED
Binary file
media/stasevic/default/rusknigaicon_5.jpg DELETED
Binary file
media/stasevic/default/rusknigaicon_6.jpg DELETED
Binary file
media/stasevic/default/rusknigaicon_7.jpg DELETED
Binary file
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Floating_banner</name>
4
- <version>0.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Floating banner </summary>
10
  <description>Floating Banner is simply keeps elements in the browsers viewport when a user scrolls down a web page. It is often used to keep banners in the user's view while the scrolling down long pages.</description>
11
- <notes>Floating Banner V 0.1.4</notes>
12
  <authors><author><name>Stanislav</name><user>Stasevi4</user><email>stas19882004@gmail.com</email></author></authors>
13
- <date>2013-03-21</date>
14
- <time>14:08:11</time>
15
- <contents><target name="magecommunity"><dir name="Stasevic"><dir name="Banner"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Leftright.php" hash="65103739767437a531eece3c9c2bdebe"/><file name="Linktype.php" hash="4f110bbf22a8a4cdccc5da9b3d35e298"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="3f36e81c19ede19ab7f6533587e6d351"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d80445709651d1d4a291cec51a666291"/><file name="config.xml" hash="bac17659d5132065c48c4b59c845e155"/><file name="system.xml" hash="95a970bfa8a1f523f3c0b3de32bc48ac"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="stasevic_banner.xml" hash="943c307e54cf39204e1eb1623c91ec63"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="stasevic-banner.xml" hash="380dab785a83f6f2fe81f1499c9eb5c5"/></dir><dir name="template"><dir name="Stasevic"><file name="floatbanner.phtml" hash="7218071e95d9b7cf8866d00a47b86518"/></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="stasevic"><dir name="default"><file name="109609.gif" hash="9d6410bd4003ddfa060689c695b2466b"/><file name="109609_1.gif" hash="9d6410bd4003ddfa060689c695b2466b"/><file name="IToys.jpg" hash="5d4a961ae66a94097a004cf800d385cc"/><file name="IToys_1.jpg" hash="5d4a961ae66a94097a004cf800d385cc"/><file name="IToys_2.jpg" hash="5d4a961ae66a94097a004cf800d385cc"/><file name="Picture_5.png" hash="069bafff81b4872514c6a61075089252"/><file name="Picture_6.png" hash="ea5f61716aa66554cc5a1a6bb84def1c"/><file name="fb.jpg" hash="6160e20e7661d97df9ae0a39bec80fe5"/><file name="fb_1.jpg" hash="6160e20e7661d97df9ae0a39bec80fe5"/><file name="organic.jpg" hash="11933a3c69c3a12675c7bf77214d8163"/><file name="organic_1.jpg" hash="11933a3c69c3a12675c7bf77214d8163"/><file name="organic_2.jpg" hash="11933a3c69c3a12675c7bf77214d8163"/><file name="organic_3.jpg" hash="11933a3c69c3a12675c7bf77214d8163"/><file name="p.jpg" hash="d07003895835149db95844f9a68b256a"/><file name="p_1.jpg" hash="d07003895835149db95844f9a68b256a"/><file name="rusknigaicon.jpg" hash="019fd0a61b51a018627f9c8c22e6f997"/><file name="rusknigaicon_1.jpg" hash="019fd0a61b51a018627f9c8c22e6f997"/><file name="rusknigaicon_2.jpg" hash="019fd0a61b51a018627f9c8c22e6f997"/><file name="rusknigaicon_3.jpg" hash="019fd0a61b51a018627f9c8c22e6f997"/><file name="rusknigaicon_4.jpg" hash="019fd0a61b51a018627f9c8c22e6f997"/><file name="rusknigaicon_5.jpg" hash="019fd0a61b51a018627f9c8c22e6f997"/><file name="rusknigaicon_6.jpg" hash="019fd0a61b51a018627f9c8c22e6f997"/><file name="rusknigaicon_7.jpg" hash="019fd0a61b51a018627f9c8c22e6f997"/><file name="tw.jpg" hash="a5e8e858cee12334d3b1dcbb4e7dae13"/><file name="tw_1.jpg" hash="a5e8e858cee12334d3b1dcbb4e7dae13"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="stasevic-banner.css" hash="d70de05ff087786d7023cad3a1955027"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Floating_banner</name>
4
+ <version>0.1.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Floating banner </summary>
10
  <description>Floating Banner is simply keeps elements in the browsers viewport when a user scrolls down a web page. It is often used to keep banners in the user's view while the scrolling down long pages.</description>
11
+ <notes>Floating Banner v0.1.6</notes>
12
  <authors><author><name>Stanislav</name><user>Stasevi4</user><email>stas19882004@gmail.com</email></author></authors>
13
+ <date>2017-04-03</date>
14
+ <time>17:12:34</time>
15
+ <contents><target name="magecommunity"><dir name="Stasevi4"><dir name="Banner"><dir><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Leftright.php" hash="f72666d227b7a33d798de1d958d94a27"/><file name="Linktype.php" hash="5c757e23218ad8fcb59016d9015154d1"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="6c68ce66c31fe057ab52a483168387d4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="8422c1f216969a0bd5433d9dcec9975c"/><file name="config.xml" hash="7d274884b1100f23c41077a9df72b0c8"/><file name="system.xml" hash="61925eda2654700b9a8542f20e2b561d"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Stasevi4_banner.xml" hash="c3b72b85f3841559dc0406b1decc18aa"/></dir></target><target name="magemedia"><dir name="stasevi4"><dir name="default"><file name="fb.jpg" hash="6160e20e7661d97df9ae0a39bec80fe5"/><file name="fb_1.jpg" hash="6160e20e7661d97df9ae0a39bec80fe5"/><file name="fb_2.jpg" hash="6160e20e7661d97df9ae0a39bec80fe5"/><file name="p.jpg" hash="d07003895835149db95844f9a68b256a"/><file name="p_1.jpg" hash="d07003895835149db95844f9a68b256a"/><file name="tw.jpg" hash="a5e8e858cee12334d3b1dcbb4e7dae13"/><file name="tw_1.jpg" hash="a5e8e858cee12334d3b1dcbb4e7dae13"/><file name="tw_2.jpg" hash="a5e8e858cee12334d3b1dcbb4e7dae13"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="stasevi4-banner.xml" hash="fff2b2041cfd77d65aa8503df45853e8"/></dir><dir name="template"><dir name="stasevi4"><file name="floatbanner.phtml" hash="14ecc0099ee9b3f9fabe61fd5fb67b39"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="stasevi4-banner.css" hash="d70de05ff087786d7023cad3a1955027"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
skin/frontend/{default/default/css/stasevic-banner.css → base/default/css/stasevi4-banner.css} RENAMED
File without changes