Version Notes
NOTE: Please download the Latest release 1.2.0 from Releases section!
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Banners |
| Version | 1.2.0 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.0 to 1.2.0
- app/code/core/Mage/Adminhtml/controllers/SystemController.php +57 -0
- app/code/local/Mage/Banners/Block/Adminhtml/Banners.php +0 -6
- app/code/local/Mage/Banners/Helper/Data.php +77 -0
- app/code/local/Mage/Banners/controllers/Adminhtml/BannersController.php +2 -81
- media/Banners/data.xml +1 -1
- media/Banners/images/Thumbs.db +0 -0
- package.xml +5 -5
app/code/core/Mage/Adminhtml/controllers/SystemController.php
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Magento
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* DISCLAIMER
|
| 16 |
+
*
|
| 17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 18 |
+
* versions in the future. If you wish to customize Magento for your
|
| 19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
| 20 |
+
*
|
| 21 |
+
* @category Mage
|
| 22 |
+
* @package Mage_Adminhtml
|
| 23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
| 24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 25 |
+
*/
|
| 26 |
+
|
| 27 |
+
/**
|
| 28 |
+
* System admin controller
|
| 29 |
+
*
|
| 30 |
+
* @category Mage
|
| 31 |
+
* @package Mage_Adminhtml
|
| 32 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
| 33 |
+
*/
|
| 34 |
+
class Mage_Adminhtml_SystemController extends Mage_Adminhtml_Controller_Action
|
| 35 |
+
{
|
| 36 |
+
public function indexAction()
|
| 37 |
+
{
|
| 38 |
+
$this->loadLayout();
|
| 39 |
+
$this->_setActiveMenu('system');
|
| 40 |
+
$this->_addBreadcrumb(Mage::helper('adminhtml')->__('System'), Mage::helper('adminhtml')->__('System'));
|
| 41 |
+
$this->renderLayout();
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
public function setStoreAction()
|
| 45 |
+
{
|
| 46 |
+
$storeId = (int) $this->getRequest()->getParam('store');
|
| 47 |
+
if ($storeId) {
|
| 48 |
+
Mage::getSingleton('adminhtml/session')->setStoreId($storeId);
|
| 49 |
+
}
|
| 50 |
+
$this->_redirectReferer();
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
protected function _isAllowed()
|
| 54 |
+
{
|
| 55 |
+
return Mage::getSingleton('admin/session')->isAllowed('system');
|
| 56 |
+
}
|
| 57 |
+
}
|
app/code/local/Mage/Banners/Block/Adminhtml/Banners.php
CHANGED
|
@@ -8,12 +8,6 @@ class Mage_Banners_Block_Adminhtml_Banners extends Mage_Adminhtml_Block_Widget_G
|
|
| 8 |
$this->_headerText = Mage::helper('banners')->__('Banners Manager');
|
| 9 |
$this->_addButtonLabel = Mage::helper('banners')->__('Add Banner');
|
| 10 |
|
| 11 |
-
$this->_addButton('xml', array(
|
| 12 |
-
'label' => Mage::helper('adminhtml')->__('Generate XML'),
|
| 13 |
-
'onclick' => 'saveAndContinueEdit()',
|
| 14 |
-
'class' => 'save',
|
| 15 |
-
), -100);
|
| 16 |
-
|
| 17 |
parent::__construct();
|
| 18 |
}
|
| 19 |
}
|
| 8 |
$this->_headerText = Mage::helper('banners')->__('Banners Manager');
|
| 9 |
$this->_addButtonLabel = Mage::helper('banners')->__('Add Banner');
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
parent::__construct();
|
| 12 |
}
|
| 13 |
}
|
app/code/local/Mage/Banners/Helper/Data.php
CHANGED
|
@@ -332,5 +332,82 @@ class Mage_Banners_Helper_Data extends Mage_Core_Helper_Abstract
|
|
| 332 |
return $value;
|
| 333 |
}
|
| 334 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 335 |
|
| 336 |
}
|
| 332 |
return $value;
|
| 333 |
}
|
| 334 |
|
| 335 |
+
public function generateXML() {
|
| 336 |
+
|
| 337 |
+
$resource = Mage::getSingleton('core/resource');
|
| 338 |
+
$read= $resource->getConnection('core_read');
|
| 339 |
+
$bannersTable = $resource->getTableName('banners');
|
| 340 |
+
|
| 341 |
+
$select = $read->select()
|
| 342 |
+
->from($bannersTable,array('banners_id','title','bannerimage','link','target','textblend','content','status'))
|
| 343 |
+
->where('status',1)
|
| 344 |
+
->order('created_time ASC') ;
|
| 345 |
+
$banners = $read->fetchAll($select);
|
| 346 |
+
|
| 347 |
+
$bannersXML = '';
|
| 348 |
+
$bannersXML .= '<?xml version="1.0" encoding="utf-8" ?>';
|
| 349 |
+
$bannersXML .= '<Banner ';
|
| 350 |
+
|
| 351 |
+
$bannersXML .= 'bannerWidth="'.$this->bannerWidth().'" ';
|
| 352 |
+
$bannersXML .= 'bannerHeight="'.$this->bannerHeight().'" ';
|
| 353 |
+
$bannersXML .= 'bannerBackgroundColor="'.$this->bannerBackgroundColor().'" ';
|
| 354 |
+
$bannersXML .= 'autoPlay="'.$this->autoPlay().'" ';
|
| 355 |
+
$bannersXML .= 'imageResizeToFit="'.$this->imageResizeToFit().'" ';
|
| 356 |
+
$bannersXML .= 'imageRandomizeOrder="'.$this->imageRandomizeOrder().'" ';
|
| 357 |
+
|
| 358 |
+
|
| 359 |
+
$bannersXML .= 'textSize="'.$this->textSize().'" ';
|
| 360 |
+
$bannersXML .= 'textColor="'.$this->textColor().'" ';
|
| 361 |
+
$bannersXML .= 'textAreaWidth="'.$this->textAreaWidth().'" ';
|
| 362 |
+
$bannersXML .= 'textLineSpacing="'.$this->textLineSpacing().'" ';
|
| 363 |
+
$bannersXML .= 'textLetterSpacing="'.$this->textLetterSpacing().'" ';
|
| 364 |
+
$bannersXML .= 'textMarginLeft="'.$this->textMarginLeft().'" ';
|
| 365 |
+
$bannersXML .= 'textMarginBottom="'.$this->textMarginBottom().'" ';
|
| 366 |
+
$bannersXML .= 'textBackgroundBlur="'.$this->textBackgroundBlur().'" ';
|
| 367 |
+
$bannersXML .= 'textBackgroundColor="'.$this->textBackgroundColor().'" ';
|
| 368 |
+
$bannersXML .= 'textBackgroundTransparency="'.$this->textBackgroundTransparency().'" ';
|
| 369 |
+
|
| 370 |
+
$bannersXML .= 'transitionType="'.$this->transitionType().'" ';
|
| 371 |
+
$bannersXML .= 'transitionRandomEffects="'.$this->transitionRandomEffects().'" ';
|
| 372 |
+
$bannersXML .= 'transitionDelayTimeFixed="'.$this->transitionDelayTimeFixed().'" ';
|
| 373 |
+
$bannersXML .= 'transitionDelayTimePerWord="'.$this->transitionDelayTimePerWord().'" ';
|
| 374 |
+
$bannersXML .= 'transitionSpeed="'.$this->transitionSpeed().'" ';
|
| 375 |
+
$bannersXML .= 'transitionBlur="'.$this->transitionBlur().'" ';
|
| 376 |
+
|
| 377 |
+
$bannersXML .= 'showTimerClock="'.$this->showTimerClock().'" ';
|
| 378 |
+
$bannersXML .= 'showNextButton="'.$this->showNextButton().'" ';
|
| 379 |
+
$bannersXML .= 'showBackButton="'.$this->showBackButton().'" ';
|
| 380 |
+
$bannersXML .= 'showNumberButtons="'.$this->showNumberButtons().'" ';
|
| 381 |
+
$bannersXML .= 'showNumberButtonsAlways="'.$this->showNumberButtonsAlways().'" ';
|
| 382 |
+
$bannersXML .= 'showNumberButtonsHorizontal="'.$this->showNumberButtonsHorizontal().'" ';
|
| 383 |
+
$bannersXML .= 'showNumberButtonsAscending="'.$this->showNumberButtonsAscending().'" ';
|
| 384 |
+
$bannersXML .= 'showPlayPauseOnTimer="'.$this->showPlayPauseOnTimer().'" ';
|
| 385 |
+
$bannersXML .= 'alignButtonsLeft="'.$this->alignButtonsLeft().'" ';
|
| 386 |
+
$bannersXML .= 'alignTextTop="'.$this->alignTextTop().'" ';
|
| 387 |
+
|
| 388 |
+
$bannersXML .= '> ';
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
foreach ($banners as $_banner) {
|
| 392 |
+
|
| 393 |
+
$bannerImage = Mage::getBaseUrl('media')."Banners/images/".$_banner["bannerimage"];
|
| 394 |
+
$bannersXML .= '<item buttonLabel="" ';
|
| 395 |
+
$bannersXML .= 'image="'.$bannerImage.'" ';
|
| 396 |
+
$bannersXML .= 'link="'.$_banner["link"].'" ';
|
| 397 |
+
$bannersXML .= 'target="'.$_banner["target"].'" ';
|
| 398 |
+
$bannersXML .= 'delay="" ';
|
| 399 |
+
$bannersXML .= 'textBlend="'.$_banner["textblend"].'"> ';
|
| 400 |
+
$bannersXML .= '<![CDATA['.$_banner["content"].']]> ';
|
| 401 |
+
$bannersXML .= '</item> ';
|
| 402 |
+
|
| 403 |
+
}
|
| 404 |
+
$bannersXML .= '</Banner>';
|
| 405 |
+
|
| 406 |
+
$fileName = Mage::getBaseDir('media') . "/Banners/". DS ."data.xml";
|
| 407 |
+
$file= fopen($fileName, "w");
|
| 408 |
+
fwrite($file, $bannersXML);
|
| 409 |
+
fclose($file);
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
|
| 413 |
}
|
app/code/local/Mage/Banners/controllers/Adminhtml/BannersController.php
CHANGED
|
@@ -61,7 +61,7 @@ class Mage_Banners_Adminhtml_BannersController extends Mage_Adminhtml_Controller
|
|
| 61 |
//Save Image Tag in DB for GRID View
|
| 62 |
$imgName = $_FILES['bannerimage']['name'];
|
| 63 |
$imgPath = Mage::getBaseUrl('media')."Banners/images/thumb/".$imgName;
|
| 64 |
-
$data['filethumbgrid'] = '<img src="'.$imgPath.'" border="0" width="
|
| 65 |
}
|
| 66 |
|
| 67 |
$model = Mage::getModel('banners/banners');
|
|
@@ -119,7 +119,7 @@ class Mage_Banners_Adminhtml_BannersController extends Mage_Adminhtml_Controller
|
|
| 119 |
} catch (Exception $e) {}
|
| 120 |
}
|
| 121 |
|
| 122 |
-
|
| 123 |
|
| 124 |
Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('banners')->__('Banner was successfully saved'));
|
| 125 |
Mage::getSingleton('adminhtml/session')->setFormData(false);
|
|
@@ -141,85 +141,6 @@ class Mage_Banners_Adminhtml_BannersController extends Mage_Adminhtml_Controller
|
|
| 141 |
$this->_redirect('*/*/');
|
| 142 |
}
|
| 143 |
|
| 144 |
-
|
| 145 |
-
public function generateXML() {
|
| 146 |
-
|
| 147 |
-
$resource = Mage::getSingleton('core/resource');
|
| 148 |
-
$read= $resource->getConnection('core_read');
|
| 149 |
-
$bannersTable = $resource->getTableName('banners');
|
| 150 |
-
|
| 151 |
-
$select = $read->select()
|
| 152 |
-
->from($bannersTable,array('banners_id','title','bannerimage','link','target','textblend','content','status'))
|
| 153 |
-
->where('status',1)
|
| 154 |
-
->order('created_time ASC') ;
|
| 155 |
-
$banners = $read->fetchAll($select);
|
| 156 |
-
|
| 157 |
-
$bannersXML = '';
|
| 158 |
-
$bannersXML .= '<?xml version="1.0" encoding="utf-8" ?>';
|
| 159 |
-
$bannersXML .= '<Banner ';
|
| 160 |
-
|
| 161 |
-
$bannersXML .= 'bannerWidth="'.Mage::helper('banners')->bannerWidth().'" ';
|
| 162 |
-
$bannersXML .= 'bannerHeight="'.Mage::helper('banners')->bannerHeight().'" ';
|
| 163 |
-
$bannersXML .= 'bannerBackgroundColor="'.Mage::helper('banners')->bannerBackgroundColor().'" ';
|
| 164 |
-
$bannersXML .= 'autoPlay="'.Mage::helper('banners')->autoPlay().'" ';
|
| 165 |
-
$bannersXML .= 'imageResizeToFit="'.Mage::helper('banners')->imageResizeToFit().'" ';
|
| 166 |
-
$bannersXML .= 'imageRandomizeOrder="'.Mage::helper('banners')->imageRandomizeOrder().'" ';
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
$bannersXML .= 'textSize="'.Mage::helper('banners')->textSize().'" ';
|
| 170 |
-
$bannersXML .= 'textColor="'.Mage::helper('banners')->textColor().'" ';
|
| 171 |
-
$bannersXML .= 'textAreaWidth="'.Mage::helper('banners')->textAreaWidth().'" ';
|
| 172 |
-
$bannersXML .= 'textLineSpacing="'.Mage::helper('banners')->textLineSpacing().'" ';
|
| 173 |
-
$bannersXML .= 'textLetterSpacing="'.Mage::helper('banners')->textLetterSpacing().'" ';
|
| 174 |
-
$bannersXML .= 'textMarginLeft="'.Mage::helper('banners')->textMarginLeft().'" ';
|
| 175 |
-
$bannersXML .= 'textMarginBottom="'.Mage::helper('banners')->textMarginBottom().'" ';
|
| 176 |
-
$bannersXML .= 'textBackgroundBlur="'.Mage::helper('banners')->textBackgroundBlur().'" ';
|
| 177 |
-
$bannersXML .= 'textBackgroundColor="'.Mage::helper('banners')->textBackgroundColor().'" ';
|
| 178 |
-
$bannersXML .= 'textBackgroundTransparency="'.Mage::helper('banners')->textBackgroundTransparency().'" ';
|
| 179 |
-
|
| 180 |
-
$bannersXML .= 'transitionType="'.Mage::helper('banners')->transitionType().'" ';
|
| 181 |
-
$bannersXML .= 'transitionRandomEffects="'.Mage::helper('banners')->transitionRandomEffects().'" ';
|
| 182 |
-
$bannersXML .= 'transitionDelayTimeFixed="'.Mage::helper('banners')->transitionDelayTimeFixed().'" ';
|
| 183 |
-
$bannersXML .= 'transitionDelayTimePerWord="'.Mage::helper('banners')->transitionDelayTimePerWord().'" ';
|
| 184 |
-
$bannersXML .= 'transitionSpeed="'.Mage::helper('banners')->transitionSpeed().'" ';
|
| 185 |
-
$bannersXML .= 'transitionBlur="'.Mage::helper('banners')->transitionBlur().'" ';
|
| 186 |
-
|
| 187 |
-
$bannersXML .= 'showTimerClock="'.Mage::helper('banners')->showTimerClock().'" ';
|
| 188 |
-
$bannersXML .= 'showNextButton="'.Mage::helper('banners')->showNextButton().'" ';
|
| 189 |
-
$bannersXML .= 'showBackButton="'.Mage::helper('banners')->showBackButton().'" ';
|
| 190 |
-
$bannersXML .= 'showNumberButtons="'.Mage::helper('banners')->showNumberButtons().'" ';
|
| 191 |
-
$bannersXML .= 'showNumberButtonsAlways="'.Mage::helper('banners')->showNumberButtonsAlways().'" ';
|
| 192 |
-
$bannersXML .= 'showNumberButtonsHorizontal="'.Mage::helper('banners')->showNumberButtonsHorizontal().'" ';
|
| 193 |
-
$bannersXML .= 'showNumberButtonsAscending="'.Mage::helper('banners')->showNumberButtonsAscending().'" ';
|
| 194 |
-
$bannersXML .= 'showPlayPauseOnTimer="'.Mage::helper('banners')->showPlayPauseOnTimer().'" ';
|
| 195 |
-
$bannersXML .= 'alignButtonsLeft="'.Mage::helper('banners')->alignButtonsLeft().'" ';
|
| 196 |
-
$bannersXML .= 'alignTextTop="'.Mage::helper('banners')->alignTextTop().'" ';
|
| 197 |
-
|
| 198 |
-
$bannersXML .= '> ';
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
foreach ($banners as $_banner) {
|
| 202 |
-
|
| 203 |
-
$bannerImage = Mage::getBaseUrl('media')."Banners/images/".$_banner["bannerimage"];
|
| 204 |
-
$bannersXML .= '<item buttonLabel="" ';
|
| 205 |
-
$bannersXML .= 'image="'.$bannerImage.'" ';
|
| 206 |
-
$bannersXML .= 'link="'.$_banner["link"].'" ';
|
| 207 |
-
$bannersXML .= 'target="'.$_banner["target"].'" ';
|
| 208 |
-
$bannersXML .= 'delay="" ';
|
| 209 |
-
$bannersXML .= 'textBlend="'.$_banner["textblend"].'"> ';
|
| 210 |
-
$bannersXML .= '<![CDATA['.$_banner["content"].']]> ';
|
| 211 |
-
$bannersXML .= '</item> ';
|
| 212 |
-
|
| 213 |
-
}
|
| 214 |
-
$bannersXML .= '</Banner>';
|
| 215 |
-
|
| 216 |
-
$fileName = Mage::getBaseDir('media') . "/Banners/". DS ."data.xml";
|
| 217 |
-
$file= fopen($fileName, "w");
|
| 218 |
-
fwrite($file, $bannersXML);
|
| 219 |
-
fclose($file);
|
| 220 |
-
}
|
| 221 |
-
|
| 222 |
-
|
| 223 |
public function deleteAction() {
|
| 224 |
if( $this->getRequest()->getParam('id') > 0 ) {
|
| 225 |
try {
|
| 61 |
//Save Image Tag in DB for GRID View
|
| 62 |
$imgName = $_FILES['bannerimage']['name'];
|
| 63 |
$imgPath = Mage::getBaseUrl('media')."Banners/images/thumb/".$imgName;
|
| 64 |
+
$data['filethumbgrid'] = '<img src="'.$imgPath.'" border="0" width="75" height="75" />';
|
| 65 |
}
|
| 66 |
|
| 67 |
$model = Mage::getModel('banners/banners');
|
| 119 |
} catch (Exception $e) {}
|
| 120 |
}
|
| 121 |
|
| 122 |
+
Mage::helper('banners')->generateXML();
|
| 123 |
|
| 124 |
Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('banners')->__('Banner was successfully saved'));
|
| 125 |
Mage::getSingleton('adminhtml/session')->setFormData(false);
|
| 141 |
$this->_redirect('*/*/');
|
| 142 |
}
|
| 143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
public function deleteAction() {
|
| 145 |
if( $this->getRequest()->getParam('id') > 0 ) {
|
| 146 |
try {
|
media/Banners/data.xml
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<?xml version="1.0" encoding="utf-8" ?><Banner bannerWidth="564" bannerHeight="345" bannerBackgroundColor="FFFFFF" autoPlay="yes" imageResizeToFit="yes" imageRandomizeOrder="no" textSize="12" textColor="" textAreaWidth="200" textLineSpacing="0" textLetterSpacing="-0.5" textMarginLeft="12" textMarginBottom="5" textBackgroundBlur="yes" textBackgroundColor="333333" textBackgroundTransparency="30" transitionType="
|
| 1 |
+
<?xml version="1.0" encoding="utf-8" ?><Banner bannerWidth="564" bannerHeight="345" bannerBackgroundColor="FFFFFF" autoPlay="yes" imageResizeToFit="yes" imageRandomizeOrder="no" textSize="12" textColor="" textAreaWidth="200" textLineSpacing="0" textLetterSpacing="-0.5" textMarginLeft="12" textMarginBottom="5" textBackgroundBlur="yes" textBackgroundColor="333333" textBackgroundTransparency="30" transitionType="7" transitionRandomEffects="no" transitionDelayTimeFixed="10" transitionDelayTimePerWord=".5" transitionSpeed="10" transitionBlur="yes" showTimerClock="no" showNextButton="no" showBackButton="no" showNumberButtons="no" showNumberButtonsAlways="no" showNumberButtonsHorizontal="yes" showNumberButtonsAscending="yes" showPlayPauseOnTimer="yes" alignButtonsLeft="no" alignTextTop="no" > <item buttonLabel="" image="http://10.10.10.102/kamran/ethnicselection/media/Banners/images/banner_image.jpg" link="/" target="_self" delay="" textBlend="yes"> <![CDATA[Claritas est etiam]]> </item> <item buttonLabel="" image="http://10.10.10.102/kamran/ethnicselection/media/Banners/images/dwelledition-bedding.jpg" link="http://www.google.com" target="_blank" delay="" textBlend="yes"> <![CDATA[Before You Buy Bed]]> </item> <item buttonLabel="" image="http://10.10.10.102/kamran/ethnicselection/media/Banners/images/modernsilkquilt_86559.jpg" link="http://www.google.com" target="_blank" delay="" textBlend="yes"> <![CDATA[Fabric / Bed Linen]]> </item> </Banner>
|
media/Banners/images/Thumbs.db
CHANGED
|
Binary file
|
package.xml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Banners</name>
|
| 4 |
-
<version>1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL V3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Banner is a flexible solution that allow to manage banners in the easiest way.</summary>
|
| 10 |
<description>Banner is a flexible solution that allow to manage banners in the easiest way.</description>
|
| 11 |
-
<notes>
|
| 12 |
<authors><author><name>Kamran Rafiq Malik</name><user>auto-converted</user><email>kamran.malik@unitedsol.net</email></author></authors>
|
| 13 |
-
<date>2010-04-
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="mage"><dir name="media"><dir name="Banners"><dir name="images"><file name="logo.png" hash="e33c86d89150a2d02f293f99aad7c062"/><file name="Thumbs.db" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies/>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Banners</name>
|
| 4 |
+
<version>1.2.0</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL V3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Banner is a flexible solution that allow to manage banners in the easiest way.</summary>
|
| 10 |
<description>Banner is a flexible solution that allow to manage banners in the easiest way.</description>
|
| 11 |
+
<notes>NOTE: Please download the Latest release 1.2.0 from Releases section!</notes>
|
| 12 |
<authors><author><name>Kamran Rafiq Malik</name><user>auto-converted</user><email>kamran.malik@unitedsol.net</email></author></authors>
|
| 13 |
+
<date>2010-04-19</date>
|
| 14 |
+
<time>08:56:07</time>
|
| 15 |
+
<contents><target name="mage"><dir name="media"><dir name="Banners"><dir name="images"><file name="logo.png" hash="e33c86d89150a2d02f293f99aad7c062"/><file name="Thumbs.db" hash="b9ba78446c5fe0f544581a61774bb294"/></dir><dir name="swf"><file name="banner.fla" hash="6c9b61429a2cf82af339e0dfe7b89911"/><file name="banner.swf" hash="3aa22fdf4e195134e9da0c781a5c6670"/><file name="swfobject.js" hash="b687734407abd950392ae2344b283b2c"/></dir><file name="banner.swf" hash="3aa22fdf4e195134e9da0c781a5c6670"/><file name="data.xml" hash="4ba9feb2b21520789678d4f95ebfe65e"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="banners.xml" hash="f614af3a90e6ecadc2fea0a7bd1966a9"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="banners.xml" hash="eaeb8086698ff4465edebcd738ecda25"/></dir><dir name="template"><dir name="banners"><file name="banners.phtml" hash="1c513dc4115653293812e4103784d881"/></dir></dir></dir></dir></dir></target><target name="magecore"><dir name="Mage"><dir name="Adminhtml"><dir name="controllers"><file name="SystemController.php" hash="ba05c800f0e0edebfb511139137a3f8b"/></dir></dir></dir></target><target name="magelocal"><dir name="Mage"><dir name="Banners"><dir name="Block"><dir name="Adminhtml"><dir name="Banners"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="e09386ac043a9d6fe402a3f8ff0bca25"/></dir><file name="Form.php" hash="5d28449951793e81ddbe3c5be99fad57"/><file name="Tabs.php" hash="f2bf342dfb322366e4d509a35aafd8d5"/></dir><file name="Edit.php" hash="4b31a335d0cce9c08c83033effd2ecd1"/><file name="Grid.php" hash="899bb9d583533515949c0ac2daea7c37"/></dir><file name="Banners.php" hash="f2445f14f813ce3276ddb6968112c0cc"/></dir><file name="Banners.php" hash="5cec22181d5bd36e46db16a37a53c2fe"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannersController.php" hash="e5b325df277c81e64c26ba7127512eae"/></dir><file name="IndexController.php" hash="9ca1c7010326b5ce868c5158eef39411"/></dir><dir name="etc"><file name="config.xml" hash="c04d625b5ebb66928dd9b309a3c9b8fc"/><file name="system.xml" hash="9a264a9c392206ef61ed5e17139f9386"/></dir><dir name="Helper"><file name="Data.php" hash="987b8f60662e4122192f78288b632f2a"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Banners"><file name="Collection.php" hash="3ba445eb7573d27e26f010b1eeadb043"/></dir><file name="Banners.php" hash="527016301edf177b1604dbe98c722756"/></dir><file name="Banners.php" hash="07374201a9f0549c2986f42ece034a8b"/><file name="Status.php" hash="3c3c447dadb5cd5e12308e5cf435d70c"/></dir><dir name="sql"><dir name="banners_setup"><file name="mysql4-install-0.1.0.php" hash="599bf22c4fd8376ee08358763b1f9052"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Banners.xml" hash="00231c699a70c089c808243400500e5e"/></dir></target><target name="magelib"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Thumbnail.php" hash="8909f9c5df2188e6eefc3f6509cafa76"/></dir></dir></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies/>
|
| 18 |
</package>
|
