Revision`s Differences

Transkrypt

Revision`s Differences
Dokumentacja zmian plików graficznych: shoper red
Wersja zmian: 5.5.9 - 5.6.0
Pliki .tpl
boxes/Basket/box.tpl
9
10
11
- 12
- 13
- 14
+ 12
+ 13
+ 14
15
16
17
<div class="leftside"></div>
<div class="arrow"></div>
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
<p class="products">{translate key="products:"} <em>{$user->basket->countProducts()}</em></p>
<p class="sum">{translate key="value:"} <em>{currency value=$user->basket->sumProducts()}</em></p>
<p class="basket"><a href="{route key='basket'}" title="{translate key='Basket'}" rel="nofollow">{translate
key="go to the basket"} &raquo;</a></p>
<p class="products">{translate key="products"}: <em>{$user->basket->countProducts()}</em></p>
<p class="sum">{translate key="value"}: <em>{currency value=$user->basket->sumProducts()}</em></p>
<p class="basket"><a href="{route key='basket'}" title="{translate key='Cart'}" rel="nofollow">{translate k
ey="go to cart"} &raquo;</a></p>
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
boxes/Currencies/box.tpl
-1
2
3
4
10
11
12
- 13
+ 13
14
15
16
- 17
+ 17
18
19
20
{php} $helper = $this->_tpl_vars['helper']; {/php}
<div class="box" id="box_currencies">
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
{switch expr=$boxNs->$box_id->format}
{case expr=1}
<label class="singleselect" for="box_currencies_select">{translate key="Select currency"}</label>
<label class="singleselect" for="box_currencies_select">{translate key="Select a currency"}</label>
<select class="singleselect gotourl" id="box_currencies_select">
{foreach from=$boxNs->$box_id->list item=desc key=cur}
<option{if $cur == $boxNs->$box_id->currency} selected="selected"{/if
} value="{php} echo $helper->url(); {/php}?currency={$cur|escape}">{$desc|escape}</option>
} value="{url}?currency={$cur|escape}">{$desc|escape}</option>
{/foreach}
</select>
{/case}
Copyright © 2015 Shoper. All rights reserved.
Strona 1/74
22
23
24
- 25
<ul class="listwithicons">
{foreach from=$boxNs->$box_id->list item=desc key=cur}
<li{if $cur == $boxNs->$box_id->currency} class="selected"{/if
}><a href="{php} echo $helper->url(); {/php}?currency={$cur|escape}" title="{$desc|escape}" class="
spanhover">
+ 25
26
27
28
}><a href="{url}?currency={$cur|escape}" title="{$desc|escape}" class="spanhover">
<img src="{baseDir}/public/currencies/{$cur|escape}.png" alt="" />
<span>{$desc|escape}</span>
</a>
boxes/FreeShipping/box.tpl
12
13
14
- 15
+ 15
16
17
18
- 19
+ 19
20
- 21
+ 21
22
23
- 24
+ 24
25
26
27
<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}
{translate key='Free shipping (%s) on orders of %s and more.' p1=$fs->shipping->name currency1=$fs->shi
pping->free_shipping format=true}
{else}
{assign var=freeshipping_sum value=$user->basket->sumProducts()}
{if $freeshipping_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}
{translate key='Order higher than %s - you get a free shipping (%s).' currency1=$fs->shipping->free
_shipping p1=$fs->shipping->name format=true}
{elseif $freeshipping_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}
{translate key='Order for %s - you get a free shipping (%s).' currency1=$fs->shipping->free_shippin
g p1=$fs->shipping->name format=true}
{else}
{assign var=freeshipping_sum_left value=$fs->shipping->free_shipping-$freeshipping_sum}
{translate key='Add %s more to your order to qualify for free shipping (%s).' currency1=$freeshippi
ng_sum_left p1=$fs->shipping->name format=true}
{translate key='You need another %s for free shipping (%s).' currency1=$freeshipping_sum_left p1=$f
s->shipping->name format=true}
{/if}
{/if}
<div class="rightside"></div>
boxes/LanguageList/box.tpl
10
11
12
- 13
+ 13
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
{switch expr=$boxNs->$box_id->format}
{case expr=1}
<label class="singleselect" for="box_languages_select">{translate key="Select language"}</label>
<label class="singleselect" for="box_languages_select">{translate key="Select a language"}</label>
Copyright © 2015 Shoper. All rights reserved.
Strona 2/74
14
15
16
<select class="singleselect gotourl" id="box_languages_select">
{foreach from=$boxNs->$box_id->list item=language}
<option{if $language->name == $boxNs->$box_id->language} selected="selected"{/if} value="{$language->ur
l}">{$language->title|escape}</option>
boxes/Login/box.tpl
24
25
26
- 27
+ 27
28
29
30
31
- 32
- 33
- 34
- 35
- 36
+ 32
33
+ 34
+ 35
+ 36
+ 37
+ 38
+ 39
40
41
42
<div class="bottombuttons">
<button type="submit" class="button login">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Log in"}</span>
<span>{translate key="Sign in"}</span>
</button>
</div>
<a href="{$boxNs->$box_id->passlink}" class="remind spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Don't remember your password?"}</span>
</a>
<a href="{$boxNs->$box_id->reglink}" class="register spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Register"}.</span>
<span>{translate key="Forgot your password?"}</span>
</a>
{if $enable_register}
<a href="{$boxNs->$box_id->reglink}" class="register spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Create an account"}.</span>
</a>
{/if}
</fieldset>
</form>
{else}
45
46
47
- 48
+ 48
49
- 50
+ 50
51
52
53
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="My account"}</span>
</a>
<a href="{route key='logout'}" title="Log out" class="logout spanhover">
<a href="{route key='logout'}" title="Sign out" class="logout spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Log out"}</span>
<span>{translate key="Sign out"}</span>
</a>
{/if}
<div class="rightside"></div>
boxes/Menu/box.tpl
14
<ul class="folded">
Copyright © 2015 Shoper. All rights reserved.
Strona 3/74
15
16
- 17
- 18
+ 17
+ 18
19
20
21
{/if}
{$boxNs->$box_id->list}
{if 1 == $boxNs->$box_id->link_news}<li id="category_novelties"><a href="{$boxNs->$box_id->url_new}" ti
tle="{translate key='News link'}" class="novelties">{translate key="News link"}</a></li>{/if}
{if 1 == $boxNs->$box_id->link_promotions}<li id="category_promo"><a href="{$boxNs->$box_id->url_promot
ions}" title="{translate key='Promotions link'}" class="promo">{translate key="Promotions link"}</a></li>{/if}
{if 1 == $boxNs->$box_id->link_news}<li id="category_novelties"><a href="{$boxNs->$box_id->url_new}" ti
tle="{translate key='New products'}" class="novelties">{translate key="New products"}</a></li>{/if}
{if 1 == $boxNs->$box_id->link_promotions}<li id="category_promo"><a href="{$boxNs->$box_id->url_promot
ions}" title="{translate key='Products on sale'}" class="promo">{translate key="Products on sale"}</a></li>{/if}
</ul>
<div class="rightside"></div>
</div>
boxes/News/box.tpl
-1
-2
-3
-4
-5
-6
-7
-8
-9
- 10
+1
+2
+3
+4
+5
+6
+7
+8
+9
+ 10
+ 11
12
- 13
- 14
- 15
- 16
- 17
<div class="box" id="box_articlelistsmall">
<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>
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
{if $boxNs->$box_id->list|@count}
<div class="box" id="box_articlelistsmall">
<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>
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
{foreach from=$boxNs->$box_id->list item=box_article name=list}
{if $smarty.foreach.list.index > 0}<hr class="separator" />{/if}
<h4 class="article_name">
{if $box_article->article->content|strlen > 0}
<a href="{route function='news' key=$box_article->getIdentifier() newsId=$box_article->getIdentifie
r()}">
- 18
- 19
- 20
- 21
- 22
- 23
{$box_article->article->name|escape}
</a>
{else}
{$box_article->article->name|escape}
{/if}
</h4>
Copyright © 2015 Shoper. All rights reserved.
Strona 4/74
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
+3
+4
+5
+6
+7
+8
+9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
19
- 20
- 21
- 22
- 23
+5
+6
+7
+8
+9
<h5 class="article_date">{date value=$box_article->article->date format='Zend_Date::DATE_MEDIUM'}{if $box_a
rticle->article->author}, {$box_article->article->author|escape}{/if}</h5>
<div class="floatfix"></div>
{if 2 == $boxNs->$box_id->format}
<div class="resetcss">{$box_article->article->short_content}</div>
{/if}
{if $box_article->article->content|strlen > 0 && $box_article->article->short_content != $box_article->arti
cle->content}
<a class="readmore" href="{route function='news' key=$box_article->getIdentifier() newsId=$box_article->get
Identifier()}">{translate key="more"} &raquo;</a>
{/if}
{/foreach}
{foreach from=$boxNs->$box_id->list item=box_article name=list}
{if $smarty.foreach.list.index > 0}<hr class="separator" />{/if}
<h4 class="article_name">
<a href="{route function='news' key=$box_article->getIdentifier() newsId=$box_article->getIdentifier() newsName=$box_ar
ticle->article->name newsYear="Y"|date:$box_article->articleTimestamp newsMonth="m"|date:$box_article->articleTimestamp newsDay="d"|date
:$box_article->articleTimestamp}">
{$box_article->article->name|escape}
</a>
</h4>
<h5 class="article_date">{date value=$box_article->article->date format='Zend_Date::DATE_MEDIUM'}{if $box_article->article>author}, {$box_article->article->author|escape}{/if}</h5>
<div class="floatfix"></div>
{if 2 == $boxNs->$box_id->format}
<div class="resetcss">{$box_article->article->short_content}</div>
{/if}
{if $box_article->article->content|strlen > 0 && $box_article->article->short_content != $box_article->article->content}
<a class="readmore" href="{route function='news' key=$box_article->getIdentifier() newsId=$box_article->getIdentifier()}">{
translate key="read more"} &raquo;</a>
{/if}
{/foreach}
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
</div>
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
</div>
{/if}
boxes/NewsCalendar/box.tpl
+1
+2
+3
+4
+5
<div class="box" id="box_article_calendar">
<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>
Copyright © 2015 Shoper. All rights reserved.
Strona 5/74
+6
+7
+8
+9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
+ 21
+ 22
+ 23
+ 24
+ 25
+ 26
+ 27
+ 28
+ 29
+ 30
+ 31
+ 32
+ 33
+ 34
+ 35
+ 36
+ 37
+ 38
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
+ 45
+ 46
+ 47
+ 48
+ 49
+ 50
+ 51
+ 52
+ 53
+ 54
<div class="rightside"></div>
</div>
<div class="innerbox">
<div class="leftside"></div>
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
<table class="calendar">
<thead>
<tr>
<td>{dayOfWeek value=0}</td>
<td>{dayOfWeek value=1}</td>
<td>{dayOfWeek value=2}</td>
<td>{dayOfWeek value=3}</td>
<td>{dayOfWeek value=4}</td>
<td>{dayOfWeek value=5}</td>
<td>{dayOfWeek value=6}</td>
</tr>
</thead>
<tbody>
<tr>
{dynamic}
{assign var="dayOfWeek" value=$boxNs->$box_id->dayOfWeek}
{assign var="days" value=$boxNs->$box_id->days->toArray()}
{if $boxNs->$box_id->dayOfWeek > 0}
<td colspan="{$dayOfWeek}" class="calendar_empty"></td>
{/if}
{section name=list start=1 loop=$boxNs->$box_id->numberDays}
{if $dayOfWeek == 7}
{assign var="dayOfWeek" value="0"}
</tr><tr>
{/if}
<td {if $smarty.section.list.index|in_array:$days} class="calendar_focused"{/if}>
{if $smarty.section.list.index|in_array:$days}
<a href="{route function='newsListDate' key='' newsYear=$boxNs->$box_id->year newsMonth=$boxNs->$bo
x_id->month newsDay=$smarty.section.list.index}">{$smarty.section.list.index}</a>
{else}
{$smarty.section.list.index}
{/if}
</td>
{assign var="dayOfWeek" value=$dayOfWeek+1}
{/section}
{if $dayOfWeek != 7}
<td colspan="{7 - $dayOfWeek}" class="calendar_empty"></td>
{/if}
{/dynamic}
</tr>
</tbody>
</table>
Copyright © 2015 Shoper. All rights reserved.
Strona 6/74
+ 55
+ 56
+ 57
+ 58
+ 59
+ 60
+ 61
+ 62
+ 63
+ 64
+ 65
+ 66
+ 67
{dynamic}
<div class="calendar_nav">
<a class="calendar_nav_prev" href="{route function='newsListDate' key='' newsYear=$boxNs->$box_id->prevYear newsMonth=$
boxNs->$box_id->prevMonth}">&laquo; {date value=$boxNs->$box_id->prevTime format='MMM yyyy'}</a>
{if $boxNs->$box_id->nextYear}
<a class="calendar_nav_next" href="{route function='newsListDate' key='' newsYear=$boxNs->$box_id->nextYear newsMon
th=$boxNs->$box_id->nextMonth}">{date value=$boxNs->$box_id->nextTime format='MMM yyyy'} &raquo;</a>
{/if}
</div>
{/dynamic}
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
</div>
boxes/NewsCategories/box.tpl
+1
+2
+3
+4
+5
+6
+7
+8
+9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
+ 21
+ 22
+ 23
+ 24
+ 25
+ 26
+ 27
{if $boxNs->$box_id->list|@count}
<div class="box" id="box_article_categories">
<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>
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
<ul class="standard">
{foreach from=$boxNs->$box_id->list item=category}
{assign var='id' value=$category->category->category_id}
<li id="news_category_{$category->category->category_id}">
<a href="{$boxNs->$box_id->cat_links->$id}" title="{$category->category->name|escape}">{$category->category->na
me|escape}</a>
{if $boxNs->$box_id->counter}
<em>({$category->news|count})</em>
{/if}
</li>
{/foreach}
</ul>
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
</div>
{/if}
boxes/NewsTagCloud/box.tpl
Copyright © 2015 Shoper. All rights reserved.
Strona 7/74
+1
+2
+3
+4
+5
+6
+7
+8
+9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
+ 19
{if $boxNs->$box_id->tagCloud->getItemList()|count}
<div class="box" id="box_article_tagcloud">
<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>
{if $boxNs->$box_id->text}
<h5 class="boxintro">{$boxNs->$box_id->text}</h5>
{/if}
{$boxNs->$box_id->tagCloud}
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
</div>
{/if}
boxes/Polls/box.tpl
40
41
42
- 43
</dd>
{/foreach}
</dl>
/div>
+ 43
44
45
46
<div class="votecount">{translate key="Total votes"}: {$boxNs->$box_id->poll->totalVotes()|escape}</div>
{/if}
<div class="rightside"></div>
</div>
boxes/Pricelist/box.tpl
15
16
17
- 18
<ul class="icons floatcenter">
{if 1 == $boxNs->$box_id->html}
<li class="html">
<a href="{$boxNs->$box_id->html_link|escape}" title="{translate key='Price list in HTML format'
}" class="spanhover html">
+ 18
<a href="{$boxNs->$box_id->html_link|escape}" title="{translate key='Pricelist in HTML format'}
" class="spanhover html">
19
20
21
23
24
25
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="HTML"}</span>
</a>
{/if}
{if 1 == $boxNs->$box_id->xls}
<li class="excel">
Copyright © 2015 Shoper. All rights reserved.
Strona 8/74
- 26
<a href="{$boxNs->$box_id->xls_link|escape}" title="{translate key='Price list in Excel for
mat'}" class="spanhover excel">
+ 26
<a href="{$boxNs->$box_id->xls_link|escape}" title="{translate key='Pricelist in Excel form
at'}" class="spanhover excel">
27
28
29
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="XLS"}</span>
</a>
36
37
38
- 39
<ul class="listwithicons">
{if 1 == $boxNs->$box_id->html}
<li class="html">
<a href="{$boxNs->$box_id->html_link|escape}" title="{translate key='Price list in HTML format'
}" class="spanhover html">
+ 39
<a href="{$boxNs->$box_id->html_link|escape}" title="{translate key='Pricelist in HTML format'}
" class="spanhover html">
40
41
42
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="HTML"}</span>
</a>
44
45
46
- 47
{/if}
{if 1 == $boxNs->$box_id->xls}
<li class="excel">
<a href="{$boxNs->$box_id->xls_link|escape}" title="{translate key='Price list in Excel format'
}" class="spanhover excel">
+ 47
<a href="{$boxNs->$box_id->xls_link|escape}" title="{translate key='Pricelist in Excel format'}
" class="spanhover excel">
48
49
50
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Excel"}</span>
</a>
boxes/Producers/box.tpl
8
9
10
- 11
+ 11
12
13
14
<div class="innerbox">
<div class="leftside"></div>
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
<label class="singleselect" for="box_producers_select">{translate key="Select manufacturer"}</label>
<label class="singleselect" for="box_producers_select">{translate key="Select vendor"}</label>
{dynamic}
<select class="singleselect gotourl" id="box_producers_select">
{/dynamic}
boxes/ProductFilter/box.tpl
1
-2
3
4
5
{if true == $boxNs->$box_id->show_me}
{php}$helper = $this->_tpl_vars['helper'];{/php}
<div class="box" id="box_productfilter">
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
Copyright © 2015 Shoper. All rights reserved.
Strona 9/74
9
10
11
- 12
+ 12
13
14
15
16
17
18
- 19
+ 19
20
21
<div class="innerbox">
<div class="leftside"></div>
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
<form class="formprotect" method="post" action="{php} echo $helper->url();{/php}">
<form class="formprotect" method="post" action="{url}">
<fieldset>
{include file='formantispam.tpl'}
<input type="hidden" name="ProductFilter" value="1" />
<div class="pricegroup">
{strip}
<span class="pricelabel">{translate key='Price:'}</span>
<span class="pricelabel">{translate key='Price'}:</span>
<div class="shaded_inputwrap pricefrom">
<input type="text" name="pricefrom" value="{$productfilter_from|escape}" class="shaded_text
short" />
22
</div>
29
30
31
- 32
+ 32
33
34
35
{if count($boxNs->$box_id->producers) > 0}
<div class="producergroup">
<label for="selectproducer" class="producer">{translate key='Manufacturer:'}</label>
<label for="selectproducer" class="producer">{translate key='Vendor'}:</label>
<select name="producer" id="selectproducer">
<option></option>
{foreach from=$boxNs->$box_id->producers item=producer}
42
43
44
<div class="promogroup">
<input type="checkbox" value="1" name="promotion" id="filter_promotion" {if 1 == $productfilter
_promotion} checked="checked"{/if}/>
- 45
+ 45
46
47
48
<label for="filter_promotion">{translate key="Only products in promotion"}</label>
<label for="filter_promotion">{translate key="Only On Sale products"}</label>
</div>
<div class="floatfix"></div>
boxes/Search/box.tpl
12
13
14
- 15
<fieldset>
{include file='formantispam.tpl'}
<div class="shaded_inputwrap inputwrap">
<input type="text" name="search" value="{translate key='search in the shop...'}" class="fadingt
ext" />
+ 15
<input type="text" name="search" value="{translate key='search in the store...'}" class="fading
text" />
Copyright © 2015 Shoper. All rights reserved.
Strona 10/74
16
17
18
</div>
<div class="bottombuttons">
<button class="button" type="submit">
21
22
23
- 24
</button>
</div>
{if 1 == $boxNs->$box_id->extended}
<a href="{route key='search'}" title="{translate key='Go to advanced product search'}">{translate k
ey="advanced search"} &raquo;</a>
+ 24
<a href="{route key='search'}" title="{translate key='Go to advanced search'}">{translate key="adva
nced search"} &raquo;</a>
25
26
27
{/if}
</fieldset>
</form>
boxes/Slider/box.tpl
-1
-2
-3
-4
-5
-6
-7
-8
-9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
{if count($boxNs->$box_id->images)}
<div class="box" id="box_slider{if $boxNs->$box_id->is_custom}{$box_id|escape}{/if}">
<div class="pageslider animation_{$boxNs->$box_id->animation|escape} {if $boxNs->$box_id->auto}animaton_auto{/i
f} {$boxNs->$box_id->bullets}">
<ul class="slides"{if $boxNs->$box_id->height > 0} style="height: {$boxNs->$box_id->height}px;"{/if}>
{assign var="images" value=$boxNs->$box_id->images}
{if $boxNs->$box_id->random}
{php}
$this->_tpl_vars['images'] = iterator_to_array($this->_tpl_vars['images']);
shuffle($this->_tpl_vars['images']);
{/php}
{/if}
{foreach from=$images item=img}
{if $img->active == '1'}
<li>
<a href="{$img->href|escape}" title="">
<img src="{imageUrl type='boxesGfx' image=$img->bg->src}" alt="{$slide->name}" alt="" /
>
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
+1
+2
</a>
</li>
{/if}
{/foreach}
</ul>
<ul class="pages">
<li></li>
</ul>
</div>
<div class="floatfix"></div>
</div>
{if $boxNs->$box_id->force_show || count($boxNs->$box_id->images)}
<div class="box" id="box_slider{if $boxNs->$box_id->is_custom}{$box_id|escape}{/if}">
Copyright © 2015 Shoper. All rights reserved.
Strona 11/74
+3
+4
+5
+6
+7
+8
+9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
+ 21
22
<div data-slider-duration="{$boxNs->$box_id->duration|escape}" data-slider-delay="{$boxNs->$box_id->delay|escape}" class="pages
lider animation_{$boxNs->$box_id->animation|escape} {if $boxNs->$box_id->auto}animaton_auto{/if} {if $boxNs->$box_id->bullets !== 'none'
}{$boxNs->$box_id->bullets}{/if}">
<ul class="slides"{if $boxNs->$box_id->height > 0} style="height: {$boxNs->$box_id->height}px;"{/if}>
{assign var="images" value=$boxNs->$box_id->images}
{foreach from=$images item=img}
{if $img->active == '1'}
<li>
<a href="{$img->href|escape}" title="">
<img src="{imageUrl type='boxesGfx' image=$img->bg->src}" alt="{$img->name}" />
</a>
</li>
{/if}
{/foreach}
</ul>
<ul class="pages {$boxNs->$box_id->bullets}">
<li></li>
</ul>
</div>
<div class="floatfix"></div>
</div>
{/if}
scripts/basket/address.tpl
84
85
86
- 87
+ 87
88
89
90
</tbody>
</table>
<h4 class="separator">{translate key='Address'}</h4>
<h4 class="separator">{translate key='Address details'}</h4>
<table class="address">
<tbody>
239
240
241
- 242
+ 242
243
244
245
<tbody>
<tr>
<td class="label">
<label for="comment">{translate key='Comments'}</label>
<label for="comment">{translate key='Notes'}</label>
</td>
<td class="input" colspan="2">
<div class="shaded_textareawrap">
scripts/basket/index.tpl
33
34
35
<div class="topbar"><div class="leftcorner"></div><div class="rightcorner"></div></div>
<div class="boxhead">
<div class="leftside"></div>
Copyright © 2015 Shoper. All rights reserved.
Strona 12/74
- 36
+ 36
37
38
39
<h3>{translate key='Contents of your basket'}</h3>
<h3>{translate key='Contents of your cart'}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
46
47
48
- 49
+ 49
50
51
52
<td class="img"></td>
<td class="name" {if !$showDelivery}colspan="2"{/if}>{translate key="Product"}</td>
{if $showDelivery}
<td class="time">{translate key="Order delivery date"}</td>
<td class="time">{translate key="Dispatched within"}</td>
{/if}
<td class="quantity">{translate key="Quantity"}</td>
<td class="price">{translate key="Price"}</td>
66
67
68
- 69
+ 69
70
<span>{translate key='Calculate'}</span>
</button>
</td>
<td class="desc"><em>{translate key="Total:"}</em></td>
<td class="desc"><em>{translate key="Total"}:</em></td>
<td class="sum"><em class="color">{currency value=$user->basket->sumProducts(false)}</em></
td>
71
72
<td />
</tr>
77
78
79
- 80
+ 80
81
82
83
<tr class="deliverycountry{if count($shipping_countries) < 2} none{/if}">
<td colspan="3" class="desc">
<em>{translate key="Shipping country:"}</em>
<em>{translate key="Shipping country"}:</em>
</td>
<td colspan="3" class="select">
<select name="shipping_country">
91
92
93
- 94
+ 94
95
- 96
+ 96
97
98
99
100
101
<tr class="deliveryhead">
<td colspan="3" class="desc">
<em>{translate key="Shipping method:"}</em> <em class="color"></em>
<em>{translate key="Shipping method"}:</em> <em class="color"></em>
{if count($shippings) > 0}
<em class="fold"><a href="" class="none">&raquo; {translate key='change'}</a></em>
<em class="fold"><a href="" class="none">&raquo; {translate key='modify'}</a></em>
{else}
<em class="nopayment">{translate key='[none]'}</em>
{/if}
</td>
<td colspan="2" class="cost">
Copyright © 2015 Shoper. All rights reserved.
Strona 13/74
- 102
+ 102
103
104
105
126
127
128
- 129
+ 129
130
- 131
+ 131
132
133
134
<em>{translate key="Cost of delivery:"}</em>
<em>{translate key="Shipping cost"}:</em>
</td>
<td class="value"><em class="color"></em></td>
<td class="actions">
<tr class="paymenthead">
<td colspan="6" class="desc">
<em>{translate key="Payment method:"}</em> <em class="color"></em>
<em>{translate key="Payment method"}:</em> <em class="color"></em>
{if count($payments) > 0}
<em class="fold"><a href="" class="none">&raquo; {translate key='change'}</a></em>
<em class="fold"><a href="" class="none">&raquo; {translate key='modify'}</a></em>
{else}
<em class="nopayment">{translate key='[none]'}</em>
{/if}
143
<input type="radio" name="payment_id" id="payment_{$payment->getIdentifier()}" value="{
$payment->getIdentifier()}" {if $payment_id == (int) $payment->getIdentifier()}checked="checked" {/if}/>
144
<label for="payment_{$payment->getIdentifier()}">
145
{$payment->translation->title|escape}
- 146
- 147
{if 'zagiel' == $payment->payment->name && $sum >= 100}
- 148
{plugin module=shop template=basket-zagiel}
- 149
{/if}
- 150
{if 'lukas' == $payment->payment->name && $sum >= 500}
- 151
{plugin module=shop template=basket-lukas}
- 152
{/if}
153
</label>
- 154
<span class="description">{$payment->translation->description|escape}</span>
+ 147
<span class="description">
+ 148
{$payment->translation->description|escape}
+ 149
{plugin module=shop template=basket-payment-list payment=$payment sum=$sum}
+ 150
</span>
151
<span class="additional_cost_percent"></span>
152
</td>
153
<td class="value"></td>
162
163
164
- 165
+ 165
166
167
168
{if $showpromocodes}
<tr class="promocode">
<td class="desc" colspan="4">
{translate key="Discount coupon:"}
{translate key="Discount code"}:
</td>
<td class="input" colspan="2">
{if true == $promocode_error || ! $promocode}
Copyright © 2015 Shoper. All rights reserved.
Strona 14/74
200
201
202
- 203
+ 203
204
205
206
<tr class="sum">
<td class="desc" colspan="4">
{translate key="Amount to be paid:"}
{translate key="To pay"}:
</td>
<td class="value" colspan="2">
{currency value=$sum}
212
213
214
- 215
<tr class="loyalty_points">
<td colspan="4" />
<td class="value" colspan="2">
{translate key="You earn %s%s%s points" p1='<span class="points">' p2=$loyalty_points p
3='</span>'}
+ 215
{translate key="You gain %s%s%s points" p1='<span class="points">' p2=$loyalty_points p
3='</span>'}
216
217
218
</td>
<td />
{/if}
227
228
229
- 230
+ 230
231
232
233
<td class="forward" colspan="3">
<button type="submit" class="important order" name="button2" value="button2">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Make order'}</span>
<span>{translate key='Order now'}</span>
</button>
</td>
</tr>
255
256
<td class="price">{currency value=$basket_product->getPrice()}</td>
<td class="sum"><em class="color">{currency value=$basket_product->getPriceForAll()}</em></
td>
257
- 258
<td class="actions">
<a href="{route key='basketRemove' basketId=$basket_product->getIdentifier()}" title="{
translate key='Remove product from your basket'}" class="spanhover prodremove">
+ 258
<a href="{route key='basketRemove' basketId=$basket_product->getIdentifier()}" title="{
translate key='Remove product from cart'}" class="spanhover prodremove">
259
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
260
261
</a>
272
273
274
- 275
+ 275
{else}
<div class="info_message flash_message">
<div class="container">
<p>{translate key="Your basket is empty."}</p>
<p>{translate key="Your cart is empty."}</p>
Copyright © 2015 Shoper. All rights reserved.
Strona 15/74
276
277
278
</div>
</div>
{/if}
scripts/basket/step2.tpl
30
31
32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
+ 33
+ 34
+ 35
+ 36
+ 37
+ 38
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
+ 45
+ 46
+ 47
+ 48
+ 49
+ 50
+ 51
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
+ 58
+ 59
+ 60
+ 61
+ 62
<div class="box" id="box_basketstep2">
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key='I don\'t have an account'}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
<div class="leftside"></div>
<form action="{route key='basketRegister'}" method="get" class="register">
<fieldset>
<button class="important register" type="submit">
{if $allow_single || $enable_register}
<div class="boxhead">
<div class="leftside"></div>
<h3>
{if $enable_register}
{translate key='I do not have an account yet'}
{else}
{translate key='I do not have an account'}
{/if}
</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
<div class="leftside"></div>
{if $enable_register}
<form action="{route key='basketRegister'}" method="get" class="register">
<fieldset>
<button class="important register" type="submit">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Create an account'}</span>
</button>
</fieldset>
</form>
<p>{translate key='Sign up to take advantage of the privileges for returning customers'}:</p>
<ul>
<li>{translate key='view the order status and purchase history'}</li>
<li>{translate key='no need to enter your data for next purchases'}</li>
<li>{translate key='possibility to receive discounts and discount codes'}</li>
{if $loyalty_order_gives_points}
<li>{translate key='you can collect loyalty points for your shopping'}</li>
Copyright © 2015 Shoper. All rights reserved.
Strona 16/74
+ 63
+ 64
+ 65
+ 66
+ 67
+ 68
+ 69
+ 70
+ 71
72
- 73
+ 35
36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
+ 37
+ 38
+ 39
40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
+ 39
+ 40
+ 41
+ 42
+ 43
44
- 45
+ 41
{/if}
</ul>
{/if}
{if $allow_single && $enable_register}
<hr class="separator" />
{/if}
{if $allow_single}
<form action="{route key='basketNoRegister'}" method="get" class="order">
<button class="important order" type="submit">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Register'}</span>
<span>{translate key='Place an order'}</span>
</button>
</fieldset>
</form>
<p>{translate key='Set up an account to take advantage of benefits for regular customers:'}</p>
<ul>
<li>{translate key='view the progress of order fulfillment and your shopping history'}</li>
<li>{translate key='no need to enter your details while shopping next time'}</li>
<li>{translate key='opportunity to get discounts and promotional coupons'}</li>
{if $loyalty_order_gives_points}
<li>{translate key='placing an order will give you loyalty points'}</li>
</form>
<p>{translate key="You don't have to create an account in our store to place an order."}</p>
<p>{translate key='Click "Place an order" button'}</p>
{/if}
</ul>
{if $allow_single}
<hr class="separator" />
<form action="{route key='basketNoRegister'}" method="get" class="order">
<button class="important order" type="submit">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Place an order'}</span>
</button>
</form>
<p>{translate key='You don\'t have to set up an account at our shop to place an order.'}</p>
<p>{translate key='Select the button "Place an order"'}</p>
{/if}
<div class="floatfix"></div>
<div class="rightside"></div>
</div>
<div class="boxhead boxsecondhead">
<div class="floatfix"></div>
<div class="rightside"></div>
</div>
{/if}
<div class="boxhead{if $allow_single || $enable_register} boxsecondhead{/if}">
<div class="leftside"></div>
<h3>{translate key='I already have an account at the shop'}</h3>
<h3>{translate key='I already have an account'}</h3>
Copyright © 2015 Shoper. All rights reserved.
Strona 17/74
42
43
44
<div class="rightside"></div>
</div>
<div class="innerbox">
92
93
94
- 95
+ 95
96
- 97
+ 97
98
99
100
- 101
+ 101
102
103
<input type="hidden" name="loginform" value="1" />
<button type="submit" class="important login">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Log in'}</span>
<span>{translate key='Sign in'}</span>
</button>
<label for="input_mail">{translate key='E-mail:'}</label>
<label for="input_mail">{translate key='E-mail'}:</label>
<div class="shaded_inputwrap inline">
<input type="text" class="" name="mail" value="{$data.mail}" size="17" id="input_mail" />
</div>
<label for="input_pass">{translate key='Password:'}</label>
<label for="input_pass">{translate key='Password'}:</label>
<div class="shaded_inputwrap inline">
<input type="password" class="" name="pass" value="{$data.pass}" size="17" id="input_pass"
/>
104
</div>
scripts/basket/step3.tpl
38
39
40
- 41
+ 41
42
43
44
<td class="img" />
<td class="name" {if !$showDelivery}colspan="2"{/if}>{translate key="Product"}</td>
{if $showDelivery}
<td class="time">{translate key="Order delivery date"}</td>
<td class="time">{translate key="Dispatched within"}</td>
{/if}
<td class="quantity">{translate key="Quantity"}</td>
<td class="price">{translate key="Price"}</td>
73
74
75
- 76
+ 76
77
78
- 79
+ 79
80
81
82
- 83
- 84
</table>
<h4
<h4
<h4
<h4
class="separator delivery">{translate key="Delivery address"}</h4>
class="separator invoice">{translate key="Invoicing address"}</h4>
class="separator invoice">{translate key="Billing address"}</h4>
class="separator both">
<span class="delivery">{translate key="Delivery address"}</span>
<span class="invoice">{translate key="Invoicing address"}</span>
<span class="invoice">{translate key="Billing address"}</span>
</h4>
<div class="address delivery">
{if $data.name2 || $data.surname2
}<p>{if $data.name2}{$data.name2|escape} {/if}{if $data.surname2}{$data.surname2|escape}{/if}</
p>{/if}
Copyright © 2015 Shoper. All rights reserved.
Strona 18/74
- 85
- 86
- 87
- 88
- 89
{if
{if
{if
{if
- 90
- 91
+ 83
+ 84
+ 85
+ 86
+ 87
{if $data.country2}<p>{country code=$data.country2}</p>{/if}
{if $data.phone2}<p>{$data.phone2|escape}</p>{/if}
{if $shipping->handler->isOverwriteDeliveryAddress()}
{plugin module=shop template=basket-address-delivery-overwrite}
{else}
{if $data.name2 || $data.surname2
}<p>{if $data.name2}{$data.name2|escape} {/if}{if $data.surname2}{$data.surname2|escape}{/i
$data.coname2}<p>{$data.coname2|escape}</p>{/if}
$data.nip2}<p>{translate key='NIP No.:'} {$data.nip2|escape}</p>{/if}
$data.street2}<p>{$data.street2|escape}</p>{/if}
$data.zip2 || $data.city2
}<p>{if $data.zip2}{$data.zip2|escape}, {/if}{if $data.city2}{$data.city2|escape}{/if}</p>{/if}
f}</p>{/if}
+ 88
+ 89
+ 90
+ 91
+ 92
{if
{if
{if
{if
$data.coname2}<p>{$data.coname2|escape}</p>{/if}
$data.nip2}<p>{translate key='Tax ID'}: {$data.nip2|escape}</p>{/if}
$data.street2}<p>{$data.street2|escape}</p>{/if}
$data.zip2 || $data.city2
}<p>{if $data.zip2}{$data.zip2|escape}, {/if}{if $data.city2}{$data.city2|escape}{/if}</p>{
/if}
+ 93
+ 94
+ 95
96
97
- 98
+ 86
87
88
89
90
{if $data.country2}<p>{country code=$data.country2}</p>{/if}
{if $data.phone2}<p>{$data.phone2|escape}</p>{/if}
{/if}
</div>
<h4 class="separator invoice2">{translate key="Invoicing address"}</h4>
<h4 class="separator invoice2">{translate key="Billing address"}</h4>
<div class="address invoice">
{if 1 == $data.address_type && ($data.name || $data.surname)
}<p>{if $data.name}{$data.name|escape} {/if}{if $data.surname}{$data.surname|escape}{/if}</p>{/
if}
91
- 92
+ 92
93
94
95
- 96
+ 96
97
98
99
{if
{if
{if
{if
{if
$data.coname}<p>{$data.coname|escape}</p>{/if}
$data.nip}<p>{translate key='NIP No.:'} {$data.nip|escape}</p>{/if}
$data.nip}<p>{translate key='Tax ID'}: {$data.nip|escape}</p>{/if}
$data.street}<p>{$data.street|escape}</p>{/if}
$data.zip || $data.city
}<p>{if $data.zip}{$data.zip|escape}, {/if}{if $data.city}{$data.city|escape}{/if}</p>{/if}
$data.pesel}<p>{translate key='PESEL:'} {$data.pesel|escape}</p>{/if}
$data.pesel}<p>{translate key='Personal Identification Number'}: {$data.pesel|escape}</p>{/if}
$data.country}<p>{country code=$data.country}</p>{/if}
$data.phone}<p>{$data.phone|escape}</p>{/if}
{if
{if
{if
{if
</div>
113
114
115
- 116
+ 116
117
<h4 class="separator information">{translate key="Information"}</h4>
<dl>
{if $delivery}
<dt class="date">{translate key='Expected shipment date:'}</dt>
<dt class="date">{translate key='Expected shipping date'}:</dt>
<dd class="date">{$delivery->translation->name|escape}</dd>
Copyright © 2015 Shoper. All rights reserved.
Strona 19/74
118
- 119
+ 119
120
{/if}
<dt class="delivery">{translate key='Selected form of delivery:'}</dt>
<dt class="delivery">{translate key='Selected form of delivery'}:</dt>
<dd class="delivery">{$shipping->shipping->name|escape} ({currency value=$shipping->getCost()})</dd
>
- 121
+ 121
122
123
- 124
+ 124
125
126
127
- 128
+ 128
129
130
131
132
133
- 134
+ 134
135
136
137
<dt
<dt
<dd
{if
class="payment">{translate key='Selected form of payment:'}</dt>
class="payment">{translate key='Selected form of payment'}:</dt>
class="payment">{$payment->translation->title|escape}</dd>
$discount_summary > 0}
<dt class="payment">{translate key='Granted discount:'}</dt>
<dt class="payment">{translate key='Discounts granted'}:</dt>
<dd class="payment">{currency value=$discount_summary}</dd>
{/if}
{if $data.comment}
<dt class="comment">{translate key='Comments:'}</dt>
<dt class="comment">{translate key='Notes'}:</dt>
<dd class="comment">{$data.comment|escape}</dd>
{/if}
</dl>
<p class="sum">
<span class="label">{translate key="Amount to be paid:"}</span>
<span class="label">{translate key="To pay"}:</span>
<span class="sum">{currency value=$sum}</span>
</p>
scripts/body_head.tpl
5
6
7
-8
u
+8
t
9
- 10
u
+ 10
t
11
12
13
29
30
31
- 32
<div class="pagewidth">
<img src="{baseDir}/public/images/1px.gif" class="close">
{if $cookiepage}
<span>{translate key="In order to deliver services, this website uses cookies in accordance with the %sCookies Policy%s. Yo
can specify the cookies storage conditions and access them in your browser settings." s1="<a href=\"$cookiepage\">" s2="</a>"}</span>
<span>{translate key="This site uses cookies to deliver services in accordance with the %sCookie Files Policy%s. You can se
the conditions for storage and access to cookies in your browser settings." s1="<a href=\"$cookiepage\">" s2="</a>"}</span>
{else}
<span>{translate key="In order to deliver services, this website uses cookies in accordance with the %sCookies Policy%s. Yo
can specify the cookies storage conditions and access them in your browser settings." s1="" s2=""}</span>
<span>{translate key="This site uses cookies to deliver services in accordance with the %sCookie Files Policy%s. You can se
the conditions for storage and access to cookies in your browser settings." s1="" s2=""}</span>
{/if}
</div>
</div>
</a>
</li>
<li class="logout">
<a href="{route key='logout'}" title="{translate key='Log out'}" class="logout spanhover">
Copyright © 2015 Shoper. All rights reserved.
Strona 20/74
+ 32
33
- 34
+ 34
35
36
37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
+ 38
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
+ 45
+ 46
+ 47
+ 48
+ 49
+ 50
+ 51
52
53
54
55
56
57
- 58
- 59
+ 45
+ 46
47
48
49
<a href="{route key='logout'}" title="{translate key='Sign out'}" class="logout spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Log out"}</span>
<span>{translate key="Sign out"}</span>
</a>
</li>
{else}
<li class="register">
<a href="{route key='register'}" title="{translate key='Register'}" class="register spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Register"}</span>
</a>
</li>
<li class="login">
<a href="{route key='login'}" title="{translate key='Log in'}" class="login spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Log in"}</span>
</a>
</li>
{if $enable_register}
<li class="register">
<a href="{route key='register'}" title="{translate key='Create an account'}" class="register spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Create an account"}</span>
</a>
</li>
{/if}
<li class="login">
<a href="{route key='login'}" title="{translate key='Sign in'}" class="login spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Sign in"}</span>
</a>
</li>
{/if}
</ul>
<ul class="basket">
<li class="count">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>
<span class="countlabel">{translate key="Number of products in the basket:"} <b class="count">{$user->basket->c
ountProducts()}</b>.</span>
<span class="sumlabel{if 0 == $user->basket->countProducts()} none{/if}">{translate key="Value:"} <b class="sum
">{currency value=$user->basket->sumProducts(false)}</b>.</span>
<span class="countlabel">{translate key="Products in the cart"}: <b class="count">{$user->basket->countProducts
()}</b>.</span>
<span class="sumlabel{if 0 == $user->basket->countProducts()} none{/if}">{translate key="Value"}: <b class="sum
">{currency value=$user->basket->sumProducts()}</b>.</span>
</span>
</li>
<li class="goto">
Copyright © 2015 Shoper. All rights reserved.
Strona 21/74
- 50
+ 49
50
- 51
+ 51
52
53
54
<a href="{route key='basket'}" title="{translate key='Basket'}" class="spanhover goto">
<a href="{route key='basket'}" title="{translate key='Cart'}" class="spanhover goto">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Go to the basket"} &raquo;</span>
<span>{translate key="Go to cart"} &raquo;</span>
</a>
</li>
</ul>
74
75
76
- 77
+ 77
78
79
80
<div class="logo">
<div class="innerlogo pagewidth">
<a href="{baseDir nonempty=1}" title="{translate key='Main page'}" rel="nofollow" class="logo">
<a href="{baseDir nonempty=1}" title="{translate key='Home page'}" rel="nofollow" class="logo">
<img src="{$path}images/logo.png" alt="Logo" />
<!--[if lt IE 7]><span class="logospacer">&nbsp;</span><![endif]-->
</a>
82
83
84
- 85
+ 85
86
87
88
101
102
103
- 104
+ 104
105
106
107
<form class="search" action="{route key='search'}" method="post">
<fieldset>
{include file='formantispam.tpl'}
<input type="text" name="search" value="{translate key='search in the shop...'}" class="search fadingtext" />
<input type="text" name="search" value="{translate key='search in the store...'}" class="search fadingtext" />
<button type="submit" class="search">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Search"}</span>
<div class="innerbreadcrumbs pagewidth">
<b class="breadcrumb">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="You're in:"}</span>
<span>{translate key="You are here"}:</span>
</b>
<ul class="path">
{foreach from=$breadcrumbs->getBreadCrumbs() item=item name=bclist}
scripts/categories/list.tpl
54
55
56
- 57
+ 57
58
59
60
{else}
<div class="info_message flash_message">
<div class="container">
<p>{translate key="No category has been found."}</p>
<p>{translate key="No categories found."}</p>
</div>
</div>
{/if}
Copyright © 2015 Shoper. All rights reserved.
Strona 22/74
scripts/contact/index.tpl
45
46
47
- 48
+ 48
49
50
51
<tr>
<td class="label">
<label for="contact1">{translate key="Name and surname:"}</label>
<label for="contact1">{translate key="First and last name"}:</label>
</td>
<td>
<div class="shaded_inputwrap{if $data_error.name} shaded_error{/if}">
63
64
65
- 66
<tr>
<td class="label">
<label for="contact2"><em class="color">*</em> {translate key="E-mail address:"}</l
abel>
+ 66
<label for="contact2"><em class="color">*</em> {translate key="E-mail address"}:</l
abel>
67
68
69
</td>
<td>
<div class="shaded_inputwrap{if $data_error.mail} shaded_error{/if}">
81
82
83
- 84
+ 84
85
86
87
<tr>
<td class="label">
<label for="contact3">{translate key="Subject:"}</label>
<label for="contact3">{translate key="Subject"}:</label>
</td>
<td>
<div class="shaded_inputwrap{if $data_error.subject} shaded_error{/if}">
99
100
101
- 102
+ 102
103
104
105
<tr>
<td class="label">
<label for="contact4"><em class="color">*</em> {translate key="Message:"}</label>
<label for="contact4"><em class="color">*</em> {translate key="Message"}:</label>
</td>
<td>
<div class="shaded_textareawrap{if $data_error.text} shaded_textareaerror{/if}">
scripts/error/not-found.tpl
32
33
34
- 35
+ 35
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Requested page doesn't exist"}</h3>
<h3>{translate key="Requested page does not exist"}</h3>
Copyright © 2015 Shoper. All rights reserved.
Strona 23/74
36
37
38
39
- 40
- 41
+ 40
+ 41
42
43
44
45
46
- 47
<div class="rightside"></div>
</div>
<div class="innerbox">
<div class="leftside"></div>
<p>{translate key="We are sorry, page you are looking for doesn't exist."}</p>
<p>{translate key="If you're looking for a product, use search form below"}</p>
<p>{translate key="Sorry, the page you are looking for was not found."}</p>
<p>{translate key="If you are looking for a specific product, use the search engine."}</p>
<form action="{route key='search'}" method="post">
<fieldset>
{include file='formantispam.tpl'}
<div class="shaded_inputwrap inputwrap">
<input type="text" name="search" value="{translate key='search in the shop...'}" class="fadingt
ext" />
+ 46
<input type="text" name="search" value="{translate key='search in the store...'}" class="fading
text" />
47
48
49
</div>
<button class="button" type="submit">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
53
54
55
- 56
+ 56
57
58
59
</fieldset>
</form>
<p><a href="{baseDir nonempty=1}" title="">{translate key="or go to main page"} &raquo;</a></p>
<p><a href="{baseDir nonempty=1}" title="">{translate key="or go to home page"} &raquo;</a></p>
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
scripts/footer.tpl
23
24
25
- 26
+ 26
</div>
{/if}
{$snippet_body}
</div>
</div>
scripts/header.tpl
10
11
12
+ 13
+ 14
+ 15
16
17
<link rel="home" href="{baseDir nonempty=1}" />
<link rel="skin" href="{$path}" />
<link rel="shortcut icon" href="{$path}images/favicon.png" />
{plugin module=shop template=pre-head}
<link rel="stylesheet" type="text/css" href="{sfc type='css' user=$user_css gallery=$jsgallery id=$skin_id lang=$lang_full}" />
<script type="text/javascript" src="{sfc type='js' user=$user_js gallery=$jsgallery id=$skin_id lang=$lang_full}"></script>
Copyright © 2015 Shoper. All rights reserved.
Strona 24/74
18
47
48
49
+ 50
+ 51
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
+ 58
+ 59
+ 60
61
{if count($seo_links)}{foreach from=$seo_links item=v key=k}
<link rel="{$k|escape}" href="{$v|escape}" />
<meta name="og:{$k|escape}" content="{$v|escape}" />
{/if}{/foreach}{/if}
{$snippet_head}
<script type="text/javascript">
{dynamic}
{if true == $user_logged}Shop.basket.shopVisitorId = '{$user->user->userinfo->user_id|escape|base64_encode}';{/if}
{if $body_class|escape == 'shop_basket_done'}Shop.basket.orderDone = true;{/if}
Shop.basket.basketProducts = '{if 0 != $user->basket->countProducts()}{foreach from=$user->basket item=basket_product name=
basket}{$basket_product->product->product->product_id|base64_encode},{/foreach}{/if}';
Shop.basket.categoryProducts = '{foreach from=$products item=product name=prodlist}{$product->product->product_id|base64_en
code},{/foreach}';
{/dynamic}
</script>
{plugin module=shop template=post-head}
</head>
scripts/login/login.tpl
32
33
34
- 35
- 36
+ 35
+ 36
+ 37
+ 38
39
40
41
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3><span>{translate key="Register"}</span></h3>
<h3><span>{translate key="Log in"}</span></h3>
{if $enable_register}
<h3><span>{translate key="Create an account"}</span></h3>
{/if}
<h3><span>{translate key="Sign in"}</span></h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
46
47
48
- 49
+ 49
50
51
52
<form action="{route key='login'}" method="post" class="right50">
<fieldset>
{include file='formantispam.tpl'}
<input type="hidden" name="last_url" value="{$last_url}" />
<input type="hidden" name="last_url" value="{$last_url|escape}" />
<label for="mail_input_long">{translate key="E-mail"}:</label>
<div class="shaded_inputwrap">
<input type="text" name="mail" id="mail_input_long" size="30" />
58
59
60
<div class="floatfix"></div>
<button type="submit" class="button login">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
Copyright © 2015 Shoper. All rights reserved.
Strona 25/74
- 61
+ 61
62
- 63
<span>{translate key="Log in"}</span>
<span>{translate key="Sign in"}</span>
</button>
<p>{translate key='Don\'t remember your password? %sClick here%s.' p1="<a href=\"$passlink\">"
p2='</a>'}</p>
+ 63
<p>{translate key='Forgot your password? %sClick here%s.' p1="<a href=\"$passlink\">" p2='</a>'
}</p>
64
65
66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
+ 67
+ 68
+ 69
+ 70
+ 71
+ 72
+ 73
+ 74
75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
+ 69
+ 70
+ 71
+ 72
+ 73
+ 74
+ 75
+ 76
+ 77
+ 78
+ 79
+ 80
</fieldset>
</form>
<div class="left50">
<p>{translate key='You will receive additional benefits:'}</p>
<ul>
<li>{translate key='view the progress of order fulfillment'} </li>
<li>{translate key='view your shopping history'}</li>
<li>{translate key='no need to enter your details while shopping next time'}</li>
<li>{translate key='opportunity to get discounts and promotional coupons'}</li>
{if $enable_register}
<div class="left50">
<p>{translate key='You will receive additional benefits'}:</p>
<ul>
<li>{translate key='view the status of orders'} </li>
<li>{translate key='purchase history preview'}</li>
<li>{translate key='no need to enter your data for next purchases'}</li>
<li>{translate key='possibility to receive discounts and discount codes'}</li>
</ul>
<form action="{route key='register'}" method="get">
<fieldset>
{include file='formantispam.tpl'}
<button type="submit" class="button register">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Register"}</span>
</button>
</fieldset>
</form>
</div>
</ul>
<form action="{route key='register'}" method="get">
<fieldset>
{include file='formantispam.tpl'}
<button type="submit" class="button register">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Create an account"}</span>
</button>
</fieldset>
</form>
</div>
{/if}
Copyright © 2015 Shoper. All rights reserved.
Strona 26/74
81
82
83
<div class="floatfix"></div>
</div>
scripts/login/passremind.tpl
32
33
34
- 35
+ 35
36
37
38
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Change of password"}</h3>
<h3>{translate key="Password change"}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
49
50
51
- 52
+ 52
53
54
55
<div class="bottombuttons">
<button type="submit" class="button passchange">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Change your password"}</span>
<span>{translate key="Change password"}</span>
</button>
</div>
</fieldset>
scripts/login/passremind2.tpl
32
33
34
- 35
+ 35
36
37
38
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Enter a new password"}</h3>
<h3>{translate key="Enter new password"}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
53
54
55
- 56
+ 56
57
58
59
</ul>
{/if}
<label for="pass2_input"><em class="color">*</em> {translate key="Retype your password"}:</label>
<label for="pass2_input"><em class="color">*</em> {translate key="Repeat password"}:</label>
<div class="shaded_inputwrap{if $data_error.pass2} shaded_error{/if}">
<input type="password" name="pass2" id="pass2_input" value="" size="30" />
</div>
scripts/login/register.tpl
Copyright © 2015 Shoper. All rights reserved.
Strona 27/74
77
78
79
- 80
+ 80
81
82
83
</table>
{if 'full' == $mode}
<h4 class="separator address">{translate key='Address'}</h4>
<h4 class="separator address">{translate key='Address details'}</h4>
<table>
<tbody>
<tr>
196
197
198
- 199
+ 199
200
201
202
<div class="bottombuttons">
<button type="submit" class="button register">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Register"}</span>
<span>{translate key="Create an account"}</span>
</button>
</div>
scripts/news/category.tpl
+1
{include file='news/list.tpl'}
scripts/news/comments.tpl
+1
+2
+3
+4
+5
+6
+7
+8
+9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
+ 21
+ 22
+ 23
+ 24
{if false != $article_comments}
<div class="box row tab" id="box_articlecomments">
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead tab-head">
<div class="leftside"></div>
<h3>
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1">
{translate key="Post comments"} ({$article_comments|count})
</h3>
<div class="rightside"></div>
</div>
<div class="innerbox tab-content tab-comments">
<div class="leftside"></div>
{foreach from=$article_comments item=comment name=list}
<div class="articlecomment" id="comment{$comment->getIdentifier()}">
<h5 class="reviewer">{$comment->comment->user_name|escape}</h5>
<div class="date">{date value=$comment->comment->date}</div>
<div class="floatfix"></div>
<p class="description">{$comment->comment->content|escape}</p>
</div>
{if ! $smarty.foreach.list.last}<hr class="articleseparator" />{/if}
{/foreach}
Copyright © 2015 Shoper. All rights reserved.
Strona 28/74
+ 25
+ 26
+ 27
+ 28
+ 29
+ 30
+ 31
+ 32
+ 33
+ 34
+ 35
+ 36
+ 37
+ 38
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
+ 45
+ 46
+ 47
+ 48
+ 49
+ 50
+ 51
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
+ 58
+ 59
+ 60
+ 61
+ 62
+ 63
+ 64
+ 65
+ 66
+ 67
+ 68
<div id="commentform">
{if $can_comment}
<form action="{route key='newsComment' newsId=$article->getIdentifier()}" method="post" class="comment multirow">
<fieldset>
{include file='formantispam.tpl'}
{if count($article_comments) > 0}<hr class="articleseparator" />{/if}
<label for="commentuser"><em class="color">*</em> {translate key="First and last name"}:</label>
<div class="shaded_inputwrap">
<input name="user" type="text" id="commentuser" value="{if $user_logged}{$user->user->getName()|escape}
{else}{$data.user|escape}{/if}" size="30" />
</div>
{if $data_error.user}
<ul class="input_error">
{foreach from=$data_error.user item=err_text}
<li>{$err_text|escape}</li>
{/foreach}
</ul>
{/if}
<label for="comment"><em class="color">*</em> {translate key="Your comment"}:</label>
<div class="shaded_textareawrap">
<textarea name="comment" id="comment" rows="5" cols="30">{$data.comment|escape}</textarea>
</div>
{if $data_error.comment}
<ul class="input_error">
{foreach from=$data_error.comment item=err_text}
<li>{$err_text|escape}</li>
{/foreach}
</ul>
{/if}
<button type="submit" class="button">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Send"}</span>
</button>
</fieldset>
</form>
{/if}
</div>
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
</div>
{/if}
scripts/news/files.tpl
+1
+2
{if $can_download !== false && $article_files !== false && $article_files|count > 0}
<div class="box row tab" id="box_articlefiles">
Copyright © 2015 Shoper. All rights reserved.
Strona 29/74
+3
+4
+5
+6
+7
+8
+9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
+ 21
+ 22
+ 23
+ 24
+ 25
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead tab-head">
<div class="leftside"></div>
<h3>
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1">
{translate key="Files"} ({$article->files|count})
</h3>
<div class="rightside"></div>
</div>
<div class="innerbox tab-content tab-files">
<div class="leftside"></div>
{foreach from=$article->files item=file name=list}
<div class="articlefile" id="file{$file->file_id}">
<a href="{route key='newsDownload' fileId=$file->file_id fileName=$file->name}" target="_blank">{$file->name}</a>
<p>{$file->description}</p>
</div>
{/foreach}
<div class="rightside"></div>
</div>
<div class="bottombar"><div class="leftcorner"></div> <div class="rightcorner"></div></div>
</div>
{/if}
scripts/news/index.tpl
27
28
29
- 30
31
32
33
34
- 35
- 36
+ 34
+ 35
+ 36
+ 37
+ 38
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
{box file="../boxes/$v/box.tpl" box="$k"}
{/foreach}
{/dynamic}
<div class="box" id="box_article">
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h1>{$article->article->name|escape}</h1>
<h5 class="article_date">{date value=$article->article->date format='Zend_Date::DATE_MEDIUM'}{if $article->
article->author}, {$article->article->author|escape}{/if}</h5>
<div class="article_header">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1">
<h3>
<span class="article_name">{$article->article->name|escape}</span>
</h3>
{if $enable_comments}
<a class="article_comments" href="{route function='news' key=$article->getIdentifier() newsId=$arti
cle->getIdentifier() newsName=$article->article->name newsYear="Y"|date:$article->articleTimestamp newsMonth="m"|date:$article->articleT
imestamp newsDay="d"|date:$article->articleTimestamp}#commentform">
{$article->getValidatedComments()|count}
</a>
{/if}
</div>
Copyright © 2015 Shoper. All rights reserved.
Strona 30/74
+ 45
+ 46
+ 47
+ 48
+ 49
+ 50
+ 51
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
+ 58
+ 59
+ 60
+ 61
+ 62
+ 63
+ 64
+ 65
+ 66
+ 67
+ 68
+ 69
+ 70
+ 71
72
73
+ 74
75
76
- 77
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
+ 45
+ 46
+ 47
+ 48
+ 49
+ 50
+ 51
<div class="row article-info">{strip}
{capture assign="articleDate"}
{date value=$article->article->date format='Zend_Date::DATE_MEDIUM'}
{/capture}
{assign var="articleCategories" value="-"}
{foreach from=$article->categories item=category name=listCat}
{if $smarty.foreach.listCat.index == 0}
{capture assign="articleCategories"}
<a href="{route function='newsCategory' key=$category->getIdentifier() categoryId=$category
->getIdentifier() categoryName=$category->category->name}">{$category->category->name}</a>
{/capture}
{else}
{capture append="articleCategories"}
<a href="{route function='newsCategory' key=$category->getIdentifier() categoryId=$category
->getIdentifier() categoryName=$category->category->name}">{$category->category->name}</a>
{/capture}
{/if}
{/foreach}
{if $articleCategories|is_array}
{assign var="articleCategories" value=', '|implode:$articleCategories}
{/if}
{if $article->article->author}
{translate key="Added: %s in category: %s author: %s" s1='<span class="article-date">'|cat:$article
Date|cat:'</span>' s2='<span class="article-categories">'|cat:$articleCategories|cat:'</span>' s3='<span class="article-author">'|cat:$a
rticle->article->author|cat:'</span>'}
{else}
{translate key="Added: %s in category: %s" s1='<span class="article-date">'|cat:$articleDate|cat:'<
/span>' s2='<span class="article-categories">'|cat:$articleCategories|cat:'</span>'}
{/if}
{/strip}</div>
<div class="rightside"></div>
</div>
<div class="innerbox">
<div class="leftside"></div>
<div class="resetcss">{$article->article->content}</div>
<div class="article_content resetcss">
{if $article->image}
<img class="article_image" src="{baseDir}/{$article->image}" alt="">
{/if}
{$article->article->content}
</div>
{if $article->tags|count > 0}
<ul class="article_tags">
{foreach from=$article->tags item=tag name=listTag}
<li><a href="{route key='newsTag' tagName=$tag->tag->name}">#{$tag->tag->name}</a></li>
{/foreach}
</ul>
Copyright © 2015 Shoper. All rights reserved.
Strona 31/74
+ 52
+ 53
54
55
56
57
58
- 59
+ 45
+ 46
+ 47
+ 48
49
50
51
120
121
122
- 123
+ 123
124
125
126
{/if}
<div class="floatfix"></div>
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
</div>
{include file="news/files.tpl"}
{include file="news/comments.tpl"}
{dynamic}
{foreach from=$boxes_bottom_side item=v key=k}
{box file="../boxes/$v/box.tpl" box="$k"}
</tbody>
</table>
</div>
{dynamic}
{if count($boxes_footer_side)}
<div class="main boxes footer_boxes">
scripts/news/list.tpl
29
30
31
- 32
+ 32
33
34
35
- 36
+ 36
37
38
39
{/dynamic}
{if count($articles) > 0}
{include file='news/listofarticles.tpl'}
{include file='news/listofarticles.tpl'}
{else}
<div class="info_message flash_message">
<div class="container">
<p>{translate key="No items have been found."}</p>
<p>{translate key="No articles found."}</p>
</div>
</div>
{/if}
scripts/news/listofarticles.tpl
2
3
4
-5
+5
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Items"}</h3>
<h3>{translate key="Articles"}</h3>
Copyright © 2015 Shoper. All rights reserved.
Strona 32/74
6
7
8
9
10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
+ 21
+ 22
+ 23
+ 24
+ 25
+ 26
+ 27
+ 28
+ 29
+ 30
+ 31
+ 32
+ 33
+ 34
+ 35
+ 36
+ 37
+ 38
<div class="rightside"></div>
</div>
<div class="innerbox">
<div class="leftside"></div>
{foreach from=$articles item=article name=list}
{if $smarty.foreach.list.index > 0}<hr class="separator" />{/if}
<h2 class="article_name">{$article->article->name|escape}</h2>
<h5 class="article_date">{date value=$article->article->date format='Zend_Date::DATE_MEDIUM'}{if $artic
le->article->author}, {$article->article->author|escape}{/if}</h5>
<div class="floatfix"></div>
<div class="resetcss">{$article->article->short_content}</div>
{if $article->article->content|strlen > 0 && $article->article->short_content != $article->article->con
tent}
<a class="readmore" href="{route function='news' key=$article->getIdentifier() newsId=$article->getIden
tifier()}">{translate key="more"} &raquo;</a>
{/if}
<div class="floatfix"></div>
{if $smarty.foreach.list.index > 0}<hr class="separator" />{/if}
<div class="news-name">
<h2 class="article_name">
{if $enable_comments || ($enable_download && $article->files|count > 0) || ($article->artic
le->content|strlen > 0 && $article->article->short_content != $article->article->content)}
<a href="{route function='news' key=$article->getIdentifier() newsId=$article->getIdent
ifier() newsName=$article->article->name newsYear="Y"|date:$article->articleTimestamp newsMonth="m"|date:$article->articleTimestamp news
Day="d"|date:$article->articleTimestamp}">{$article->article->name|escape}</a>
{else}
{$article->article->name|escape}
{/if}
</h2>
{if $enable_comments}
<a class="article_comments" href="{route function='news' key=$article->getIdentifier() news
Id=$article->getIdentifier() newsName=$article->article->name newsYear="Y"|date:$article->articleTimestamp newsMonth="m"|date:$article->
articleTimestamp newsDay="d"|date:$article->articleTimestamp}#commentform">
{$article->getValidatedComments()|count}
</a>
{/if}
</div>
<div class="floatfix"></div>
<div class="row article_info">{strip}
{capture assign="articleDate"}
{date value=$article->article->date format='Zend_Date::DATE_MEDIUM'}
{/capture}
{assign var="articleCategories" value="-"}
{foreach from=$article->categories item=category name=listCat}
{if $smarty.foreach.listCat.index == 0}
{capture assign="articleCategories"}
<a href="{route function='newsCategory' key=$category->getIdentifier() categoryId=$
category->getIdentifier() categoryName=$category->category->name}">{$category->category->name}</a>
{/capture}
Copyright © 2015 Shoper. All rights reserved.
Strona 33/74
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
+ 45
+ 46
+ 47
+ 48
+ 49
+ 50
+ 51
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
+ 58
+ 59
+ 60
{else}
{capture append="articleCategories"}
<a href="{route function='newsCategory' key=$category->getIdentifier() categoryId=$
category->getIdentifier() categoryName=$category->category->name}">{$category->category->name}</a>
{/capture}
{/if}
{/foreach}
{if $articleCategories|is_array}
{assign var="articleCategories" value=', '|implode:$articleCategories}
{/if}
{if $article->article->author}
{translate key="Added: %s in category: %s author: %s" s1='<span class="article-date">'|cat:
$articleDate|cat:'</span>' s2='<span class="article-categories">'|cat:$articleCategories|cat:'</span>' s3='<span class="article-author">
'|cat:$article->article->author|cat:'</span>'}
{else}
{translate key="Added: %s in category: %s" s1='<span class="article-date">'|cat:$articleDat
e|cat:'</span>' s2='<span class="article-categories">'|cat:$articleCategories|cat:'</span>'}
{/if}
{/strip}</div>
<div class="article_content">
{if $article->image}
<img class="article_image" src="{baseDir}/{$article->image}" alt="">
{/if}
<div class="resetcss">{$article->article->short_content}</div>
{if $article->article->content|strlen > 0 && $article->article->short_content != $article->arti
cle->content}
+ 61
+ 62
+ 63
+ 64
65
+ 66
+ 67
+ 68
+ 69
+ 70
+ 71
72
73
74
<a class="readmore" href="{route function='news' key=$article->getIdentifier() newsId=$arti
cle->getIdentifier() newsName=$article->article->name newsYear="Y"|date:$article->articleTimestamp newsMonth="m"|date:$article->articleT
imestamp newsDay="d"|date:$article->articleTimestamp}">{translate key="read more"} &raquo;</a>
{/if}
</div>
<div class="floatfix"></div>
{/foreach}
{if $articles instanceof Zend_Paginator && $articles->getTotalItemCount() > $articles->getItemCountPerP
age()}
<div class="floatcenterwrap">
{include file='paginator.tpl'}
</div>
<div class="floatfix"></div>
{/if}
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
scripts/news/tag.tpl
+1
{include file='news/list.tpl'}
Copyright © 2015 Shoper. All rights reserved.
Strona 34/74
scripts/newsletter/unsign.tpl
32
33
34
- 35
+ 35
36
37
38
39
40
41
- 42
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Sign out of subscription"}</h3>
<h3>{translate key="Unsubscribe from our newsletter"}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
<div class="leftside"></div>
<form action="{route key='newsletterUnsign'}" method="post">
<fieldset>
<label for="email_input1">{translate key="Enter your e-mail address to sign out of subscription."}<
/label>
+ 42
43
44
45
46
47
- 48
+ 48
49
50
51
<label for="email_input1">{translate key="Enter your e-mail address to unsubscribe."}</label>
<div class="shaded_inputwrap{if $data_error.email} shaded_error{/if}">
<input type="text" name="email" id="email_input1" value="{$email|escape}" size="30" />
</div>
<button type="submit" class="button unsign">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Sign out"}</span>
<span>{translate key="Unsubscribe"}</span>
</button>
</fieldset>
</form>
scripts/off/index.tpl
9
10
11
- 12
+ 12
13
14
15
{if $msg}
<p>{$msg|escape|nl2br}</p>
{else}
<p>{translate key='Shop closed by the administrator.'}</p>
<p>{translate key='Store has been temporarily disabled by the administrator.'}</p>
{/if}
<div class="rightside"></div>
</div>
scripts/paginator.tpl
-1
-2
-3
-4
-5
-6
-7
-8
-9
{php}
$pages = $this->_tpl_vars['pages'];
$route = $this->_tpl_vars['router_name'];
if($route == ""){
$route = null;
}
$router = Zend_Registry::get(System_Bootstrap::REGISTRY_INDEX_ROUTER);
$helper = $this->_tpl_vars['helper'];
$a = array_values($pages->pagesInRange);
Copyright © 2015 Shoper. All rights reserved.
Strona 35/74
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
+1
+2
+3
+4
$stick = false;
$google = isset( $this->_tpl_vars['google'][0] ) ? '?' . $this->_tpl_vars['google'] : '';
if($pages->pageCount > 0) {
echo '<ul class="paginator">';
if(isset($pages->previous) && $pages->previous > 0)
echo '<li class="first"><a href="' . ($route ? $router->assemble(array('page' => $pages->previous), $route) : $helper->url(
array('page' => $pages->previous))) . $google . '" title="">&laquo;</a></li>';
else
echo '<li class="first"><span>&laquo;</span></li>';
if($a[0] > 1) {
echo '<li><a href="' . ($route ? $router->assemble(array('page' => 1), $route) : $helper->url(array('page' => 1))) . $googl
e . '" title="">1</a></li>';
$stick = true;
if($a[0] > 2)
echo '<li class="stick"><span>|</span></li><li><span>...</span></li>';
}
foreach($a as $b) {
if($stick)
echo '<li class="stick"><span>|</span></li>';
$stick = true;
if($b == $pages->current)
echo '<li class="selected"><span>' . $b . '</span></li>';
else
echo '<li><a href="' . ($route ? $router->assemble(array('page' => $b), $route) : $helper->url(array('page' => $b))) .
$google . '" title="">' . $b . '</a></li>';
}
if($b != $pages->pageCount) {
if($pages->pageCount - $b > 1)
echo '<li class="stick"><span>|</span></li><li><span>...</span></li>';
echo '<li class="stick"><span>|</span></li><li><a href="' . ($route ? $router->assemble(array('page' => $pages->pageCount),
$route) : $helper->url(array('page' => $pages->pageCount))) . $google . '" title="">' . $pages->pageCount . '</a></li>';
}
if(isset($pages->next) && $pages->next > 0)
echo '<li class="last"><a href="' . ($route ? $router->assemble(array('page' => $pages->next), $route) : $helper->url(array
('page' => $pages->next))) . $google . '" title="">&raquo;</a></li>';
else
echo '<li class="last"><span>&raquo;</span></li>';
echo '</ul>';
}
{/php}
{assign var="stick" value=false}
{if !$router_name_first}
{assign var="router_name_first" value=$router_name}
Copyright © 2015 Shoper. All rights reserved.
Strona 36/74
+5
+6
+7
+8
+9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
+ 21
+ 22
+ 23
+ 24
+ 25
+ 26
+ 27
+ 28
+ 29
+ 30
+ 31
+ 32
+ 33
+ 34
+ 35
+ 36
+ 37
+ 38
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
+ 45
+ 46
+ 47
+ 48
{/if}
{if !$router_params}
{assign var="router_params" value=null}
{/if}
{if $pages->pageCount > 0}
<ul class="paginator">
{if isset($pages->previous) && $pages->previous > 0}
<li class="first"><a href="{array __key=urlOptions page=$pages->previous}{arrayMerge __key=urlOptions a1=$router_params a2=
$urlOptions}{assemble params=$urlOptions route=$router_name type=$router_type}{if $google}?{$google|escape}{/if}" title="">&laquo;</a></
li>
{else}
<li class="first"><span>&laquo;</span></li>
{/if}
{if $pages->pagesInRange[0] > 1}
<li><a href="{array __key=urlOptions page=1}{arrayMerge __key=urlOptions a1=$router_params a2=$urlOptions}{assemble params=
$urlOptions route=$router_name type=$router_type}{if $google}?{$google|escape}{/if}" title="">1</a></li>
{assign var="stick" value=true}
{if $pages->pagesInRange[0] > 2}
<li class="stick"><span>|</span></li><li><span>...</span></li>
{/if}
{/if}
{foreach from=$pages->pagesInRange item=b}
{if $stick}
<li class="stick"><span>|</span></li>
{/if}
{assign var="stick" value=true}
{if $b == $pages->current}
<li class="selected"><span>{$b}</span></li>
{else}
{if $b == 1}
<li><a href="{array __key=urlOptions page=$b}{arrayMerge __key=urlOptions a1=$router_params a2=$urlOptions}{assembl
e params=$urlOptions route=$router_name_first type=$router_type}{if $google}?{$google|escape}{/if}" title="">{$b}</a></li>
{else}
<li><a href="{array __key=urlOptions page=$b}{arrayMerge __key=urlOptions a1=$router_params a2=$urlOptions}{assembl
e params=$urlOptions route=$router_name type=$router_type}{if $google}?{$google|escape}{/if}" title="">{$b}</a></li>
{/if}
{/if}
{/foreach}
{if $b != $pages->pageCount}
{if $pages->pageCount - $b > 1}
<li class="stick"><span>|</span></li><li><span>...</span></li>
{/if}
<li class="stick"><span>|</span></li><li><a href="{array __key=urlOptions page=$pages->pageCount}{arrayMerge __key=urlOptio
ns a1=$router_params a2=$urlOptions}{assemble params=$urlOptions route=$router_name type=$router_type}{if $google}?{$google|escape}{/if}
" title="">{$pages->pageCount}</a></li>
Copyright © 2015 Shoper. All rights reserved.
Strona 37/74
+ 49
+ 50
+ 51
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
{/if}
{if isset($pages->next) && $pages->next > 0}
<li class="last"><a href="{array __key=urlOptions page=$pages->next}{arrayMerge __key=urlOptions a1=$router_params a2=$urlO
ptions}{assemble params=$urlOptions route=$router_name type=$router_type}{if $google}?{$google|escape}{/if}" title="">&raquo;</a></li>
{else}
<li class="last"><span>&raquo;</span></li>
{/if}
</ul>
{/if}
scripts/panel/address-edit.tpl
36
37
38
- 39
+ 39
40
41
42
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{if $address_id > 0}{translate key="Edycja adresu"}{else}{translate key="New address"}{/if}</h3>
<h3>{if $address_id > 0}{translate key="Edit address"}{else}{translate key="New address"}{/if}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
scripts/panel/address.tpl
49
50
51
- 52
- 53
+ 52
+ 53
54
55
56
62
63
64
- 65
+ 65
66
67
{if $address->firstname || $address->lastname
}<p class="name">{if $address->firstname}{$address->firstname|escape} {/if}{if $address->lastname}{
$address->lastname|escape}{/if}</p>{/if}
{if $address->company_name}<p class="company">{$address->company_name|escape}</p>{/if}
{if $address->tax_id}<p class="nip">{translate key='NIP No.:'} {$address->tax_id|escape}</p>{/if}
{if $address->pesel}<p class="pesel">{translate key='PESEL:'} {$address->pesel|escape}</p>{/if}
{if $address->tax_id}<p class="nip">{translate key='Tax ID'}: {$address->tax_id|escape}</p>{/if}
{if $address->pesel}<p class="pesel">{translate key='Personal Identification Number'}: {$address->pesel
|escape}</p>{/if}
{if $address->street_1}<p class="address">{$address->street_1|escape}</p>{/if}
{if $address->zip_code || $address->city
}<p class="city">{if $address->zip_code}{$address->zip_code|escape}, {/if}{if $address->city}{$addr
ess->city|escape}{/if}</p>{/if}
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='edit'}</span>
</a>
<a href="{route key='panelAddressRemove' addressId=$address->address_book_id}" class="remove spanho
ver titlequestion" title="{translate key='Are you sure, you want to remove address: %s, %s %s?' p1=$address->street_1 p2=$address->zip_c
ode p3=$address->city}">
<a href="{route key='panelAddressRemove' addressId=$address->address_book_id}" class="remove spanho
ver titlequestion" title="{translate key='Are you sure you want to remove the address: %s, %s %s?' p1=$address->street_1 p2=$address->zi
p_code p3=$address->city}">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='remove'}</span>
Copyright © 2015 Shoper. All rights reserved.
Strona 38/74
68
69
70
</a>
{if 0 == $address->default}
<a href="{route key='panelAddressDefault' addressId=$address->address_book_id}" class="default span
hover">
71
- 72
+ 72
73
74
75
76
- 77
+ 77
78
79
80
81
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='set as default payment address'}</span>
<span>{translate key='set as billing address'}</span>
</a>
{else}
<em class="default">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='default payment address'}</span>
<span>{translate key='default billing address'}</span>
</em>
{/if}
{if 0 == $address->shipping_default}
<a href="{route key='panelAddressShipping' addressId=$address->address_book_id}" class="shipping sp
anhover">
82
- 83
+ 83
84
85
86
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='set as default delivery address'}</span>
<span>{translate key='set as delivery address'}</span>
</a>
{else}
<em class="shipping">
scripts/panel/comments.tpl
36
37
38
- 39
+ 39
40
41
42
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Opinions about products"}</h3>
<h3>{translate key="Products reviews"}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
scripts/panel/edit.tpl
65
66
67
- 68
+ 68
69
70
71
</ul>
{/if}
<label for="surname_input">{translate key="Surname"}:</label>
<label for="surname_input">{translate key="Last name"}:</label>
<div class="shaded_inputwrap{if $data_error.surname} shaded_error{/if}">
<input type="text" name="surname" id="surname_input" value="{$data.surname|escape}" size="30" />
</div>
scripts/panel/favourites.tpl
Copyright © 2015 Shoper. All rights reserved.
Strona 39/74
36
37
38
- 39
+ 39
40
41
42
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Stored products"}</h3>
<h3>{translate key="Products on wishlist"}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
73
74
75
- 76
</td>
{/if}
<td class="actions">
<a href="{route key=$basketAddRoute stockId=$id}" title="{translate key='add to the basket'}" c
lass="addtobasket spanhover">
+ 76
<a href="{route key=$basketAddRoute stockId=$id}" title="{translate key='add to cart'}" class="
addtobasket spanhover">
77
- 78
+ 78
79
+ 80
+ 81
+ 82
+ 83
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='add to the basket'}</span>
<span>{translate key='add to cart'}</span>
</a>
{if $enable_availability_notifier && $product->isEnabledNotifier()}
{dynamic}
{assign var="availabilityNotifyUser" value=$product->defaultStock->getAvailabilityNotif
yByUser()}
+ 84
+ 85
+ 86
+ 87
+ 88
+ 89
+ 90
+ 91
+ 92
+ 93
+ 94
+ 95
96
{if $availabilityNotifyUser}
<a data-stock-id="{$product->defaultStock->getIdentifier()}" title="{translate key=
"unsubscribe notify"}" class="availability-notifier-unsubscribe-btn btn-notifier">
<span>{translate key='cancel notify'}</span>
</a>
{else}
<a data-is-logged="{if true == $user_logged}true{else}false{/if}" data-stock-id="{$
product->defaultStock->getIdentifier()}" data-product-name="{$product->translation->name}" title="{translate key="notify of product avai
lability"}" class="btn-notifier availability-notifier-btn">
<span>{translate key='notify of product availability'}</span>
</a>
{/if}
{/dynamic}
{/if}
<a href="{route key='panelRemoveFavourite' stockId=$id}" title="{translate key='remove'}" class
="remove spanhover">
97
98
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='remove'}</span>
scripts/panel/index.tpl
36
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
Copyright © 2015 Shoper. All rights reserved.
Strona 40/74
37
38
- 39
+ 39
40
41
42
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Customer's panel"}</h3>
<h3>{translate key="Customer panel"}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
49
50
51
- 52
+ 52
53
54
55
<td
<td
<td
<td
<td
</tr>
</thead>
<tbody>
class="id">{translate key='Order no.'}</td>
class="sum">{translate key='Value'}</td>
class="status">{translate key='Status'}</td>
class="parcels">{translate key='Package'}</td>
class="parcels">{translate key='Shipment'}</td>
68
69
70
- 71
{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
+ 71
72
73
74
<a class="titlequestion" title="{translate key='Your payment is currently being
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>
83
84
85
- 86
<a href="{$parcel->getTraceLink()}" class="trace popup">
{$parcel->parcel->shipping_code|escape}
</a>
<span class="smalldate">({translate key='shipped:'} {date value=$parcel->parcel
->send_date})</span>
+ 86
<span class="smalldate">({translate key='sent'}: {date value=$parcel->parcel->s
end_date})</span>
87
88
89
110
111
112
- 113
+ 113
114
115
116
{/if}
{/foreach}
{else} - {/if}
</a>
<a href="{route key='panelPassword'}" class="changepass button spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Change your password'}</span>
<span>{translate key='Change password'}</span>
</a>
<h4 class="separator">{translate key='Addresses'}</h4>
Copyright © 2015 Shoper. All rights reserved.
Strona 41/74
117
118
- 119
+ 119
120
121
122
123
124
- 125
- 126
+ 125
+ 126
127
128
129
<ul class="address">
<li>
<b>{translate key='Invoicing address'}</b>
<b>{translate key='Billing address'}</b>
{if $billing_address}
{assign var=address value=$billing_address->address}
{if $address->firstname || $address->lastname
}<p>{if $address->firstname}{$address->firstname|escape} {/if}{if $address->lastname}{$address>lastname|escape}{/if}</p>{/if}
{if $address->company_name}<p>{$address->company_name|escape}</p>{/if}
{if $address->tax_id}<p>{translate key='NIP No.:'} {$address->tax_id|escape}</p>{/if}
{if $address->pesel}<p>{translate key='PESEL:'} {$address->pesel|escape}</p>{/if}
{if $address->tax_id}<p>{translate key='Tax ID'}: {$address->tax_id|escape}</p>{/if}
{if $address->pesel}<p>{translate key='Personal Identification Number'}: {$address->pesel|escape}</
p>{/if}
{if $address->street_1}<p>{$address->street_1|escape}</p>{/if}
{if $address->zip_code || $address->city
}<p>{if $address->zip_code}{$address->zip_code|escape}, {/if}{if $address->city}{$address->city
|escape}{/if}</p>{/if}
140
141
{if $address->firstname || $address->lastname
}<p>{if $address->firstname}{$address->firstname|escape} {/if}{if $address->lastname}{$address>lastname|escape}{/if}</p>{/if}
142
- 143
+ 143
144
145
146
{if
{if
{if
{if
{if
$address->company_name}<p>{$address->company_name|escape}</p>{/if}
$address->tax_id}<p>{translate key='NIP No.:'} {$address->tax_id|escape}</p>{/if}
$address->tax_id}<p>{translate key='Tax ID'}: {$address->tax_id|escape}</p>{/if}
$address->street_1}<p>{$address->street_1|escape}</p>{/if}
$address->zip_code || $address->city
}<p>{if $address->zip_code}{$address->zip_code|escape}, {/if}{if $address->city}{$address->city
|escape}{/if}</p>{/if}
153
154
155
- 156
+ 156
157
158
159
160
161
162
- 163
+ 163
164
165
166
- 167
+ 167
</ul>
<a href="{route key='panelAddressList'}" class="editaddresses button spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Go to address edition'}</span>
<span>{translate key='Edit an address'}</span>
</a>
{if $loyalty}
<h4 class="separator">{translate key='Loyalty program'}</h4>
<ul class="loyalty">
<li>
<p class="sum">{translate key='Points total: %s%s%s' p1='<b>' p2=$loyalty_points p3='</b>'}</p>
<p class="sum">{translate key='Total points: %s%s%s' p1='<b>' p2=$loyalty_points p3='</b>'}</p>
</li>
{if $loyalty_discount}
<li class="loyalty_discount">
<b>{translate key='Discount level'}</b>
<b>{translate key='Discount threshold'}</b>
Copyright © 2015 Shoper. All rights reserved.
Strona 42/74
168
- 169
- 170
+ 169
+ 170
171
- 172
+ 171
172
173
- 174
+ 174
175
176
177
180
181
182
- 183
+ 183
184
185
186
220
221
222
- 223
+ 223
224
225
226
235
236
237
- 238
+ 238
239
240
241
{if $loyalty_level && $loyalty_level.level}
<p class="current">{translate key='Permanent discount you have for gathering loylaty points (%s
%s%s)' p1='<b>' p2=$loyalty_level.level p3='</b>'}</p>
<h4>{translate key='discount %s' p1=$loyalty_level.discount}</h4>
<p class="current">{translate key='Your permanent discount received for collecting a certain nu
mber of points (%s%s%s)' p1='<b>' p2=$loyalty_level.level p3='</b>'}</p>
<h4>{translate key='%s discount' p1=$loyalty_level.discount}</h4>
{if $loyalty_next_level}
<p class="next">{translate key='To gain bigger discount gather another %s%s%s points' p1='<
b>' p2=$loyalty_next_level p3='</b>'}</p>
<p class="next">{translate key='To get a bigger discount collect another %s%s%s points' p1=
'<b>' p2=$loyalty_next_level p3='</b>'}</p>
{/if}
{elseif $loyalty_next_level}
<p class="next">{translate key="You need at least %s%s%s more points to gain permanent discount
" p1='<b>' p2=$loyalty_next_level p3='</b>'}</p>
<p class="next">{translate key="You still need at least %s%s%s points to get a permanent discou
nt" p1='<b>' p2=$loyalty_next_level p3='</b>'}</p>
{/if}
</li>
{/if}
{if $loyalty_exchange}
<a href="{route key='loyaltyList'}" class="loyaltylist button spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Go to list of products for which points may be exchanged'}</span>
<span>{translate key='Go to the list of products that you can exchange for points'}</span>
</a>
{/if}
</ul>
{if 1 == (int) $exevent->loyalty->status}
{translate key='Exchanged'}
{else}
{translate key='Requested'}
{translate key='Submitted for exchange'}
<span class="smalldate">({date value=$exevent->loyalty->date})</span<
{/if}
</td>
{if $comments_count > 0}
<a href="{route key='panelComments'}" class="prodcomments button spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Your opinions about products (%d)' p0=$comments_count}</span>
<span>{translate key='Your product reviews (%d)' p0=$comments_count}</span>
</a>
{/if}
{if $favourites_count > 0}
Copyright © 2015 Shoper. All rights reserved.
Strona 43/74
242
243
- 244
+ 244
245
246
247
<a href="{route key='panelFavourites'}" class="prodstorage button spanhover">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Stored products (%d)' p0=$favourites_count}</span>
<span>{translate key='Products on wishlist (%d)' p0=$favourites_count}</span>
</a>
{/if}
{/if}
scripts/panel/order.tpl
43
44
45
- 46
+ 46
47
48
49
- 50
+ 50
51
52
53
61
62
63
- 64
+ 64
65
66
67
68
69
70
- 71
+ 71
72
73
74
75
- 76
+ 76
77
78
79
80
81
<div class="leftside"></div>
{assign var=id value=$order->getIdentifier()}
<dl class="details">
<dt class="id">{translate key='Order No.'}</dt>
<dt class="id">{translate key='Order number'}</dt>
<dd class="id">{$id|escape}</dd>
<dt class="status">{translate key='Status'}</dt>
<dd class="status">{$order->status->translation->name|escape}</dd>
<dt class="date">{translate key='Order placement date'}</dt>
<dt class="date">{translate key='Order date'}</dt>
<dd class="date">{date value=$order->order->date}</dd>
{if $config_confirm}
<dt class="confirm">{translate key='E-mail confirmation'}</dt>
{/if}
<dt class="payment">{translate key='Payment'}</dt>
<dd class="payment">{$order->payment->translation->title|escape}</dd>
<dt class="shipping">{translate key='Delivery'}</dt>
<dt class="shipping">{translate key='Shipping method'}</dt>
<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}{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>
<dt class="parcel">{translate key='Shipment'}</dt>
<dd class="parcel">
{foreach from=$order->parcels item=parcel}
{if strlen($parcel->getTraceLink())}
<a href="{$parcel->getTraceLink()}" class="trace popup">{$parcel->parcel->shipping_code|escape}</a>
<span class="date">({translate key='shipped:'} {date value=$parcel->parcel->send_date})</span><br />
<span class="date">({translate key='sent'}: {date value=$parcel->parcel->send_date})</span><br />
{/if}
{/foreach}
</dd>
{/if}
{if $order->order->notes_pub}
Copyright © 2015 Shoper. All rights reserved.
Strona 44/74
- 82
+ 82
83
84
+ 85
86
- 87
- 88
+ 86
+ 87
88
89
90
- 91
+ 90
91
92
93
- 94
- 95
+ 94
+ 95
96
97
98
<dt class="notes">{translate key='Comments'}</dt>
<dt class="notes">{translate key='Notes'}</dt>
<dd class="notes">{$order->order->notes_pub|escape}</dd>
{/if}
{plugin module=shop template=panel-order-details}
</dl>
<h4 class="addresses separator">{translate key='Invoicing and delivery addresses'}</h4>
<h4 class="addresses separator">{translate key='Billing and delivery addresses'}</h4>
<ul class="address">
<li>
{assign var=address value=$order->billingAddress}
<b>{translate key='Invoicing address'}</b>
<b>{translate key='Billing address'}</b>
{if $address->firstname || $address->lastname
}<p>{if $address->firstname}{$address->firstname|escape} {/if}{if $address->lastname}{$address->las
tname|escape}{/if}</p>{/if}
{if $address->company}<p>{$address->company|escape}</p>{/if}
{if $address->tax_id}<p>{translate key='NIP No.:'} {$address->tax_id|escape}</p>{/if}
{if $address->pesel}<p>{translate key='PESEL:'} {$address->pesel|escape}</p>{/if}
{if $address->tax_id}<p>{translate key='Tax ID'}: {$address->tax_id|escape}</p>{/if}
{if $address->pesel}<p>{translate key='Personal Identification Number'}: {$address->pesel|escape}</p>{/
if}
{if $address->street1}<p>{$address->street1|escape}</p>{/if}
{if $address->postcode || $address->city
}<p>{if $address->postcode}{$address->postcode|escape}, {/if}{if $address->city}{$address->city|esc
ape}{/if}</p>{/if}
104
105
106
- 107
- 108
<li>
{assign var=address value=$order->deliveryAddress}
<b>{translate key='Delivery address'}</b>
{if $address->firstname || $address->lastname
}<p>{if $address->firstname}{$address->firstname|escape} {/if}{if $address->lastname}{$address->las
tname|escape}{/if}</p>{/if}
- 109
- 110
- 111
- 112
- 113
{if
{if
{if
{if
$address->company}<p>{$address->company|escape}</p>{/if}
$address->tax_id}<p>{translate key='NIP No.:'} {$address->tax_id|escape}</p>{/if}
$address->street1}<p>{$address->street1|escape}</p>{/if}
$address->postcode || $address->city
}<p>{if $address->postcode}{$address->postcode|escape}, {/if}{if $address->city}{$address->city|esc
ape}{/if}</p>{/if}
- 114
- 115
+ 107
+ 108
+ 109
+ 110
+ 111
+ 112
+ 113
{if $address->country}<p>{$address->country|escape}</p>{/if}
{if $address->phone}<p>{$address->phone|escape}</p>{/if}
{assign var=address value=$order->deliveryAddress}
{if $shippingHandler->isOverwriteDeliveryAddress()}
{plugin module=shop template=panel-order-address-delivery-overwrite}
{else}
{if $address->firstname || $address->lastname
}<p>{if $address->firstname}{$address->firstname|escape} {/if}{if $address->lastname}{$address-
Copyright © 2015 Shoper. All rights reserved.
Strona 45/74
>lastname|escape}{/if}</p>{/if}
+ 114
+ 115
+ 116
+ 117
+ 118
{if
{if
{if
{if
$address->company}<p>{$address->company|escape}</p>{/if}
$address->tax_id}<p>{translate key='Tax ID'}: {$address->tax_id|escape}</p>{/if}
$address->street1}<p>{$address->street1|escape}</p>{/if}
$address->postcode || $address->city
}<p>{if $address->postcode}{$address->postcode|escape}, {/if}{if $address->city}{$address->city
|escape}{/if}</p>{/if}
+ 119
+ 120
+ 121
122
123
124
138
139
140
- 141
+ 141
142
143
144
145
- 146
+ 146
147
148
149
150
- 151
+ 151
152
153
154
155
156
157
- 158
+ 158
159
160
161
169
170
171
- 172
{if $address->country}<p>{$address->country|escape}</p>{/if}
{if $address->phone}<p>{$address->phone|escape}</p>{/if}
{/if}
</li>
</ul>
<td class="value">{currency value=$order->sumProductsCost()}</td>
</tr>
<tr class="shipping">
<td class="label" colspan="3">{translate key='Delivery cost'}</td>
<td class="label" colspan="3">{translate key='Shipping cost'}</td>
<td class="value">{currency value=$order->order->shipping_cost}</td>
</tr>
{if $order->sumDiscounts() > 0}
<tr class="discount">
<td class="label" colspan="3">{translate key='Granted discount:'}</td>
<td class="label" colspan="3">{translate key='Discounts granted'}:</td>
<td class="value">{currency value=$order->sumDiscounts()}</td>
</tr>
{/if}
<tr class="topay">
<td class="label" colspan="3">{translate key='Amount to be paid'}</td>
<td class="label" colspan="3">{translate key='To pay'}</td>
<td class="value">{currency value=$order->sumOrder()}</td>
</tr>
</tfoot>
<tbody>
{foreach from=$order->products item=product name=list}
<tr class="{if $smarty.foreach.list.index % 2}odd{else}even{/if}">
<td class="name">{$product->product->name|escape}{if $product->product->option} <span class="varian
t">{$product->product->option|escape}</span>{/if}</td>
<td class="name">{$product->product->name|escape}{if $product->hasOptionsRepresentation()} <span cl
ass="variant">{$product->getOptionsString()|escape}</span>{/if}</td>
<td class="quantity">{float value=$product->product->quantity}</td>
<td class="price">{currency value=$product->product->price}</td>
<td class="sum">{currency value=$product->getPriceTimesQuantity(false)}</td>
<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'}
Copyright © 2015 Shoper. All rights reserved.
Strona 46/74
+ 172
173
174
175
{translate key='Your payment is being processed.'}
<button class="important pay" type="submit">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key='Pay again'}</span>
203
204
205
- 206
+ 206
207
208
209
{/if}
{/foreach}
{else}
<p>{translate key='Files will be available to download after payment.'}</p>
{/if}
<div class="floatfix"></div>
{/if}
scripts/panel/orders.tpl
45
46
47
- 48
+ 48
49
- 50
+ 50
51
52
53
<thead>
<tr>
<td
<td
<td
<td
<td
<td
{if
<td
</tr>
class="id">{translate key='ID'}</td>
class="date">{translate key='Order placement date'}</td>
class="date">{translate key='Order date'}</td>
class="sum">{translate key='Value'}</td>
class="shipping">{translate key='Delivery'}</td>
class="shipping">{translate key='Shipping method'}</td>
$config_confirm}<td class="status">{translate key='Confirmation'}</td>{/if}
class="actions">{translate key='Actions'}</td>
scripts/panel/password.tpl
32
33
34
- 35
+ 35
36
37
38
65
66
67
- 68
+ 68
69
70
71
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Change of password"}</h3>
<h3>{translate key="Password change"}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
</ul>
{/if}
<label for="pass2_input"><em class="color">*</em> {translate key="Retype your password"}:</label>
<label for="pass2_input"><em class="color">*</em> {translate key="Repeat password"}:</label>
<div class="shaded_inputwrap{if $data_error.pass2} shaded_error{/if}">
<input type="password" name="pass2" id="pass2_input" value="" size="30" />
</div>
Copyright © 2015 Shoper. All rights reserved.
Strona 47/74
scripts/product/index.tpl
1
+2
+3
+4
+5
+6
+7
+8
+9
+ 10
11
12
13
{include file='header.tpl'}
{if $loyalty_exchange}
{assign var=product_price value=0}
{elseif $product->specialOffer}
{assign var=product_price value=$product->defaultStock->getSpecialOfferPrice()}
{else}
{assign var=product_price value=$product->defaultStock->getPrice()}
{/if}
<body{if $body_id} id="{$body_id|escape}"{/if}{if $body_class} class="{$body_class|escape}"{/if}>
{include file='body_head.tpl'}
86
87
88
- 89
- 90
+ 89
{/if}
{if $product->specialOffer || $product->isNew()}
<ul class="tags">
{if $product->specialOffer}<li class="promo">{translate key="promotion"}</li>{/if}
{if $product->isNew()}<li class="new">{translate key="new"}</li>{/if}
{if $product->specialOffer}<li class="promo">{translate key="on sale tag"}</li>{/if
}
+ 90
91
92
93
{if $product->isNew()}<li class="new">{translate key="new product tag"}</li>{/if}
</ul>
{/if}
</div>
120
121
122
{/if}
<dl>
{if 1 == $skin_settings->productdetails->availability && $product->defaultStock->availa
bility && $product->defaultStock->availability->translation}
- 123
<dt class="availability">{translate key="Availability:"}</dt>
+ 123
<dt class="availability">{translate key="Availability"}:</dt>
124
<dd class="availability">{if $product->defaultStock->availability->availability->photo}
125
<img src="{baseDir}/{$product->defaultStock->availability->getUrl()}" alt="" />
{/if
126
}{$product->defaultStock->availability->translation->name}
128
129
130
{/if}
{if $product->canBuyStock() && 1 == $skin_settings->productdetails->time && $product->d
efaultStock->delivery}
- 131
+ 131
<dt class="delivery">{translate key="Shipment date:"}</dt>
<dt class="delivery">{translate key="Dispatched within"}:</dt>
Copyright © 2015 Shoper. All rights reserved.
Strona 48/74
132
133
134
166
167
168
- 169
+ 169
170
171
- 172
+ 172
173
174
175
176
- 177
<dd class="delivery">{$product->defaultStock->delivery->translation->name|escape}</dd>
{/if}
</dl>
{/if}
</div>
{/if}
{if floatval($product->product->other_price)}
<div class="otherprice">
<span class="label">{translate key="Price in other shops"}:</span>
<span class="label">{translate key="Price in other stores"}:</span>
<em>{currency value=$product->product->other_price ceil=2}</em>
</div>
{/if}
178
179
- 180
+ 180
181
182
183
<form class="basket{if false == $product->canBuyStock()} none{/if}{if $loyalty_exchange} lo
yaltyexchange{/if}" method="post" action="{route key=$basketAddRoute stockId='post'}" enctype="multipart/form-data">
<form class="basket{if $loyalty_exchange} loyaltyexchange{/if}" method="post" action="{rout
e key=$basketAddRoute stockId='post'}" enctype="multipart/form-data">
{assign var=options value=$product->getOptionsConfigurationStruct()}
{if $product->product->group_id && count($options)}
<div class="stocks stocks2">
<div class="stocks stocks2{if false == $product->canBuyStock()} none{/if}">
<table>
<tbody>
{foreach from=$options item=option}
217
218
{case expr='color'}
<td class="option_{$option.type|escape}{if 1 == $option.stock} option_t
+ 177
ruestock{/if}{if 1 == $option.required} option_required{/if}">
219
<select id="option_{$option.id|escape}" name="option_{$option.id|es
cape}">
- 220
+ 220
221
222
<option value="" title="">{translate key='(choose)'}</option>
<option value="" title="">{translate key='(select)'}</option>
{foreach from=$option.values item=value}
<option value="{$value.id|escape}" title="{$value.color|escape}
">{$value.name|escape}</option>
223
{/foreach}
228
<td class="option_{$option.type|escape}{if 1 == $option.stock} option_t
ruestock{/if}{if 1 == $option.required} option_required{/if}">
229
<select id="option_{$option.id|escape}" name="option_{$option.id|es
cape}">
230
- 231
+ 231
{if 0 == $option.stock}
<option value="" title="">{translate key='(choose)'}</option>
<option value="" title="">{translate key='(select)'}</option>
Copyright © 2015 Shoper. All rights reserved.
Strona 49/74
232
233
234
{/if}
{foreach from=$option.values item=value}
<option value="{$value.id|escape}">{$value.name|escape}</option
>
253
254
255
- 256
<input type="hidden" value="{$stock_id|escape}" name="stock_id" />
<input type="hidden" value="1" name="nojs" />
<button type="submit" class="addtobasket">
<img src="{baseDir}/public/images/1px.gif" alt="{translate key='Add to the bask
et'}" class="px1" />
- 257
<span>{if $loyalty_exchange}{translate key="Exchange"}{else}{translate key="Add
to the basket"}{/if}</span>
+ 256
<img src="{baseDir}/public/images/1px.gif" alt="{translate key='Add to cart'}"
class="px1" />
+ 257
<span>{if $loyalty_exchange}{translate key="Exchange"}{else}{translate key="Add
to cart"}{/if}</span>
258
259
260
- 261
</button>
{if false !== $loyalty_points && !$loyalty_exchange}
<span class="loyalty_points{if 0 == $loyalty_points} none{/if}">
{translate key="You earn %s%s%s points [%s?%s]" p1='<span class="points">'
p2=$loyalty_points p3='</span>' p4='<span class="tooltip_pointer" title="loyalty_msg">' p5='</span>'}
+ 260
{translate key="You gain %s%s%s points [%s?%s]" p1='<span class="points">'
p2=$loyalty_points p3='</span>' p4='<span class="tooltip_pointer" title="loyalty_msg">' p5='</span>'}
261
</span>
262
<label class="tooltip" id="loyalty_msg">
263
{if $loyalty_msg_title}<p class="title">{$loyalty_msg_title|escape}</p>{/if
}
268
269
270
+ 271
+ 272
+ 273
+ 274
</label>
{/if}
</fieldset>
{if $enable_availability_notifier}
{dynamic}
{assign var="availabilityNotifyUser" value=$product->defaultStock->getAvailabil
ityNotifyByUser()}
+ 275
+ 276
+ 277
+ 278
+ 279
+ 280
+ 281
+ 282
+ 283
+ 284
<fieldset class="availability-notifier-container{if $availabilityNotifyUser !=
null || 1 == (int) $product->defaultStock->availability->availability->can_buy} none{/if}">
<div class="button_wrap">
<a class="availability-notifier-btn btn btn-red" data-is-logged="{if tr
ue == $user_logged}true{else}false{/if}" data-stock-id="{$product->defaultStock->stock->stock_id}" data-product-id="{$product->product->
product_id}" data-product-name="{$product->translation->name}">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1">
<span>{translate key="Notify of product availability"}</span>
</a>
</div>
</fieldset>
{if true == $user_logged}
<fieldset class="availability-notifier-unsubscribe-container{if $availabili
tyNotifyUser == null || 1 == (int) $product->defaultStock->availability->availability->can_buy} none{/if}">
Copyright © 2015 Shoper. All rights reserved.
Strona 50/74
+ 285
+ 286
<div class="button_wrap">
<a class="availability-notifier-unsubscribe-btn btn btn-red" data-s
tock-id="{$product->defaultStock->stock->stock_id}">
+ 287
+ 288
+ 289
+ 290
+ 291
+ 292
+ 293
+ 294
295
296
297
324
325
326
- 327
+ 327
328
329
330
331
332
333
- 334
+ 334
335
336
337
339
340
341
- 342
+ 342
343
344
345
373
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1">
<span>{translate key="cancel notify"}</span>
</a>
</div>
</fieldset>
{/if}
{/dynamic}
{/if}
</form>
{if 1 == $skin_settings->productdetails->fb_send || 1 == $skin_settings->productdetails->fb
_like || 1 == $skin_settings->productdetails->google_p1 || 1 == $skin_settings->productdetails->pinit}
{if 1 == $skin_settings->productdetails->score || 1 == $skin_settings->productdetails->producer ||
1 == $skin_settings->productdetails->code}
<dl>
{if 1 == $skin_settings->productdetails->score}
<dt class="evaluation"><em>{translate key="Evaluation"}:</em></dt>
<dt class="evaluation"><em>{translate key="Rating"}:</em></dt>
<dd class="evaluation">
<span class="votestars"{if $can_vote} id="votestars_{$product->getIdentifier()|escape}"{/if
}>
{foreach from=$vote_stars item=star name=list}
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1 star{$star|replace:'.':'-'
}" />
{/foreach}
</span>
({translate key="Your score"}: <span class="votecount">{if $product->vote->votes}{$product>vote->votes|escape|replace:'.':'-'}{else}0{/if}</span>)
({translate key="Number of ratings"}: <span class="votecount">{if $product->vote->votes}{$p
roduct->vote->votes|escape|replace:'.':'-'}{else}0{/if}</span>)
</dd>
{/if}
{if 1 == $skin_settings->productdetails->code}
<dd class="code"><h2>{$product->getDefaultCode()|escape}</h2></dd>
{/if}
{if 1 == $skin_settings->productdetails->producer}
<dt class="manufacturer"><em>{translate key="Manufacturer"}:</em></dt>
<dt class="manufacturer"><em>{translate key="Vendor"}:</em></dt>
<dd class="manufacturer">
{if $product->product->producer_id}
{if $product->producer->manufacturer->web}
{/if}
Copyright © 2015 Shoper. All rights reserved.
Strona 51/74
374
375
- 376
+ 376
377
- 378
+ 378
379
380
381
- 382
- 383
- 384
- 385
- 386
- 387
- 388
- 389
- 390
- 391
- 392
- 393
- 394
395
396
397
{if 1 == $skin_settings->productdetails->storage}
<li class="addtofav">
<a href="{route key='favouriteAdd' stockId=$product->defaultStock->getIdentifier()}" title=
"{translate key='Store'}" class="spanhover addtofav">
<a href="{route key='favouriteAdd' stockId=$product->defaultStock->getIdentifier()}" title=
"{translate key='add to wish list'}" class="spanhover addtofav">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="Store"}</span>
<span>{translate key="add to wish list"}</span>
</a>
</li>
{/if}
{if $loyalty_exchange}
{assign var=product_price value=0}
{elseif $product->specialOffer}
{assign var=product_price value=$product->defaultStock->getSpecialOfferPrice()}
{else}
{assign var=product_price value=$product->defaultStock->getPrice()}
{/if}
{if $product_price >= 100}
{plugin module=shop template=product-zagiel}
{/if}
{if $product_price >= 500}
{plugin module=shop template=product-lukas}
{/if}
{if 1 == $skin_settings->productdetails->recommend}
<li class="mailfriend">
<a href="{route key='productMailFriend' productId=$product->getIdentifier()}" title="{trans
late key='recommend to a friend'}" class="spanhover mailfriend">
390
391
392
- 393
{if false !== $product_comments && 1 == $skin_settings->productdetails->comments}
{if $can_comment}
<li class="comment">
<a href="#commentform" title="{translate key='add an opinion'}" class="spanhover commen
t addcomment">
+ 393
<a href="#commentform" title="{translate key='add your review'}" class="spanhover comme
nt addcomment">
394
- 395
+ 395
396
397
398
399
- 400
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="add an opinion"}</span>
<span>{translate key="add your review"}</span>
</a>
</li>
{else}
<li class="comment">
<a href="#" title="{translate key='Only logged-in users can add opinions.'}" class="spa
nhover comment titlealert">
+ 400
<a href="#" title="{translate key='Only registered users can add reviews.'}" class="spa
nhover comment titlealert">
401
- 402
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{translate key="add an opinion"}</span>
Copyright © 2015 Shoper. All rights reserved.
Strona 52/74
+ 402
403
404
405
406
+ 407
+ 408
409
410
411
416
417
418
- 419
+ 419
420
421
422
<span>{translate key="add your review"}</span>
</a>
</li>
{/if}
{/if}
{plugin module=shop template=product-links product=$product}
</ul>
<div class="floatfix"></div>
<div class="description">
<div class="resetcss">{$product->translation->description}</div>
{if count($product->files)}
<h5 class="productfiles">{translate key="Downloadable files:"}</h5>
<h5 class="productfiles">{translate key="Files to download"}:</h5>
<ul class="productfiles">
{foreach from=$product->files item=file}
<li>
514
515
516
+ 517
+ 518
+ 519
+ 520
+ 521
<span class="productname">{$rproduct->translation->name|escape}</span>
</a>
<div class="description resetcss">{$rproduct->translation->short_description}</div>
{if $enable_availability_notifier && $rproduct->isEnabledNotifier()}
<div class="notify-related">
{if $availabilityNotifyUser}
<a class="availability-notifier-unsubscribe-btn btn-notifier" data-stock-id="{$rproduct
->defaultStock->stock->stock_id}">
+ 522
+ 523
+ 524
+ 525
+ 526
+ 527
+ 528
+ 529
+ 530
+ 531
532
533
534
547
548
549
<span>{translate key="Cancel notify"}</span>
</a>
{else}
<a class="availability-notifier-btn btn-notifier" data-is-logged="{if true == $user_log
ged}true{else}false{/if}" data-stock-id="{$rproduct->defaultStock->getIdentifier()}" data-product-id="{$rproduct->product->product_id}"
data-product-name="{$rproduct->translation->name}">
<span>{translate key="Notify of product availability"}</span>
</a>
{/if}
</div>
{/if}
{if $loyalty_exchange}
<div class="price">
<span class="label">{translate key="Price"}:</span>
{/if}
{if $enablebasket && $rproduct->canBuyStock()}
Copyright © 2015 Shoper. All rights reserved.
Strona 53/74
- 550
- 551
- 552
- 553
- 554
- 555
- 556
- 557
- 558
- 559
+ 550
+ 551
+ 552
+ 553
+ 554
+ 555
+ 556
+ 557
+ 558
+ 559
560
+ 561
562
563
564
<div class="basket">
<form class="{if $loyalty_exchange}loyaltyexchange{/if}" action="{route key=$basketAddRoute sto
ckId=$rproduct->defaultStock->getIdentifier()}" method="get">
<fieldset>
<button class="addtobasket" type="submit">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{if $loyalty_exchange}{translate key="Exchange"}{else}{translate key="Add to
the basket"}{/if}</span>
</button>
</fieldset>
</form>
</div>
<div class="basket">
<form class="{if $loyalty_exchange}loyaltyexchange{/if}" action="{route key=$basketAddRoute
stockId=$rproduct->defaultStock->getIdentifier()}" method="get">
<fieldset>
<button class="addtobasket" type="submit">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{if $loyalty_exchange}{translate key="Exchange"}{else}{translate key="Add
to cart"}{/if}</span>
</button>
</fieldset>
</form>
</div>
{/if}
<div class="floatfix"></div>
</div>
{if ! $smarty.foreach.list.last}<hr class="productseparator" />{/if}
575
576
577
- 578
+ 578
579
580
581
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Opinions about the product"} ({$product_comments|count})</h3>
<h3>{translate key="Product reviews"} ({$product_comments|count})</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
595
596
597
- 598
+ 598
{include file='formantispam.tpl'}
{if count($product_comments) > 0}<hr class="productseparator" />{/if}
<label for="commentuser"><em class="color">*</em> {translate key="Nick:"}</label>
<label for="commentuser"><em class="color">*</em> {translate key="First and last name"}:</label
>
599
600
<div class="shaded_inputwrap">
<input name="user" type="text" id="commentuser" value="{if $user_logged}{$user->user->getNa
me()|escape}{else}{$data.user|escape}{/if}" size="30" />
601
</div>
Copyright © 2015 Shoper. All rights reserved.
Strona 54/74
607
608
609
- 610
+ 610
611
612
613
639
640
641
- 642
+ 642
643
644
645
</ul>
{/if}
<label for="comment"><em class="color">*</em> {translate key="Your opinion:"}</label>
<label for="comment"><em class="color">*</em> {translate key="Your review"}:</label>
<div class="shaded_textareawrap">
<textarea name="comment" id="comment" rows="5" cols="30">{$data.comment|escape}</textarea>
</div>
{else}
<div class="error_message flash_message">
<div class="container">
<p>{translate key="This product is not available."}</p>
<p>{translate key="This product is unavailable."}</p>
</div>
</div>
{/if}
scripts/product/list.tpl
-1
2
3
4
50
51
52
- 53
+ 53
54
55
- 56
- 57
- 58
- 59
+ 56
+ 57
58
59
- 60
- 61
{php}$helper = $this->_tpl_vars['helper'];{/php}
{include file='header.tpl'}
<body{if $body_id} id="{$body_id|escape}"{/if}{if $body_class} class="{$body_class|escape}"{/if}>
{include file='body_head.tpl'}
<h1>{$category_name|escape}</h1>
{if true == $sort_links}
<span class="sortlinks">
{translate key="Sort according to:"}
{translate key="Sort by"}:
{switch expr=$sort}
{case expr=1}
<a href="{php} echo $helper->url(array('sort' => 2)); {/php
}{if $google}?{$google|escape}{/if}" title="{translate key="Sort by name, descending"}"><b>
&#x25b2; {translate key="Product name"}</b></a> |
<a href="{php} echo $helper->url(array('sort' => 3)); {/php
}{if $google}?{$google|escape}{/if}" title="{translate key="Sort by price, ascending"}">{tr
anslate key="Price"}</a>
<a href="{array __key=urlOptions sort=2}{url urlOptions=$urlOptions}{if $google}?{$google|escap
e}{/if}" title="{translate key="Sort by name descending"}"><b>&#x25b2; {translate key="Product name"}</b></a> |
<a href="{array __key=urlOptions sort=3}{url urlOptions=$urlOptions}{if $google}?{$google|escap
e}{/if}" title="{translate key="Sort by price ascending"}">{translate key="Price"}</a>
{/case}
{case expr=2}
<a href="{php} echo $helper->url(array('sort' => 1)); {/php
}{if $google}?{$google|escape}{/if}" title="{translate key="Sort by name, ascending"}"><b>&
Copyright © 2015 Shoper. All rights reserved.
Strona 55/74
- 62
- 63
+ 59
+ 60
61
62
- 63
- 64
- 65
- 66
+ 62
+ 63
64
65
- 66
- 67
- 68
- 69
+ 65
+ 66
67
68
- 69
- 70
- 71
- 72
+ 68
+ 69
70
71
72
73
74
75
- 76
+ 75
#x25bc; {translate key="Product name"}</b></a> |
<a href="{php} echo $helper->url(array('sort' => 3)); {/php
}{if $google}?{$google|escape}{/if}" title="{translate key="Sort by
anslate key="Price"}</a>
<a href="{array __key=urlOptions sort=1}{url urlOptions=$urlOptions}{if
e}{/if}" title="{translate key="Sort by name ascending"}"><b>&#x25bc; {translate key="Product name"}</b></a> |
<a href="{array __key=urlOptions sort=3}{url urlOptions=$urlOptions}{if
e}{/if}" title="{translate key="Sort by price ascending"}">{translate key="Price"}</a>
{/case}
{case expr=3}
<a href="{php} echo $helper->url(array('sort' => 1)); {/php
}{if $google}?{$google|escape}{/if}" title="{translate key="Sort by
nslate key="Product name"}</a> |
<a href="{php} echo $helper->url(array('sort' => 4)); {/php
}{if $google}?{$google|escape}{/if}" title="{translate key="Sort by
>&#x25b2; {translate key="Price"}</b></a>
<a href="{array __key=urlOptions sort=1}{url urlOptions=$urlOptions}{if
e}{/if}" title="{translate key="Sort by name ascending"}">{translate key="Product name"}</a> |
<a href="{array __key=urlOptions sort=4}{url urlOptions=$urlOptions}{if
e}{/if}" title="{translate key="Sort by price descending"}"><b>&#x25b2; {translate key="Price"}</b></a>
{/case}
{case expr=4}
<a href="{php} echo $helper->url(array('sort' => 1)); {/php
}{if $google}?{$google|escape}{/if}" title="{translate key="Sort by
nslate key="Product name"}</a> |
<a href="{php} echo $helper->url(array('sort' => 3)); {/php
}{if $google}?{$google|escape}{/if}" title="{translate key="Sort by
&#x25bc; {translate key="Price"}</b></a>
<a href="{array __key=urlOptions sort=1}{url urlOptions=$urlOptions}{if
e}{/if}" title="{translate key="Sort by name ascending"}">{translate key="Product name"}</a> |
<a href="{array __key=urlOptions sort=3}{url urlOptions=$urlOptions}{if
e}{/if}" title="{translate key="Sort by price ascending"}"><b>&#x25bc; {translate key="Price"}</b></a>
{/case}
{case expr=5}
<a href="{php} echo $helper->url(array('sort' => 1)); {/php
}{if $google}?{$google|escape}{/if}" title="{translate key="Sort by
nslate key="Product name"}</a> |
<a href="{php} echo $helper->url(array('sort' => 3)); {/php
}{if $google}?{$google|escape}{/if}" title="{translate key="Sort by
anslate key="Price"}</a>
<a href="{array __key=urlOptions sort=1}{url urlOptions=$urlOptions}{if
e}{/if}" title="{translate key="Sort by name ascending"}">{translate key="Product name"}</a> |
<a href="{array __key=urlOptions sort=3}{url urlOptions=$urlOptions}{if
e}{/if}" title="{translate key="Sort by price ascending"}">{translate key="Price"}</a>
{/case}
{/switch}
</span>
{/if}
price, ascending"}">{tr
$google}?{$google|escap
$google}?{$google|escap
name, ascending"}">{tra
price, descending"}"><b
$google}?{$google|escap
$google}?{$google|escap
name, ascending"}">{tra
price, ascending"}"><b>
$google}?{$google|escap
$google}?{$google|escap
name, ascending"}">{tra
price, ascending"}">{tr
$google}?{$google|escap
$google}?{$google|escap
{if 'search' == $list_type}
<b class="count">{translate key='Number of products found:'} {$products->getTotalItemCount()}</b>
<b class="count">{translate key='Products found'}: {$products->getTotalItemCount()}</b>
Copyright © 2015 Shoper. All rights reserved.
Strona 56/74
76
77
78
79
- 80
- 81
+ 80
+ 81
82
- 83
- 84
+ 82
+ 83
84
- 85
- 86
- 87
- 88
+ 84
+ 85
+ 86
+ 87
88
89
90
121
122
123
- 124
+ 124
125
126
127
{/if}
{if 1 == $skin_settings->productlist->allowviewchange}
<ul class="prodview">
<li class="name{if 'name' == $view} selected{/if}"><a href="{php} echo $helper->url(array('view' =>
'name')); {/php}{if $google}?{$google|escape}{/if
}" title="{translate key='Minimum view'
<li class="name{if 'name' == $view} selected{/if}"><a href="{array __key=urlOptions view=name}{url
urlOptions=$urlOptions}{if $google}?{$google|escape}{/if
}" title="{translate key='Minimal view'
}"><img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /><span>{translate key='List'}</sp
an></a></li>
<li class="desc{if 'desc' == $view} selected{/if}"><a href="{php} echo $helper->url(array('view' =>
'desc')); {/php}{if $google}?{$google|escape}{/if
}" title="{translate key='Shortened view'
<li class="desc{if 'desc' == $view} selected{/if}"><a href="{array __key=urlOptions view=desc}{url
urlOptions=$urlOptions}{if $google}?{$google|escape}{/if
}" title="{translate key='Quick view'
}"><img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /><span>{translate key='Descriptio
n'}</span></a></li>
<li class="photo{if 'phot' == $view} selected{/if}"><a href="{php} echo $helper->url(array('view' =
> 'phot')); {/php}{if $google}?{$google|escape}{/if
}" title="{translate key='View with photo'
}"><img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /><span>{translate key='Photo'}</s
pan></a></li>
<li class="full{if 'full' == $view} selected{/if}"><a href="{php} echo $helper->url(array('view' =>
'full')); {/php}{if $google}?{$google|escape}{/if
<li class="photo{if 'phot' == $view} selected{/if}"><a href="{array __key=urlOptions view=phot}{url
urlOptions=$urlOptions}{if $google}?{$google|escape}{/if
}" title="{translate key='Picture view'
}"><img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /><span>{translate key='Picture'}<
/span></a></li>
<li class="full{if 'full' == $view} selected{/if}"><a href="{array __key=urlOptions view=full}{url
urlOptions=$urlOptions}{if $google}?{$google|escape}{/if
}" title="{translate key='Full view'
}"><img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /><span>{translate key='Full'}</sp
an></a></li>
</ul>
{else}
<div class="info_message flash_message">
<div class="container">
<p>{translate key="No products have been found."}</p>
<p>{translate key="No products matching your criteria have been found."}</p>
</div>
</div>
{/if}
scripts/product/loyalty.tpl
Copyright © 2015 Shoper. All rights reserved.
Strona 57/74
2
3
4
-5
+5
6
7
8
9
10
- 11
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Products exchangeable in loyalty program"}</h3>
<h3>{translate key="Exchangeable products in the loyalty program"}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
<div class="leftside"></div>
<span class="user_points">{translate key="Your points: %s" p1=$user_points}</span>
<span class="get_more_points tooltip_pointer" title="loyalty_msg">{translate key="How to get more point
s"}</span>
+ 11
<span class="get_more_points tooltip_pointer" title="loyalty_msg">{translate key="How to gain more poin
ts"}</span>
12
13
14
20
21
22
- 23
+ 23
24
25
26
{if count($loyalty_msgs)}
<label class="tooltip indent" id="loyalty_msg">
{foreach from=$loyalty_msgs item=msg}
<form class="loyalty_filter" method="post" action="{route key='search'}">
<fieldset>
<b>{translate key='Display:'}</b>
<b>{translate key='View'}:</b>
<input type="radio" class="gotourl" name="loylaty_filter" value="{route key='loyaltyList' filte
r=0}" id="loylaty_filter0"{if 0 == (int) $loyalty_filter} checked="checked"{/if} />
<label for="loylaty_filter0">{translate key='all products'}</label>
<input type="radio" class="gotourl" name="loylaty_filter" value="{route key='loyaltyList' filte
r=1}" id="loylaty_filter1"{if 1 == (int) $loyalty_filter} checked="checked"{/if} />
scripts/product/mailfriend.tpl
32
33
34
- 35
+ 35
36
37
38
50
51
52
- 53
+ 53
54
55
56
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Recommend to a friend"}</h3>
<h3>{translate key="Recommend product to a friend"}</h3>
<div class="rightside"></div>
</div>
<div class="innerbox">
{/foreach}
</ul>
{/if}
<label for="email"><em class="color">*</em> {translate key="Your friend's e-mail address."}</label>
<label for="email"><em class="color">*</em> {translate key="Friend's e-mail address"}:</label>
<div class="shaded_inputwrap{if $data_error.email} shaded_error{/if}">
<input type="text" name="email" id="email" value="{$data.email|escape}" size="30" />
</div>
Copyright © 2015 Shoper. All rights reserved.
Strona 58/74
scripts/product/question.tpl
24
25
26
- 27
+ 27
28
29
30
<label for="question_name">
<em class="color">*</em>
{translate key='Your name:'}
{translate key='Your name'}:
</label>
<div class="shaded_inputwrap{if $data_error.name} shaded_error{/if}">
<input type="text" name="name" id="question_name" size="40" value="{$data.name|escape}" />
39
40
41
- 42
+ 42
43
44
45
<label for="question_mail">
<em class="color">*</em>
{translate key='Your e-mail:'}
{translate key='Your e-mail address'}:
</label>
<div class="shaded_inputwrap{if $data_error.mail} shaded_error{/if}">
<input type="text" name="mail" id="question_mail" size="40" value="{$data.mail|escape}" />
54
55
56
- 57
+ 57
58
59
60
<label for="question_text">
<em class="color">*</em>
{translate key='Question:'}
{translate key='Question'}:
</label>
<div class="shaded_textareawrap{if $data_error.question} shaded_error{/if}">
<textarea name="question" id="question_text" rows="5" cols="40">{$data.question|escape}</textarea>
67
68
69
- 70
+ 70
71
72
73
</ul>
{/if}
<label>{translate key='Answer will be sent to given e-mail address.'}</label>
<label>{translate key='The reply will be sent to your e-mail address.'}</label>
<div class="bottombuttons">
<button type="submit" class="button">
scripts/product/searchbox.tpl
2
3
4
-5
+5
<div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
<div class="boxhead">
<div class="leftside"></div>
<h3>{translate key="Product search engine"}</h3>
<h3>{translate key="Product search"}</h3>
Copyright © 2015 Shoper. All rights reserved.
Strona 59/74
6
7
8
<div class="rightside"></div>
</div>
<div class="innerbox">
17
18
19
- 20
+ 20
21
22
23
32
33
34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
<tr class="name">
<td class="label">
<label for="search1">{translate key="Name or description:"}</label>
<label for="search1">{translate key="Name or description"}:</label>
</td>
<td>
<div class="shaded_inputwrap{if $data_error.search} shaded_error{/if}">
{/if}
</td>
</tr>
<tr class="price">
<td class="label">
<label for="search2">{translate key="Price:"}</label>
</td>
<td>
<div class="shaded_inputwrap"><input id="search2" type="text" name="pricefrom" valu
e="{$data.pricefrom|escape}" class="short" /></div>
<div class="shaded_inputwrap"><input type="text" name="priceto" value="{$data.price
to|escape}" class="short" /></div>
</td>
</tr>
<tr class="manufacturer">
<td class="label">
<label for="search3">{translate key="Manufacturer:"}</label>
</td>
<td>
<select name="producer" id="search3">
<option></option>
{foreach from=$producers item=producer}
<option {if $producer->manufacturer->producer_id == $data.producer}selected="se
lected" {/if
- 56
}value="{$producer->manufacturer->producer_id|escape}">{$producer->manufact
urer->name|escape}</option>
- 57
- 58
- 59
- 60
- 61
- 62
- 63
{/foreach}
</select>
</td>
</tr>
<tr class="category">
<td class="label">
Copyright © 2015 Shoper. All rights reserved.
Strona 60/74
- 64
- 65
- 66
- 67
- 68
- 69
- 70
<label for="search4">{translate key="Category:"}</label>
</td>
<td>
<select name="category" id="search4">
<option></option>
{foreach from=$categories item=category}
<option {if $category->category->category_id == $data.category}selected="select
ed" {/if
- 71
}value="{$category->category->category_id|escape}">{$category->translation>name|escape}</option>
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
{/foreach}
</select>
</td>
</tr>
<tr class="promotion">
<td class="label">
<label for="search5">{translate key="Only products in promotion"}</label>
</td>
<td>
<input type="checkbox" value="1" name="promotion" id="search5"{if 1 == $data.promot
ion} checked="checked"{/if} />
- 83
- 84
- 85
+ 35
+ 36
+ 37
+ 38
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
+ 45
+ 46
+ 47
+ 48
+ 49
+ 50
+ 51
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
+ 58
</td>
</tr>
{if $filter_price}
<tr class="price">
<td class="label">
<label for="search2">{translate key="Price"}:</label>
</td>
<td>
<div class="shaded_inputwrap"><input id="search2" type="text" name="pricefrom"
value="{$data.pricefrom|escape}" class="short" /></div>
<div class="shaded_inputwrap"><input type="text" name="priceto" value="{$data.p
riceto|escape}" class="short" /></div>
</td>
</tr>
{/if}
{if $filter_producer}
<tr class="manufacturer">
<td class="label">
<label for="search3">{translate key="Vendor"}:</label>
</td>
<td>
<select name="producer" id="search3">
<option></option>
{foreach from=$producers item=producer}
<option {if $producer->manufacturer->producer_id == $data.producer}selected
Copyright © 2015 Shoper. All rights reserved.
Strona 61/74
="selected" {/if
+ 59
}value="{$producer->manufacturer->producer_id|escape}">{$producer->manu
facturer->name|escape}</option>
+ 60
+ 61
+ 62
+ 63
+ 64
+ 65
+ 66
+ 67
+ 68
+ 69
+ 70
+ 71
+ 72
+ 73
+ 74
+ 75
{/foreach}
</select>
</td>
</tr>
{/if}
{if $filter_category}
<tr class="category">
<td class="label">
<label for="search4">{translate key="Category"}:</label>
</td>
<td>
<select name="category" id="search4">
<option></option>
{foreach from=$categories item=category}
<option {if $category->category->category_id == $data.category}selected="se
lected" {/if
+ 76
}value="{$category->category->category_id|escape}">{$category->translat
ion->name|escape}</option>
+ 77
+ 78
+ 79
+ 80
+ 81
+ 82
+ 83
+ 84
+ 85
+ 86
+ 87
+ 88
+ 89
{/foreach}
</select>
</td>
</tr>
{/if}
{if $filter_promotion}
<tr class="promotion">
<td class="label">
<label for="search5">{translate key="Only On Sale products"}</label>
</td>
<td>
<input type="checkbox" value="1" name="promotion" id="search5"{if 1 == $data.pr
omotion} checked="checked"{/if} />
+ 90
+ 91
+ 92
93
94
95
</td>
</tr>
{/if}
</tbody>
</table>
scripts/product/tableofproducts.tpl
34
35
36
- 37
- 38
{/if}
{/if}
<div class="basket">
Copyright © 2015 Shoper. All rights reserved.
Strona 62/74
- 39
+ 37
+ 38
39
40
41
{if $enablebasket && $product->canBuyStock()}
{if $enablebasket && $product->canBuyStock()}
<div class="basket">
{if true == $product->defaultStockOnly()}
<form class="basket {if $loyalty_exchange}loyaltyexchange{/if}" action="{ro
ute key=$basketAddRoute stockId='post'}" method="post">
{else}
49
50
51
{/if}
<button class="addtobasket" type="submit">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /
>
- 52
<span>{if $loyalty_exchange}{translate key="Exchange"}{else}{tr
anslate key="Add to the basket"}{/if}</span>
+ 52
<span>{if $loyalty_exchange}{translate key="Exchange"}{else}{tr
anslate key="Add to cart"}{/if}</span>
53
54
55
- 56
- 57
+ 56
+ 57
+ 58
+ 59
+ 60
</button>
</fieldset>
</form>
{/if}
</div>
</div>
{elseif $enable_availability_notifier && $product->isEnabledNotifier()}
<div class="notify">
{if $availabilityNotifyUser}
<a class="availability-notifier-unsubscribe-btn btn-notifier" data-stoc
k-id="{$product->defaultStock->stock->stock_id}">
+ 61
+ 62
+ 63
+ 64
+ 65
+ 66
+ 67
+ 68
+ 69
70
71
<span>{translate key="Cancel notify"}</span>
</a>
{else}
<a class="availability-notifier-btn btn-notifier" data-is-logged="{if t
rue == $user_logged}true{else}false{/if}" data-stock-id="{$product->defaultStock->getIdentifier()}" data-product-id="{$product->product>product_id}" data-product-name="{$product->translation->name}">
<span>{translate key="Notify of product availability"}</span>
</a>
{/if}
</div>
{/if}
{if 'full' == $view || 'desc' == $view}<div class="description resetcss">{$product>translation->short_description}</div>{/if}
72
75
($product->defaultStock && 1 == (int) $skin_settings->$settingsgroup->showavail
ability) }
76
77
- 78
<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>
Copyright © 2015 Shoper. All rights reserved.
Strona 63/74
+ 78
79
<dt class="availability">{translate key="Availability"}:</dt>
<dd class="availability">{if $product->defaultStock->availability->availability
->photo}
80
<img src="{baseDir}/{$product->defaultStock->availability->getUrl()}" alt="
" /> {/if
81
82
83
84
}{$product->defaultStock->availability->translation->name}</dd>
{/if}
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product->canBuy
Stock() && $product->defaultStock->delivery}
- 85
+ 85
86
<dt class="delivery">{translate key="Shipment date:"}</dt>
<dt class="delivery">{translate key="Dispatched within"}:</dt>
<dd class="delivery">{$product->defaultStock->delivery->translation->name|escap
e}</dd>
87
88
{/if}
</dl>
91
92
93
- 94
{if $product->specialOffer || $product->isNew()}
<ul class="tags">
{if $product->specialOffer}<li class="promo">{translate key="promotion"}</li>{/
if}
- 95
+ 94
{if $product->isNew()}<li class="new">{translate key="new"}</li>{/if}
{if $product->specialOffer}<li class="promo">{translate key="on sale tag"}</li>
{/if}
+ 95
{if $product->isNew()}<li class="new">{translate key="new product tag"}</li>{/i
f}
96
97
98
</ul>
{/if}
</div>
146
147
148
- 149
{/if}
<button class="addtobasket" type="submit">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" />
<span>{if $loyalty_exchange}{translate key="Exchange"}{else}{transl
ate key="Add to the basket"}{/if}</span>
+ 149
<span>{if $loyalty_exchange}{translate key="Exchange"}{else}{transl
ate key="Add to cart"}{/if}</span>
150
151
152
153
- 154
+ 154
</button>
</fieldset>
</form>
{else}
{if $loyalty_exchange}
{if $loyalty_exchange || ($enable_availability_notifier && $product->isEnabledN
otifier()) || $showprices}
155
- 156
- 157
<div class="price noform">
<span class="price">{translate key="Price"}:</span>
<em>{float precision=0 value=$product->defaultStock->loyaltyPointsPrice
(true)}</em>
Copyright © 2015 Shoper. All rights reserved.
Strona 64/74
- 158
- 159
- 160
- 161
- 162
- 163
- 164
</div>
{else}
{if $showprices}
<div class="price noform">
<span class="price">{translate key="Price"}:</span>
{if $product->specialOffer}
<em class="color">{currency value=$product->defaultStock->getSpecia
lOfferPrice()}</em>
- 165
- 166
- 167
- 168
- 169
+ 156
+ 157
+ 158
+ 159
+ 160
<del>{currency value=$product->defaultStock->getPrice()}</del>
{else}
<em>{currency value=$product->defaultStock->getPrice()}</em>
{/if}
</div>
{/if}
{if $loyalty_exchange}
<span class="price">{translate key="Price"}:</span>
<em>{float precision=0 value=$product->defaultStock->loyaltyPointsPrice(tru
e)}</em>
+ 161
+ 162
+ 163
+ 164
+ 165
+ 166
{/if}
{if $showprices && !$loyalty_exchange}
<span class="price">{translate key="Price"}:</span>
{if $product->specialOffer}
<em class="color">{currency value=$product->defaultStock->getSpecialOff
erPrice()}</em>
+ 167
+ 168
+ 169
170
171
+ 172
+ 173
+ 174
<del>{currency value=$product->defaultStock->getPrice()}</del>
{else}
<em>{currency value=$product->defaultStock->getPrice()}</em>
{/if}
{/if}
{if $availabilityNotifyUser}
<a class="availability-notifier-unsubscribe-btn btn-notifier" data-stock-id
="{$product->defaultStock->stock->stock_id}">
+ 175
+ 176
+ 177
+ 178
<span>{translate key="Cancel notify"}</span>
</a>
{else}
<a class="availability-notifier-btn btn-notifier" data-is-logged="{if true
== $user_logged}true{else}false{/if}" data-stock-id="{$product->defaultStock->getIdentifier()}" data-product-id="{$product->product->pro
duct_id}" data-product-name="{$product->translation->name}">
+ 179
<span>{translate key="Notify of product availability"}</span>
+ 180
</a>
+ 181
{/if}
+ 182
+ 183
{if $loyalty_exchange || ($enable_availability_notifier && $product->isEnabledN
otifier()) || $showprices}
+ 184
</div>
+ 185
{/if}
186
{/if}
187
Copyright © 2015 Shoper. All rights reserved.
Strona 65/74
188
{if 'full' == $view}
200
($product->defaultStock && 1 == (int) $skin_settings->$settingsgroup->s
howavailability) }
201
202
<dl class="availanddeliv">
{if 1 == (int) $skin_settings->$settingsgroup->showavailability && $pro
duct->defaultStock->availability && $product->defaultStock->availability->translation}
- 203
<dt class="availability">{translate key="Availability:"}</dt>
+ 203
<dt class="availability">{translate key="Availability"}:</dt>
204
<dd class="availability">{if $product->defaultStock->availability->avai
lability->photo}
205
<img src="{baseDir}/{$product->defaultStock->availability->getUrl()
}" alt="" /> {/if
206
}{$product->defaultStock->availability->translation->name}</dd>
207
{/if}
208
209
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product
->canBuyStock() && $product->defaultStock->delivery}
- 210
<dt class="delivery">{translate key="Shipment date:"}</dt>
+ 210
<dt class="delivery">{translate key="Dispatched within"}:</dt>
211
<dd class="delivery">{$product->defaultStock->delivery->translation->na
me|escape}</dd>
212
{/if}
213
</dl>
230
($product->defaultStock && 1 == (int) $skin_settings->$settingsgroup->s
howavailability) }
231
232
<dl class="availanddeliv">
{if 1 == (int) $skin_settings->$settingsgroup->showavailability && $pro
duct->defaultStock->availability && $product->defaultStock->availability->translation}
- 233
<dt class="availability">{translate key="Availability:"}</dt>
+ 233
<dt class="availability">{translate key="Availability"}:</dt>
234
<dd class="availability">{if $product->defaultStock->availability->avai
lability->photo}
235
<img src="{baseDir}/{$product->defaultStock->availability->getUrl()
}" alt="" /> {/if
236
}{$product->defaultStock->availability->translation->name}</dd>
237
{/if}
238
239
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product
->canBuyStock() && $product->defaultStock->delivery}
- 240
<dt class="delivery">{translate key="Shipment date:"}</dt>
+ 240
<dt class="delivery">{translate key="Dispatched within"}:</dt>
241
<dd class="delivery">{$product->defaultStock->delivery->translation->na
me|escape}</dd>
242
{/if}
243
</dl>
248
($product->defaultStock && 1 == (int) $skin_settings->$settingsgroup->showa
Copyright © 2015 Shoper. All rights reserved.
Strona 66/74
vailability) }
249
250
<dl class="availanddeliv">
{if 1 == (int) $skin_settings->$settingsgroup->showavailability && $product
->defaultStock->availability && $product->defaultStock->availability->translation}
- 251
<dt class="availability">{translate key="Availability:"}</dt>
+ 251
<dt class="availability">{translate key="Availability"}:</dt>
252
<dd class="availability">{if $product->defaultStock->availability->availabi
lity->photo}
253
<img src="{baseDir}/{$product->defaultStock->availability->getUrl()}" a
lt="" /> {/if
254
}{$product->defaultStock->availability->translation->name}</dd>
255
{/if}
256
257
{if 1 == (int) $skin_settings->$settingsgroup->showdelivery && $product->ca
nBuyStock() && $product->defaultStock->delivery}
- 258
<dt class="delivery">{translate key="Shipment date:"}</dt>
+ 258
<dt class="delivery">{translate key="Dispatched within"}:</dt>
259
<dd class="delivery">{$product->defaultStock->delivery->translation->name|e
scape}</dd>
260
{/if}
261
</dl>
265
266
267
- 268
{if $product->specialOffer || $product->isNew()}
<ul class="tags">
{if $product->specialOffer}<li class="promo">{translate key="promotion"}</li>{/
if}
- 269
+ 268
{if $product->isNew()}<li class="new">{translate key="new"}</li>{/if}
{if $product->specialOffer}<li class="promo">{translate key="on sale tag"}</li>
{/if}
+ 269
{if $product->isNew()}<li class="new">{translate key="new product tag"}</li>{/i
f}
270
271
272
</ul>
{/if}
</div>
Pliki .css
styles/main.css
963
964
965
- 966
+ 966
967
968
969
.main .innerbox ul.icons img {
display: block;
}
.main .innerbox hr.productseparator {
.main .innerbox hr.productseparator, .main .innerbox hr.articleseparator {
width: 80%;
height: 1px;
border-width: 0;
Copyright © 2015 Shoper. All rights reserved.
Strona 67/74
2125
2126
2127
- 2128
+ 2128
2129
2130
2131
2132
- 2133
+ 2133
2134
2135
2136
- 2137
- 2138
- 2139
- 2140
+ 2137
2138
2139
2140
#box_productgallery .innerbox ul.gallery li a img {
border: 1px solid #e1e1e1;
}
#box_productcomments .productcomment h5 {
#box_productcomments .productcomment h5, #box_articlecomments .articlecomment h5 {
font-size: 1em;
font-weight: bold;
float: left;
}
#box_productcomments .productcomment div.date {
#box_productcomments .productcomment div.date, #box_articlecomments .articlecomment div.date {
float: right;
font-size: 0.9em;
}
#box_productcomments .productcomment div.date {
float: right;
}
#box_productcomments .productcomment p {
#box_productcomments .productcomment p, #box_articlecomments .articlecomment p, #box_articlefiles .articlefile p {
text-align: justify;
margin: 5px 0 15px;
}
2317
2318
2319
- 2320
+ 2320
2321
2322
2323
- 2324
+ 2324
2325
2326
- 2327
+ 2327
2328
2329
2330
- 2331
+ 2331
2332
2333
2334
2335
- 2336
#box_mainproducts .boxhead ul.prodview li span {
display: none;
}
#box_mainproducts ul.paginator {
#box_mainproducts ul.paginator, #box_articlelist ul.paginator {
left: -50%;
position: relative;
}
#box_mainproducts .innerbox ul.paginator {
#box_mainproducts .innerbox ul.paginator, #box_articlelist .innerbox ul.paginator {
margin-top: 20px;
}
#box_mainproducts ul.paginator li {
#box_mainproducts ul.paginator li, #box_articlelist ul.paginator li {
float: left;
margin: 0 4px;
}
#box_mainproducts ul.paginator li.selected {
#box_mainproducts ul.paginator li.selected, #box_articlelist ul.paginator li.selected {
font-weight: bold;
color: #f00;
cursor: default;
}
#box_mainproducts ul.paginator li.stick {
Copyright © 2015 Shoper. All rights reserved.
Strona 68/74
+ 2336 #box_mainproducts ul.paginator li.stick, #box_articlelist ul.paginator li.stick {
2337
color: #aaa;
2338 }
2339 /* Product List END */
2748
2749
2750
+ 2751
+ 2752
+ 2753
2754
2755
2756
2824
2825
2826
+ 2827
+ 2828
+ 2829
+ 2830
+ 2831
+ 2832
+ 2833
+ 2834
+ 2835
+ 2836
+ 2837
+ 2838
+ 2839
+ 2840
+ 2841
+ 2842
+ 2843
+ 2844
+ 2845
+ 2846
+ 2847
+ 2848
+ 2849
+ 2850
+ 2851
+ 2852
+ 2853
+ 2854
+ 2855
+ 2856
#box_basketsummary .innerbox dl dd {
line-height: 1.3em;
}
#box_basketsummary .innerbox dl dd.comment {
word-break: break-all;
}
#box_basketsummary .innerbox p.sum {
padding: 20px 5px 10px;
color: #299a26;
display: block;
width: 100%;
}
#box_articlelistsmall .innerbox hr.separator, #box_articlelist .innerbox hr.separator {
width: 100%;
}
#box_article .article_comments, #box_articlelist .article_comments {
border-radius: 3px;
border-color: #800\9;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ec6724', endColorstr='#df0000');
background: -webkit-gradient(linear, center top, center bottom, from(#ec6724), to(#df0000));
background: -moz-linear-gradient(center top, #ec6724, #df0000);
float: right;
line-height: 10px;
padding: 8px 10px;
margin-top: 4px;
color: #fff;
font-weight: bold;
}
#box_article .article-info, #box_articlelist .article_info {
line-height: 1;
border-bottom: 1px dashed;
padding: 10px 0;
}
#box_articlelist .article_info {
margin-bottom: 10px;
}
#box_article .article-info span, #box_articlelist .article_info span {
font-style: italic;
color: #225593;
}
#box_article .innerbox .article_tags {
margin: 1em 0 0.5em;
Copyright © 2015 Shoper. All rights reserved.
Strona 69/74
+ 2857
+ 2858
+ 2859
+ 2860
+ 2861
+ 2862
2863
2864
2865
2891
2892
2893
+ 2894
+ 2895
+ 2896
+ 2897
+ 2898
+ 2899
+ 2900
+ 2901
+ 2902
+ 2903
+ 2904
2905
+ 2906
+ 2907
+ 2908
+ 2909
+ 2910
+ 2911
+ 2912
+ 2913
+ 2914
+ 2915
+ 2916
+ 2917
+ 2918
+ 2919
+ 2920
+ 2921
+ 2922
+ 2923
+ 2924
+ 2925
+ 2926
+ 2927
+ 2928
+ 2929
}
#box_article .innerbox .article_tags li a {
background-color: #f5f5f5;
padding: 5px 10px;
display: inline-block;
}
/* NewsSmall END */
/* News */
#box_articlelist .article_name {
font-weight: bold;
float: right;
}
#box_articlelist .innerbox .article_content .article_image, #box_article .innerbox .article_content .article_image {
float: left;
padding: 0 1.5em 1.5em 0;
}
#box_articlelist .innerbox .article_content .article_image {
margin: 0.5em 0;
}
#box_articlelist .innerbox .article_content .article_image, #box_article .innerbox .article_tags li {
display: inline-block;
padding: 0 0.2em;
}
/* News END */
/* Calendar */
#box_article_calendar .calendar {
width: 100%;
text-transform: uppercase;
}
#box_article_calendar .calendar thead td {
text-align: center;
font-size: 9px;
font-weight: bold;
padding: 0.6em 0.2em;
background-color: #f1f1f1;
}
#box_article_calendar .calendar td {
width: 14.3%;
padding: 0.3em 0;
color: #000;
}
#box_article_calendar .calendar tbody td:not(.calendar_empty) {
text-align: center;
}
#box_article_calendar .calendar tbody td.calendar_focused {
background: #d71715 url('../images/hbox_head.png') 0 -4px repeat-x;
}
#box_article_calendar .calendar tbody td.calendar_focused a {
Copyright © 2015 Shoper. All rights reserved.
Strona 70/74
+ 2930
+ 2931
+ 2932
+ 2933
+ 2934
+ 2935
+ 2936
+ 2937
+ 2938
+ 2939
+ 2940
+ 2941
+ 2942
+ 2943
+ 2944
+ 2945
+ 2946
+ 2947
+ 2948
+ 2949
+ 2950
+ 2951
+ 2952
+ 2953
2954
2955
2956
}
#box_article_calendar .calendar_nav {
margin-top: 1em;
text-transform: uppercase;
}
#box_article_calendar .calendar_nav .calendar_nav_prev {
display: inline-block;
}
#box_article_calendar .calendar_nav .calendar_nav_next {
display: inline-block;
float: right;
}
/* Calendar END */
/* NewsTagCloud */
#box_article_tagcloud .tagcloud li {
width: auto;
padding: 0 0.5em;
display: inline-block;
}
/* NewsTagCloud END */
/* NewsCategories */
/* NewsCategories END */
/* Pricelist */
* html #box_pricelist .floatfix {
display: none;
3142
3143
3144
+ 3145
3146
3147
3148
}
#box_order .innerbox dl.details {
clear: both;
overflow: hidden;
}
#box_order .innerbox dl.details dt {
font-weight: bold;
4138
4139
4140
+ 4141
+ 4142
+ 4143
+ 4144
+ 4145
+ 4146
+ 4147
+ 4148
+ 4149
.shop_basket_step3 .box_custom#order-summary-page {
display: block;
}
.notify {
padding: 0 0 0 10px;
}
.notify-related {
float: right;
}
.btn-notifier {
display: block;
clear: both;
color: #FFF;
text-decoration: none;
Copyright © 2015 Shoper. All rights reserved.
Strona 71/74
+ 4150
+ 4151
+ 4152
+ 4153
+ 4154
+ 4155
+ 4156
+ 4157
+ 4158
+ 4159
+ 4160
+ 4161
+ 4162
+ 4163
+ 4164
+ 4165
+ 4166
+ 4167
+ 4168
+ 4169
+ 4170
+ 4171
+ 4172
+ 4173
+ 4174
+ 4175
+ 4176
+ 4177
+ 4178
cursor: pointer;
}
.availabilitynotifer {
left: 50%;
top: 50%;
width: 350px;
margin-left: -175px;
height: 113px;
margin-top: -55px;
position: fixed;
}
.availabilitynotifer p {
margin: 15px 0;
}
.availabilitynotifer .button.important {
margin: 0 auto 5px;
}
#box_productfull .basket fieldset.availability-notifier-container,
#box_productfull .basket fieldset.availability-notifier-unsubscribe-container
text-align: left;
cursor: pointer;
}
.availability-notifier-btn {
color: #225593;
}
.availability-notifier-btn:hover {
text-decoration: underline;
}
; }
{
Pliki .less
Pliki .js
js/main.js
859
860
861
- 862
+ 862
+ 863
+ 864
+ 865
+ 866
867
} else {
return false;
};
}
};
Shop.productAvailability.condition = function() {
return $$('.availability-notifier-btn, .availability-notifier-unsubscribe-btn').length > 0;
};
Copyright © 2015 Shoper. All rights reserved.
Strona 72/74
868
869
934
935
936
- 937
+ 937
938
939
940
941
- 942
+ 942
943
944
945
957
958
959
- 960
+ 960
+ 961
+ 962
+ 963
+ 964
965
- 966
+ 962
963
964
965
996
997
998
- 999
+ 999
1000
1001
1002
Shop.basketHandler.condition = function() {
if(Shop.$chk($('box_basketlist'))) {
}
return false;
}
};
Shop.productVoter.condition = function() {
var span = $$('span.votestars')[0];
return !!(Shop.$chk(span) && span.get('id'));
}
};
Shop.stockDownloader.options = {
getstockurl : 'product/getstock/stock/{sid}/imgwidth/{imgwidth}/imgheight/{imgheight}',
smallgallery : '#box_productfull .smallgallery a img',
code : '#box_productfull .additionalinfo .code h2',
loyaltypts : '#box_productfull .loyalty_points .points',
exchangecheck : '#box_productfull .basket.loyaltyexchange'
exchangecheck : '#box_productfull .basket.loyaltyexchange',
availabilitynotifier: '#box_productfull form.basket fieldset.availability-notifier-container',
availabilitynotifier_btn: '#box_productfull form.basket .availability-notifier-btn',
availabilitynotifier_unsub: '#box_productfull form.basket fieldset.availability-notifier-unsubscribe-container',
availabilitynotifier_btn_unsub: '#box_productfull form.basket .availability-notifier-unsubscribe-btn',
}
}
};
Shop.stockHandler.condition = function() {
if(Shop.$chk(Shop.values.OptionCurrentStock)) {
}
Shop.pageSlider.condition = function() {
return !!( $$('.pageslider ul.slides li').length );
return !!( $$('.pageslider ul.slides').length );
}
Shop.breadcrumbsFitter.condition = function() {
1032
return !!( $$('.box-xhr').length || $('box_productfull'));
1033 }
1034
+ 1035 Shop.basketDeliveryPayment.condition = function() {
Copyright © 2015 Shoper. All rights reserved.
Strona 73/74
+ 1036
if(!!($$('.delivery').length && $$('.payment').length)) {
+ 1037
Shop.basketDeliveryPayment.options = {
+ 1038
selectors: {
+ 1039
deliveryCheckboxList: '.productlist .delivery input[name=shipping_id]',
+ 1040
summaryTotalPrice: '.productlist .sum .value'
+ 1041
}
+ 1042
}
+ 1043
return true;
+ 1044
} else {
+ 1045
return false;
+ 1046
}
+ 1047 }
+ 1048
1049 Shop.useroptions.slider = {
1050
fadearrows : false,
1051
automove : 4000
Copyright © 2015 Shoper. All rights reserved.
Strona 74/74

Podobne dokumenty