Zmiany w plikach graficznych – styl standardowy

Transkrypt

Zmiany w plikach graficznych – styl standardowy
Dokumentacja zmian plików graficznych: home basic
Wersja zmian: 1.6.0 - 1.6.1
Pliki .tpl
boxes/Currencies/box.tpl
8
9
10
- 11
- 12
+ 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}
{switch expr=$boxNs->$box_id->format}
{case expr=1}
{if $boxNs->$box_id->format == 1}
<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}
16
17
18
- 19
- 20
+ 19
20
21
22
27
28
29
- 30
- 31
+ 30
31
32
33
} value="{url}?currency={$cur|escape}">{$desc|escape}</option>
{/foreach}
</select>
{/case}
{case expr=2}
{elseif $boxNs->$box_id->format == 2}
<ul class="listwithicons">
{foreach from=$boxNs->$box_id->list item=desc key=cur}
<li{if $cur == $boxNs->$box_id->currency} class="selected"{/if
</li>
{/foreach}
</ul>
{/case}
{/switch}
{/if}
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
boxes/LanguageList/box.tpl
8
9
<div class="innerbox">
<div class="leftside"></div>
Strona 1/8
10
- 11
- 12
+ 11
12
13
14
15
16
17
- 18
- 19
+ 18
19
20
21
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
{switch expr=$boxNs->$box_id->format}
{case expr=1}
{if $boxNs->$box_id->format == 1}
<label class="singleselect" for="box_languages_select">{translate key="Select a language"}</label>
<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>
{/foreach}
</select>
{/case}
{case expr=2}
{elseif $boxNs->$box_id->format == 2}
<ul class="listwithicons">
{foreach from=$boxNs->$box_id->list item=language}
<li{if $language->name == $boxNs->$box_id->language} class="selected"{/if
26
27
28
- 29
- 30
+ 29
30
31
32
39
40
41
- 42
- 43
+ 42
43
44
45
</li>
{/foreach}
</ul>
{/case}
{case expr=3}
{elseif $boxNs->$box_id->format == 3}
<div class="floatcenterwrap">
<ul class="icons floatcenter">
{foreach from=$boxNs->$box_id->list item=language}
</ul>
</div>
<div class="floatfix"></div>
{/case}
{/switch}
{/if}
<div class="rightside"></div>
</div>
<div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div>
boxes/Pricelist/box.tpl
9
10
11
- 12
- 13
+ 12
13
14
<div class="innerbox">
<div class="leftside"></div>
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
{switch expr=$boxNs->$box_id->format}
{case expr=1}
{if $boxNs->$box_id->format == 1}
<div class="floatcenterwrap">
<ul class="icons floatcenter">
Strona 2/8
15
{if 1 == $boxNs->$box_id->html}
30
31
32
- 33
- 34
+ 33
34
35
36
49
50
51
- 52
- 53
+ 52
53
54
55
{/if}
</ul>
</div>
{/case}
{case expr=2}
{elseif $boxNs->$box_id->format == 2}
<ul class="listwithicons">
{if 1 == $boxNs->$box_id->html}
<li class="html">
</li>
{/if}
</ul>
{/case}
{/switch}
{/if}
<div class="floatfix"></div>
<div class="rightside"></div>
</div>
scripts/product/index.tpl
188
189
190
- 191
- 192
+ 191
192
193
194
- 195
- 196
+ 195
196
197
198
199
200
- 201
- 202
+ 201
{$option.name|escape}:
</label>
</td>
{switch expr=$option.type}
{case expr='file'}
{if $option.type == 'file'}
<td class="option_{$option.type|escape}{if 1 == $option.stock} option_t
ruestock{/if}{if 1 == $option.required} option_required{/if}">
<input type="file" id="option_{$option.id|escape}" name="option_{$o
ption.id|escape}"/>
</td>
{/case}
{case expr='text'}
{elseif $option.type == 'text'}
<td class="option_{$option.type|escape}{if 1 == $option.stock} option_t
ruestock{/if}{if 1 == $option.required} option_required{/if}">
<div class="shaded_inputwrap inputwrap">
<input type="text" id="option_{$option.id|escape}" name="option
_{$option.id|escape}" value="" />
</div>
</td>
{/case}
{case expr='checkbox'}
{elseif $option.type == 'checkbox'}
Strona 3/8
202
<td class="option_{$option.type|escape}{if 1 == $option.stock} option_t
ruestock{/if}{if 1 == $option.required} option_required{/if}">
203
<input type="checkbox" id="option_{$option.id|escape}" name="option
_{$option.id|escape}" value="1" />
204
- 205
- 206
+ 205
206
</td>
{/case}
{case expr='radio'}
{elseif $option.type == 'radio'}
<td class="option_{$option.type|escape}{if 1 == $option.stock} option_t
ruestock{/if}{if 1 == $option.required} option_required{/if}">
207
208
215
{foreach from=$option.values item=value}
<input type="radio" id="option_{$option.id|escape}_{$value.id|e
scape}" name="option_{$option.id|escape}" value="{$value.id|escape}" />
<label for="option_{$option.id|escape}_{$value.id|escape}">{$va
lue.name|escape}</label> <br />
{/foreach}
</td>
{/case}
{case expr='color'}
{elseif $option.type == 'color'}
<td class="option_{$option.type|escape}{if 1 == $option.stock} option_t
ruestock{/if}{if 1 == $option.required} option_required{/if}">
<select id="option_{$option.id|escape}" name="option_{$option.id|es
cape}">
<option value="" title="">{translate key='(select)'}</option>
218
219
220
- 221
- 222
+ 221
222
{/foreach}
</select>
</td>
{/case}
{case expr='select'}
{elseif $option.type == 'select'}
<td class="option_{$option.type|escape}{if 1 == $option.stock} option_t
209
210
211
- 212
- 213
+ 212
213
214
ruestock{/if}{if 1 == $option.required} option_required{/if}">
223
<select id="option_{$option.id|escape}" name="option_{$option.id|es
cape}">
224
229
230
231
- 232
- 233
+ 232
233
234
235
{if 0 == $option.stock}
{/foreach}
</select>
</td>
{/case}
{/switch}
{/if}
</tr>
{/foreach}
</tbody>
Strona 4/8
262
263
264
- 265
+ 265
{/if}
</fieldset>
{if $enable_availability_notifier}
{if $enable_availability_notifier && ($product->isEnabledNotifier() || ($product->produ
ct->group_id && count($options)))}
266
267
{dynamic}
{assign var="availabilityNotifyUser" value=$product->defaultStock->getAvailabil
ityNotifyByUser()}
268
<fieldset class="availability-notifier-container{if $availabilityNotifyUser !=
null || 1 == (int) $product->defaultStock->availability->availability->can_buy} none{/if}">
scripts/product/list.tpl
51
52
53
- 54
- 55
+ 54
55
e}{/if}" title="{translate
56
e}{/if}" title="{translate
- 57
- 58
+ 57
58
e}{/if}" title="{translate
59
e}{/if}" title="{translate
- 60
- 61
+ 60
61
e}{/if}" title="{translate
62
e}{/if}" title="{translate
- 63
- 64
+ 63
64
e}{/if}" title="{translate
65
e}{/if}" title="{translate
- 66
- 67
+ 66
67
e}{/if}" title="{translate
68
{if true == $sort_links}
<span class="sortlinks">
{translate key="Sort by"}:
{switch expr=$sort}
{case expr=1}
{if $sort == 1}
<a href="{array __key=urlOptions sort=2}{url urlOptions=$urlOptions}{if
key="Sort by name descending"}"><b>&#x25b2; {translate key="Product name"}</b></a> |
<a href="{array __key=urlOptions sort=3}{url urlOptions=$urlOptions}{if
key="Sort by price ascending"}">{translate key="Price"}</a>
{/case}
{case expr=2}
{elseif $sort == 2}
<a href="{array __key=urlOptions sort=1}{url urlOptions=$urlOptions}{if
key="Sort by name ascending"}"><b>&#x25bc; {translate key="Product name"}</b></a> |
<a href="{array __key=urlOptions sort=3}{url urlOptions=$urlOptions}{if
key="Sort by price ascending"}">{translate key="Price"}</a>
{/case}
{case expr=3}
{elseif $sort == 3}
<a href="{array __key=urlOptions sort=1}{url urlOptions=$urlOptions}{if
key="Sort by name ascending"}">{translate key="Product name"}</a> |
<a href="{array __key=urlOptions sort=4}{url urlOptions=$urlOptions}{if
key="Sort by price descending"}"><b>&#x25b2; {translate key="Price"}</b></a>
{/case}
{case expr=4}
{elseif $sort == 4}
<a href="{array __key=urlOptions sort=1}{url urlOptions=$urlOptions}{if
key="Sort by name ascending"}">{translate key="Product name"}</a> |
<a href="{array __key=urlOptions sort=3}{url urlOptions=$urlOptions}{if
key="Sort by price ascending"}"><b>&#x25bc; {translate key="Price"}</b></a>
{/case}
{case expr=5}
{elseif $sort == 5}
<a href="{array __key=urlOptions sort=1}{url urlOptions=$urlOptions}{if
key="Sort by name ascending"}">{translate key="Product name"}</a> |
<a href="{array __key=urlOptions sort=3}{url urlOptions=$urlOptions}{if
$google}?{$google|escap
$google}?{$google|escap
$google}?{$google|escap
$google}?{$google|escap
$google}?{$google|escap
$google}?{$google|escap
$google}?{$google|escap
$google}?{$google|escap
$google}?{$google|escap
$google}?{$google|escap
Strona 5/8
- 69
- 70
+ 69
70
71
72
e}{/if}" title="{translate key="Sort by price ascending"}">{translate key="Price"}</a>
{/case}
{/switch}
{/if}
</span>
{/if}
scripts/product/tableofproducts.tpl
43
44
45
- 46
- 47
- 48
+ 46
+ 47
+ 48
49
50
51
{/if}
<fieldset>
{if true == $product->defaultStockOnly()}
<div class="shaded_inputwrap"><input name="quantity" value="{float
precision=$QUANTITY_PRECISION value=1 trim=true}" type="text" class="short center" /></div>
<span class="unit">{$product->unit->translation->name|escape}</span
>
<input type="hidden" value="{$product->defaultStock->getIdentifier(
)|escape}" name="stock_id" />
<div class="shaded_inputwrap"><input name="quantity" value="{fl
oat precision=$QUANTITY_PRECISION value=1 trim=true}" type="text" class="short center" /></div>
<span class="unit">{$product->unit->translation->name|escape}</
span>
<input type="hidden" value="{$product->defaultStock->getIdentif
ier()|escape}" name="stock_id" />
{/if}
<button class="addtobasket" type="submit">
<img src="{baseDir}/public/images/1px.gif" alt="" class="px1" /
>
56
57
58
- 59
- 60
</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
+ 59
+ 60
+ 61
<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}
{assign var="availabilityNotifyUser" value=$product->defaultStock->getAvail
abilityNotifyByUser()}
<a class="availability-notifier-unsubscribe-btn btn-notifier{if !$availabil
ityNotifyUser} none{/if}" data-stock-id="{$product->defaultStock->stock->stock_id}">
<span>{translate key="Cancel notify"}</span>
Strona 6/8
+ 62
+ 63
+ 64
+ 65
+ 66
67
68
69
</a>
<a class="availability-notifier-btn btn-notifier{if $availabilityNotifyUser
} none{/if}" data-is-logged="{if true == $user_logged}true{else}false{/if}" data-stock-id="{$product->defaultStock->getIdentifier()}" da
ta-product-id="{$product->product->product_id}" data-product-name="{$product->translation->name}">
<span>{translate key="Notify of product availability"}</span>
</a>
</div>
{/if}
169
170
171
- 172
- 173
{/if}
{/if}
{if $availabilityNotifyUser}
<a class="availability-notifier-unsubscribe-btn btn-notifier" data-stock-id
="{$product->defaultStock->stock->stock_id}">
- 174
- 175
- 176
- 177
- 178
- 179
+ 172
+ 173
+ 174
+ 175
+ 176
+ 177
+ 178
+ 179
+ 180
+ 181
+ 182
183
184
185
<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}">
<span>{translate key="Notify of product availability"}</span>
</a>
{if $enable_availability_notifier && $product->isEnabledNotifier()}
{assign var="availabilityNotifyUser" value=$product->defaultStock->getAvail
abilityNotifyByUser()}
<div class="notify">
<a class="availability-notifier-unsubscribe-btn btn-notifier{if !$avail
abilityNotifyUser} none{/if}" data-stock-id="{$product->defaultStock->stock->stock_id}">
<span>{translate key="Cancel notify"}</span>
</a>
<a class="availability-notifier-btn btn-notifier{if $availabilityNotify
User} none{/if}" data-is-logged="{if true == $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>
</div>
{/if}
{if $loyalty_exchange || ($enable_availability_notifier && $product->isEnabledN
otifier()) || $showprices}
Pliki .css
styles/main.css
Strona 7/8
3517
3518
3519
+ 3520
+ 3521
+ 3522
+ 3523
+ 3524
+ 3525
+ 3526
.availabilitynotifer .button.important {
margin: 0 auto 5px;
}
.availability-notifier-container a {
background: url('../images/menu_subdot.png') left 3px no-repeat;
cursor: pointer;
color: #82417a;
font-weight: bold;
padding-left: 10px;
}
Pliki .less
Strona 8/8

Podobne dokumenty