[+] Project : default theme added
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
/* Block store */
|
||||
.blockstore img { margin: 10px 0 0 0 }
|
||||
.blockstore p { text-align: center }
|
||||
.blockstore img { margin: 10px 0 0 0}
|
||||
.blockstore p {
|
||||
padding-bottom:0;
|
||||
font-weight:bold;
|
||||
text-align: right
|
||||
}
|
||||
.blockstore p.store_image {
|
||||
padding-bottom:10px;
|
||||
text-align:center
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ class BlockStore extends Module
|
||||
return $this->displayError($this->l('an error occurred on uploading file'));
|
||||
else
|
||||
{
|
||||
if (Configuration::hasContext('BLOCKSTORE_IMG', null, $this->context->shop->getContextType()) && Configuration::get('BLOCKSTORE_IMG') != $_FILES['store_img']['name'])
|
||||
if (Configuration::get('BLOCKSTORE_IMG') != $_FILES['store_img']['name'])
|
||||
@unlink(dirname(__FILE__).'/'.Configuration::get('BLOCKSTORE_IMG'));
|
||||
Configuration::updateValue('BLOCKSTORE_IMG', $_FILES['store_img']['name']);
|
||||
return $this->displayConfirmation($this->l('Settings are updated'));
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7077 $
|
||||
* @version Release: $Revision: 6594 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
@@ -28,9 +28,9 @@
|
||||
<div id="stores_block_left" class="block">
|
||||
<h4><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockstore'}">{l s='Our stores' mod='blockstore'}</a></h4>
|
||||
<div class="block_content blockstore">
|
||||
<p class="store_image"><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockstore'}"><img src="{$module_dir}{$store_img}" alt="{l s='Our stores' mod='blockstore'}" width="174" height="115" /></a></p>
|
||||
<p>
|
||||
<a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockstore'}"><img src="{$module_dir}{$store_img}" alt="{l s='Our stores' mod='blockstore'}" width="174" height="115" /></a><br />
|
||||
<a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockstore'}">{l s='Discover our stores' mod='blockstore'}</a>
|
||||
<a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockstore'}">» {l s='Discover our stores' mod='blockstore'}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user