[-] FO: Fix retrocompatibility for modules and old themes

This commit is contained in:
Rémi Gaillard
2012-12-31 12:06:28 +01:00
parent f49630e02b
commit 37f9d31c0a
64 changed files with 1873 additions and 96 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
/* Special style for block cart*/
#left_column #cart_block, #right_column #cart_block {
}
#header #cart_block .title_block {
#header #cart_block .title_block, #header #cart_block h4 {
display: none;
}
#header #cart_block {
@@ -22,7 +22,7 @@
background:#eee
}
#cart_block.cart_block_hover {display:block}
#cart_block .title_block span {
#cart_block .title_block span, #header #cart_block h4 {
float: right;
padding-left: 10px;
text-transform: none;
+2 -2
View File
@@ -43,13 +43,13 @@ var delete_txt = '{l s='Delete' mod='blockcart' js=1}';
<!-- MODULE Block cart -->
<div id="cart_block" class="block exclusive">
<p class="title_block">
<h4 class="title_block">
<a href="{$link->getPageLink("$order_process", true)}" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Cart' mod='blockcart'}</a>
{if $ajax_allowed}
<span id="block_cart_expand" {if isset($colapseExpandStatus) && $colapseExpandStatus eq 'expanded' || !isset($colapseExpandStatus)}class="hidden"{/if}>&nbsp;</span>
<span id="block_cart_collapse" {if isset($colapseExpandStatus) && $colapseExpandStatus eq 'collapsed'}class="hidden"{/if}>&nbsp;</span>
{/if}
</p>
</h4>
<div class="block_content">
<!-- block summary -->
<div id="cart_block_summary" class="{if isset($colapseExpandStatus) && $colapseExpandStatus eq 'expanded' || !$ajax_allowed || !isset($colapseExpandStatus)}collapsed{else}expanded{/if}">