Version Notes
Add Banner Sort Order feature in admin panel.
Download this release
Release Info
Developer | mukesh kumar saini |
Extension | Mks_Responsivebannerslider |
Version | 9.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.9.1 to 9.1.0
- app/code/community/Mks/Bannerslider/Block/Adminhtml/Bannersliderbackend.php +5 -0
- app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery.php +17 -0
- app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery/Edit.php +44 -0
- app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery/Edit/Form.php +17 -0
- app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery/Edit/Tab/Form.php +48 -0
- app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery/Edit/Tabs.php +21 -0
- app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery/Grid.php +90 -0
- app/code/community/Mks/Bannerslider/Block/Index.php +71 -0
- app/code/community/Mks/Bannerslider/Helper/Data.php +5 -0
- app/code/community/Mks/Bannerslider/Model/Imagegallery.php +12 -0
- app/code/community/Mks/Bannerslider/Model/Mysql4/Imagegallery.php +8 -0
- app/code/community/Mks/Bannerslider/Model/Mysql4/Imagegallery/Collection.php +12 -0
- app/code/community/Mks/Bannerslider/controllers/Adminhtml/BannersliderbackendController.php +10 -0
- app/code/community/Mks/Bannerslider/controllers/Adminhtml/ImagegalleryController.php +209 -0
- app/code/community/Mks/Bannerslider/controllers/IndexController.php +22 -0
- app/code/community/Mks/Bannerslider/etc/adminhtml.xml +23 -0
- app/code/community/Mks/Bannerslider/etc/config.xml +134 -0
- app/code/community/Mks/Bannerslider/etc/system.xml +134 -0
- app/code/community/Mks/Bannerslider/sql/bannerslider_setup/mysql4-install-8.1.1.php +37 -0
- package.xml +4 -4
app/code/community/Mks/Bannerslider/Block/Adminhtml/Bannersliderbackend.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mks_Bannerslider_Block_Adminhtml_Bannersliderbackend extends Mage_Adminhtml_Block_Template {
|
4 |
+
|
5 |
+
}
|
app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Mks_Bannerslider_Block_Adminhtml_Imagegallery extends Mage_Adminhtml_Block_Widget_Grid_Container{
|
5 |
+
|
6 |
+
public function __construct()
|
7 |
+
{
|
8 |
+
|
9 |
+
$this->_controller = "adminhtml_imagegallery";
|
10 |
+
$this->_blockGroup = "bannerslider";
|
11 |
+
$this->_headerText = Mage::helper("bannerslider")->__("Imagegallery Manager");
|
12 |
+
$this->_addButtonLabel = Mage::helper("bannerslider")->__("Add New Item");
|
13 |
+
parent::__construct();
|
14 |
+
|
15 |
+
}
|
16 |
+
|
17 |
+
}
|
app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery/Edit.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mks_Bannerslider_Block_Adminhtml_Imagegallery_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
|
4 |
+
{
|
5 |
+
public function __construct()
|
6 |
+
{
|
7 |
+
|
8 |
+
parent::__construct();
|
9 |
+
$this->_objectId = "id";
|
10 |
+
$this->_blockGroup = "bannerslider";
|
11 |
+
$this->_controller = "adminhtml_imagegallery";
|
12 |
+
$this->_updateButton("save", "label", Mage::helper("bannerslider")->__("Save Item"));
|
13 |
+
$this->_updateButton("delete", "label", Mage::helper("bannerslider")->__("Delete Item"));
|
14 |
+
|
15 |
+
$this->_addButton("saveandcontinue", array(
|
16 |
+
"label" => Mage::helper("bannerslider")->__("Save And Continue Edit"),
|
17 |
+
"onclick" => "saveAndContinueEdit()",
|
18 |
+
"class" => "save",
|
19 |
+
), -100);
|
20 |
+
|
21 |
+
|
22 |
+
|
23 |
+
$this->_formScripts[] = "
|
24 |
+
|
25 |
+
function saveAndContinueEdit(){
|
26 |
+
editForm.submit($('edit_form').action+'back/edit/');
|
27 |
+
}
|
28 |
+
";
|
29 |
+
}
|
30 |
+
|
31 |
+
public function getHeaderText()
|
32 |
+
{
|
33 |
+
if( Mage::registry("imagegallery_data") && Mage::registry("imagegallery_data")->getId() ){
|
34 |
+
|
35 |
+
return Mage::helper("bannerslider")->__("Edit Item '%s'", $this->htmlEscape(Mage::registry("imagegallery_data")->getId()));
|
36 |
+
|
37 |
+
}
|
38 |
+
else{
|
39 |
+
|
40 |
+
return Mage::helper("bannerslider")->__("Add Item");
|
41 |
+
|
42 |
+
}
|
43 |
+
}
|
44 |
+
}
|
app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery/Edit/Form.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mks_Bannerslider_Block_Adminhtml_Imagegallery_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
|
3 |
+
{
|
4 |
+
protected function _prepareForm()
|
5 |
+
{
|
6 |
+
$form = new Varien_Data_Form(array(
|
7 |
+
"id" => "edit_form",
|
8 |
+
"action" => $this->getUrl("*/*/save", array("id" => $this->getRequest()->getParam("id"))),
|
9 |
+
"method" => "post",
|
10 |
+
"enctype" =>"multipart/form-data",
|
11 |
+
)
|
12 |
+
);
|
13 |
+
$form->setUseContainer(true);
|
14 |
+
$this->setForm($form);
|
15 |
+
return parent::_prepareForm();
|
16 |
+
}
|
17 |
+
}
|
app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery/Edit/Tab/Form.php
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mks_Bannerslider_Block_Adminhtml_Imagegallery_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
|
3 |
+
{
|
4 |
+
protected function _prepareForm()
|
5 |
+
{
|
6 |
+
|
7 |
+
$form = new Varien_Data_Form();
|
8 |
+
$this->setForm($form);
|
9 |
+
$fieldset = $form->addFieldset("bannerslider_form", array("legend"=>Mage::helper("bannerslider")->__("Item information")));
|
10 |
+
|
11 |
+
|
12 |
+
$fieldset->addField("title", "text", array(
|
13 |
+
"label" => Mage::helper("bannerslider")->__("Title"),
|
14 |
+
"name" => "title",
|
15 |
+
));
|
16 |
+
|
17 |
+
$fieldset->addField('image', 'image', array(
|
18 |
+
'label' => Mage::helper('bannerslider')->__('Image'),
|
19 |
+
'name' => 'image',
|
20 |
+
'note' => '(*.jpg, *.png, *.gif)',
|
21 |
+
));
|
22 |
+
$fieldset->addField("url", "text", array(
|
23 |
+
"label" => Mage::helper("bannerslider")->__("URL"),
|
24 |
+
"name" => "url",
|
25 |
+
));
|
26 |
+
|
27 |
+
$fieldset->addField("description", "textarea", array(
|
28 |
+
"label" => Mage::helper("bannerslider")->__("Description"),
|
29 |
+
"name" => "description",
|
30 |
+
));
|
31 |
+
|
32 |
+
$fieldset->addField('status', 'select', array(
|
33 |
+
'label' => Mage::helper('bannerslider')->__('Status'),
|
34 |
+
'values' => Mks_Bannerslider_Block_Adminhtml_Imagegallery_Grid::getValueArray4(),
|
35 |
+
'name' => 'status',
|
36 |
+
));
|
37 |
+
|
38 |
+
if (Mage::getSingleton("adminhtml/session")->getImagegalleryData())
|
39 |
+
{
|
40 |
+
$form->setValues(Mage::getSingleton("adminhtml/session")->getImagegalleryData());
|
41 |
+
Mage::getSingleton("adminhtml/session")->setImagegalleryData(null);
|
42 |
+
}
|
43 |
+
elseif(Mage::registry("imagegallery_data")) {
|
44 |
+
$form->setValues(Mage::registry("imagegallery_data")->getData());
|
45 |
+
}
|
46 |
+
return parent::_prepareForm();
|
47 |
+
}
|
48 |
+
}
|
app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery/Edit/Tabs.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mks_Bannerslider_Block_Adminhtml_Imagegallery_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
|
3 |
+
{
|
4 |
+
public function __construct()
|
5 |
+
{
|
6 |
+
parent::__construct();
|
7 |
+
$this->setId("imagegallery_tabs");
|
8 |
+
$this->setDestElementId("edit_form");
|
9 |
+
$this->setTitle(Mage::helper("bannerslider")->__("Item Information"));
|
10 |
+
}
|
11 |
+
protected function _beforeToHtml()
|
12 |
+
{
|
13 |
+
$this->addTab("form_section", array(
|
14 |
+
"label" => Mage::helper("bannerslider")->__("Item Information"),
|
15 |
+
"title" => Mage::helper("bannerslider")->__("Item Information"),
|
16 |
+
"content" => $this->getLayout()->createBlock("bannerslider/adminhtml_imagegallery_edit_tab_form")->toHtml(),
|
17 |
+
));
|
18 |
+
return parent::_beforeToHtml();
|
19 |
+
}
|
20 |
+
|
21 |
+
}
|
app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery/Grid.php
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mks_Bannerslider_Block_Adminhtml_Imagegallery_Grid extends Mage_Adminhtml_Block_Widget_Grid
|
4 |
+
{
|
5 |
+
|
6 |
+
public function __construct()
|
7 |
+
{
|
8 |
+
parent::__construct();
|
9 |
+
$this->setId("imagegalleryGrid");
|
10 |
+
$this->setDefaultSort("id");
|
11 |
+
$this->setDefaultDir("DESC");
|
12 |
+
$this->setSaveParametersInSession(true);
|
13 |
+
}
|
14 |
+
|
15 |
+
protected function _prepareCollection()
|
16 |
+
{
|
17 |
+
$collection = Mage::getModel("bannerslider/imagegallery")->getCollection();
|
18 |
+
$this->setCollection($collection);
|
19 |
+
return parent::_prepareCollection();
|
20 |
+
}
|
21 |
+
protected function _prepareColumns()
|
22 |
+
{
|
23 |
+
$this->addColumn("id", array(
|
24 |
+
"header" => Mage::helper("bannerslider")->__("ID"),
|
25 |
+
"align" =>"right",
|
26 |
+
"width" => "50px",
|
27 |
+
"type" => "number",
|
28 |
+
"index" => "id",
|
29 |
+
));
|
30 |
+
|
31 |
+
$this->addColumn("title", array(
|
32 |
+
"header" => Mage::helper("bannerslider")->__("Title"),
|
33 |
+
"index" => "title",
|
34 |
+
));
|
35 |
+
$this->addColumn("url", array(
|
36 |
+
"header" => Mage::helper("bannerslider")->__("URL"),
|
37 |
+
"index" => "url",
|
38 |
+
));
|
39 |
+
$this->addColumn('status', array(
|
40 |
+
'header' => Mage::helper('bannerslider')->__('Status'),
|
41 |
+
'index' => 'status',
|
42 |
+
'type' => 'options',
|
43 |
+
'options'=>Mks_Bannerslider_Block_Adminhtml_Imagegallery_Grid::getOptionArray4(),
|
44 |
+
));
|
45 |
+
|
46 |
+
$this->addExportType('*/*/exportCsv', Mage::helper('sales')->__('CSV'));
|
47 |
+
$this->addExportType('*/*/exportExcel', Mage::helper('sales')->__('Excel'));
|
48 |
+
|
49 |
+
return parent::_prepareColumns();
|
50 |
+
}
|
51 |
+
|
52 |
+
public function getRowUrl($row)
|
53 |
+
{
|
54 |
+
return $this->getUrl("*/*/edit", array("id" => $row->getId()));
|
55 |
+
}
|
56 |
+
|
57 |
+
|
58 |
+
|
59 |
+
protected function _prepareMassaction()
|
60 |
+
{
|
61 |
+
$this->setMassactionIdField('id');
|
62 |
+
$this->getMassactionBlock()->setFormFieldName('ids');
|
63 |
+
$this->getMassactionBlock()->setUseSelectAll(true);
|
64 |
+
$this->getMassactionBlock()->addItem('remove_imagegallery', array(
|
65 |
+
'label'=> Mage::helper('bannerslider')->__('Remove Imagegallery'),
|
66 |
+
'url' => $this->getUrl('*/adminhtml_imagegallery/massRemove'),
|
67 |
+
'confirm' => Mage::helper('bannerslider')->__('Are you sure?')
|
68 |
+
));
|
69 |
+
return $this;
|
70 |
+
}
|
71 |
+
|
72 |
+
static public function getOptionArray4()
|
73 |
+
{
|
74 |
+
$data_array=array();
|
75 |
+
$data_array[0]='Yes';
|
76 |
+
$data_array[1]='No';
|
77 |
+
return($data_array);
|
78 |
+
}
|
79 |
+
static public function getValueArray4()
|
80 |
+
{
|
81 |
+
$data_array=array();
|
82 |
+
foreach(Mks_Bannerslider_Block_Adminhtml_Imagegallery_Grid::getOptionArray4() as $k=>$v){
|
83 |
+
$data_array[]=array('value'=>$k,'label'=>$v);
|
84 |
+
}
|
85 |
+
return($data_array);
|
86 |
+
|
87 |
+
}
|
88 |
+
|
89 |
+
|
90 |
+
}
|
app/code/community/Mks/Bannerslider/Block/Index.php
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mks_Bannerslider_Block_Index extends Mage_Core_Block_Template{
|
3 |
+
|
4 |
+
|
5 |
+
public function getImagegalleryEnabled()
|
6 |
+
{
|
7 |
+
return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/enable',Mage::app()->getStore());
|
8 |
+
}
|
9 |
+
|
10 |
+
public function getImagegalleryPaggingstart()
|
11 |
+
{
|
12 |
+
return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/paggingstart',Mage::app()->getStore());
|
13 |
+
}
|
14 |
+
|
15 |
+
public function getImagegalleryRowitem()
|
16 |
+
{
|
17 |
+
return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/rowitem',Mage::app()->getStore());
|
18 |
+
}
|
19 |
+
|
20 |
+
public function getImagegalleryimageheight()
|
21 |
+
{
|
22 |
+
return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/imageheight',Mage::app()->getStore());
|
23 |
+
}
|
24 |
+
|
25 |
+
|
26 |
+
public function getImagegalleryimagewidth()
|
27 |
+
{
|
28 |
+
return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/imagewidth',Mage::app()->getStore());
|
29 |
+
}
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
public function getImagegalleryvideohight()
|
34 |
+
{
|
35 |
+
return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/videohight',Mage::app()->getStore());
|
36 |
+
}
|
37 |
+
|
38 |
+
|
39 |
+
public function getImagegalleryvideowidth()
|
40 |
+
{
|
41 |
+
return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/videowidth',Mage::app()->getStore());
|
42 |
+
}
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
public function getImagegallerypopupspeed()
|
47 |
+
{
|
48 |
+
return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/popupspeed',Mage::app()->getStore());
|
49 |
+
}
|
50 |
+
|
51 |
+
|
52 |
+
public function getImagegallerytype()
|
53 |
+
{
|
54 |
+
return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/type',Mage::app()->getStore());
|
55 |
+
}
|
56 |
+
|
57 |
+
public function getImagegallerysql()
|
58 |
+
{
|
59 |
+
$connection = Mage::getSingleton('core/resource')->getConnection('core_write');
|
60 |
+
$prefix = Mage::getConfig()->getTablePrefix();
|
61 |
+
$tblname=$prefix.'popupgalleryslider';
|
62 |
+
$sql = $connection->query("select * from $tblname");
|
63 |
+
return $sql;
|
64 |
+
}
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
}
|
app/code/community/Mks/Bannerslider/Helper/Data.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mks_Bannerslider_Helper_Data extends Mage_Core_Helper_Abstract
|
3 |
+
{
|
4 |
+
}
|
5 |
+
|
app/code/community/Mks/Bannerslider/Model/Imagegallery.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mks_Bannerslider_Model_Imagegallery extends Mage_Core_Model_Abstract
|
4 |
+
{
|
5 |
+
protected function _construct(){
|
6 |
+
|
7 |
+
$this->_init("bannerslider/imagegallery");
|
8 |
+
|
9 |
+
}
|
10 |
+
|
11 |
+
}
|
12 |
+
|
app/code/community/Mks/Bannerslider/Model/Mysql4/Imagegallery.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mks_Bannerslider_Model_Mysql4_Imagegallery extends Mage_Core_Model_Mysql4_Abstract
|
3 |
+
{
|
4 |
+
protected function _construct()
|
5 |
+
{
|
6 |
+
$this->_init("bannerslider/imagegallery", "id");
|
7 |
+
}
|
8 |
+
}
|
app/code/community/Mks/Bannerslider/Model/Mysql4/Imagegallery/Collection.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mks_Bannerslider_Model_Mysql4_Imagegallery_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
|
3 |
+
{
|
4 |
+
|
5 |
+
public function _construct(){
|
6 |
+
$this->_init("bannerslider/imagegallery");
|
7 |
+
}
|
8 |
+
|
9 |
+
|
10 |
+
|
11 |
+
}
|
12 |
+
|
app/code/community/Mks/Bannerslider/controllers/Adminhtml/BannersliderbackendController.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mks_Bannerslider_Adminhtml_BannersliderbackendController extends Mage_Adminhtml_Controller_Action
|
3 |
+
{
|
4 |
+
public function indexAction()
|
5 |
+
{
|
6 |
+
$this->loadLayout();
|
7 |
+
$this->_title($this->__("About us"));
|
8 |
+
$this->renderLayout();
|
9 |
+
}
|
10 |
+
}
|
app/code/community/Mks/Bannerslider/controllers/Adminhtml/ImagegalleryController.php
ADDED
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mks_Bannerslider_Adminhtml_ImagegalleryController extends Mage_Adminhtml_Controller_Action
|
4 |
+
{
|
5 |
+
protected function _initAction()
|
6 |
+
{
|
7 |
+
$this->loadLayout()->_setActiveMenu("bannerslider/imagegallery")->_addBreadcrumb(Mage::helper("adminhtml")->__("Imagegallery Manager"),Mage::helper("adminhtml")->__("Imagegallery Manager"));
|
8 |
+
return $this;
|
9 |
+
}
|
10 |
+
public function indexAction()
|
11 |
+
{
|
12 |
+
$this->_title($this->__("Bannerslider"));
|
13 |
+
$this->_title($this->__("Manager Imagegallery"));
|
14 |
+
|
15 |
+
$this->_initAction();
|
16 |
+
$this->renderLayout();
|
17 |
+
}
|
18 |
+
public function editAction()
|
19 |
+
{
|
20 |
+
$this->_title($this->__("Bannerslider"));
|
21 |
+
$this->_title($this->__("Imagegallery"));
|
22 |
+
$this->_title($this->__("Edit Item"));
|
23 |
+
|
24 |
+
$id = $this->getRequest()->getParam("id");
|
25 |
+
$model = Mage::getModel("bannerslider/imagegallery")->load($id);
|
26 |
+
if ($model->getId()) {
|
27 |
+
Mage::register("imagegallery_data", $model);
|
28 |
+
$this->loadLayout();
|
29 |
+
$this->_setActiveMenu("bannerslider/imagegallery");
|
30 |
+
$this->_addBreadcrumb(Mage::helper("adminhtml")->__("Imagegallery Manager"), Mage::helper("adminhtml")->__("Imagegallery Manager"));
|
31 |
+
$this->_addBreadcrumb(Mage::helper("adminhtml")->__("Imagegallery Description"), Mage::helper("adminhtml")->__("Imagegallery Description"));
|
32 |
+
$this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
|
33 |
+
$this->_addContent($this->getLayout()->createBlock("bannerslider/adminhtml_imagegallery_edit"))->_addLeft($this->getLayout()->createBlock("bannerslider/adminhtml_imagegallery_edit_tabs"));
|
34 |
+
$this->renderLayout();
|
35 |
+
}
|
36 |
+
else {
|
37 |
+
Mage::getSingleton("adminhtml/session")->addError(Mage::helper("bannerslider")->__("Item does not exist."));
|
38 |
+
$this->_redirect("*/*/");
|
39 |
+
}
|
40 |
+
}
|
41 |
+
|
42 |
+
public function newAction()
|
43 |
+
{
|
44 |
+
|
45 |
+
$this->_title($this->__("Bannerslider"));
|
46 |
+
$this->_title($this->__("Imagegallery"));
|
47 |
+
$this->_title($this->__("New Item"));
|
48 |
+
|
49 |
+
$id = $this->getRequest()->getParam("id");
|
50 |
+
$model = Mage::getModel("bannerslider/imagegallery")->load($id);
|
51 |
+
|
52 |
+
$data = Mage::getSingleton("adminhtml/session")->getFormData(true);
|
53 |
+
if (!empty($data)) {
|
54 |
+
$model->setData($data);
|
55 |
+
}
|
56 |
+
|
57 |
+
Mage::register("imagegallery_data", $model);
|
58 |
+
|
59 |
+
$this->loadLayout();
|
60 |
+
$this->_setActiveMenu("bannerslider/imagegallery");
|
61 |
+
|
62 |
+
$this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
|
63 |
+
|
64 |
+
$this->_addBreadcrumb(Mage::helper("adminhtml")->__("Imagegallery Manager"), Mage::helper("adminhtml")->__("Imagegallery Manager"));
|
65 |
+
$this->_addBreadcrumb(Mage::helper("adminhtml")->__("Imagegallery Description"), Mage::helper("adminhtml")->__("Imagegallery Description"));
|
66 |
+
|
67 |
+
|
68 |
+
$this->_addContent($this->getLayout()->createBlock("bannerslider/adminhtml_imagegallery_edit"))->_addLeft($this->getLayout()->createBlock("bannerslider/adminhtml_imagegallery_edit_tabs"));
|
69 |
+
|
70 |
+
$this->renderLayout();
|
71 |
+
|
72 |
+
}
|
73 |
+
public function saveAction()
|
74 |
+
{
|
75 |
+
|
76 |
+
$post_data=$this->getRequest()->getPost();
|
77 |
+
|
78 |
+
|
79 |
+
if ($post_data) {
|
80 |
+
|
81 |
+
try {
|
82 |
+
|
83 |
+
|
84 |
+
//save image
|
85 |
+
try{
|
86 |
+
|
87 |
+
if((bool)$post_data['image']['delete']==1) {
|
88 |
+
|
89 |
+
$post_data['image']='';
|
90 |
+
|
91 |
+
}
|
92 |
+
else {
|
93 |
+
|
94 |
+
unset($post_data['image']);
|
95 |
+
|
96 |
+
if (isset($_FILES)){
|
97 |
+
|
98 |
+
if ($_FILES['image']['name']) {
|
99 |
+
|
100 |
+
if($this->getRequest()->getParam("id")){
|
101 |
+
$model = Mage::getModel("bannerslider/imagegallery")->load($this->getRequest()->getParam("id"));
|
102 |
+
if($model->getData('image')){
|
103 |
+
$io = new Varien_Io_File();
|
104 |
+
$io->rm(Mage::getBaseDir('media').DS.implode(DS,explode('/',$model->getData('image'))));
|
105 |
+
}
|
106 |
+
}
|
107 |
+
$path = Mage::getBaseDir('media') . DS . 'bannerslider' . DS .'imagegallery'.DS;
|
108 |
+
$uploader = new Varien_File_Uploader('image');
|
109 |
+
$uploader->setAllowedExtensions(array('jpg','png','gif'));
|
110 |
+
$uploader->setAllowRenameFiles(false);
|
111 |
+
$uploader->setFilesDispersion(false);
|
112 |
+
$destFile = $path.$_FILES['image']['name'];
|
113 |
+
$filename = $uploader->getNewFileName($destFile);
|
114 |
+
$uploader->save($path, $filename);
|
115 |
+
|
116 |
+
$post_data['image']='bannerslider/imagegallery/'.$filename;
|
117 |
+
}
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
+
} catch (Exception $e) {
|
122 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
123 |
+
$this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
|
124 |
+
return;
|
125 |
+
}
|
126 |
+
//save image
|
127 |
+
|
128 |
+
|
129 |
+
$model = Mage::getModel("bannerslider/imagegallery")
|
130 |
+
->addData($post_data)
|
131 |
+
->setId($this->getRequest()->getParam("id"))
|
132 |
+
->save();
|
133 |
+
|
134 |
+
Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Imagegallery was successfully saved"));
|
135 |
+
Mage::getSingleton("adminhtml/session")->setImagegalleryData(false);
|
136 |
+
|
137 |
+
if ($this->getRequest()->getParam("back")) {
|
138 |
+
$this->_redirect("*/*/edit", array("id" => $model->getId()));
|
139 |
+
return;
|
140 |
+
}
|
141 |
+
$this->_redirect("*/*/");
|
142 |
+
return;
|
143 |
+
}
|
144 |
+
catch (Exception $e) {
|
145 |
+
Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
|
146 |
+
Mage::getSingleton("adminhtml/session")->setImagegalleryData($this->getRequest()->getPost());
|
147 |
+
$this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
|
148 |
+
return;
|
149 |
+
}
|
150 |
+
|
151 |
+
}
|
152 |
+
$this->_redirect("*/*/");
|
153 |
+
}
|
154 |
+
|
155 |
+
|
156 |
+
|
157 |
+
public function deleteAction()
|
158 |
+
{
|
159 |
+
if( $this->getRequest()->getParam("id") > 0 ) {
|
160 |
+
try {
|
161 |
+
$model = Mage::getModel("bannerslider/imagegallery");
|
162 |
+
$model->setId($this->getRequest()->getParam("id"))->delete();
|
163 |
+
Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item was successfully deleted"));
|
164 |
+
$this->_redirect("*/*/");
|
165 |
+
}
|
166 |
+
catch (Exception $e) {
|
167 |
+
Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
|
168 |
+
$this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
|
169 |
+
}
|
170 |
+
}
|
171 |
+
$this->_redirect("*/*/");
|
172 |
+
}
|
173 |
+
|
174 |
+
|
175 |
+
public function massRemoveAction()
|
176 |
+
{
|
177 |
+
try {
|
178 |
+
$ids = $this->getRequest()->getPost('ids', array());
|
179 |
+
foreach ($ids as $id) {
|
180 |
+
$model = Mage::getModel("bannerslider/imagegallery");
|
181 |
+
$model->setId($id)->delete();
|
182 |
+
}
|
183 |
+
Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item(s) was successfully removed"));
|
184 |
+
}
|
185 |
+
catch (Exception $e) {
|
186 |
+
Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
|
187 |
+
}
|
188 |
+
$this->_redirect('*/*/');
|
189 |
+
}
|
190 |
+
|
191 |
+
/**
|
192 |
+
* Export order grid to CSV format
|
193 |
+
*/
|
194 |
+
public function exportCsvAction()
|
195 |
+
{
|
196 |
+
$fileName = 'imagegallery.csv';
|
197 |
+
$grid = $this->getLayout()->createBlock('bannerslider/adminhtml_imagegallery_grid');
|
198 |
+
$this->_prepareDownloadResponse($fileName, $grid->getCsvFile());
|
199 |
+
}
|
200 |
+
/**
|
201 |
+
* Export order grid to Excel XML format
|
202 |
+
*/
|
203 |
+
public function exportExcelAction()
|
204 |
+
{
|
205 |
+
$fileName = 'imagegallery.xml';
|
206 |
+
$grid = $this->getLayout()->createBlock('bannerslider/adminhtml_imagegallery_grid');
|
207 |
+
$this->_prepareDownloadResponse($fileName, $grid->getExcelFile($fileName));
|
208 |
+
}
|
209 |
+
}
|
app/code/community/Mks/Bannerslider/controllers/IndexController.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mks_Bannerslider_IndexController extends Mage_Core_Controller_Front_Action{
|
3 |
+
public function IndexAction() {
|
4 |
+
|
5 |
+
$this->loadLayout();
|
6 |
+
$this->getLayout()->getBlock("head")->setTitle($this->__("Bannerslider"));
|
7 |
+
$breadcrumbs = $this->getLayout()->getBlock("breadcrumbs");
|
8 |
+
$breadcrumbs->addCrumb("home", array(
|
9 |
+
"label" => $this->__("Home Page"),
|
10 |
+
"title" => $this->__("Home Page"),
|
11 |
+
"link" => Mage::getBaseUrl()
|
12 |
+
));
|
13 |
+
|
14 |
+
$breadcrumbs->addCrumb("bannerslider", array(
|
15 |
+
"label" => $this->__("Bannerslider"),
|
16 |
+
"title" => $this->__("Bannerslider")
|
17 |
+
));
|
18 |
+
|
19 |
+
$this->renderLayout();
|
20 |
+
|
21 |
+
}
|
22 |
+
}
|
app/code/community/Mks/Bannerslider/etc/adminhtml.xml
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<acl>
|
4 |
+
<resources>
|
5 |
+
<admin>
|
6 |
+
<children>
|
7 |
+
<system>
|
8 |
+
<children>
|
9 |
+
<config>
|
10 |
+
<children>
|
11 |
+
<imagegallerysection translate="title" module="bannerslider">
|
12 |
+
<title>General Setting Section</title>
|
13 |
+
<sort_order>0</sort_order>
|
14 |
+
</imagegallerysection>
|
15 |
+
</children>
|
16 |
+
</config>
|
17 |
+
</children>
|
18 |
+
</system>
|
19 |
+
</children>
|
20 |
+
</admin>
|
21 |
+
</resources>
|
22 |
+
</acl>
|
23 |
+
</config>
|
app/code/community/Mks/Bannerslider/etc/config.xml
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Mks_Bannerslider>
|
5 |
+
<version>8.1.1</version>
|
6 |
+
</Mks_Bannerslider>
|
7 |
+
</modules>
|
8 |
+
<frontend>
|
9 |
+
<routers>
|
10 |
+
<bannerslider>
|
11 |
+
<use>standard</use>
|
12 |
+
<args>
|
13 |
+
<module>Mks_Bannerslider</module>
|
14 |
+
<frontName>bannerslider</frontName>
|
15 |
+
</args>
|
16 |
+
</bannerslider>
|
17 |
+
</routers>
|
18 |
+
<layout>
|
19 |
+
<updates>
|
20 |
+
<bannerslider>
|
21 |
+
<file>bannerslider.xml</file>
|
22 |
+
</bannerslider>
|
23 |
+
</updates>
|
24 |
+
</layout>
|
25 |
+
</frontend>
|
26 |
+
<global>
|
27 |
+
<helpers>
|
28 |
+
<bannerslider>
|
29 |
+
<class>Mks_Bannerslider_Helper</class>
|
30 |
+
</bannerslider>
|
31 |
+
</helpers>
|
32 |
+
<blocks>
|
33 |
+
<bannerslider>
|
34 |
+
<class>Mks_Bannerslider_Block</class>
|
35 |
+
</bannerslider>
|
36 |
+
</blocks>
|
37 |
+
<models>
|
38 |
+
<bannerslider>
|
39 |
+
<class>Mks_Bannerslider_Model</class>
|
40 |
+
<resourceModel>bannerslider_mysql4</resourceModel>
|
41 |
+
</bannerslider>
|
42 |
+
<bannerslider_mysql4>
|
43 |
+
<class>Mks_Bannerslider_Model_Mysql4</class>
|
44 |
+
<entities>
|
45 |
+
<imagegallery>
|
46 |
+
<table>popupgalleryslider</table>
|
47 |
+
</imagegallery>
|
48 |
+
</entities>
|
49 |
+
</bannerslider_mysql4>
|
50 |
+
</models>
|
51 |
+
<resources>
|
52 |
+
<bannerslider_setup>
|
53 |
+
<setup>
|
54 |
+
<module>Mks_Bannerslider</module>
|
55 |
+
</setup>
|
56 |
+
<connection>
|
57 |
+
<use>core_setup</use>
|
58 |
+
</connection>
|
59 |
+
</bannerslider_setup>
|
60 |
+
<bannerslider_write>
|
61 |
+
<connection>
|
62 |
+
<use>core_write</use>
|
63 |
+
</connection>
|
64 |
+
</bannerslider_write>
|
65 |
+
<bannerslider_read>
|
66 |
+
<connection>
|
67 |
+
<use>core_read</use>
|
68 |
+
</connection>
|
69 |
+
</bannerslider_read>
|
70 |
+
</resources>
|
71 |
+
</global>
|
72 |
+
<admin>
|
73 |
+
<routers>
|
74 |
+
<bannerslider>
|
75 |
+
<use>admin</use>
|
76 |
+
<args>
|
77 |
+
<module>Mks_Bannerslider</module>
|
78 |
+
<frontName>bannerslider</frontName>
|
79 |
+
</args>
|
80 |
+
</bannerslider>
|
81 |
+
</routers>
|
82 |
+
</admin>
|
83 |
+
<adminhtml>
|
84 |
+
<menu>
|
85 |
+
<bannerslider module="bannerslider">
|
86 |
+
<title>Bannerslider</title>
|
87 |
+
<sort_order>100</sort_order>
|
88 |
+
<children>
|
89 |
+
<bannersliderbackend module="bannerslider">
|
90 |
+
<title>About us</title>
|
91 |
+
<sort_order>0</sort_order>
|
92 |
+
<action>bannerslider/adminhtml_bannersliderbackend</action>
|
93 |
+
</bannersliderbackend>
|
94 |
+
<imagegallery module="bannerslider">
|
95 |
+
<title>Manage Imagegallery</title>
|
96 |
+
<sort_order>0</sort_order>
|
97 |
+
<action>bannerslider/adminhtml_imagegallery</action>
|
98 |
+
</imagegallery>
|
99 |
+
</children>
|
100 |
+
</bannerslider>
|
101 |
+
</menu>
|
102 |
+
<acl>
|
103 |
+
<resources>
|
104 |
+
<all>
|
105 |
+
<title>Allow Everything</title>
|
106 |
+
</all>
|
107 |
+
<admin>
|
108 |
+
<children>
|
109 |
+
<bannerslider translate="title" module="bannerslider">
|
110 |
+
<title>Bannerslider</title>
|
111 |
+
<sort_order>1000</sort_order>
|
112 |
+
<children>
|
113 |
+
<bannersliderbackend translate="title">
|
114 |
+
<title>About us</title>
|
115 |
+
</bannersliderbackend>
|
116 |
+
<imagegallery translate="title">
|
117 |
+
<title>Manage Imagegallery</title>
|
118 |
+
<sort_order>0</sort_order>
|
119 |
+
</imagegallery>
|
120 |
+
</children>
|
121 |
+
</bannerslider>
|
122 |
+
</children>
|
123 |
+
</admin>
|
124 |
+
</resources>
|
125 |
+
</acl>
|
126 |
+
<layout>
|
127 |
+
<updates>
|
128 |
+
<bannerslider>
|
129 |
+
<file>bannerslider.xml</file>
|
130 |
+
</bannerslider>
|
131 |
+
</updates>
|
132 |
+
</layout>
|
133 |
+
</adminhtml>
|
134 |
+
</config>
|
app/code/community/Mks/Bannerslider/etc/system.xml
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<imagegallerytab translate="label" module="bannerslider">
|
5 |
+
<label>Mks Image Gallery</label>
|
6 |
+
<sort_order>0</sort_order>
|
7 |
+
</imagegallerytab>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<imagegallerysection translate="label" module="bannerslider">
|
11 |
+
<label>General Setting</label>
|
12 |
+
<tab>imagegallerytab</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>0</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>1</show_in_website>
|
17 |
+
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<imagegallerygroup translate="label">
|
20 |
+
<label>Gallery Setting</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>0</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>1</show_in_store>
|
26 |
+
<fields>
|
27 |
+
<enable translate="label">
|
28 |
+
<label>Enable</label>
|
29 |
+
<frontend_type>select</frontend_type>
|
30 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
31 |
+
<sort_order>0</sort_order>
|
32 |
+
<show_in_default>1</show_in_default>
|
33 |
+
<show_in_website>1</show_in_website>
|
34 |
+
<show_in_store>1</show_in_store>
|
35 |
+
</enable>
|
36 |
+
|
37 |
+
<imageheight translate="label">
|
38 |
+
<label>Image Height</label>
|
39 |
+
<frontend_type>text</frontend_type>
|
40 |
+
<sort_order>1</sort_order>
|
41 |
+
<show_in_default>1</show_in_default>
|
42 |
+
<show_in_website>1</show_in_website>
|
43 |
+
<show_in_store>1</show_in_store>
|
44 |
+
<comment>Example :- 100,150,200</comment>
|
45 |
+
</imageheight>
|
46 |
+
|
47 |
+
<imagewidth translate="label">
|
48 |
+
<label>Image Width</label>
|
49 |
+
<frontend_type>text</frontend_type>
|
50 |
+
<sort_order>2</sort_order>
|
51 |
+
<show_in_default>1</show_in_default>
|
52 |
+
<show_in_website>1</show_in_website>
|
53 |
+
<show_in_store>1</show_in_store>
|
54 |
+
<comment>Example :- 100,150,200</comment>
|
55 |
+
</imagewidth>
|
56 |
+
|
57 |
+
<videohight translate="label">
|
58 |
+
<label>Popup Height</label>
|
59 |
+
<frontend_type>text</frontend_type>
|
60 |
+
<sort_order>3</sort_order>
|
61 |
+
<show_in_default>1</show_in_default>
|
62 |
+
<show_in_website>1</show_in_website>
|
63 |
+
<show_in_store>1</show_in_store>
|
64 |
+
<comment>Example :- 500,550,600</comment>
|
65 |
+
</videohight>
|
66 |
+
|
67 |
+
<videowidth translate="label">
|
68 |
+
<label>Popup Width</label>
|
69 |
+
<frontend_type>text</frontend_type>
|
70 |
+
<sort_order>4</sort_order>
|
71 |
+
<show_in_default>1</show_in_default>
|
72 |
+
<show_in_website>1</show_in_website>
|
73 |
+
<show_in_store>1</show_in_store>
|
74 |
+
<comment>Example :- 500,550,600</comment>
|
75 |
+
</videowidth>
|
76 |
+
|
77 |
+
<type translate="label">
|
78 |
+
<label>Gallery Type </label>
|
79 |
+
<frontend_type>text</frontend_type>
|
80 |
+
<sort_order>5</sort_order>
|
81 |
+
<show_in_default>1</show_in_default>
|
82 |
+
<show_in_website>1</show_in_website>
|
83 |
+
<show_in_store>1</show_in_store>
|
84 |
+
<comment>Example :- 1,2,3</comment>
|
85 |
+
</type>
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
|
91 |
+
|
92 |
+
<paggingstart translate="label">
|
93 |
+
<label>After Pagging Start</label>
|
94 |
+
<frontend_type>text</frontend_type>
|
95 |
+
<sort_order>6</sort_order>
|
96 |
+
<show_in_default>1</show_in_default>
|
97 |
+
<show_in_website>1</show_in_website>
|
98 |
+
<show_in_store>1</show_in_store>
|
99 |
+
<comment>5,10,15,20,25,30.....Default (12)</comment>
|
100 |
+
</paggingstart>
|
101 |
+
<rowitem translate="label">
|
102 |
+
<label>Number Of Row item</label>
|
103 |
+
<frontend_type>text</frontend_type>
|
104 |
+
<sort_order>7</sort_order>
|
105 |
+
<show_in_default>1</show_in_default>
|
106 |
+
<show_in_website>1</show_in_website>
|
107 |
+
<show_in_store>1</show_in_store>
|
108 |
+
<comment>3,4,5,6,7.......Default (4)</comment>
|
109 |
+
</rowitem>
|
110 |
+
|
111 |
+
|
112 |
+
|
113 |
+
|
114 |
+
<popupspeed translate="label">
|
115 |
+
<label>Popup speed </label>
|
116 |
+
<frontend_type>text</frontend_type>
|
117 |
+
<sort_order>8</sort_order>
|
118 |
+
<show_in_default>1</show_in_default>
|
119 |
+
<show_in_website>1</show_in_website>
|
120 |
+
<show_in_store>1</show_in_store>
|
121 |
+
<comment>Example :- 1000,1500,2000</comment>
|
122 |
+
</popupspeed>
|
123 |
+
|
124 |
+
|
125 |
+
|
126 |
+
|
127 |
+
|
128 |
+
|
129 |
+
</fields>
|
130 |
+
</imagegallerygroup>
|
131 |
+
</groups>
|
132 |
+
</imagegallerysection>
|
133 |
+
</sections>
|
134 |
+
</config>
|
app/code/community/Mks/Bannerslider/sql/bannerslider_setup/mysql4-install-8.1.1.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$installer = $this;
|
3 |
+
$installer->startSetup();
|
4 |
+
$sql=<<<SQLTEXT
|
5 |
+
create table {$this->getTable('popupgalleryslider')}(id int not null auto_increment, title varchar(255), image varchar(255), url varchar(255), description varchar(255), status varchar(100), primary key(id));
|
6 |
+
|
7 |
+
|
8 |
+
insert into {$this->getTable('popupgalleryslider')} (`title`,`image`,`description`,`url`,`status`) VALUES
|
9 |
+
('Image gallery 1','bannerslider/imagegallery/3.jpg','Image gallery 1','www.google.com','0'),
|
10 |
+
('Image gallery 2','bannerslider/imagegallery/4.jpg','Image gallery 2','www.google.com','0'),
|
11 |
+
('Image gallery 3','bannerslider/imagegallery/5.jpg','Image gallery 3','www.google.com','0'),
|
12 |
+
('Image gallery 4','bannerslider/imagegallery/6.jpg','Image gallery 4','www.google.com','0'),
|
13 |
+
('Image gallery 5','bannerslider/imagegallery/7.jpg','Image gallery 5','www.google.com','0'),
|
14 |
+
('Image gallery 6','bannerslider/imagegallery/8.jpg','Image gallery 6','www.google.com','0'),
|
15 |
+
('Image gallery 7','bannerslider/imagegallery/9.jpg','Image gallery 7','www.google.com','0'),
|
16 |
+
('Image gallery 8','bannerslider/imagegallery/10.jpg','Image gallery 8','www.google.com','0'),
|
17 |
+
('Image gallery 9','bannerslider/imagegallery/11.jpg','Image gallery 9','www.google.com','0'),
|
18 |
+
('Image gallery 10','bannerslider/imagegallery/2.jpg','Image gallery 10','www.google.com','0'),
|
19 |
+
('Image gallery 11','bannerslider/imagegallery/3.jpg','Image gallery 11','www.google.com','0'),
|
20 |
+
('Image gallery 12','bannerslider/imagegallery/4.jpg','Image gallery 12','www.google.com','0'),
|
21 |
+
('Image gallery 13','bannerslider/imagegallery/5.jpg','Image gallery 13','www.google.com','0'),
|
22 |
+
('Image gallery 14','bannerslider/imagegallery/6.jpg','Image gallery 14','www.google.com','0'),
|
23 |
+
('Image gallery 15','bannerslider/imagegallery/7.jpg','Image gallery 15','www.google.com','0'),
|
24 |
+
('Image gallery 16','bannerslider/imagegallery/8.jpg','Image gallery 16','www.google.com','0'),
|
25 |
+
('Image gallery 17','bannerslider/imagegallery/9.jpg','Image gallery 17','www.google.com','0'),
|
26 |
+
('Image gallery 18','bannerslider/imagegallery/10.jpg','Image gallery 18','www.google.com','0'),
|
27 |
+
('Image gallery 19','bannerslider/imagegallery/11.jpg','Image gallery 19','www.google.com','0'),
|
28 |
+
('Image gallery 20','bannerslider/imagegallery/2.jpg','Image gallery 20','www.google.com','0');
|
29 |
+
|
30 |
+
SQLTEXT;
|
31 |
+
|
32 |
+
$installer->run($sql);
|
33 |
+
//demo
|
34 |
+
//Mage::getModel('core/url_rewrite')->setId(null);
|
35 |
+
//demo
|
36 |
+
$installer->endSetup();
|
37 |
+
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mks_Responsivebannerslider</name>
|
4 |
-
<version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Responsive Banner slider without any jQuery conflict issue Responsive Banner slider . Always use Responsive Banner slider.</description>
|
11 |
<notes>Add Banner Sort Order feature in admin panel.</notes>
|
12 |
<authors><author><name>Mukesh Kumar saini</name><user>mukeshbagri</user><email>in.mukeshsaini@gmail.com</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Mks_Responsivebannerslider.xml" hash="6a272e222fdb28528b91507fa92e3c72"/></dir></target><target name="magecommunity"><dir name="Mks"><dir name="Responsivebannerslider"><dir name="Block"><dir name="Adminhtml"><dir name="Responsivebannerslider"><dir name="Edit"><file name="Form.php" hash="f86a6a2daf3c39135661ea316a0969f7"/><dir name="Tab"><file name="Form.php" hash="b1891cbb14ac058cf1fd010ad19f94f0"/></dir><file name="Tabs.php" hash="55c68b32ebe6b620cc9d7ab289091446"/></dir><file name="Edit.php" hash="87125aacdde51dc58afc9fb6e15a4a01"/><file name="Grid.php" hash="66d1b1528bc332be3965d0fbb337a3e4"/></dir><file name="Responsivebannerslider.php" hash="c3c6f601bf67d26eafc34855a434a0d2"/><file name="Responsivebannersliderbackend.php" hash="492c6c1c9897c51b987a1acadcc42a5c"/></dir><file name="Index.php" hash="d4468a26e915ee5f4c9942023f17e3b2"/></dir><dir name="Helper"><file name="Data.php" hash="54fb6015b45224292e5e47f0004633b6"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Responsivebannerslider"><file name="Collection.php" hash="b7f9c0fc62387f56d5a0e92d8f2edeea"/></dir><file name="Responsivebannerslider.php" hash="2bd8f1e89f06901432db94ba05db5212"/></dir><file name="Responsivebannerslider.php" hash="6285174778e09dc34f0450c3e3bb9ad1"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ResponsivebannersliderController.php" hash="6ae1a578835731ab1f480dc77855096b"/><file name="ResponsivebannersliderbackendController.php" hash="f095780b42f66f229d8bb76b69bb8f08"/></dir><file name="IndexController.php" hash="c6080d43c394b700e801011603b81a4b"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c44d2173a50ace0dd8b6e8dc6788d5e6"/><file name="config.xml" hash="aabe5379b30122471c7ca1296ba11885"/><file name="system.xml" hash="76bac3da27918114d450f8c4ad7489e8"/></dir><dir name="sql"><dir name="responsivebannerslider_setup"><file name="mysql4-install-1.9.1.php" hash="90cce62c75f7feba686d5d6747f3eb08"/><file name="mysql4-install-1.9.1.php~" hash="409e2316453c4cba8bbdf09ed20e33d6"/></dir></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Diyoptions14091220731.php" hash="c3f890ae8845be64879e40d2260bc8c6"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="responsivebannerslider"><file name="responsivebannersliderbackend.phtml" hash="df18a76ac5d10cd61c8cd0b9fa2ee247"/></dir></dir><dir name="layout"><file name="responsivebannerslider.xml" hash="5dadd1a980f89bc61af23d8c4718ddb5"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="responsivebannerslider"><file name="index.phtml" hash="ef1b451f322350bd61d273e93ec761ec"/></dir></dir><dir name="layout"><file name="responsivebannerslider.xml" hash="f51049f3758f53154fe4b702549f6b43"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="responsivebannerslider"><dir name="bannerslider"><file name="banner-1.jpg" hash="973491deb872911a69f7bb1f6138036b"/><file name="banner-2.jpg" hash="92372dc0f2a9454851bed073a3d164a4"/><file name="banner-3.jpg" hash="f0b4946e792dc573b8b76b5aa8935d3d"/></dir><dir name="responsivebannerslider"><file name="mukesh_saini.JPG" hash="8e9ebfdf91ad4b977d07ff2bdda56b67"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="responsiveslider"><dir name="css"><file name="generic-nav.css" hash="f0ea48a8ce441ad10e5c631da5b0ae46"/><file name="grid12.css" hash="c0319ecd032725ff5cd02c4fd6e29fa7"/><file name="styles-banner.css" hash="5f54dc753c338cd41b1a4df180884a4f"/><file name="styles.css" hash="8e45917ed2dd5d388e76b9147ae6a2eb"/><file name="ultra-slideshow.css" hash="d63a04686f1a3b9652053841dcd7ac9a"/></dir><dir name="img"><file name="01.jpg" hash="49dcb5cee2b86a14b80b6ef59e467bc3"/><file name="01_002.jpg" hash="edc7eff6b3c0b38a429c44c656398358"/><file name="02.jpg" hash="0ec3768570d3774c1805a90d615172b2"/><file name="1.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="2.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="3.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="info.png" hash="43d666757fb907b2ee8f44352d80e9ff"/><file name="logo.png" hash="ec59af60870fe42a62debe4721fdf529"/><file name="pager.png" hash="58b23f4350365ca08912ac608f6d2d9e"/><file name="payment.gif" hash="a8daa18fcb3e3845c56ffbca6d140276"/><file name="slider-arrows.png" hash="4f71b34c53eedc49a534566557dddbef"/></dir><dir name="js"><file name="jquery-1.7.2.min.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-1.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="jquery.easing.min.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/><file name="jquery.flexslider.min.js" hash="af24b4669a06656c13457625030ec2b8"/><file name="jquery.slides.min.js" hash="832349b4646a92830507b060a3905aba"/><file name="jquery_003.js" hash="235b4112e5ce03c47395746e677b37ea"/><file name="jquery_004.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mks_Responsivebannerslider</name>
|
4 |
+
<version>9.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Responsive Banner slider without any jQuery conflict issue Responsive Banner slider . Always use Responsive Banner slider.</description>
|
11 |
<notes>Add Banner Sort Order feature in admin panel.</notes>
|
12 |
<authors><author><name>Mukesh Kumar saini</name><user>mukeshbagri</user><email>in.mukeshsaini@gmail.com</email></author></authors>
|
13 |
+
<date>2014-09-03</date>
|
14 |
+
<time>06:31:03</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Mks_Responsivebannerslider.xml" hash="6a272e222fdb28528b91507fa92e3c72"/></dir></target><target name="magecommunity"><dir name="Mks"><dir name="Bannerslider"><dir name="Block"><dir name="Adminhtml"><file name="Bannersliderbackend.php" hash="c4c6fb4b655fea0bd41834cbc0b380d3"/><dir name="Imagegallery"><dir name="Edit"><file name="Form.php" hash="6bf611a29b6f43553b324cea6f299996"/><dir name="Tab"><file name="Form.php" hash="2a897f9391cef5a81faf0cee77dc4b51"/></dir><file name="Tabs.php" hash="947d52b2cf774dc10eb0249b51d03d6d"/></dir><file name="Edit.php" hash="4a0489c69b7830287e18edad35348ceb"/><file name="Grid.php" hash="7bbd1bae121f43a80faa3cbe4dae990b"/></dir><file name="Imagegallery.php" hash="5d7f22716646a9156b70a14c9e3cac35"/></dir><file name="Index.php" hash="93b897fe8a78e686651f33ce067a3bc4"/></dir><dir name="Helper"><file name="Data.php" hash="78ef976446429483b21fafd68f74989b"/></dir><dir name="Model"><file name="Imagegallery.php" hash="7754ac88ef14e47ed6ae20bd6e5b3dee"/><dir name="Mysql4"><dir name="Imagegallery"><file name="Collection.php" hash="05ad344c19853775cc2defb6c02f43d5"/></dir><file name="Imagegallery.php" hash="f4a3ccb42c61c75d54ce07e1526e297a"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannersliderbackendController.php" hash="2a19bc5dad2edb6de017c394d5616b00"/><file name="ImagegalleryController.php" hash="47103603a51c27efcf3072089ee9388b"/></dir><file name="IndexController.php" hash="a16f142d2046e4d5b21db1a3f58b1fbe"/></dir><dir name="etc"><file name="adminhtml.xml" hash="29856211718c298818eca603185065c5"/><file name="config.xml" hash="19f1dda334456dea239e9310bfad0ab7"/><file name="system.xml" hash="14d3bcf92449f018fffd787bfc8a5f43"/></dir><dir name="sql"><dir name="bannerslider_setup"><file name="mysql4-install-8.1.1.php" hash="acdf1e7b910770e8816604216b5d2399"/></dir></dir></dir><dir name="Responsivebannerslider"><dir name="Block"><dir name="Adminhtml"><dir name="Responsivebannerslider"><dir name="Edit"><file name="Form.php" hash="f86a6a2daf3c39135661ea316a0969f7"/><dir name="Tab"><file name="Form.php" hash="b1891cbb14ac058cf1fd010ad19f94f0"/></dir><file name="Tabs.php" hash="55c68b32ebe6b620cc9d7ab289091446"/></dir><file name="Edit.php" hash="87125aacdde51dc58afc9fb6e15a4a01"/><file name="Grid.php" hash="66d1b1528bc332be3965d0fbb337a3e4"/></dir><file name="Responsivebannerslider.php" hash="c3c6f601bf67d26eafc34855a434a0d2"/><file name="Responsivebannersliderbackend.php" hash="492c6c1c9897c51b987a1acadcc42a5c"/></dir><file name="Index.php" hash="d4468a26e915ee5f4c9942023f17e3b2"/></dir><dir name="Helper"><file name="Data.php" hash="54fb6015b45224292e5e47f0004633b6"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Responsivebannerslider"><file name="Collection.php" hash="b7f9c0fc62387f56d5a0e92d8f2edeea"/></dir><file name="Responsivebannerslider.php" hash="2bd8f1e89f06901432db94ba05db5212"/></dir><file name="Responsivebannerslider.php" hash="6285174778e09dc34f0450c3e3bb9ad1"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ResponsivebannersliderController.php" hash="6ae1a578835731ab1f480dc77855096b"/><file name="ResponsivebannersliderbackendController.php" hash="f095780b42f66f229d8bb76b69bb8f08"/></dir><file name="IndexController.php" hash="c6080d43c394b700e801011603b81a4b"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c44d2173a50ace0dd8b6e8dc6788d5e6"/><file name="config.xml" hash="aabe5379b30122471c7ca1296ba11885"/><file name="system.xml" hash="76bac3da27918114d450f8c4ad7489e8"/></dir><dir name="sql"><dir name="responsivebannerslider_setup"><file name="mysql4-install-1.9.1.php" hash="90cce62c75f7feba686d5d6747f3eb08"/><file name="mysql4-install-1.9.1.php~" hash="409e2316453c4cba8bbdf09ed20e33d6"/></dir></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Diyoptions14091220731.php" hash="c3f890ae8845be64879e40d2260bc8c6"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="responsivebannerslider"><file name="responsivebannersliderbackend.phtml" hash="df18a76ac5d10cd61c8cd0b9fa2ee247"/></dir></dir><dir name="layout"><file name="responsivebannerslider.xml" hash="5dadd1a980f89bc61af23d8c4718ddb5"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="responsivebannerslider"><file name="index.phtml" hash="ef1b451f322350bd61d273e93ec761ec"/></dir></dir><dir name="layout"><file name="responsivebannerslider.xml" hash="f51049f3758f53154fe4b702549f6b43"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="responsivebannerslider"><dir name="bannerslider"><file name="banner-1.jpg" hash="973491deb872911a69f7bb1f6138036b"/><file name="banner-2.jpg" hash="92372dc0f2a9454851bed073a3d164a4"/><file name="banner-3.jpg" hash="f0b4946e792dc573b8b76b5aa8935d3d"/></dir><dir name="responsivebannerslider"><file name="mukesh_saini.JPG" hash="8e9ebfdf91ad4b977d07ff2bdda56b67"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="responsiveslider"><dir name="css"><file name="generic-nav.css" hash="f0ea48a8ce441ad10e5c631da5b0ae46"/><file name="grid12.css" hash="c0319ecd032725ff5cd02c4fd6e29fa7"/><file name="styles-banner.css" hash="5f54dc753c338cd41b1a4df180884a4f"/><file name="styles.css" hash="8e45917ed2dd5d388e76b9147ae6a2eb"/><file name="ultra-slideshow.css" hash="d63a04686f1a3b9652053841dcd7ac9a"/></dir><dir name="img"><file name="01.jpg" hash="49dcb5cee2b86a14b80b6ef59e467bc3"/><file name="01_002.jpg" hash="edc7eff6b3c0b38a429c44c656398358"/><file name="02.jpg" hash="0ec3768570d3774c1805a90d615172b2"/><file name="1.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="2.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="3.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="info.png" hash="43d666757fb907b2ee8f44352d80e9ff"/><file name="logo.png" hash="ec59af60870fe42a62debe4721fdf529"/><file name="pager.png" hash="58b23f4350365ca08912ac608f6d2d9e"/><file name="payment.gif" hash="a8daa18fcb3e3845c56ffbca6d140276"/><file name="slider-arrows.png" hash="4f71b34c53eedc49a534566557dddbef"/></dir><dir name="js"><file name="jquery-1.7.2.min.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-1.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="jquery.easing.min.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/><file name="jquery.flexslider.min.js" hash="af24b4669a06656c13457625030ec2b8"/><file name="jquery.slides.min.js" hash="832349b4646a92830507b060a3905aba"/><file name="jquery_003.js" hash="235b4112e5ce03c47395746e677b37ea"/><file name="jquery_004.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|