OXID eShop CE 4.10.1 tpl/widget/promoslider.tpl 
[{block name="dd_widget_promoslider"}]
[{assign var="oBanners" value=$oView->getBanners()}]
[{assign var="currency" value=$oView->getActCurrency()}]
[{if $oBanners|@count}]
[{oxscript include="js/libs/jquery.flexslider.min.js" priority=2}]
[{oxstyle include="css/libs/jquery.flexslider.min.css"}]
<div id="promo-carousel" class="flexslider">
10  <ul class="slides">
11  [{block name="dd_widget_promoslider_list"}]
12  [{foreach from=$oBanners key="iPicNr" item="oBanner" name="promoslider"}]
13  [{assign var="oArticle" value=$oBanner->getBannerArticle()}]
14  [{assign var="sBannerPictureUrl" value=$oBanner->getBannerPictureUrl()}]
15  [{if $sBannerPictureUrl}]
16  <li class="item">
17  [{assign var="sBannerLink" value=$oBanner->getBannerLink()}]
18  [{if $sBannerLink}]
19  <a href="[{$sBannerLink}]" title="[{$oBanner->oxactions__oxtitle->value}]">
20  [{/if}]
21 
22  <img src="[{$sBannerPictureUrl}]" alt="[{$oBanner->oxactions__oxtitle->value}]" title="[{$oBanner->oxactions__oxtitle->value}]">
23 
24  [{if $sBannerLink}]
25  </a>
26  [{/if}]
27  [{if $oViewConf->getViewThemeParam('blSliderShowImageCaption') && $oArticle}]
28  <p class="flex-caption">
29  [{if $sBannerLink}]
30  <a href="[{$sBannerLink}]" title="[{$oBanner->oxactions__oxtitle->value}]">
31  [{/if}]
*** 
32  <span class="title">[{$oArticle->oxarticles__oxtitle->value}]</span>[{if $oArticle->oxarticles__oxshortdesc->value|@trim}]<br/><span class="shortdesc">[{$oArticle->oxarticles__oxshortdesc->value|@trim}]</span>[{/if}]
33  [{if $sBannerLink}]
34  </a>
35  [{/if}]
36  </p>
37  [{/if}]
38  </li>
39  [{/if}]
40  [{/foreach}]
41  [{/block}]
42  </ul>
43  </div>
44  [{/if}]
45 [{/block}]
 
1 lines changed or deleted