Revision`s Differences

Transkrypt

Revision`s Differences
Dokumentacja zmian plików graficznych: shoper red
Wersja zmian: 5.3.3 - 5.3.4
Pliki .tpl
boxes/Recent/box.tpl
18
19
20
- 21
}" title="{$special_product->translation->name|escape}" class="spanhover">
<span class="productname">{$special_product->translation->name|escape}</span>
<span class="boximgsize">
<img src="{imageUrl type='productGfx' width=120 height=120 image=$special_product->mainImageNam
e() overlay=1}" alt="" />
+ 21
22
23
24
<img src="{imageUrl type='productGfx' width=$skin_settings->box->imgwidth height=$skin_settings
->box->imgheight image=$special_product->mainImageName() overlay=1}" alt="" />
</span>
</a>
{if $showprices}
boxes/Bestsellers/box.tpl
24
25
26
- 27
title="{$bs_product->translation->name|escape}" class="spanhover">
<span class="productname">{$bs_product->translation->name|escape}</span>
<span class="boximgsize">
<img src="{imageUrl type='productGfx' width=120 height=120 image=$bs_product->mainImage
Name() overlay=1}" alt="" />
+ 27
28
29
30
<img src="{imageUrl type='productGfx' width=$skin_settings->box->imgwidth height=$skin_
settings->box->imgheight image=$bs_product->mainImageName() overlay=1}" alt="" />
</span>
</a>
{if $showprices}
boxes/SpecialOffer/box.tpl
18
19
20
- 21
}" title="{$special_product->translation->name|escape}" class="spanhover">
<span class="productname">{$special_product->translation->name|escape}</span>
<span class="boximgsize">
<img src="{imageUrl type='productGfx' width=120 height=120 image=$special_product->mainImageNam
e() overlay=1}" alt="" />
+ 21
22
23
24
<img src="{imageUrl type='productGfx' width=$skin_settings->box->imgwidth height=$skin_settings
->box->imgheight image=$special_product->mainImageName() overlay=1}" alt="" />
</span>
</a>
{if $showprices}
Copyright © 2012 Shoper. All rights reserved.
Strona 1/10
boxes/ProductOfTheDay/box.tpl
18
19
20
- 21
}" title="{$potd->translation->name|escape}" class="spanhover">
<span class="productname">{$potd->translation->name|escape}</span>
<span class="boximgsize">
<img src="{imageUrl type='productGfx' width=120 height=120 image=$potd->mainImageName() overlay
=1}" alt="" />
+ 21
22
23
24
<img src="{imageUrl type='productGfx' width=$skin_settings->box->imgwidth height=$skin_settings
->box->imgheight image=$potd->mainImageName() overlay=1}" alt="" />
</span>
</a>
{if $showprices}
boxes/NewProducts/box.tpl
24
25
26
- 27
}" title="{$newproduct->translation->name|escape}" class="spanhover">
<span class="productname">{$newproduct->translation->name|escape}</span>
<span class="boximgsize">
<img src="{imageUrl type='productGfx' width=120 height=120 image=$newproduct->mainImage
Name() overlay=1}" alt="" />
+ 27
28
29
30
<img src="{imageUrl type='productGfx' width=$skin_settings->box->imgwidth height=$skin_
settings->box->imgheight image=$newproduct->mainImageName() overlay=1}" alt="" />
</span>
</a>
{if $showprices}
scripts/product/tableofproducts.tpl
49
{if 'full' == $view || 'desc' == $view}<div class="description resetcss">{$product>translation->short_description}</div>{/if}
50
51
- 52
{if 1 == (int) $skin_settings->$settingsgroup->showavailability || 1 == (int) $skin
_settings->$settingsgroup->showdelivery}
+ 52
{if ($product->defaultStock && $product->canBuyStock() && 1 == (int) $skin_settings
->$settingsgroup->showdelivery) ||
+ 53
($product->defaultStock && 1 == (int) $skin_settings->$settingsgroup->showavail
ability) }
54
55
56
59
60
61
- 62
<dl class="availanddeliv">
{if 1 == (int) $skin_settings->$settingsgroup->showavailability && $product->de
faultStock->availability && $product->defaultStock->availability->translation}
<dt class="availability">{translate key="Availability:"}</dt>
}{$product->defaultStock->availability->translation->name}</dd>
{/if}
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product->defaul
Copyright © 2012 Shoper. All rights reserved.
Strona 2/10
tStock->delivery}
+ 62
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product->canBuy
Stock() && $product->defaultStock->delivery}
63
64
<dt class="delivery">{translate key="Shipment date:"}</dt>
<dd class="delivery">{$product->defaultStock->delivery->translation->name|escap
e}</dd>
65
{/if}
79
0 == $smarty.foreach.prodlist.iteration % $skin_settings->$settingsgroup->columns}</tr><tr
class="fewperrow">{/if}
80
81
- 82
+ 82
{/foreach}
{while 0 != $smarty.foreach.prodlist.iteration++ % $skin_settings->$settingsgroup->columns}
<td></td>
<td class="spacefill {if $smarty.foreach.prodlist.index % 2}odd{else}even{/if} col{$skin_se
ttings->$settingsgroup->columns}"></td>
83
84
85
{endwhile}
</tr>
{else}
146
147
148
- 149
</a>
{$product->translation->short_description}
{if 1 == (int) $skin_settings->$settingsgroup->showavailability || 1 == (in
t) $skin_settings->$settingsgroup->showdelivery}
+ 149
{if ($product->defaultStock && $product->canBuyStock() && 1 == (int) $skin_
settings->$settingsgroup->showdelivery) ||
+ 150
($product->defaultStock && 1 == (int) $skin_settings->$settingsgroup->s
howavailability) }
151
152
<dl class="availanddeliv">
{if 1 == (int) $skin_settings->$settingsgroup->showavailability && $pro
duct->defaultStock->availability && $product->defaultStock->availability->translation}
153
<dt class="availability">{translate key="Availability:"}</dt>
156
157
158
- 159
}{$product->defaultStock->availability->translation->name}</dd>
{/if}
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product
->defaultStock->delivery}
+ 159
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product
->canBuyStock() && $product->defaultStock->delivery}
160
161
<dt class="delivery">{translate key="Shipment date:"}</dt>
<dd class="delivery">{$product->defaultStock->delivery->translation->na
me|escape}</dd>
162
176
177
178
{/if}
{if 'desc' == $view}
<div class="description resetcss">
{$product->translation->short_description}
Copyright © 2012 Shoper. All rights reserved.
Strona 3/10
- 179
{if 1 == (int) $skin_settings->$settingsgroup->showavailability || 1 == (in
t) $skin_settings->$settingsgroup->showdelivery}
+ 179
{if ($product->defaultStock && $product->canBuyStock() && 1 == (int) $skin_
settings->$settingsgroup->showdelivery) ||
+ 180
($product->defaultStock && 1 == (int) $skin_settings->$settingsgroup->s
howavailability) }
181
182
<dl class="availanddeliv">
{if 1 == (int) $skin_settings->$settingsgroup->showavailability && $pro
duct->defaultStock->availability && $product->defaultStock->availability->translation}
183
<dt class="availability">{translate key="Availability:"}</dt>
186
187
188
- 189
}{$product->defaultStock->availability->translation->name}</dd>
{/if}
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product
->defaultStock->delivery}
+ 189
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product
->canBuyStock() && $product->defaultStock->delivery}
190
191
<dt class="delivery">{translate key="Shipment date:"}</dt>
<dd class="delivery">{$product->defaultStock->delivery->translation->na
me|escape}</dd>
192
{/if}
194
195
196
- 197
{/if}
</div>
{else}
{if 1 == (int) $skin_settings->$settingsgroup->showavailability || 1 == (int) $
skin_settings->$settingsgroup->showdelivery}
+ 197
{if ($product->defaultStock && $product->canBuyStock() && 1 == (int) $skin_sett
ings->$settingsgroup->showdelivery) ||
+ 198
($product->defaultStock && 1 == (int) $skin_settings->$settingsgroup->showa
vailability) }
199
200
<dl class="availanddeliv">
{if 1 == (int) $skin_settings->$settingsgroup->showavailability && $product
->defaultStock->availability && $product->defaultStock->availability->translation}
201
<dt class="availability">{translate key="Availability:"}</dt>
204
205
206
- 207
}{$product->defaultStock->availability->translation->name}</dd>
{/if}
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product->de
faultStock->delivery}
+ 207
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product->ca
nBuyStock() && $product->defaultStock->delivery}
208
209
<dt class="delivery">{translate key="Shipment date:"}</dt>
<dd class="delivery">{$product->defaultStock->delivery->translation->name|e
scape}</dd>
210
{/if}
Copyright © 2012 Shoper. All rights reserved.
Strona 4/10
scripts/header.tpl
10
11
12
- 13
+ 13
+ 14
15
16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
27
28
29
30
+ 31
32
33
34
<link rel="home" href="{baseDir nonempty=1}" />
<link rel="skin" href="{$path}" />
<link rel="shortcut icon" href="{$path}/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="{$path}/styles/main.css" />
<link rel="stylesheet" type="text/css" href="{sfc type='css' user=$user_js gallery=$jsgallery id=$skin_id lang=$lang_full}" />
<script type="text/javascript" src="{sfc type='js' user=$user_css gallery=$jsgallery id=$skin_id lang=$lang_full}"></script>
{if count($seo_links)}{foreach from=$seo_links item=v key=k}
<link rel="{$k|escape}" href="{$v|escape}" />
{/foreach}{/if}
{if true == $user_css}
<link rel="stylesheet" type="text/css" href="{$path}/styles/user.css" />
{/if}
{if true == $jsgallery}
<link rel="stylesheet" type="text/css" href="{baseDir}/public/milkbox/milkbox.css" />
{/if}
<script type="text/javascript" src="{baseDir}/public/scripts/mootools.js"></script>
<script type="text/javascript" src="{baseDir}/public/scripts/main.js"></script>
<script type="text/javascript" src="{baseDir}/public/scripts/lang/{lang key='long'}.js"></script>
<script type="text/javascript" src="{$path}js/main.js"></script>
{if true == $jsgallery}
<script type="text/javascript" src="{baseDir}/public/milkbox/milkbox-yc.js"></script>
{/if}
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
{if $body_background}
body {literal}{{/literal} background: {$body_background}; {literal}}{/literal}
{/if}
body > .container {literal}{{/literal} min-width: {$skin_settings->global->width|escape}; {literal}}{/literal}
.pagewidth {literal}{{/literal} width: {$skin_settings->global->width|escape}; {literal}}{/literal}
.leftcolwidth {literal}{{/literal} width: {$layout->layout->left_col_width|escape}; {literal}}{/literal}
.rightcolwidth {literal}{{/literal} width: {$layout->layout->right_col_width|escape}; {literal}}{/literal}
40
41
42
- 43
- 44
45
46
47
} height: {$skin_settings->productdetails->minigalleryimgheight|escape}px;{/if} {literal}}{/literal}
/*]]>*/-->
</style>
{if true == $user_js}
<script type="text/javascript" src="{$path}js/user.js"></script>
{/if}
{if count($opengraph_header)}{foreach from=$opengraph_header item=v key=k}{if strlen($v)}
<meta name="og:{$k|escape}" content="{$v|escape}" />
{/if}{/foreach}{/if}
scripts/headerlinks.tpl
6
7
8
-9
+9
10
{foreach from=$headerlinks item=link}
{if $link->getHref() || $link->isActiveCategory()}<li class="{if $link->hasSubCategories()}parent{/if}">
<h3>
<a href="{$link->getHref()|escape}" title="{$link->getTitle()|escape}" id="headlink{$link->getIdentifier()}" cl
ass="spanhover mainlevel">
<a href="{$link->getHref()|escape}" title="{$link->getTitle()|escape}" id="headlink{$link->getIdentifier()}" cl
ass="spanhover mainlevel{if $link->isPopup()} popup{/if}">
<span>{$link->getTitle()|escape}</span>
Copyright © 2012 Shoper. All rights reserved.
Strona 5/10
11
12
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
</a>
scripts/footer.tpl
6
7
8
-9
+9
10
11
12
<li class="overall col{$footergroups|count}" id="footgroup{$group->getIdentifier()}"><ul>
<li class="head">{$group->group->name|escape}</li>
{foreach from=$group->links item=link}
{if $link->getHref()}<li><a href="{$link->getHref()|escape}" title="{$link->getTitle()|escape}" id="footlink{$link>getIdentifier()}">{$link->getTitle()|escape}</a></li>{/if}
{if $link->getHref()}<li><a href="{$link->getHref()|escape}" class="{if $link->isPopup()}popup{/if}" title="{$link>getTitle()|escape}" id="footlink{$link->getIdentifier()}">{$link->getTitle()|escape}</a></li>{/if}
{/foreach}
</ul></li>
{/foreach}
scripts/body_head.tpl
54
55
56
- 57
+ 57
58
59
60
<div class="logo">
<div class="innerlogo pagewidth">
<a href="{baseDir nonempty=1}" title="Strona gówna" rel="nofollow" class="logo">
<a href="{baseDir nonempty=1}" title="{translate key='Main page'}" rel="nofollow" class="logo">
<img src="{$path}/images/logo.png" alt="Logo" />
<!--[if lt IE 7]><span class="logospacer">&nbsp;</span><![endif]-->
</a>
Pliki .css
styles/main.css
1125
1126
1127
- 1128
- 1129
+ 1128
1129
1130
1131
}
/* */
.main .innerbox button.addtobasket,
.main .innerbox button.important {
button.addtobasket, button.important {
border: 1px solid #a00;
color: #fff;
font-weight: bold;
1144
overflow: visible;
1145 }
1146
- 1147 .main .innerbox button.addtobasket:hover,
- 1148 .main .innerbox button.important:hover {
Copyright © 2012 Shoper. All rights reserved.
Strona 6/10
+ 1147
1148
1149
1150
1151
1152
1153
- 1154
+ 1154
1155
1156
1157
- 1158
+ 1158
1159
1160
1161
3673
3674
3675
- 3676
- 3677
- 3678
- 3679
- 3680
3681
3682
3683
4836
4837
4838
- 4839
- 4840
- 4841
- 4842
- 4843
- 4844
- 4845
- 4846
- 4847
- 4848
- 4849
- 4850
- 4851
- 4852
- 4853
button.addtobasket:hover, button.important:hover {
box-shadow: 0 0 4px #800;
-moz-box-shadow: 0 0 4px #800;
-webkit-box-shadow: 0 0 4px #800;
border-color: #800\9;
}
.main .innerbox button.addtobasket {
button.addtobasket {
padding-top: 4px;
}
.main .innerbox button.addtobasket img {
button.addtobasket img {
width: 15px;
height: 20px;
background: url('../images/basket.png') no-repeat 0 0;
display: none;
}
*:first-child+html #box_articlelist .innerbox .resetcss { /* IE7 */
display: block;
clear: both;
}
#box_article .boxhead h3, #box_article .boxhead h1 {
float: left;
}
/* CSS restore */
.resetcss ul {
list-style: disc;
}
.resetcss fieldset, .resetcss h1, .resetcss h2, .resetcss h3,
.resetcss h4, .resetcss h5, .resetcss ul, .resetcss ol,
.resetcss li, .resetcss dl, .resetcss dd,
.resetcss dt, .resetcss p {
margin: auto;
padding: auto;
border: auto;
}
.resetcss p {
Copyright © 2012 Shoper. All rights reserved.
Strona 7/10
- 4854
- 4855
- 4856
- 4857
- 4858
- 4859
- 4860
- 4861
- 4862
- 4863
- 4864
- 4865
- 4866
- 4867
- 4868
- 4869
- 4870
- 4871
- 4872
- 4873
- 4874
- 4875
- 4876
- 4877
- 4878
- 4879
- 4880
- 4881
- 4882
+ 4839
+ 4840
+ 4841
+ 4842
+ 4843
+ 4844
+ 4845
+ 4846
+ 4847
+ 4848
+ 4849
+ 4850
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;
table-layout: auto;
}
.resetcss td {
padding: 1px;
}
.resetcss em {
font-weight: normal !important;
font-style: italic !important;
color: inherit !important;
}
.resetcss ul{list-style:disc}
.resetcss fieldset, .resetcss h1, .resetcss h2, .resetcss h3, .resetcss h4, .resetcss h5, .resetcss ul, .resetcss ol, .resetcss li, .re
setcss dl, .resetcss dd, .resetcss dt, .resetcss p{margin:auto;padding:auto;border:auto;}
.resetcss h1 {font-size: 2em; font-weight: bold; margin: 0.67em 0;}
.resetcss h2 {font-size: 1.5em; font-weight: bold; margin: 0.83em 0;}
.resetcss h3 {font-size: 1.17em; font-weight: bold; margin: 1em 0;}
.resetcss h4 {font-size: 1em; font-weight: bold; margin: 1.33em 0;}
.resetcss h5 {font-size: 0.83em; font-weight: bold; margin: 1.67em 0;}
.resetcss h6 {font-size: 0.67em; font-weight: bold; margin: 2.33em 0;}
.resetcss p{margin:0.5em 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;table-layo
ut:auto}
.resetcss td{padding:1px}
.resetcss em{font-weight:normal !important;font-style:italic !important;color:inherit !important}
.resetcss strong {font-weight: bolder}
*:first-child+html #box_articlelist .innerbox .resetcss { /* IE7 */ display: block; clear: both;}
/* END CSS restore */
+ 4851
+ 4852
+ 4853
+ 4854
4855
4856
4857 .main .hbox .boxhead *, .main .hbox .boxhead h3 * {
Copyright © 2012 Shoper. All rights reserved.
Strona 8/10
4925 .table-navigator li a {
4926
color: #2f6fc7;
4927 }
+ 4928
+ 4929
+ 4930
+ 4931
+ 4932
+ 4933
+ 4934
+ 4935 .mask {
+ 4936
z-index: 500;
+ 4937
position: fixed;
+ 4938
left: 0;
+ 4939
top: 0;
+ 4940
background-color: transparent;
+ 4941
background-image: -moz-radial-gradient(center center, ellipse cover, rgba(127,127,127,0.5), rgba(127,127,127,0.5) 35%,rgba(0,0,0,0.
7) 100%) !important;
+ 4942
background-image: -webkit-radial-gradient(center center, ellipse cover, rgba(127,127,127,0.5), rgba(127,127,127,0.5) 35%,rgba(0,0,0
,0.7) 100%) !important;
+ 4943
background-image: -o-radial-gradient(center center, ellipse cover, rgba(127,127,127,0.5), rgba(127,127,127,0.5) 35%,rgba(0,0,0,0.7)
100%) !important;
+ 4944
background-image: -ms-radial-gradient(center center, ellipse cover, rgba(127,127,127,0.5), rgba(127,127,127,0.5) 35%,rgba(0,0,0,0.7
) 100%) !important;
+ 4945
background-image: radial-gradient(center center, ellipse cover, rgba(127,127,127,0.5), rgba(127,127,127,0.5) 35%,rgba(0,0,0,0.7) 10
0%) !important;
+ 4946 }
+ 4947
+ 4948 *:first-child+html .mask { /* IE7 */
+ 4949
background-color: #888;
+ 4950
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
+ 4951 }
+ 4952
+ 4953 @media \0screen { /* IE8 */
+ 4954
.mask {
+ 4955
background-color: #888;
+ 4956
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
+ 4957
}
+ 4958 }
+ 4959
+ 4960 .mask_box {
+ 4961
position: absolute;
+ 4962
display: block;
+ 4963
margin: 0;
+ 4964
z-index: 501;
+ 4965
background: #fff url('../images/box_inner.png') 0 0 repeat-x;
+ 4966
border: 1px solid #888;
+ 4967
box-shadow: 0 5px 80px #555;
+ 4968
-moz-box-shadow: 0 5px 80px #555;
Copyright © 2012 Shoper. All rights reserved.
Strona 9/10
+ 4969
+ 4970
+ 4971
+ 4972
+ 4973
+ 4974
+ 4975
+ 4976
+ 4977
+ 4978
+ 4979
+ 4980
+ 4981
+ 4982
+ 4983
+ 4984
+ 4985
+ 4986
+ 4987
+ 4988
+ 4989
+ 4990
+ 4991
+ 4992
+ 4993
+ 4994
+ 4995
+ 4996
+ 4997
+ 4998
+ 4999
+ 5000
+ 5001
+ 5002
+ 5003
+ 5004
+ 5005
+ 5006
+ 5007
+ 5008
+ 5009
+ 5010
+ 5011
+ 5012
-webkit-box-shadow: 0 5px 80px #555;
border-radius: 7px;
padding: 10px;
}
.ajaxbasket.mask_box {
width: 350px;
}
.ajaxbasket .bottombuttons {
overflow: hidden;
}
.ajaxbasket .bottombuttons .button {
float: left;
}
.ajaxbasket .bottombuttons .important {
float: right;
}
.ajaxbasket h3 {
font-size: 1.2em;
font-weight: bold;
}
.ajaxbasket ul {
padding: 10px 5px 15px;
font-size: 1.1em;
}
.ajaxbasket .bottombuttons {
margin: 5px 0 -10px;
}
.ajaxbasket .close {
width: 22px;
height: 22px;
cursor: pointer;
position: absolute;
right: -6px;
top: -6px;
background: transparent no-repeat url('../images/close_big.png') center center;
}
Copyright © 2012 Shoper. All rights reserved.
Strona 10/10