Revision`s Differences
Transkrypt
Revision`s Differences
Dokumentacja zmian plików graficznych: shoper red Wersja zmian: 5.4.9 - 5.4.10 Pliki .tpl boxes/FacebookLike/box.tpl 1 2 3 -4 5 6 7 13 14 15 - 16 17 18 19 {if $boxNs->$box_id->pageid > 0} <div class="box" id="box_facebooklike"> <script type="text/javascript"> <!-window.addEvent('domready', function(e) {literal}{{/literal} w = $('box_facebooklike').getSize().x; h = {if 1 == (int) $boxNs->$box_id->stream}600{else}300{/if}; 'scrolling="no" frameborder="0" style="border:none; overflow: hidden; width: ' + w + 'px; height:' + h + 'px;" allowTransparency="true"></iframe>'); {literal}}{/literal}); --> </script> </div> {/if} boxes/FreeShipping/box.tpl +1 +2 +3 +4 +5 +6 +7 +8 +9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 {assign var=fs value=$user->basket->methodForFreeShipping()} {if $fs} <div class="box" id="box_freeshipping"> <div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div> <div class="boxhead"> <div class="leftside"></div> <h3><img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />{$boxNs->$box_id->title|escape}</h3> <div class="rightside"></div> </div> <div class="innerbox"> <div class="leftside"></div> <div class="arrow"></div> {if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if} {if 0 == $user->basket->count()} {translate key='You may qualify for free shipping (%s) if your order is %s or over.' p1=$fs->shipping-> name currency1=$fs->shipping->free_shipping format=true} {else} Copyright © 2013 Shoper. All rights reserved. Strona 1/6 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 {assign var=sum value=$user->basket->sumProducts()} {if $sum > $fs->shipping->free_shipping} {translate key='Your order is over %s, you qualify for free shipping (%s).' currency1=$fs->shipping ->free_shipping p1=$fs->shipping->name format=true} {elseif $sum == $fs->shipping->free_shipping} {translate key='Your order is %s, you qualify for free shipping (%s).' currency1=$fs->shipping->fre e_shipping p1=$fs->shipping->name format=true} {else} {assign var=sum_left value=$fs->shipping->free_shipping-$sum} {translate key='Add %s more to your order to qualify for free shipping (%s).' currency1=$sum_left p 1=$fs->shipping->name format=true} {/if} {/if} <div class="rightside"></div> </div> <div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div> </div> {/if} scripts/basket/finished.tpl 38 39 40 - 41 + 41 42 43 44 <div class="innerbox"> <div class="leftside"></div> <h4 class="paystatus">{$msg|escape}</h4> {$payment_output|escape} {$payment_output} <div class="rightside"></div> </div> <div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div> scripts/body_head.tpl 92 93 94 - 95 + 95 96 97 98 </div> </div> {include file='headerlinks.tpl' force_include_cache='1' force_include_cache_tags='Logic_SkinHeaderLinkList,Logic_SkinHeaderLink,Log ic_CategoryList,Logic_Category'} {include file='headerlinks.tpl' force_include_cache='1' force_include_cache_key_part=$view force_include_cache_tags='Logic_SkinHead erLinkList,Logic_SkinHeaderLink,Logic_CategoryList,Logic_Category'} {if count($breadcrumbs->getBreadCrumbs()) > 0} <div class="breadcrumbs"> scripts/contact/index.tpl 37 38 39 - 40 </div> <div class="innerbox"> <div class="leftside"></div> <form class="formprotect" method="post" action="{route key='contact'}"> Copyright © 2013 Shoper. All rights reserved. Strona 2/6 + 40 41 42 43 <form class="formprotect" method="post" action="{route key='contact'}" enctype="multipart/form-data"> <fieldset> {include file='formantispam.tpl'} <table> scripts/headerlinks.tpl 6 7 8 -9 +9 10 11 12 {foreach from=$headerlinks item=link} {if $link->getHref() || $link->isActiveCategory()}<li class="{if $link->hasSubCategories()}parent{/if}" {if $link->getC ategoryId()}id="hcategory_{$link->getCategoryId()|escape}"{/if}> <h3> <a href="{$link->getHref()|escape}" title="{$link->getTitle()|escape}" id="headlink{$link->getIdentifier()}" cl ass="spanhover mainlevel{if $link->isPopup()} popup{/if}"> <a href="{$link->getHref($view)|escape}" title="{$link->getTitle()|escape}" id="headlink{$link->getIdentifier() }" class="spanhover mainlevel{if $link->isPopup()} popup{/if}"> <span>{$link->getTitle()|escape}</span> <img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /> </a> scripts/headermenu.tpl 3 4 5 -6 +6 7 8 9 {foreach from=$headermenu_categories item=cat} <li class="{if count($cat->getActiveLangChildrenList())}parent{/if}" id="hcategory_{$cat->getIdentifier()|escape}"> <h3> <a href="{route function='category' key=$cat->getIdentifier() categoryName=$cat->translation->name category Id=$cat->getIdentifier() resetparams=true}" <a href="{route function='category' key=$cat->getIdentifier() categoryName=$cat->translation->name category Id=$cat->getIdentifier() view=$view resetparams=true}" title="{$cat->translation->name|escape}" id="headercategory{$cat->getIdentifier()}" class="spanhover"> <span>{$cat->translation->name|escape}</span> <img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /> scripts/panel/index.tpl 64 65 66 - 67 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 <td class="sum">{currency value=$order->sumOrder()}</td> <td class="status"> <span>{$order->status->translation->name|escape}</span> {if $order->sumOrder()*100 > $order->order->paid*100 && $order->hasOnlinePayment()}<a href= "{route key='panelPayment' orderId=$id}">{translate key='pay'}</a>{/if} {if $order->sumOrder()*100 > $order->order->paid*100 && $order->hasOnlinePayment()} {assign var=onlinepayment value=$order->getOnlinePayment()} {if !$onlinepayment->isFinished() or !$onlinepayment->isStarted()} {if !$onlinepayment->isFinished() and $onlinepayment->isStarted()} <a class="titlequestion" title="{translate key='Your payment is processed. Are you sure you want to pay again?'}" href="{route key='panelPayment' orderId=$id}">{translate key='pay again'}</a> {else} <a href="{route key='panelPayment' orderId=$id}">{translate key='pay'}</a> Copyright © 2013 Shoper. All rights reserved. Strona 3/6 + 75 + 76 + 77 78 79 80 {/if} {/if} {/if} </td> <td class="parcels"> {if count($order->parcels) > 0} scripts/panel/order.tpl 65 66 67 - 68 + 68 69 70 71 157 158 159 - 160 - 161 - 162 - 163 - 164 - 165 - 166 - 167 - 168 + 160 + 161 + 162 + 163 + 164 + 165 + 166 + 167 + 168 + 169 + 170 + 171 + 172 + 173 + 174 + 175 + 176 <dd class="shipping">{$order->shipping->shipping->name|escape}</dd> {if $order->invoice && true == $show_invoice} <dt class="invoice">{translate key='Invoice'}</dt> <dd class="invoice"><a href="{baseDir}/console/invoices/pdf/id/{$order->invoice->invoice->invoice_id}">{tra nslate key='display'}</a></dd> <dd class="invoice"><a href="{baseDir}/console/invoices/pdf/id/{$order->invoice->invoice->invoice_id}{if $t oken}/token/{$token|escape}{/if}">{translate key='display'}</a></dd> {/if} {if count($order->parcels) > 0} <dt class="parcel">{translate key='Package'}</dt> </tbody> </table> {if $order->sumOrder()*100 > $order->order->paid*100 && $order->hasOnlinePayment()} <form action="{route key='panelPayment' orderId=$id}" method="get" class="pay"> <fieldset> <button class="important pay" type="submit"> <img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /> <span>{translate key='Pay'}</span> </button> </fieldset> </form> <div class="floatfix"></div> {assign var=onlinepayment value=$order->getOnlinePayment()} {if !$onlinepayment->isFinished() or !$onlinepayment->isStarted()} <form action="{route key='panelPayment' orderId=$id token=$token}" method="get" class="pay"> <fieldset> {if !$onlinepayment->isFinished() and $onlinepayment->isStarted()} {translate key='Your payment is processed'} <button class="important pay" type="submit"> <img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /> <span>{translate key='Pay again'}</span> </button> {else} <button class="important pay" type="submit"> <img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /> <span>{translate key='Pay'}</span> </button> {/if} </fieldset> Copyright © 2013 Shoper. All rights reserved. Strona 4/6 + 177 + 178 + 179 180 181 - 182 183 184 185 188 189 190 - 191 + 191 + 192 193 194 195 </form> <div class="floatfix"></div> {/if} {/if} {if $order->isDigital()} <h4 class="digital separator">{translate key='Files to download'}</h4> {if $order->isDownloadReady()} <dt>{$p->product->name|escape}</dt> <dd> {foreach from=$p->productObject->digital item=d} <a href="{route key='panelDigital' prodId=$p->getIdentifier() digitalId=$d->getIdentifier()}">{$d-> getDesc()}</a> ({size value=$d->getSize()})<br /> <a href="{if $token}{route key='panelDigital' hash=$p->getDigitalHash($d->getIdentifier()) prodId=$ p->getIdentifier() digitalId=$d->getIdentifier()}{else }{route key='panelDigital' prodId=$p->getIdentifier() digitalId=$d->getIdentifier()}{/i f}">{$d->getDesc()}</a> ({size value=$d->getSize()})<br /> {/foreach} </dd> </dl> scripts/product/list.tpl 103 104 }" title="{translate key='View with photo' }"><img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /><span>{translate key='Photo'}</s pan></a></li> 105 - 106 + 106 107 108 109 <li class="full{if 'full' == $view} selected{/if}"><a href="{php} echo $helper->url(array('view' => 'full')); {/php}{if $google}?{$google|escape}{/if }" title="{translate key='Widok peny' }" title="{translate key='Full view' }"><img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /><span>{translate key='Full'}</sp an></a></li> </ul> {/if} Pliki .css styles/main.css 3765 3766 3767 - 3768 .resetcss p { margin:1em 0 } .resetcss > p { margin-top: 0; } .resetcss ul, .resetcss ol { padding-left:40px } .resetcss table, .resetcss th, .resetcss td { border-collapse:separate;border-color:auto;border-spacing:auto;border-width:auto;float:no ne;table-layout:auto } + 3768 .resetcss table, .resetcss tbody, .resetcss thead, .resetcss tfoot, .resetcss tr, .resetcss th, .resetcss td { border-collapse:collapse Copyright © 2013 Shoper. All rights reserved. Strona 5/6 ;border-spacing:inherit;table-layout:auto } + 3769 .resetcss table[border] tbody, .resetcss table[border] thead, .resetcss table[border] tfoot, .resetcss table[border] tr, .resetcss tabl e[border] th, .resetcss table[border] td { border-color:inherit;border-width:inherit;border:inherit; } 3770 .resetcss td { padding:1px } + 3771 .resetcss td[valign="middle"] { vertical-align:middle; } + 3772 .resetcss td[valign="bottom"] { vertical-align:bottom; } 3773 .resetcss em { font-weight:normal !important;font-style:italic !important;color:inherit !important } 3774 .resetcss strong { font-weight: bolder } 3775 *:first-child+html #box_articlelist .innerbox .resetcss { /* IE7 */ display: block; clear: both; } Pliki .js Copyright © 2013 Shoper. All rights reserved. Strona 6/6