Revision`s Differences
Transkrypt
Revision`s Differences
Dokumentacja zmian plików graficznych Wersja zmian: 5.0.21 - 5.1.0 Pliki .tpl boxes/Login/box.tpl 9 10 11 - 12 + 12 13 14 15 <div class="leftside"></div> {if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if} {if false == $user_logged} <form action="{route key='login'}" method="post"> <form action="{route key='login' full=true ssl=true}" method="post"> <fieldset> {include file='formantispam.tpl'} <label for="mail_input">{translate key="E-mail"}:</label> boxes/FacebookLike/box.tpl +1 +2 +3 +4 +5 +6 +7 +8 +9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 {if $boxNs->$box_id->pageid > 0} <div class="box" id="box_facebooklike"> <script type="text/javascript"> window.addEvent('domready', function(e) {literal}{{/literal} w = $('box_facebooklike').getSize().x; h = {if 1 == (int) $boxNs->$box_id->stream}600{else}300{/if}; $('box_facebooklike').set('html', '<iframe class="facebook fb_likebox" ' + 'src="https://www.facebook.com/plugins/likebox.php?href=' + escape('http://www.facebook.com/profile.php?id={$boxNs->$box_id->pageid|escape}') + '&width=' + w + '&colorscheme={$boxNs->$box_id->format|escape}' + '&show_faces=true&stream={if 1 == (int) $boxNs->$box_id->stream}true{else}false{/if}' + '&header=true&height=' + h + '&font=tahoma&locale={lang key='long'}" ' + 'scrolling="no" frameborder="0" style="border:none; overflow: hidden; width: ' + w + 'px; height:' + h + 'px;" allowTransparency="true"></iframe>'); {literal}}{/literal}); </script> </div> {/if} scripts/product/index.tpl 175 176 177 </button> </fieldset> </form> Copyright© Shoper.pl 2011. All rights reserved. Strona 1/11 + 178 179 + 180 + 181 + 182 {if 1 == $skin_settings->productdetails->fb_send || 1 == $skin_settings->productdetails->fb_like} <div class="fb_buttons"> {if 1 == $skin_settings->productdetails->fb_send} <fb:send href="{route full=true function='product' key=$product->product->product_id productName=$product->translati on->name productId=$product->product->product_id}" font="tahoma"></fb:send> + 183 {/if} + 185 184 {if 1 == $skin_settings->productdetails->fb_like} + 186 <fb:like href="{route full=true function='product' key=$product->product->product_id productName=$product->translati on->name productId=$product->product->product_id}" send="false" layout="button_count" show_faces="true" width="110" font="tahoma"></fb:l ike> + 187 {/if} + 188 </div> + 189 {/if} 190 </td> 191 </tr> 192 </table> 471 472 473 + 474 + 475 + 476 + 477 478 479 480 </div> {/if} {if 1 == $skin_settings->productdetails->fb_chat} <div class="box" id="box_facebookchat"></div> {/if} {else} <div class="error_message flash_message"> <div class="container"> scripts/product/searchbox.tpl 16 17 18 - 19 + 19 20 21 22 dy> <tr> 34 35 36 - 37 + 37 38 39 40 </tr> <tr> <td> <td class="label"> <label for="search2">{translate key="Price:"}</label> </td> <td> 45 46 47 - 48 </tr> <tr> <td> <td> <td class="label"> <label for="search1">{translate key="Name or description:"}</label> </td> <td> Copyright© Shoper.pl 2011. All rights reserved. Strona 2/11 + 48 49 50 51 <td class="label"> <label for="search3">{translate key="Manufacturer:"}</label> </td> <td> 60 61 62 - 63 + 63 64 65 66 </tr> <tr> <td> <td class="label"> <label for="search4">{translate key="Category:"}</label> </td> <td> 75 76 77 - 78 + 78 79 80 81 </tr> <tr> <td> <td class="label"> <label for="search5">{translate key="Only products in promotion"}</label> </td> <td> scripts/header.tpl 1 -2 +2 3 4 5 48 49 50 + 51 + 52 + 53 54 55 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/f bml"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=9" /> </style> {if true == $user_js} <script type="text/javascript" src="{$path}js/user.js"></script> {/if} {if count($opengraph_header)}{foreach from=$opengraph_header item=v key=k}{if strlen($v)} <meta property="og:{$k|escape}" content="{$v|escape}" /> {/if}{/foreach}{/if} {$snippet_head} </head> scripts/error/not-found.tpl +1 +2 +3 +4 {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'} Copyright© Shoper.pl 2011. All rights reserved. Strona 3/11 +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 <div class="main"> <table class="innermain pagewidth"> <tbody> <tr> {if 0 < (int) $layout->layout->left_col_width} <td class="leftcol leftcolwidth"> {dynamic} {foreach from=$boxes_left_side item=v key=k} {box file="../boxes/$v/box.tpl" box="$k"} {/foreach} {/dynamic} </td> {/if} <td class="centercol"> {dynamic} {include file='flash_messages.tpl'} {/dynamic} {dynamic} {foreach from=$boxes_top_side item=v key=k} {box file="../boxes/$v/box.tpl" box="$k"} {/foreach} {/dynamic} <div class="box" id="box_404"> <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> <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> <form action="{route key='search'}" method="post"> <fieldset> {include file='formantispam.tpl'} <div class="inputwrap"> <input type="text" name="search" value="{translate key='search in the shop...'}" class="fadingt ext" /> + 48 + 49 + 50 + 51 + 52 + 53 </div> <button class="button" type="submit"> <img src="{baseDir}/public/images/1px.gif" alt="" /> <span>{translate key='Search'}</span> </button> </fieldset> Copyright© Shoper.pl 2011. All rights reserved. Strona 4/11 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 89 90 91 92 93 94 </form> <p><a href="{baseDir}" title="">{translate key="or go to main page"} »</a></p> <div class="rightside"></div> </div> <div class="bottombar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div> </div> {dynamic} {foreach from=$boxes_bottom_side item=v key=k} {box file="../boxes/$v/box.tpl" box="$k"} {/foreach} {/dynamic} </td> {if 0 < (int) $layout->layout->right_col_width} <td class="rightcol rightcolwidth"> {dynamic} {foreach from=$boxes_right_side item=v key=k} {box file="../boxes/$v/box.tpl" box="$k"} {/foreach} {/dynamic} </td> {/if} </tr> </tbody> </table> </div> {include file='footer.tpl' force_include_cache='1' force_include_cache_tags='Logic_SkinFooterGroupList,Logic_SkinFooterLinkList,Logic_S kinFooterGroup,Logic_SkinFooterLink'} </body> </html> Zmiany atrybutw dla: scripts/error/not-found.tpl ___________________________________________________________________ Dodane: svn:executable + * scripts/footer.tpl 23 24 25 + 26 + 27 + 28 </div> {/if} {if $xfbml} <script type="text/javascript"> if($('box_facebookchat')) $('box_facebookchat').set('html', '<fb:comments width="' + $('box_facebookchat').getSize().x + '" hre f="{route full=true function='product' key=$product->product->product_id productName=$product->translation->name productId=$product->pro Copyright© Shoper.pl 2011. All rights reserved. Strona 5/11 + 29 + 30 + 31 + 32 + 33 34 35 duct->product_id}" num_posts="10"></fb:comments>'); </script> <div id="fb-root"></div> <script src="//connect.facebook.net/{lang key='long'}/all.js#xfbml=1"></script> {/if} {$snippet_body} </div> scripts/index/index.tpl 32 33 34 - 35 + 35 36 37 38 {include file='news/listofarticles.tpl'} {/if} {if 'products' == $skin_settings->main->mode} {if 'products' == $skin_settings->main->mode && count($products)} <div class="box" id="box_mainproducts"> <div class="topbar"> <div class="leftcorner"></div> <div class="rightcorner"></div> </div> <div class="boxhead"> scripts/off/index.tpl 7 8 9 - 10 + 10 11 12 13 <div class="innerbox"> <div class="leftside"></div> {if $msg} <p>{$msg|escape}</p> <p>{$msg|escape|nl2br}</p> {else} <p>{translate key='Shop closed by the administrator.'}</p> {/if} Pliki .css styles/main.css 1843 1844 1845 + 1846 + 1847 + 1848 + 1849 + 1850 1851 + 1852 + 1853 + 1854 + 1856 1855 + 1857 padding-left: 40px; } #box_404 .innerbox form { clear: both; margin: 10px 0; } #box_404 .innerbox form button { float: left; margin: 2px 10px; } #box_404 .innerbox div.inputwrap { background: url('../images/input_search.png') 0 0 no-repeat; Copyright© Shoper.pl 2011. All rights reserved. Strona 6/11 + 1858 + 1859 + 1860 + 1861 + 1862 1863 + 1864 1865 1866 1867 1868 1869 + 1870 1871 1872 1873 1874 1875 + 1876 1877 1878 1879 } * html #box_search .innerbox div.inputwrap, * html #box_404 .innerbox div.inputwrap, * html #box_newsletter .innerbox div.inputwrap { /* IE6 */ background-position-y: 1px; } *:first-child+html #box_search .innerbox div.inputwrap, *:first-child+html #box_404 *:first-child+html #box_newsletter .innerbox div.inputwrap { /* IE7 */ background-position-y: 1px; } #box_search .innerbox div.inputwrap input, #box_404 .innerbox div.inputwrap input, #box_newsletter .innerbox div.inputwrap input { height: 33px; padding: 0; 1865 1866 1867 - 1868 + 1868 1869 1870 1871 - 1872 + 1872 1873 1874 1875 1876 1877 + 1878 + 1879 + 1880 + 1881 + 1882 + 1883 1884 1885 1886 z-index: 1; } #box_search .innerbox div.inputwrap input { #box_search .innerbox div.inputwrap input, #box_404 .innerbox div.inputwrap input { background: url('../images/input_search.png') no-repeat right 0; } #box_search .innerbox div.inputwrap input, x:-moz-any-link { /* Fx */ #box_search .innerbox div.inputwrap input, x:-moz-any-link { /* Fx */ padding: 10px 0 10px 0; line-height: 28px; height: auto; } #box_404 .innerbox div.inputwrap input, x:-moz-any-link { /* Fx */ padding: 10px 0 10px 0; line-height: 28px; height: auto; } #box_newsletter .innerbox div.inputwrap input, x:-moz-any-link { /* Fx */ padding: 10px 0 10px 0; line-height: 28px; 4103 4104 + 4102 4105 4106 + 4107 + 4108 + 4109 + 4110 4111 + 4112 padding-left: 40px; width: 200px; float: left; /* Facebook */ #box_facebooklike { margin: 6px 3px 0; } #box_facebooklike iframe { background: url("../images/box_inner.png") repeat-x 0 0 #fff; Copyright© Shoper.pl 2011. All rights reserved. Strona 7/11 + 4113 4114 + 4115 + 4116 + 4117 + 4118 + 4119 4120 + 4121 + 4122 + 4123 + 4124 + 4125 4126 + 4127 + 4128 + 4129 + 4130 + 4131 4132 + 4133 4134 + 4135 + 4136 + 4137 + 4138 + 4139 + 4140 + 4141 4142 4143 4144 4290 4291 - 4292 4293 + 4293 4294 4295 4296 - 4297 + 4297 4298 4299 4300 4301 4302 4303 - 4304 + 4304 4305 4306 4307 4308 - 4309 + 4309 4310 4311 } #box_productfull .fb_buttons { display: block; margin: 5px auto; width: 170px; } #box_facebookchat { margin: 5px 3px; border-left: 1px solid #aaa; border-right: 1px solid #aaa; } #box_facebookchat > *{ border-top: 1px solid #315c99; border-bottom: 1px solid #aaa; background: #fff; } /* Facebook END */ /* Messages */ .main .flash_message { /* Page Slider */ #box_slider .pageslider { .pageslider { position: relative; } #box_slider .pageslider ul.slides { .pageslider ul.slides { position: relative; display: block; left: 0; overflow: hidden; } #box_slider .pageslider ul.slides li { .pageslider ul.slides li { float: left; padding: 0 20px 0 0; } #box_slider .pageslider ul.pages { .pageslider ul.pages { position: absolute; height: 28px; Copyright© Shoper.pl 2011. All rights reserved. Strona 8/11 4312 4313 4314 - 4315 + 4315 4316 4317 4318 4319 - 4320 + 4320 4321 4322 4323 4324 4325 - 4326 4327 + 4327 4328 4329 4330 - 4331 + 4331 4332 4333 4334 - 4335 + 4335 4336 4337 4338 - 4339 + 4339 4340 4341 - 4342 4343 + 4343 4344 4345 4346 bottom: 0; } #box_slider .pageslider ul.pages li { .pageslider ul.pages li { float: left; padding: 2px 0px; } #box_slider .pageslider.bullets ul.pages li a { .pageslider.bullets ul.pages li a { display: block; width: 24px; height: 24px; background: url('../images/dot.png') transparent 0 0 no-repeat; } #box_slider .pageslider.bullets ul.pages li a:hover { .pageslider.bullets ul.pages li a:hover { background-image: url('../images/dot_over.png'); } #box_slider .pageslider.bullets ul.pages li.current a { .pageslider.bullets ul.pages li.current a { background-image: url('../images/dot_active.png'); } #box_slider .pageslider.bullets ul.pages li span { .pageslider.bullets ul.pages li span { display: none; } #box_slider .pageslider.numbers ul.pages li { .pageslider.numbers ul.pages li { background: #fff; } #box_slider .pageslider.numbers ul.pages li a { .pageslider.numbers ul.pages li a { display: block; min-width: 16px; width: auto; 4349 4350 4351 - 4352 + 4352 4353 4354 4355 - 4356 + 4356 4357 4358 - 4359 4360 + 4360 margin: 2px 4px 2px 0; } #box_slider .pageslider.numbers ul.pages li:first-child a { .pageslider.numbers ul.pages li:first-child a { margin-left: 4px; } * html #box_slider .pageslider.numbers ul.pages li a { * html .pageslider.numbers ul.pages li a { width: 16px; } #box_slider .pageslider.numbers ul.pages li span { .pageslider.numbers ul.pages li span { Copyright© Shoper.pl 2011. All rights reserved. Strona 9/11 4361 4362 4363 4367 4368 4369 - 4370 + 4370 4371 4372 4373 4374 4375 4376 - 4377 + 4377 4378 4379 4380 font-size: 11px; display: block; margin: 0 auto; top: 1px; } #box_slider .pageslider.numbers ul.pages li.current a { .pageslider.numbers ul.pages li.current a { background: none #df0000; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d70f0f', endColorstr='#ec6724'); background: -webkit-gradient(linear, center top, center bottom, from(#d70f0f), to(#ec6724)); background: -moz-linear-gradient(center top, #d70f0f, #ec6724); } #box_slider .pageslider.numbers ul.pages li.current a span { .pageslider.numbers ul.pages li.current a span { font-weight: bold; color: #fff; } 4456 background: #fff; 4457 cursor: move; 4458 border: 1px solid #e1e1e1; + 4459 overflow: hidden; 4460 } 4461 4462 .imagezoom_transbox { Pliki .js js/main.js 671 672 673 - 674 675 676 677 678 + 679 + 680 + 681 + 682 + 683 + 684 + 685 + 686 + 687 + 688 fadearrows : false } Shop.pageSlider.condition = function() { return !!( $$('.pageslider ul.slides li').length > 0 ); } Shop.breadcrumbsFitter.condition = function() { if(!!( $$('.breadcrumbs ul.path li').length > 2 )) { Shop.breadcrumbsFitter.options = { dots_tag : 'li', dots_class : 'dots', dots_html : '<span>...</span><img alt="" src="' + this.url('public/images/1px.gif') + '" />' } return true; } else { return false; Copyright© Shoper.pl 2011. All rights reserved. Strona 10/11 + 689 + 690 691 692 693 } } 686 687 688 + 689 690 window.addEvent('domready', function() { 691 if(!$chk(Shop.useroptions.prevent) || true != Shop.useroptions.prevent) { 692 window.ShopInstance = new Shop(); Copyright© Shoper.pl 2011. All rights reserved. Strona 11/11