Auguria_Sliders - Version 1.1.1

Version Notes

Auguria_Slider

Download this release

Release Info

Developer Magento Core Team
Extension Auguria_Sliders
Version 1.1.1
Comparing to
See all releases


Code changes from version 1.0.2 to 1.1.1

app/code/community/Auguria/Sliders/Block/Adminhtml/Sliders/Edit/Tab/Categories.php CHANGED
@@ -171,7 +171,6 @@ class Auguria_Sliders_Block_Adminhtml_Sliders_Edit_Tab_Categories extends Mage_A
171
  $allChildren = $node->getAllChildren();
172
  if ($allChildren) {
173
  $selectedCategoryIds = $this->_getCategoryIds();
174
- Mage::log('$selectedCategoryIds '.$selectedCategoryIds);
175
  $allChildrenArr = explode(',', $allChildren);
176
  for ($i = 0, $cnt = count($selectedCategoryIds); $i < $cnt; $i++) {
177
  $isSelf = $node->getId() == $selectedCategoryIds[$i];
171
  $allChildren = $node->getAllChildren();
172
  if ($allChildren) {
173
  $selectedCategoryIds = $this->_getCategoryIds();
 
174
  $allChildrenArr = explode(',', $allChildren);
175
  for ($i = 0, $cnt = count($selectedCategoryIds); $i < $cnt; $i++) {
176
  $isSelf = $node->getId() == $selectedCategoryIds[$i];
app/code/community/Auguria/Sliders/etc/system.xml~ ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * @category Auguria
5
+ * @package Auguria_Sliders
6
+ * @author Auguria
7
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
8
+ */
9
+ -->
10
+ <config>
11
+ <sections>
12
+ <auguria_sliders translate="label" module="auguria_sliders">
13
+ <label>Sliders</label>
14
+ <tab>general</tab>
15
+ <frontend_type>text</frontend_type>
16
+ <sort_order>1100</sort_order>
17
+ <show_in_default>1</show_in_default>
18
+ <show_in_website>1</show_in_website>
19
+ <show_in_store>1</show_in_store>
20
+ <groups>
21
+ <general translate="label" module="auguria_sliders">
22
+ <label>Sliders Options</label>
23
+ <frontend_type>text</frontend_type>
24
+ <sort_order>100</sort_order>
25
+ <show_in_default>1</show_in_default>
26
+ <show_in_website>1</show_in_website>
27
+ <show_in_store>1</show_in_store>
28
+ <fields>
29
+ <enabled translate="label" module="auguria_sliders">
30
+ <label>Enable Sliders</label>
31
+ <frontend_type>select</frontend_type>
32
+ <source_model>adminhtml/system_config_source_yesno</source_model>
33
+ <sort_order>10</sort_order>
34
+ <show_in_default>1</show_in_default>
35
+ <show_in_website>1</show_in_website>
36
+ <show_in_store>1</show_in_store>
37
+ </enabled>
38
+ <preload translate="label" module="auguria_sliders">
39
+ <label>Preload</label>
40
+ <comment>Set true to preload images in an image based slideshow.</comment>
41
+ <frontend_type>select</frontend_type>
42
+ <source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
43
+ <sort_order>20</sort_order>
44
+ <show_in_default>1</show_in_default>
45
+ <show_in_website>1</show_in_website>
46
+ <show_in_store>1</show_in_store>
47
+ </preload>
48
+ <generate_next_prev translate="label" module="auguria_sliders">
49
+ <label>Generate next/prev</label>
50
+ <frontend_type>select</frontend_type>
51
+ <source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
52
+ <sort_order>30</sort_order>
53
+ <show_in_default>1</show_in_default>
54
+ <show_in_website>1</show_in_website>
55
+ <show_in_store>1</show_in_store>
56
+ </generate_next_prev>
57
+ <generate_pagination>
58
+ <label>Generate pagination</label>
59
+ <frontend_type>select</frontend_type>
60
+ <source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
61
+ <sort_order>40</sort_order>
62
+ <show_in_default>1</show_in_default>
63
+ <show_in_website>1</show_in_website>
64
+ <show_in_store>1</show_in_store>
65
+ </generate_pagination>
66
+ <fade_speed>
67
+ <label>Fade speed</label>
68
+ <comment>Set the speed of the fading animation in milliseconds.</comment>
69
+ <frontend_type>text</frontend_type>
70
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
71
+ <sort_order>50</sort_order>
72
+ <show_in_default>1</show_in_default>
73
+ <show_in_website>1</show_in_website>
74
+ <show_in_store>1</show_in_store>
75
+ </fade_speed>
76
+ <slide_speed>
77
+ <label>Slide speed</label>
78
+ <comment>Set the speed of the sliding animation in milliseconds.</comment>
79
+ <frontend_type>text</frontend_type>
80
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
81
+ <sort_order>60</sort_order>
82
+ <show_in_default>1</show_in_default>
83
+ <show_in_website>1</show_in_website>
84
+ <show_in_store>1</show_in_store>zzz
85
+ </slide_speed>
86
+ <effect_next_prev>
87
+ <label>Effect for next/prev</label>
88
+ <comment>Set effect, slide or fade for next/prev.</comment>
89
+ <frontend_type>select</frontend_type>
90
+ <source_model>auguria_sliders/adminhtml_system_config_source_effect</source_model>
91
+ <sort_order>70</sort_order>
92
+ <show_in_default>1</show_in_default>
93
+ <show_in_website>1</show_in_website>
94
+ <show_in_store>1</show_in_store>
95
+ </effect_next_prev>
96
+ <effect_pagination>
97
+ <label>Effect for pagination</label>
98
+ <comment>Set effect, slide or fade for pagination.</comment>
99
+ <frontend_type>select</frontend_type>
100
+ <source_model>auguria_sliders/adminhtml_system_config_source_effect</source_model>
101
+ <sort_order>80</sort_order>
102
+ <show_in_default>1</show_in_default>
103
+ <show_in_website>1</show_in_website>
104
+ <show_in_store>1</show_in_store>
105
+ </effect_pagination>
106
+ <crossfade>
107
+ <label>Crossfade</label>
108
+ <comment>Crossfade images in a image based slideshow.</comment>
109
+ <frontend_type>select</frontend_type>
110
+ <source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
111
+ <sort_order>90</sort_order>
112
+ <show_in_default>1</show_in_default>
113
+ <show_in_website>1</show_in_website>
114
+ <show_in_store>1</show_in_store>
115
+ </crossfade>
116
+ <randomize>
117
+ <label>Randomize</label>
118
+ <comment>Set to true to randomize slides.</comment>
119
+ <frontend_type>select</frontend_type>
120
+ <source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
121
+ <sort_order>90</sort_order>
122
+ <show_in_default>1</show_in_default>
123
+ <show_in_website>1</show_in_website>
124
+ <show_in_store>1</show_in_store>
125
+ </randomize>
126
+ <play>
127
+ <label>Autoplay</label>
128
+ <comment>Autoplay slideshow, a positive number will set to true and be the time between slide animation in milliseconds.</comment>
129
+ <frontend_type>text</frontend_type>
130
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
131
+ <sort_order>100</sort_order>
132
+ <show_in_default>1</show_in_default>
133
+ <show_in_website>1</show_in_website>
134
+ <show_in_store>1</show_in_store>
135
+ </play>
136
+ <pause>
137
+ <label>Pause</label>
138
+ <comment>Pause slideshow on click of next/prev or pagination. A positive number will set to true and be the time of pause in milliseconds.</comment>
139
+ <frontend_type>text</frontend_type>
140
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
141
+ <sort_order>110</sort_order>
142
+ <show_in_default>1</show_in_default>
143
+ <show_in_website>1</show_in_website>
144
+ <show_in_store>1</show_in_store>
145
+ </pause>
146
+ <hover_pause>
147
+ <label>Hover pause</label>
148
+ <comment>Set to true and hovering over slideshow will pause it.</comment>
149
+ <frontend_type>select</frontend_type>
150
+ <source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
151
+ <sort_order>120</sort_order>
152
+ <show_in_default>1</show_in_default>
153
+ <show_in_website>1</show_in_website>
154
+ <show_in_store>1</show_in_store>
155
+ </hover_pause>
156
+ <auto_height>
157
+ <label>Auto height</label>
158
+ <comment>Set to true to auto adjust height.</comment>
159
+ <frontend_type>select</frontend_type>
160
+ <source_model>auguria_sliders/adminhtml_system_config_source_truefalse</source_model>
161
+ <sort_order>130</sort_order>
162
+ <show_in_default>1</show_in_default>
163
+ <show_in_website>1</show_in_website>
164
+ <show_in_store>1</show_in_store>
165
+ </auto_height>
166
+ <auto_height_speed>
167
+ <label>Auto height speed</label>
168
+ <comment>Set auto height animation time in milliseconds.</comment>
169
+ <frontend_type>text</frontend_type>
170
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
171
+ <sort_order>140</sort_order>
172
+ <show_in_default>1</show_in_default>
173
+ <show_in_website>1</show_in_website>
174
+ <show_in_store>1</show_in_store>
175
+ </auto_height_speed>
176
+
177
+ <animate_caption>
178
+ <label>Animate caption</label>
179
+ <comment>A positive number will set to true and indicate animation speed in milliseconds.</comment>
180
+ <frontend_type>text</frontend_type>
181
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
182
+ <sort_order>145</sort_order>
183
+ <show_in_default>1</show_in_default>
184
+ <show_in_website>1</show_in_website>
185
+ <show_in_store>1</show_in_store>
186
+ </animate_caption>
187
+ <empty_image_height>
188
+ <label>Image height on empty page</label>
189
+ <frontend_type>text</frontend_type>
190
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
191
+ <sort_order>190</sort_order>
192
+ <show_in_default>1</show_in_default>
193
+ <show_in_website>1</show_in_website>
194
+ <show_in_store>1</show_in_store>
195
+ </empty_image_height>
196
+ <one_image_height>
197
+ <label>Image height on one column page</label>
198
+ <frontend_type>text</frontend_type>
199
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
200
+ <sort_order>200</sort_order>
201
+ <show_in_default>1</show_in_default>
202
+ <show_in_website>1</show_in_website>
203
+ <show_in_store>1</show_in_store>
204
+ </one_image_height>
205
+ <two_image_height>
206
+ <label>Image height on two columns page</label>
207
+ <frontend_type>text</frontend_type>
208
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
209
+ <sort_order>210</sort_order>
210
+ <show_in_default>1</show_in_default>
211
+ <show_in_website>1</show_in_website>
212
+ <show_in_store>1</show_in_store>
213
+ </two_image_height>
214
+ <three_image_height>
215
+ <label>Image height on three columns page</label>
216
+ <frontend_type>text</frontend_type>
217
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
218
+ <sort_order>220</sort_order>
219
+ <show_in_default>1</show_in_default>
220
+ <show_in_website>1</show_in_website>
221
+ <show_in_store>1</show_in_store>
222
+ </three_image_height>
223
+
224
+ <empty_image_width>
225
+ <label>Image width on empty page</label>
226
+ <frontend_type>text</frontend_type>
227
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
228
+ <sort_order>230</sort_order>
229
+ <show_in_default>1</show_in_default>
230
+ <show_in_website>1</show_in_website>
231
+ <show_in_store>1</show_in_store>
232
+ </empty_image_width>
233
+ <one_image_width>
234
+ <label>Image width on one column page</label>
235
+ <frontend_type>text</frontend_type>
236
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
237
+ <sort_order>240</sort_order>
238
+ <show_in_default>1</show_in_default>
239
+ <show_in_website>1</show_in_website>
240
+ <show_in_store>1</show_in_store>
241
+ </one_image_width>
242
+ <two_image_width>
243
+ <label>Image width on two columns page</label>
244
+ <frontend_type>text</frontend_type>
245
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
246
+ <sort_order>250</sort_order>
247
+ <show_in_default>1</show_in_default>
248
+ <show_in_website>1</show_in_website>
249
+ <show_in_store>1</show_in_store>
250
+ </two_image_width>
251
+ <three_image_width>
252
+ <label>Image width on three columns page</label>
253
+ <frontend_type>text</frontend_type>
254
+ <backend_model>auguria_sliders/adminhtml_system_config_backend_naturalNumber</backend_model>
255
+ <sort_order>260</sort_order>
256
+ <show_in_default>1</show_in_default>
257
+ <show_in_website>1</show_in_website>
258
+ <show_in_store>1</show_in_store>
259
+ </three_image_width>
260
+ </fields>
261
+ </general>
262
+ </groups>
263
+ </auguria_sliders>
264
+ </sections>
265
+ </config>
app/code/community/Auguria/Sliders/sql/auguria_sliders_setup/mysql4-upgrade-0.0.1-0.0.2.php CHANGED
@@ -10,30 +10,30 @@ $installer = $this;
10
  $installer->startSetup();
11
 
12
  // Get all CMS pages
13
- $pages = array();
14
- $collection = Mage::getResourceModel('cms/page_collection')->addFieldToSelect('page_id');
15
- if ($collection && $collection->count()>0) {
16
- foreach ($collection as $item) {
17
- $pages[]=$item->getPageId();
18
- }
19
  }
20
 
21
  // Get all categories of level 2
22
- $categories = array();
23
- $collection = Mage::getResourceModel('catalog/category_collection')
24
- ->addAttributeToSelect('entity_id')
25
- ->addAttributeToFilter('level',2);
26
- if ($collection && $collection->count()>0) {
27
- foreach ($collection as $item) {
28
- $categories[]=$item->getEntityId();
29
- }
30
  }
31
 
32
  $datas[] = array(
33
- "name"=>"Ara bleu",
34
- "image"=>"auguria/sliders/Ara.jpg",
35
  "link"=>"http://www.auguria.net/",
36
- "cms_content"=>"<p>L'<a title='Ara bleu' href='http://fr.wikipedia.org/wiki/Ara_bleu'>Ara bleu</a> est un perroquet pr&eacute;sent en <a title='Am&eacute;rique latine' href='http://fr.wikipedia.org/wiki/Am%C3%A9rique_latine'>Am&eacute;rique latine</a>.</p>",
37
  "sort_order"=>1,
38
  "is_active"=>1,
39
  "stores"=>array(0),
@@ -41,10 +41,10 @@ $datas[] = array(
41
  "category_ids"=>$categories
42
  );
43
  $datas[] = array(
44
- "name"=>"Anax empereur",
45
- "image"=>"auguria/sliders/Anax.jpg",
46
  "link"=>"http://www.auguria.net/",
47
- "cms_content"=>"<p>Un <a style='color: #e26703;' title='Anax empereur' href='http://fr.wikipedia.org/wiki/Anax_empereur'>Anax empereur</a> (<em>Anax imperator</em>). Photo prise &agrave; Gubbeen, dans le comt&eacute; de Cork (Irlande).</p>",
48
  "sort_order"=>2,
49
  "is_active"=>1,
50
  "stores"=>array(0),
@@ -58,4 +58,4 @@ foreach ($datas as $data) {
58
  $model->save();
59
  }
60
 
61
- $installer->endSetup();
10
  $installer->startSetup();
11
 
12
  // Get all CMS pages
13
+ $pages = array();
14
+ $collection = Mage::getResourceModel('cms/page_collection')->addFieldToSelect('page_id');
15
+ if ($collection && $collection->count()>0) {
16
+ foreach ($collection as $item) {
17
+ $pages[]=$item->getPageId();
18
+ }
19
  }
20
 
21
  // Get all categories of level 2
22
+ $categories = array();
23
+ $collection = Mage::getResourceModel('catalog/category_collection')
24
+ ->addAttributeToSelect('entity_id')
25
+ ->addAttributeToFilter('level',2);
26
+ if ($collection && $collection->count()>0) {
27
+ foreach ($collection as $item) {
28
+ $categories[]=$item->getEntityId();
29
+ }
30
  }
31
 
32
  $datas[] = array(
33
+ "name"=>"Abstract",
34
+ "image"=>"auguria/sliders/abstract.jpg",
35
  "link"=>"http://www.auguria.net/",
36
+ "cms_content"=>"<p>This is an abstract picture.</p>",
37
  "sort_order"=>1,
38
  "is_active"=>1,
39
  "stores"=>array(0),
41
  "category_ids"=>$categories
42
  );
43
  $datas[] = array(
44
+ "name"=>"Food",
45
+ "image"=>"auguria/sliders/food.jpg",
46
  "link"=>"http://www.auguria.net/",
47
+ "cms_content"=>"This is a food picture.",
48
  "sort_order"=>2,
49
  "is_active"=>1,
50
  "stores"=>array(0),
58
  $model->save();
59
  }
60
 
61
+ $installer->endSetup();
app/code/community/Auguria/Sliders/sql/auguria_sliders_setup/mysql4-upgrade-0.0.1-0.0.2.php~ ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Insert slides exemple
4
+ * @category Auguria
5
+ * @package Auguria_Sliders
6
+ * @author Auguria
7
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
8
+ */
9
+ $installer = $this;
10
+ $installer->startSetup();
11
+
12
+ // Get all CMS pages
13
+ $pages = array();
14
+ $collection = Mage::getResourceModel('cms/page_collection')->addFieldToSelect('page_id');
15
+ if ($collection && $collection->count()>0) {
16
+ foreach ($collection as $item) {
17
+ $pages[]=$item->getPageId();
18
+ }
19
+ }
20
+
21
+ // Get all categories of level 2
22
+ $categories = array();
23
+ $collection = Mage::getResourceModel('catalog/category_collection')
24
+ ->addAttributeToSelect('entity_id')
25
+ ->addAttributeToFilter('level',2);
26
+ if ($collection && $collection->count()>0) {
27
+ foreach ($collection as $item) {
28
+ $categories[]=$item->getEntityId();
29
+ }
30
+ }
31
+
32
+ $datas[] = array(
33
+ "name"=>"Ara bleu",
34
+ "image"=>"auguria/sliders/Ara.jpg",
35
+ "link"=>"http://www.auguria.net/",
36
+ "cms_content"=>"<p>L'<a title='Ara bleu' href='http://fr.wikipedia.org/wiki/Ara_bleu'>Ara bleu</a> est un perroquet pr&eacute;sent en <a title='Am&eacute;rique latine' href='http://fr.wikipedia.org/wiki/Am%C3%A9rique_latine'>Am&eacute;rique latine</a>.</p>",
37
+ "sort_order"=>1,
38
+ "is_active"=>1,
39
+ "stores"=>array(0),
40
+ "pages"=>$pages,
41
+ "category_ids"=>$categories
42
+ );
43
+ $datas[] = array(
44
+ "name"=>"Anax empereur",
45
+ "image"=>"auguria/sliders/Anax.jpg",
46
+ "link"=>"http://www.auguria.net/",
47
+ "cms_content"=>"<p>Un <a style='color: #e26703;' title='Anax empereur' href='http://fr.wikipedia.org/wiki/Anax_empereur'>Anax empereur</a> (<em>Anax imperator</em>). Photo prise &agrave; Gubbeen, dans le comt&eacute; de Cork (Irlande).</p>",
48
+ "sort_order"=>2,
49
+ "is_active"=>1,
50
+ "stores"=>array(0),
51
+ "pages"=>$pages,
52
+ "category_ids"=>$categories
53
+ );
54
+
55
+ foreach ($datas as $data) {
56
+ $model = Mage::getModel('auguria_sliders/sliders');
57
+ $model->setData($data);
58
+ $model->save();
59
+ }
60
+
61
+ $installer->endSetup();
app/design/frontend/base/default/layout/auguria/sliders.xml CHANGED
@@ -12,7 +12,7 @@
12
  <reference name="head">
13
  <action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
14
  <action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
15
- <action method="addJs"><script>auguria/sliders/slides.min.jquery.js</script></action>
16
  </reference>
17
  <reference name="content">
18
  <block type="auguria_sliders/cms_page_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
@@ -22,7 +22,7 @@
22
  <reference name="head">
23
  <action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
24
  <action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
25
- <action method="addJs"><script>auguria/sliders/slides.min.jquery.js</script></action>
26
  </reference>
27
  <reference name="content">
28
  <block type="auguria_sliders/catalog_category_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
@@ -32,7 +32,7 @@
32
  <reference name="head">
33
  <action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
34
  <action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
35
- <action method="addJs"><script>auguria/sliders/slides.min.jquery.js</script></action>
36
  </reference>
37
  <reference name="content">
38
  <block type="auguria_sliders/catalog_category_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
12
  <reference name="head">
13
  <action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
14
  <action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
15
+ <action method="addJs"><script>auguria/sliders/slides.min.jquery_forked.js</script></action>
16
  </reference>
17
  <reference name="content">
18
  <block type="auguria_sliders/cms_page_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
22
  <reference name="head">
23
  <action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
24
  <action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
25
+ <action method="addJs"><script>auguria/sliders/slides.min.jquery_forked.js</script></action>
26
  </reference>
27
  <reference name="content">
28
  <block type="auguria_sliders/catalog_category_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
32
  <reference name="head">
33
  <action method="addCss"><stylesheet>css/auguria/sliders/default.css</stylesheet></action>
34
  <action method="addJs"><script>auguria/sliders/jquery-1.7.2.min.js</script></action>
35
+ <action method="addJs"><script>auguria/sliders/slides.min.jquery_forked.js</script></action>
36
  </reference>
37
  <reference name="content">
38
  <block type="auguria_sliders/catalog_category_slider" name="auguria_sliders" template="auguria/sliders/slider.phtml" before="-"/>
app/design/frontend/base/default/template/auguria/sliders/slider.phtml CHANGED
@@ -7,63 +7,71 @@
7
  */
8
  ?>
9
  <?php
10
- $slides = $this->getSlides();
11
- $imageWidth = $this->getImageWidth();
12
- $imageHeight = $this->getImageHeight();
13
- $captionHeight = $this->getCaptionHeight();
14
-
15
- if ($slides && $slides->count()>0):
16
  ?>
17
  <div id="auguria-slider" class="clearer">
18
  <div class="auguria-slider-container">
19
- <?php
20
  foreach ($slides as $slide):
21
- ?>
22
  <div class="slide">
23
- <?php
24
  $displayLink = $this->displayLink($slide);
25
  $displayImage = $this->displayImage($slide);
26
  $displayCmsContent = $this->displayCmsContent($slide);
27
  if ($displayLink):
28
- ?>
29
- <a class="auguria-slider-link" href="<?php echo $slide->getLink(); ?>" title="<?php echo $slide->getName(); ?>">
30
- <?php
31
- endif;
32
- if ($displayImage):
33
- ?>
34
- <img class="auguria-slider-image" alt="<?php echo $slide->getName(); ?>" src="<?php echo $this->getResizedImage($slide, $imageWidth, $imageHeight); ?>" />
35
- <?php
36
- endif;
37
- if ($displayLink):
38
- ?>
 
 
39
  </a>
40
- <?php
41
  endif;
42
  if ($displayCmsContent):
43
- ?>
44
- <div class="caption" style="height: <?php echo $captionHeight; ?>px;"><?php echo $slide->getCmsContent(); ?></div>
45
- <?php
 
 
46
  endif;
47
- ?>
48
  </div>
49
- <?php
50
  endforeach;
51
- ?>
52
  </div>
53
- <?php
54
- if (Mage::getStoreConfig('auguria_sliders/general/generate_next_prev')=='true' && $slides->count()>1):
55
- ?>
56
- <a href="#" class="prev"><span><?php echo $this->__('Previous'); ?></span></a>
57
- <a href="#" class="next"><span><?php echo $this->__('Next'); ?></span></a>
58
- <?php
59
- endif;
60
- ?>
 
61
  </div>
62
 
63
  <script type="text/javascript">
64
  //<![CDATA[
65
  jQuery(function(){
66
- jQuery("#auguria-slider").slides({
 
 
 
67
  container: 'auguria-slider-container',
68
  <?php
69
  if (Mage::getStoreConfig('auguria_sliders/general/preload')=='true'):
@@ -85,6 +93,8 @@
85
  hoverPause: <?php echo Mage::getStoreConfig('auguria_sliders/general/hover_pause'); ?>,
86
  autoHeight: <?php echo Mage::getStoreConfig('auguria_sliders/general/auto_height'); ?>,
87
  autoHeightSpeed: <?php echo Mage::getStoreConfig('auguria_sliders/general/auto_height_speed'); ?>,
 
 
88
  <?php
89
  if ((int)Mage::getStoreConfig('auguria_sliders/general/animate_caption')>0):
90
  ?>
@@ -108,8 +118,9 @@
108
  ?>
109
  });
110
  });
 
111
  //]]>
112
  </script>
113
  <?php
114
- endif;
115
- ?>
7
  */
8
  ?>
9
  <?php
10
+ $slides = $this->getSlides();
11
+ $imageWidth = $this->getImageWidth();
12
+ $imageHeight = $this->getImageHeight();
13
+ $captionHeight = $this->getCaptionHeight();
14
+
15
+ if ($slides && $slides->count()>0):
16
  ?>
17
  <div id="auguria-slider" class="clearer">
18
  <div class="auguria-slider-container">
19
+ <?php
20
  foreach ($slides as $slide):
21
+ ?>
22
  <div class="slide">
23
+ <?php
24
  $displayLink = $this->displayLink($slide);
25
  $displayImage = $this->displayImage($slide);
26
  $displayCmsContent = $this->displayCmsContent($slide);
27
  if ($displayLink):
28
+ ?>
29
+ <a class="auguria-slider-link"
30
+ href="<?php echo $slide->getLink(); ?>"
31
+ title="<?php echo $slide->getName(); ?>"> <?php
32
+ endif;
33
+ if ($displayImage):
34
+ ?> <img class="auguria-slider-image"
35
+ alt="<?php echo $slide->getName(); ?>"
36
+ src="<?php echo $this->getResizedImage($slide, $imageWidth, $imageHeight); ?>" />
37
+ <?php
38
+ endif;
39
+ if ($displayLink):
40
+ ?>
41
  </a>
42
+ <?php
43
  endif;
44
  if ($displayCmsContent):
45
+ ?>
46
+ <div class="caption" style="height: <?php echo $captionHeight; ?>px;">
47
+ <?php echo $slide->getCmsContent(); ?>
48
+ </div>
49
+ <?php
50
  endif;
51
+ ?>
52
  </div>
53
+ <?php
54
  endforeach;
55
+ ?>
56
  </div>
57
+ <?php
58
+ if (Mage::getStoreConfig('auguria_sliders/general/generate_next_prev')=='true' && $slides->count()>1):
59
+ ?>
60
+ <a href="#" class="prev"><span><?php echo $this->__('Previous'); ?> </span>
61
+ </a> <a href="#" class="next"><span><?php echo $this->__('Next'); ?> </span>
62
+ </a>
63
+ <?php
64
+ endif;
65
+ ?>
66
  </div>
67
 
68
  <script type="text/javascript">
69
  //<![CDATA[
70
  jQuery(function(){
71
+
72
+ var slide = jQuery("#auguria-slider").slides({
73
+ height : <?php echo $imageHeight; ?>,
74
+ width : <?php echo $imageWidth; ?>,
75
  container: 'auguria-slider-container',
76
  <?php
77
  if (Mage::getStoreConfig('auguria_sliders/general/preload')=='true'):
93
  hoverPause: <?php echo Mage::getStoreConfig('auguria_sliders/general/hover_pause'); ?>,
94
  autoHeight: <?php echo Mage::getStoreConfig('auguria_sliders/general/auto_height'); ?>,
95
  autoHeightSpeed: <?php echo Mage::getStoreConfig('auguria_sliders/general/auto_height_speed'); ?>,
96
+ captionHeight: <?php echo $this->getCaptionHeight(); ?>,
97
+ captionSize: 16,
98
  <?php
99
  if ((int)Mage::getStoreConfig('auguria_sliders/general/animate_caption')>0):
100
  ?>
118
  ?>
119
  });
120
  });
121
+
122
  //]]>
123
  </script>
124
  <?php
125
+ endif;
126
+ ?>
js/auguria/sliders/slides.min.jquery.js DELETED
@@ -1,21 +0,0 @@
1
- /*
2
- * Slides, A Slideshow Plugin for jQuery
3
- * Intructions: http://slidesjs.com
4
- * By: Nathan Searles, http://nathansearles.com
5
- * Version: 1.1.9
6
- * Updated: September 5th, 2011
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- */
20
- (function(a){a.fn.slides=function(b){return b=a.extend({},a.fn.slides.option,b),this.each(function(){function w(g,h,i){if(!p&&o){p=!0,b.animationStart(n+1);switch(g){case"next":l=n,k=n+1,k=e===k?0:k,r=f*2,g=-f*2,n=k;break;case"prev":l=n,k=n-1,k=k===-1?e-1:k,r=0,g=0,n=k;break;case"pagination":k=parseInt(i,10),l=a("."+b.paginationClass+" li."+b.currentClass+" a",c).attr("href").match("[^#/]+$"),k>l?(r=f*2,g=-f*2):(r=0,g=0),n=k}h==="fade"?b.crossfade?d.children(":eq("+k+")",c).css({zIndex:10}).fadeIn(b.fadeSpeed,b.fadeEasing,function(){b.autoHeight?d.animate({height:d.children(":eq("+k+")",c).outerHeight()},b.autoHeightSpeed,function(){d.children(":eq("+l+")",c).css({display:"none",zIndex:0}),d.children(":eq("+k+")",c).css({zIndex:0}),b.animationComplete(k+1),p=!1}):(d.children(":eq("+l+")",c).css({display:"none",zIndex:0}),d.children(":eq("+k+")",c).css({zIndex:0}),b.animationComplete(k+1),p=!1)}):d.children(":eq("+l+")",c).fadeOut(b.fadeSpeed,b.fadeEasing,function(){b.autoHeight?d.animate({height:d.children(":eq("+k+")",c).outerHeight()},b.autoHeightSpeed,function(){d.children(":eq("+k+")",c).fadeIn(b.fadeSpeed,b.fadeEasing)}):d.children(":eq("+k+")",c).fadeIn(b.fadeSpeed,b.fadeEasing,function(){a.browser.msie&&a(this).get(0).style.removeAttribute("filter")}),b.animationComplete(k+1),p=!1}):(d.children(":eq("+k+")").css({left:r,display:"block"}),b.autoHeight?d.animate({left:g,height:d.children(":eq("+k+")").outerHeight()},b.slideSpeed,b.slideEasing,function(){d.css({left:-f}),d.children(":eq("+k+")").css({left:f,zIndex:5}),d.children(":eq("+l+")").css({left:f,display:"none",zIndex:0}),b.animationComplete(k+1),p=!1}):d.animate({left:g},b.slideSpeed,b.slideEasing,function(){d.css({left:-f}),d.children(":eq("+k+")").css({left:f,zIndex:5}),d.children(":eq("+l+")").css({left:f,display:"none",zIndex:0}),b.animationComplete(k+1),p=!1})),b.pagination&&(a("."+b.paginationClass+" li."+b.currentClass,c).removeClass(b.currentClass),a("."+b.paginationClass+" li:eq("+k+")",c).addClass(b.currentClass))}}function x(){clearInterval(c.data("interval"))}function y(){b.pause?(clearTimeout(c.data("pause")),clearInterval(c.data("interval")),u=setTimeout(function(){clearTimeout(c.data("pause")),v=setInterval(function(){w("next",i)},b.play),c.data("interval",v)},b.pause),c.data("pause",u)):x()}a("."+b.container,a(this)).children().wrapAll('<div class="slides_control"/>');var c=a(this),d=a(".slides_control",c),e=d.children().size(),f=d.children().outerWidth(),g=d.children().outerHeight(),h=b.start-1,i=b.effect.indexOf(",")<0?b.effect:b.effect.replace(" ","").split(",")[0],j=b.effect.indexOf(",")<0?i:b.effect.replace(" ","").split(",")[1],k=0,l=0,m=0,n=0,o,p,q,r,s,t,u,v;if(e<2)return a("."+b.container,a(this)).fadeIn(b.fadeSpeed,b.fadeEasing,function(){o=!0,b.slidesLoaded()}),a("."+b.next+", ."+b.prev).fadeOut(0),!1;if(e<2)return;h<0&&(h=0),h>e&&(h=e-1),b.start&&(n=h),b.randomize&&d.randomize(),a("."+b.container,c).css({overflow:"hidden",position:"relative"}),d.children().css({position:"absolute",top:0,left:d.children().outerWidth(),zIndex:0,display:"none"}),d.css({position:"relative",width:f*3,height:g,left:-f}),a("."+b.container,c).css({display:"block"}),b.autoHeight&&(d.children().css({height:"auto"}),d.animate({height:d.children(":eq("+h+")").outerHeight()},b.autoHeightSpeed));if(b.preload&&d.find("img:eq("+h+")").length){a("."+b.container,c).css({background:"url("+b.preloadImage+") no-repeat 50% 50%"});var z=d.find("img:eq("+h+")").attr("src")+"?"+(new Date).getTime();a("img",c).parent().attr("class")!="slides_control"?t=d.children(":eq(0)")[0].tagName.toLowerCase():t=d.find("img:eq("+h+")"),d.find("img:eq("+h+")").attr("src",z).load(function(){d.find(t+":eq("+h+")").fadeIn(b.fadeSpeed,b.fadeEasing,function(){a(this).css({zIndex:5}),a("."+b.container,c).css({background:""}),o=!0,b.slidesLoaded()})})}else d.children(":eq("+h+")").fadeIn(b.fadeSpeed,b.fadeEasing,function(){o=!0,b.slidesLoaded()});b.bigTarget&&(d.children().css({cursor:"pointer"}),d.children().click(function(){return w("next",i),!1})),b.hoverPause&&b.play&&(d.bind("mouseover",function(){x()}),d.bind("mouseleave",function(){y()})),b.generateNextPrev&&(a("."+b.container,c).after('<a href="#" class="'+b.prev+'">Prev</a>'),a("."+b.prev,c).after('<a href="#" class="'+b.next+'">Next</a>')),a("."+b.next,c).click(function(a){a.preventDefault(),b.play&&y(),w("next",i)}),a("."+b.prev,c).click(function(a){a.preventDefault(),b.play&&y(),w("prev",i)}),b.generatePagination?(b.prependPagination?c.prepend("<ul class="+b.paginationClass+"></ul>"):c.append("<ul class="+b.paginationClass+"></ul>"),d.children().each(function(){a("."+b.paginationClass,c).append('<li><a href="#'+m+'">'+(m+1)+"</a></li>"),m++})):a("."+b.paginationClass+" li a",c).each(function(){a(this).attr("href","#"+m),m++}),a("."+b.paginationClass+" li:eq("+h+")",c).addClass(b.currentClass),a("."+b.paginationClass+" li a",c).click(function(){return b.play&&y(),q=a(this).attr("href").match("[^#/]+$"),n!=q&&w("pagination",j,q),!1}),a("a.link",c).click(function(){return b.play&&y(),q=a(this).attr("href").match("[^#/]+$")-1,n!=q&&w("pagination",j,q),!1}),b.play&&(v=setInterval(function(){w("next",i)},b.play),c.data("interval",v))})},a.fn.slides.option={preload:!1,preloadImage:"/img/loading.gif",container:"slides_container",generateNextPrev:!1,next:"next",prev:"prev",pagination:!0,generatePagination:!0,prependPagination:!1,paginationClass:"pagination",currentClass:"current",fadeSpeed:350,fadeEasing:"",slideSpeed:350,slideEasing:"",start:1,effect:"slide",crossfade:!1,randomize:!1,play:0,pause:0,hoverPause:!1,autoHeight:!1,autoHeightSpeed:350,bigTarget:!1,animationStart:function(){},animationComplete:function(){},slidesLoaded:function(){}},a.fn.randomize=function(b){function c(){return Math.round(Math.random())-.5}return a(this).each(function(){var d=a(this),e=d.children(),f=e.length;if(f>1){e.hide();var g=[];for(i=0;i<f;i++)g[g.length]=i;g=g.sort(c),a.each(g,function(a,c){var f=e.eq(c),g=f.clone(!0);g.show().appendTo(d),b!==undefined&&b(f,g),f.remove()})}})}})(jQuery)
21
- jQuery.noConflict();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/auguria/sliders/slides.min.jquery_forked.js ADDED
@@ -0,0 +1,635 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Slides, A Slideshow Plugin for jQuery
3
+ * Intructions: http://slidesjs.com
4
+ * By: Nathan Searles, http://nathansearles.com
5
+ * Version: 1.1.9
6
+ * Updated: September 5th, 2011
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ */
20
+ (function($){
21
+ $.fn.slides = function( option ) {
22
+ // override defaults with specified option
23
+ option = $.extend( {}, $.fn.slides.option, option );
24
+
25
+ return this.each(function(){
26
+ // wrap slides in control container, make sure slides are block level
27
+ $('.' + option.container, $(this)).children().wrapAll('<div class="slides_control"/>');
28
+ var elem = $(this),
29
+ control = $('.slides_control',elem),
30
+ total = control.children().size(),
31
+ width = control.children().outerWidth(),
32
+ height = control.children().outerHeight(),
33
+ start = option.start - 1,
34
+ effect = option.effect.indexOf(',') < 0 ? option.effect : option.effect.replace(' ', '').split(',')[0],
35
+ paginationEffect = option.effect.indexOf(',') < 0 ? effect : option.effect.replace(' ', '').split(',')[1],
36
+ next = 0, prev = 0, number = 0, current = 0, loaded, active, clicked, position, direction, imageParent, pauseTimeout, playInterval;
37
+
38
+ /* AUGURIA_SLIDESJS RESPONSIVE */
39
+ var max_height = option.height;
40
+ var max_width = option.width;
41
+ var caption_height = option.captionHeight;
42
+ var caption_size = option.captionSize;
43
+ /* AUGURIA_SLIDESJS RESPONSIVE */
44
+
45
+ // is there only one slide?
46
+ if (total < 2) {
47
+ /* AUGURIA_SLIDESJS RESPONSIVE */
48
+ resize();
49
+ $(window).resize(function() {
50
+ resize();
51
+ });
52
+ /* AUGURIA_SLIDESJS RESPONSIVE */
53
+
54
+ // Fade in .slides_container
55
+ $('.' + option.container, $(this)).fadeIn(option.fadeSpeed, option.fadeEasing, function(){
56
+ // let the script know everything is loaded
57
+ loaded = true;
58
+ // call the loaded funciton
59
+ option.slidesLoaded();
60
+ });
61
+ // Hide the next/previous buttons
62
+ $('.' + option.next + ', .' + option.prev).fadeOut(0);
63
+ return false;
64
+ }
65
+
66
+ /* AUGURIA_SLIDESJS RESPONSIVE */
67
+ function resize(){
68
+ var main = elem.parent();
69
+ var tmp_height = 10000000;
70
+ var block_width = (main.width() < max_width) ? main.width() : max_width;
71
+ control.find('img').each(function(index, img){
72
+ tmp_height = ((block_width * img.height / img.width) < tmp_height) ? (block_width * img.height / img.width) : tmp_height;
73
+ if(getNaturalWidth(img) >= block_width)
74
+ $(img).width(block_width);
75
+ });
76
+
77
+ var block_height = (tmp_height <= max_height) ? tmp_height : max_height;
78
+ control.find('img').each(function(index, img){
79
+ if(getNaturalHeight(img) >= block_height)
80
+ $(img).height(block_height);
81
+ });
82
+ $(control).height(block_height);
83
+ $(elem).height(block_height);
84
+ $(elem).width(block_width);
85
+
86
+ /* CAPTION */
87
+ $(".caption").each(function(index, caption){
88
+ $(caption).css({
89
+ "font-size": Math.round(caption_size * block_height / max_height)+"px",
90
+ "width": ($(caption).parent().find("img").width() - ($(".caption").outerWidth() - $(".caption").width()))+"px",
91
+ "height": (caption_height * block_height / max_height)+"px",
92
+ "line-height": Math.round(caption_size * block_height / max_height)+"px",
93
+ });
94
+ });
95
+
96
+ /* IMPORTANT */
97
+ width = block_width;
98
+ height = block_height;
99
+ }
100
+
101
+ function getNaturalHeight(img){
102
+ if(typeof img.naturalHeight == "undefined") {
103
+ var temp_image = new Image();
104
+ temp_image.src = img.src;
105
+ return temp_image.height;
106
+ } else {
107
+ return img.naturalHeight;
108
+ }
109
+ }
110
+
111
+ function getNaturalWidth(img) {
112
+ if(typeof img.naturalWidth == "undefined") {
113
+ var temp_image = new Image();
114
+ temp_image.src = img.src;
115
+ return temp_image.width;
116
+ } else {
117
+ return img.naturalWidth;
118
+ }
119
+ }
120
+
121
+ $(window).resize(function() {
122
+ resize();
123
+ });
124
+ /* AUGURIA_SLIDEJS RESPONSIVE */
125
+
126
+ // animate slides
127
+ function animate(direction, effect, clicked) {
128
+ /* AUGURIA_SLIDEJS RESPONSIVE */
129
+ resize();
130
+ /* AUGURIA_SLIDEJS RESPONSIVE */
131
+
132
+ if (!active && loaded) {
133
+ active = true;
134
+ // start of animation
135
+ option.animationStart(current + 1);
136
+ switch(direction) {
137
+ case 'next':
138
+ // change current slide to previous
139
+ prev = current;
140
+ // get next from current + 1
141
+ next = current + 1;
142
+ // if last slide, set next to first slide
143
+ next = total === next ? 0 : next;
144
+ // set position of next slide to right of previous
145
+ position = width*2;
146
+ // distance to slide based on width of slides
147
+ direction = -width*2;
148
+ // store new current slide
149
+ current = next;
150
+ break;
151
+ case 'prev':
152
+ // change current slide to previous
153
+ prev = current;
154
+ // get next from current - 1
155
+ next = current - 1;
156
+ // if first slide, set next to last slide
157
+ next = next === -1 ? total-1 : next;
158
+ // set position of next slide to left of previous
159
+ position = 0;
160
+ // distance to slide based on width of slides
161
+ direction = 0;
162
+ // store new current slide
163
+ current = next;
164
+ break;
165
+ case 'pagination':
166
+ // get next from pagination item clicked, convert to number
167
+ next = parseInt(clicked,10);
168
+ // get previous from pagination item with class of current
169
+ prev = $('.' + option.paginationClass + ' li.'+ option.currentClass +' a', elem).attr('href').match('[^#/]+$');
170
+ // if next is greater then previous set position of next slide to right of previous
171
+ if (next > prev) {
172
+ position = width*2;
173
+ direction = -width*2;
174
+ } else {
175
+ // if next is less then previous set position of next slide to left of previous
176
+ position = 0;
177
+ direction = 0;
178
+ }
179
+ // store new current slide
180
+ current = next;
181
+ break;
182
+ }
183
+
184
+ // fade animation
185
+ if (effect === 'fade') {
186
+ // fade animation with crossfade
187
+ if (option.crossfade) {
188
+ // put hidden next above current
189
+ control.children(':eq('+ next +')', elem).css({
190
+ zIndex: 10
191
+ // fade in next
192
+ }).fadeIn(option.fadeSpeed, option.fadeEasing, function(){
193
+ if (option.autoHeight) {
194
+ // animate container to height of next
195
+ control.animate({
196
+ height: control.children(':eq('+ next +')', elem).outerHeight()
197
+ }, option.autoHeightSpeed, function(){
198
+ // hide previous
199
+ control.children(':eq('+ prev +')', elem).css({
200
+ display: 'none',
201
+ zIndex: 0
202
+ });
203
+ // reset z index
204
+ control.children(':eq('+ next +')', elem).css({
205
+ zIndex: 0
206
+ });
207
+ // end of animation
208
+ option.animationComplete(next + 1);
209
+ active = false;
210
+ });
211
+ } else {
212
+ // hide previous
213
+ control.children(':eq('+ prev +')', elem).css({
214
+ display: 'none',
215
+ zIndex: 0
216
+ });
217
+ // reset zindex
218
+ control.children(':eq('+ next +')', elem).css({
219
+ zIndex: 0
220
+ });
221
+ // end of animation
222
+ option.animationComplete(next + 1);
223
+ active = false;
224
+ }
225
+ });
226
+ } else {
227
+ // fade animation with no crossfade
228
+ control.children(':eq('+ prev +')', elem).fadeOut(option.fadeSpeed, option.fadeEasing, function(){
229
+ // animate to new height
230
+ if (option.autoHeight) {
231
+ control.animate({
232
+ // animate container to height of next
233
+ height: control.children(':eq('+ next +')', elem).outerHeight()
234
+ }, option.autoHeightSpeed,
235
+ // fade in next slide
236
+ function(){
237
+ control.children(':eq('+ next +')', elem).fadeIn(option.fadeSpeed, option.fadeEasing);
238
+ });
239
+ } else {
240
+ // if fixed height
241
+ control.children(':eq('+ next +')', elem).fadeIn(option.fadeSpeed, option.fadeEasing, function(){
242
+ // fix font rendering in ie, lame
243
+ if($.browser.msie) {
244
+ $(this).get(0).style.removeAttribute('filter');
245
+ }
246
+ });
247
+ }
248
+ // end of animation
249
+ option.animationComplete(next + 1);
250
+ active = false;
251
+ });
252
+ }
253
+ // slide animation
254
+ } else {
255
+ // move next slide to right of previous
256
+ control.children(':eq('+ next +')').css({
257
+ left: position,
258
+ display: 'block'
259
+ });
260
+ // animate to new height
261
+ if (option.autoHeight) {
262
+ control.animate({
263
+ left: direction,
264
+ height: control.children(':eq('+ next +')').outerHeight()
265
+ },option.slideSpeed, option.slideEasing, function(){
266
+ control.css({
267
+ left: -width
268
+ });
269
+ control.children(':eq('+ next +')').css({
270
+ left: width,
271
+ zIndex: 5
272
+ });
273
+ // reset previous slide
274
+ control.children(':eq('+ prev +')').css({
275
+ left: width,
276
+ display: 'none',
277
+ zIndex: 0
278
+ });
279
+ // end of animation
280
+ option.animationComplete(next + 1);
281
+ active = false;
282
+ });
283
+ // if fixed height
284
+ } else {
285
+ // animate control
286
+ control.animate({
287
+ left: direction
288
+ },option.slideSpeed, option.slideEasing, function(){
289
+ // after animation reset control position
290
+ control.css({
291
+ left: -width
292
+ });
293
+ // reset and show next
294
+ control.children(':eq('+ next +')').css({
295
+ left: width,
296
+ zIndex: 5
297
+ });
298
+ // reset previous slide
299
+ control.children(':eq('+ prev +')').css({
300
+ left: width,
301
+ display: 'none',
302
+ zIndex: 0
303
+ });
304
+ // end of animation
305
+ option.animationComplete(next + 1);
306
+ active = false;
307
+ });
308
+ }
309
+ }
310
+ // set current state for pagination
311
+ if (option.pagination) {
312
+ // remove current class from all
313
+ $('.'+ option.paginationClass +' li.' + option.currentClass, elem).removeClass(option.currentClass);
314
+ // add current class to next
315
+ $('.' + option.paginationClass + ' li:eq('+ next +')', elem).addClass(option.currentClass);
316
+ }
317
+ }
318
+ } // end animate function
319
+
320
+ function stop() {
321
+ // clear interval from stored id
322
+ clearInterval(elem.data('interval'));
323
+ }
324
+
325
+ function pause() {
326
+ if (option.pause) {
327
+ // clear timeout and interval
328
+ clearTimeout(elem.data('pause'));
329
+ clearInterval(elem.data('interval'));
330
+ // pause slide show for option.pause amount
331
+ pauseTimeout = setTimeout(function() {
332
+ // clear pause timeout
333
+ clearTimeout(elem.data('pause'));
334
+ // start play interval after pause
335
+ playInterval = setInterval( function(){
336
+ animate("next", effect);
337
+ },option.play);
338
+ // store play interval
339
+ elem.data('interval',playInterval);
340
+ },option.pause);
341
+ // store pause interval
342
+ elem.data('pause',pauseTimeout);
343
+ } else {
344
+ // if no pause, just stop
345
+ stop();
346
+ }
347
+ }
348
+
349
+ // 2 or more slides required
350
+ if (total < 2) {
351
+ return;
352
+ }
353
+
354
+ // error corection for start slide
355
+ if (start < 0) {
356
+ start = 0;
357
+ }
358
+
359
+ if (start > total) {
360
+ start = total - 1;
361
+ }
362
+
363
+ // change current based on start option number
364
+ if (option.start) {
365
+ current = start;
366
+ }
367
+
368
+ // randomizes slide order
369
+ if (option.randomize) {
370
+ control.randomize();
371
+ }
372
+
373
+ // make sure overflow is hidden, width is set
374
+ $('.' + option.container, elem).css({
375
+ overflow: 'hidden',
376
+ // fix for ie
377
+ position: 'relative'
378
+ });
379
+
380
+ // set css for slides
381
+ control.children().css({
382
+ position: 'absolute',
383
+ top: 0,
384
+ left: control.children().outerWidth(),
385
+ zIndex: 0,
386
+ display: 'none'
387
+ });
388
+
389
+ // set css for control div
390
+ control.css({
391
+ position: 'relative',
392
+ // size of control 3 x slide width
393
+ width: (width * 3),
394
+ // set height to slide height
395
+ height: height,
396
+ // center control to slide
397
+ left: -width
398
+ });
399
+
400
+ // show slides
401
+ $('.' + option.container, elem).css({
402
+ display: 'block'
403
+ });
404
+
405
+ // if autoHeight true, get and set height of first slide
406
+ if (option.autoHeight) {
407
+ control.children().css({
408
+ height: 'auto'
409
+ });
410
+ control.animate({
411
+ height: control.children(':eq('+ start +')').outerHeight()
412
+ },option.autoHeightSpeed);
413
+ }
414
+
415
+ // checks if image is loaded
416
+ if (option.preload && control.find('img:eq(' + start + ')').length) {
417
+ // adds preload image
418
+ $('.' + option.container, elem).css({
419
+ background: 'url(' + option.preloadImage + ') no-repeat 50% 50%'
420
+ });
421
+
422
+ // gets image src, with cache buster
423
+ var img = control.find('img:eq(' + start + ')').attr('src') + '?' + (new Date()).getTime();
424
+
425
+ // check if the image has a parent
426
+ if ($('img', elem).parent().attr('class') != 'slides_control') {
427
+ // If image has parent, get tag name
428
+ imageParent = control.children(':eq(0)')[0].tagName.toLowerCase();
429
+ } else {
430
+ // Image doesn't have parent, use image tag name
431
+ imageParent = control.find('img:eq(' + start + ')');
432
+ }
433
+
434
+ // checks if image is loaded
435
+ control.find('img:eq(' + start + ')').attr('src', img).load(function() {
436
+ // once image is fully loaded, fade in
437
+ control.find(imageParent + ':eq(' + start + ')').fadeIn(option.fadeSpeed, option.fadeEasing, function(){
438
+ $(this).css({
439
+ zIndex: 5
440
+ });
441
+ // removes preload image
442
+ $('.' + option.container, elem).css({
443
+ background: ''
444
+ });
445
+ // let the script know everything is loaded
446
+ loaded = true;
447
+ // call the loaded funciton
448
+ option.slidesLoaded();
449
+ });
450
+ });
451
+ } else {
452
+ // if no preloader fade in start slide
453
+ control.children(':eq(' + start + ')').fadeIn(option.fadeSpeed, option.fadeEasing, function(){
454
+ // let the script know everything is loaded
455
+ loaded = true;
456
+ // call the loaded funciton
457
+ option.slidesLoaded();
458
+ });
459
+ }
460
+ /* AUGURIA_SLIDEJS RESPONSIVE */
461
+ resize();
462
+ /* AUGURIA_SLIDEJS RESPONSIVE */
463
+
464
+ // click slide for next
465
+ if (option.bigTarget) {
466
+ // set cursor to pointer
467
+ control.children().css({
468
+ cursor: 'pointer'
469
+ });
470
+ // click handler
471
+ control.children().click(function(){
472
+ // animate to next on slide click
473
+ animate('next', effect);
474
+ return false;
475
+ });
476
+ }
477
+
478
+ // pause on mouseover
479
+ if (option.hoverPause && option.play) {
480
+ control.bind('mouseover',function(){
481
+ // on mouse over stop
482
+ stop();
483
+ });
484
+ control.bind('mouseleave',function(){
485
+ // on mouse leave start pause timeout
486
+ pause();
487
+ });
488
+ }
489
+
490
+ // generate next/prev buttons
491
+ if (option.generateNextPrev) {
492
+ $('.' + option.container, elem).after('<a href="#" class="'+ option.prev +'">Prev</a>');
493
+ $('.' + option.prev, elem).after('<a href="#" class="'+ option.next +'">Next</a>');
494
+ }
495
+
496
+ // next button
497
+ $('.' + option.next ,elem).click(function(e){
498
+ e.preventDefault();
499
+ if (option.play) {
500
+ pause();
501
+ }
502
+ animate('next', effect);
503
+ });
504
+
505
+ // previous button
506
+ $('.' + option.prev, elem).click(function(e){
507
+ e.preventDefault();
508
+ if (option.play) {
509
+ pause();
510
+ }
511
+ animate('prev', effect);
512
+ });
513
+
514
+ // generate pagination
515
+ if (option.generatePagination) {
516
+ // create unordered list
517
+ if (option.prependPagination) {
518
+ elem.prepend('<ul class='+ option.paginationClass +'></ul>');
519
+ } else {
520
+ elem.append('<ul class='+ option.paginationClass +'></ul>');
521
+ }
522
+ // for each slide create a list item and link
523
+ control.children().each(function(){
524
+ $('.' + option.paginationClass, elem).append('<li><a href="#'+ number +'">'+ (number+1) +'</a></li>');
525
+ number++;
526
+ });
527
+ } else {
528
+ // if pagination exists, add href w/ value of item number to links
529
+ $('.' + option.paginationClass + ' li a', elem).each(function(){
530
+ $(this).attr('href', '#' + number);
531
+ number++;
532
+ });
533
+ }
534
+ // add current class to start slide pagination
535
+ $('.' + option.paginationClass + ' li:eq('+ start +')', elem).addClass(option.currentClass);
536
+
537
+ // click handling
538
+ $('.' + option.paginationClass + ' li a', elem ).click(function(){
539
+ // pause slideshow
540
+ if (option.play) {
541
+ pause();
542
+ }
543
+ // get clicked, pass to animate function
544
+ clicked = $(this).attr('href').match('[^#/]+$');
545
+ // if current slide equals clicked, don't do anything
546
+ if (current != clicked) {
547
+ animate('pagination', paginationEffect, clicked);
548
+ }
549
+ return false;
550
+ });
551
+
552
+ // click handling
553
+ $('a.link', elem).click(function(){
554
+ // pause slideshow
555
+ if (option.play) {
556
+ pause();
557
+ }
558
+ // get clicked, pass to animate function
559
+ clicked = $(this).attr('href').match('[^#/]+$') - 1;
560
+ // if current slide equals clicked, don't do anything
561
+ if (current != clicked) {
562
+ animate('pagination', paginationEffect, clicked);
563
+ }
564
+ return false;
565
+ });
566
+
567
+ if (option.play) {
568
+ // set interval
569
+ playInterval = setInterval(function() {
570
+ animate('next', effect);
571
+ }, option.play);
572
+ // store interval id
573
+ elem.data('interval',playInterval);
574
+ }
575
+ });
576
+ };
577
+
578
+ // default options
579
+ $.fn.slides.option = {
580
+ preload: false, // boolean, Set true to preload images in an image based slideshow
581
+ preloadImage: '/img/loading.gif', // string, Name and location of loading image for preloader. Default is "/img/loading.gif"
582
+ container: 'slides_container', // string, Class name for slides container. Default is "slides_container"
583
+ generateNextPrev: false, // boolean, Auto generate next/prev buttons
584
+ next: 'next', // string, Class name for next button
585
+ prev: 'prev', // string, Class name for previous button
586
+ pagination: true, // boolean, If you're not using pagination you can set to false, but don't have to
587
+ generatePagination: true, // boolean, Auto generate pagination
588
+ prependPagination: false, // boolean, prepend pagination
589
+ paginationClass: 'pagination', // string, Class name for pagination
590
+ currentClass: 'current', // string, Class name for current class
591
+ fadeSpeed: 350, // number, Set the speed of the fading animation in milliseconds
592
+ fadeEasing: '', // string, must load jQuery's easing plugin before http://gsgd.co.uk/sandbox/jquery/easing/
593
+ slideSpeed: 350, // number, Set the speed of the sliding animation in milliseconds
594
+ slideEasing: '', // string, must load jQuery's easing plugin before http://gsgd.co.uk/sandbox/jquery/easing/
595
+ start: 1, // number, Set the speed of the sliding animation in milliseconds
596
+ effect: 'slide', // string, '[next/prev], [pagination]', e.g. 'slide, fade' or simply 'fade' for both
597
+ crossfade: false, // boolean, Crossfade images in a image based slideshow
598
+ randomize: false, // boolean, Set to true to randomize slides
599
+ play: 0, // number, Autoplay slideshow, a positive number will set to true and be the time between slide animation in milliseconds
600
+ pause: 0, // number, Pause slideshow on click of next/prev or pagination. A positive number will set to true and be the time of pause in milliseconds
601
+ hoverPause: false, // boolean, Set to true and hovering over slideshow will pause it
602
+ autoHeight: false, // boolean, Set to true to auto adjust height
603
+ autoHeightSpeed: 350, // number, Set auto height animation time in milliseconds
604
+ bigTarget: false, // boolean, Set to true and the whole slide will link to next slide on click
605
+ animationStart: function(){}, // Function called at the start of animation
606
+ animationComplete: function(){}, // Function called at the completion of animation
607
+ slidesLoaded: function() {} // Function is called when slides is fully loaded
608
+ };
609
+
610
+ // Randomize slide order on load
611
+ $.fn.randomize = function(callback) {
612
+ function randomizeOrder() { return(Math.round(Math.random())-0.5); }
613
+ return($(this).each(function() {
614
+ var $this = $(this);
615
+ var $children = $this.children();
616
+ var childCount = $children.length;
617
+ if (childCount > 1) {
618
+ $children.hide();
619
+ var indices = [];
620
+ for (i=0;i<childCount;i++) { indices[indices.length] = i; }
621
+ indices = indices.sort(randomizeOrder);
622
+ $.each(indices,function(j,k) {
623
+ var $child = $children.eq(k);
624
+ var $clone = $child.clone(true);
625
+ $clone.show().appendTo($this);
626
+ if (callback !== undefined) {
627
+ callback($child, $clone);
628
+ }
629
+ $child.remove();
630
+ });
631
+ }
632
+ }));
633
+ };
634
+ })(jQuery);
635
+ jQuery.noConflict();
media/auguria/sliders/Anax.jpg DELETED
Binary file
media/auguria/sliders/Ara.jpg DELETED
Binary file
media/auguria/sliders/abstract.jpg ADDED
Binary file
media/auguria/sliders/food.jpg ADDED
Binary file
media/auguria/sliders/resized/455x200/Anax.jpg DELETED
Binary file
media/auguria/sliders/resized/685x300/Anax.jpg DELETED
Binary file
media/auguria/sliders/resized/685x300/Ara.jpg DELETED
Binary file
media/auguria/sliders/resized/685x300/abstract-q-c-870-300-3.jpg ADDED
Binary file
media/auguria/sliders/resized/685x300/food-q-c-870-300-1.jpg ADDED
Binary file
media/auguria/sliders/resized/900x394/Anax.jpg DELETED
Binary file
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Auguria_Sliders</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/gpl-3.0.html">GPL 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Auguria_Sliders</summary>
10
- <description>Auguria_Sliders</description>
11
- <notes>Auguria_Sliders</notes>
12
  <authors><author><name>Auguria</name><user>auto-converted</user><email>magento@auguria.net</email></author></authors>
13
- <date>2012-07-24</date>
14
- <time>13:53:34</time>
15
- <contents><target name="magecommunity"><dir name="Auguria"><dir name="Sliders"><dir name="Block"><dir name="Adminhtml"><dir name="Sliders"><dir name="Edit"><dir name="Tab"><file name="Categories.php" hash="4aee1e34b643b2a54353a7b1e83631ad"/><file name="Content.php" hash="07b04ae6f6a6b6ee2dc1018135d838f3"/><file name="Pages.php" hash="02a108351c3b2e31d656dab9af908583"/><file name="Stores.php" hash="a424cf6fb939c9be88f2131171b9c531"/></dir><file name="Form.php" hash="dce1fc7d623de180e1339489f5315bff"/><file name="Tabs.php" hash="cfe4e52fab1966b929e9655a3415b485"/></dir><file name="Edit.php" hash="7b1cac7b75ae5bc1350c003c10b575eb"/><file name="Grid.php" hash="0069ee090f790ca0d85d28963f50d886"/></dir><file name="Sliders.php" hash="2ae7953c07288edbd0881d1db5e2ccd0"/></dir><dir name="Catalog"><dir name="Category"><file name="Slider.php" hash="3ef5c7b510103103e4168397ec7a05bd"/></dir></dir><dir name="Cms"><dir name="Page"><file name="Slider.php" hash="19132d7e1c270f1520263264ae7194f0"/></dir></dir><file name="Abstract.php" hash="7f72df624210750724be208f6f1b59e0"/></dir><dir name="Helper"><file name="Data.php" hash="e678aa6c8c041c355c80bc5bb949052c"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><file name="NaturalNumber.php" hash="c14ed5eb3e189f07e78057a6721d20b0"/></dir><dir name="Source"><dir name="Cms"><file name="Page.php" hash="46dec918ceb64ba46c8af008628b7f5e"/></dir><file name="Effect.php" hash="8ce3805e4ce235a6e33eb6b511d03838"/><file name="Truefalse.php" hash="50c326540c0685383f8bacbecf7b99b5"/></dir></dir></dir></dir><dir name="Mysql4"><dir name="Sliders"><file name="Collection.php" hash="614e0958d097879bbbc55aeb80d542e1"/></dir><file name="Sliders.php" hash="004278067d46e600ca944fafae86d02c"/></dir><file name="Sliders.php" hash="46cea50641763afa3179a2bea516b490"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SlidersController.php" hash="260661ad6c4e23ae6e3c6b45a28be4c1"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="cc511e595cafb5c84130235cf6d9c72c"/><file name="config.xml" hash="72eb3014316ddff8af156ce5a626eec6"/><file name="system.xml" hash="097f70863b026b927e7f7f2703761ba9"/></dir><dir name="sql"><dir name="auguria_sliders_setup"><file name="mysql4-install-0.0.1.php" hash="cfaff3ef218bf8686048a1cc0726cbe9"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="ee07a208deaa2dd161f78b59230721a7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="auguria"><file name="sliders.xml" hash="b39d600fa56b0748ecfa330b889cf909"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sliders"><file name="slider.phtml" hash="78a63d0190c411c933428fd0bdc23bac"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="auguria"><file name="sliders.xml" hash="dd894628e702da0a11f52a17c082dd88"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sliders"><dir name="edit"><file name="categories.phtml" hash="5444cc24a21bc011f8722038a5feb5f7"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Auguria_Sliders.xml" hash="6bb3f950e75ac8b75d5d6605b74592bf"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Auguria_Sliders.csv" hash="3fb1bbf42e31aa183a25f5457349311e"/></dir></target><target name="magemedia"><dir name="auguria"><dir name="sliders"><dir name="resized"><dir name="455x200"><file name="Anax.jpg" hash="8a57737b71fe20da74963189363f693f"/></dir><dir name="685x300"><file name="Anax.jpg" hash="bbd5c678467be911edf640eba5d34618"/><file name="Ara.jpg" hash="21149831bf2d8878e7492239d82328e0"/></dir><dir name="900x394"><file name="Anax.jpg" hash="94604e87bd372da461f0fdf91f811df3"/></dir></dir><file name="Anax.jpg" hash="b6189195865f98bf05247a218cbc8c1b"/><file name="Ara.jpg" hash="54726bc22ba5f81251ba1fbb1c887e93"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="auguria"><dir name="sliders"><file name="default.css" hash="61699e012359800b301324f1cc6cf4bb"/></dir></dir></dir><dir name="images"><dir name="auguria"><dir name="sliders"><file name="loading.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="next-hover.png" hash="88aac1540ed5d8db2bf952ba4ec4763a"/><file name="next.png" hash="d37920de5bccdec9a2b3ba1e522e10af"/><file name="pagination.png" hash="04244bffef3368ef2d9088d584e75d11"/><file name="previous-hover.png" hash="49e94b0b4ae1fc84adebec5d1841495d"/><file name="previous.png" hash="5aa8e141a4df9c28ebfddbdb77fbb5c2"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auguria"><dir name="sliders"><file name="jquery-1.7.2.min.js" hash="b8d64d0bc142b3f670cc0611b0aebcae"/><file name="slides.min.jquery.js" hash="344418b75ab9484ded643a2ebb689605"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Auguria_Sliders</name>
4
+ <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/gpl-3.0.html">GPL 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Auguria_Slider</summary>
10
+ <description>Auguria_Slider</description>
11
+ <notes>Auguria_Slider</notes>
12
  <authors><author><name>Auguria</name><user>auto-converted</user><email>magento@auguria.net</email></author></authors>
13
+ <date>2013-12-03</date>
14
+ <time>10:44:23</time>
15
+ <contents><target name="magecommunity"><dir name="Auguria"><dir name="Sliders"><dir><dir name="Block"><file name="Abstract.php" hash="7f72df624210750724be208f6f1b59e0"/><dir name="Adminhtml"><dir name="Sliders"><dir name="Edit"><file name="Form.php" hash="dce1fc7d623de180e1339489f5315bff"/><dir name="Tab"><file name="Categories.php" hash="6cbc37ed39941a791fe75f94403a4b5e"/><file name="Content.php" hash="07b04ae6f6a6b6ee2dc1018135d838f3"/><file name="Pages.php" hash="02a108351c3b2e31d656dab9af908583"/><file name="Stores.php" hash="a424cf6fb939c9be88f2131171b9c531"/></dir><file name="Tabs.php" hash="cfe4e52fab1966b929e9655a3415b485"/></dir><file name="Edit.php" hash="7b1cac7b75ae5bc1350c003c10b575eb"/><file name="Grid.php" hash="0069ee090f790ca0d85d28963f50d886"/></dir><file name="Sliders.php" hash="2ae7953c07288edbd0881d1db5e2ccd0"/></dir><dir name="Catalog"><dir name="Category"><file name="Slider.php" hash="3ef5c7b510103103e4168397ec7a05bd"/></dir></dir><dir name="Cms"><dir name="Page"><file name="Slider.php" hash="19132d7e1c270f1520263264ae7194f0"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="e678aa6c8c041c355c80bc5bb949052c"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><file name="NaturalNumber.php" hash="c14ed5eb3e189f07e78057a6721d20b0"/></dir><dir name="Source"><dir name="Cms"><file name="Page.php" hash="46dec918ceb64ba46c8af008628b7f5e"/></dir><file name="Effect.php" hash="8ce3805e4ce235a6e33eb6b511d03838"/><file name="Truefalse.php" hash="50c326540c0685383f8bacbecf7b99b5"/></dir></dir></dir></dir><dir name="Mysql4"><dir name="Sliders"><file name="Collection.php" hash="614e0958d097879bbbc55aeb80d542e1"/></dir><file name="Sliders.php" hash="004278067d46e600ca944fafae86d02c"/></dir><file name="Sliders.php" hash="46cea50641763afa3179a2bea516b490"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SlidersController.php" hash="260661ad6c4e23ae6e3c6b45a28be4c1"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="cc511e595cafb5c84130235cf6d9c72c"/><file name="config.xml" hash="72eb3014316ddff8af156ce5a626eec6"/><file name="system.xml" hash="097f70863b026b927e7f7f2703761ba9"/><file name="system.xml~" hash="d0813ee66de234e31580a9a3055c5518"/></dir><dir name="sql"><dir name="auguria_sliders_setup"><file name="mysql4-install-0.0.1.php" hash="cfaff3ef218bf8686048a1cc0726cbe9"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="c6fda6f4700f4078d95ecd44f29e2e0e"/><file name="mysql4-upgrade-0.0.1-0.0.2.php~" hash="ee07a208deaa2dd161f78b59230721a7"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="auguria"><file name="sliders.xml" hash="2e6a1aaa64191d8ff5e13bada394c558"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sliders"><file name="slider.phtml" hash="b91c7e039ad2017dd8c71e9d8f457e84"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="auguria"><file name="sliders.xml" hash="dd894628e702da0a11f52a17c082dd88"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sliders"><dir name="edit"><file name="categories.phtml" hash="5444cc24a21bc011f8722038a5feb5f7"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Auguria_Sliders.xml" hash="6bb3f950e75ac8b75d5d6605b74592bf"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Auguria_Sliders.csv" hash="3fb1bbf42e31aa183a25f5457349311e"/></dir></target><target name="magemedia"><dir name="auguria"><dir name="sliders"><file name="abstract.jpg" hash="dc8f2a9d7e17678b44572cc32c445d13"/><file name="food.jpg" hash="a2335e7846d80b1f1d2cb03828e60b92"/><dir name="resized"><dir name="685x300"><file name="abstract-q-c-870-300-3.jpg" hash="c09f62578dab39ec9fc680388541e2ec"/><file name="food-q-c-870-300-1.jpg" hash="ffd42916d5d5bbaeebd6f7ac6a89b275"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="auguria"><dir name="sliders"><file name="default.css" hash="bcda6d1e061d46a2ad6a4742707d959b"/></dir></dir></dir><dir name="images"><dir name="auguria"><dir name="sliders"><file name="loading.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="next-hover.png" hash="88aac1540ed5d8db2bf952ba4ec4763a"/><file name="next.png" hash="d37920de5bccdec9a2b3ba1e522e10af"/><file name="pagination.png" hash="04244bffef3368ef2d9088d584e75d11"/><file name="previous-hover.png" hash="49e94b0b4ae1fc84adebec5d1841495d"/><file name="previous.png" hash="5aa8e141a4df9c28ebfddbdb77fbb5c2"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auguria"><dir name="sliders"><file name="jquery-1.7.2.min.js" hash="b8d64d0bc142b3f670cc0611b0aebcae"/><file name="slides.min.jquery_forked.js" hash="9c94e73691598a9260c15813737c219d"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.2.3</min><max>5.6.0</max></php></required></dependencies>
18
  </package>
skin/frontend/base/default/css/auguria/sliders/default.css CHANGED
@@ -84,78 +84,4 @@ ul.pagination li.current a, ul.pagination li.current a:hover {
84
  }
85
  #auguria-slider .next span, #auguria-slider .prev span {
86
  display: none;
87
- }
88
- /**
89
- * Empty
90
- */
91
- body.page-empty #auguria-slider {
92
- width:900px;
93
- }
94
- body.page-empty .auguria-slider-container {
95
- width:900px;
96
- height:394px;
97
- }
98
- body.page-empty .auguria-slider-container div {
99
- width:900px;
100
- height:394px;
101
- }
102
- body.page-empty #auguria-slider .caption {
103
- width:860px;
104
- }
105
-
106
- /**
107
- * One column
108
- */
109
- div.col1-layout #auguria-slider {
110
- width:900px;
111
- }
112
- div.col1-layout .auguria-slider-container {
113
- width:900px;
114
- height:394px;
115
- }
116
- div.col1-layout .auguria-slider-container div {
117
- width:900px;
118
- height:394px;
119
- }
120
- div.col1-layout #auguria-slider .caption {
121
- width:860px;
122
- }
123
-
124
- /**
125
- * Two columns
126
- */
127
- div.col2-left-layout #auguria-slider,
128
- div.col2-right-layout #auguria-slider {
129
- width:685px;
130
- }
131
- div.col2-left-layout .auguria-slider-container,
132
- div.col2-right-layout .auguria-slider-container {
133
- width:685px;
134
- height:300px;
135
- }
136
- div.col2-left-layout .auguria-slider-container div,
137
- div.col2-right-layout .auguria-slider-container div {
138
- width:685px;
139
- height:300px;
140
- }
141
- div.col2-left-layout #auguria-slider .caption,
142
- div.col2-right-layout #auguria-slider .caption {
143
- width:645px;
144
- }
145
- /**
146
- * Three columns
147
- */
148
- div.col3-layout #auguria-slider {
149
- width:455px;
150
- }
151
- div.col3-layout .auguria-slider-container {
152
- width:455px;
153
- height:200px;
154
- }
155
- div.col3-layout .auguria-slider-container div {
156
- width:455px;
157
- height:200px;
158
- }
159
- div.col3-layout #auguria-slider .caption {
160
- width:415px;
161
- }
84
  }
85
  #auguria-slider .next span, #auguria-slider .prev span {
86
  display: none;
87
+ }