First upload
This commit is contained in:
251
shop/source/Application/views/flow/tpl/layout/base.tpl
Normal file
251
shop/source/Application/views/flow/tpl/layout/base.tpl
Normal file
@@ -0,0 +1,251 @@
|
||||
[{* Important ! render page head and body to collect scripts and styles *}]
|
||||
[{capture append="oxidBlock_pageHead"}]
|
||||
[{strip}]
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" id="Viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
|
||||
|
||||
[{assign var=sPageTitle value=$oView->getPageTitle()}]
|
||||
<title>[{block name="head_title"}][{$sPageTitle}][{/block}]</title>
|
||||
|
||||
[{block name="head_meta_robots"}]
|
||||
[{if $oView->noIndex() == 1}]
|
||||
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
|
||||
[{elseif $oView->noIndex() == 2}]
|
||||
<meta name="ROBOTS" content="NOINDEX, FOLLOW">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="head_meta_description"}]
|
||||
[{if $oView->getMetaDescription()}]
|
||||
<meta name="description" content="[{$oView->getMetaDescription()}]">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="head_meta_keywords"}]
|
||||
[{if $oView->getMetaKeywords()}]
|
||||
<meta name="keywords" content="[{$oView->getMetaKeywords()}]">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="head_meta_open_graph"}]
|
||||
<meta property="og:site_name" content="[{$oViewConf->getBaseDir()}]">
|
||||
<meta property="og:title" content="[{$sPageTitle}]">
|
||||
<meta property="og:description" content="[{$oView->getMetaDescription()}]">
|
||||
[{if $oViewConf->getActiveClassName() == 'details'}]
|
||||
<meta property="og:type" content="product">
|
||||
<meta property="og:image" content="[{$oView->getActPicture()}]">
|
||||
<meta property="og:url" content="[{$oView->getCanonicalUrl()}]">
|
||||
[{else}]
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:image" content="[{$oViewConf->getImageUrl('basket.png')}]">
|
||||
<meta property="og:url" content="[{$oViewConf->getCurrentHomeDir()}]">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var="canonical_url" value=$oView->getCanonicalUrl()}]
|
||||
[{block name="head_link_canonical"}]
|
||||
[{if $canonical_url}]
|
||||
<link rel="canonical" href="[{$canonical_url}]">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="head_link_hreflang"}]
|
||||
[{if $oView->isLanguageLoaded()}]
|
||||
[{assign var="oConfig" value=$oViewConf->getConfig()}]
|
||||
[{foreach from=$oxcmp_lang item=_lng}]
|
||||
[{if $_lng->id == $oConfig->getConfigParam('sDefaultLang')}]
|
||||
<link rel="alternate" hreflang="x-default" href="[{$_lng->link}]"/>
|
||||
[{/if}]
|
||||
<link rel="alternate" hreflang="[{$_lng->abbr}]" href="[{$_lng->link|oxaddparams:$oView->getDynUrlParams()}]"/>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var="oPageNavigation" value=$oView->getPageNavigation()}]
|
||||
[{if $oPageNavigation}]
|
||||
[{if $oPageNavigation->previousPage}]
|
||||
<link rel="prev" href="[{$oPageNavigation->previousPage}]">
|
||||
[{/if}]
|
||||
[{if $oPageNavigation->nextPage}]
|
||||
<link rel="next" href="[{$oPageNavigation->nextPage}]">
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="head_link_favicon"}]
|
||||
[{assign var="sFavicon512File" value=$oViewConf->getViewThemeParam('sFavicon512File')}]
|
||||
[{if $sFavicon512File}]
|
||||
<!-- iOS Homescreen Icon (version < 4.2)-->
|
||||
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 163dpi)" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
<!-- iOS Homescreen Icon -->
|
||||
<link rel="apple-touch-icon-precomposed" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
|
||||
<!-- iPad Homescreen Icon (version < 4.2) -->
|
||||
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 132dpi)" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
<!-- iPad Homescreen Icon -->
|
||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
|
||||
<!-- iPhone 4 Homescreen Icon (version < 4.2) -->
|
||||
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 326dpi)" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
<!-- iPhone 4 Homescreen Icon -->
|
||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
|
||||
<!-- new iPad Homescreen Icon and iOS Version > 4.2 -->
|
||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
|
||||
<!-- Windows 8 -->
|
||||
[{assign var="sFaviconMSTileColor" value=$oViewConf->getViewThemeParam('sFaviconMSTileColor')}]
|
||||
[{if $sFaviconMSTileColor}]
|
||||
<meta name="msapplication-TileColor" content="[{$sFaviconMSTileColor}]"> <!-- Kachel-Farbe -->
|
||||
[{/if}]
|
||||
<meta name="msapplication-TileImage" content="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]">
|
||||
|
||||
<!-- Fluid -->
|
||||
<link rel="fluid-icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" title="[{$sPageTitle}]" />
|
||||
[{/if}]
|
||||
|
||||
<!-- Shortcut Icons -->
|
||||
[{assign var="sFaviconFile" value=$oViewConf->getViewThemeParam('sFaviconFile')}]
|
||||
[{assign var="sFavicon16File" value=$oViewConf->getViewThemeParam('sFavicon16File')}]
|
||||
[{assign var="sFavicon32File" value=$oViewConf->getViewThemeParam('sFavicon32File')}]
|
||||
[{assign var="sFavicon48File" value=$oViewConf->getViewThemeParam('sFavicon48File')}]
|
||||
[{assign var="sFavicon64File" value=$oViewConf->getViewThemeParam('sFavicon64File')}]
|
||||
[{assign var="sFavicon128File" value=$oViewConf->getViewThemeParam('sFavicon128File')}]
|
||||
|
||||
[{if $sFaviconFile}]
|
||||
<link rel="shortcut icon" href="[{$oViewConf->getImageUrl("favicons/`$sFaviconFile`")}]?rand=1" type="image/x-icon" />
|
||||
[{/if}]
|
||||
[{if $sFavicon16File}]
|
||||
<link rel="icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon16File`")}]" sizes="16x16" />
|
||||
[{/if}]
|
||||
[{if $sFavicon32File}]
|
||||
<link rel="icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon32File`")}]" sizes="32x32" />
|
||||
[{/if}]
|
||||
[{if $sFavicon48File}]
|
||||
<link rel="icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon48File`")}]" sizes="48x48" />
|
||||
[{/if}]
|
||||
[{if $sFavicon64File}]
|
||||
<link rel="icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon64File`")}]" sizes="64x64" />
|
||||
[{/if}]
|
||||
[{if $sFavicon128File}]
|
||||
<link rel="icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon128File`")}]" sizes="128x128" />
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="base_style"}]
|
||||
[{oxstyle include="css/styles.min.css"}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="base_fonts"}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var='rsslinks' value=$oView->getRssLinks()}]
|
||||
[{block name="head_link_rss"}]
|
||||
[{if $rsslinks}]
|
||||
[{foreach from=$rsslinks item='rssentry'}]
|
||||
<link rel="alternate" type="application/rss+xml" title="[{$rssentry.title|strip_tags}]" href="[{$rssentry.link}]">
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="head_css"}]
|
||||
[{foreach from=$oxidBlock_head item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{/strip}]
|
||||
[{/capture}]
|
||||
|
||||
[{assign var="blIsCheckout" value=$oView->getIsOrderStep()}]
|
||||
[{assign var="blFullwidth" value=$oViewConf->getViewThemeParam('blFullwidthLayout')}]
|
||||
[{assign var="stickyHeader" value=$oViewConf->getViewThemeParam('stickyHeader')}]
|
||||
[{assign var="sBackgroundColor" value=$oViewConf->getViewThemeParam('sBackgroundColor')}]
|
||||
|
||||
[{* Fullpage Background *}]
|
||||
[{if $oViewConf->getViewThemeParam('blUseBackground')}]
|
||||
[{assign var="sBackgroundPath" value=$oViewConf->getViewThemeParam('sBackgroundPath')}]
|
||||
[{assign var="sBackgroundUrl" value=$oViewConf->getImageUrl("backgrounds/`$sBackgroundPath`")}]
|
||||
[{assign var="sBackgroundRepeat" value=$oViewConf->getViewThemeParam('sBackgroundRepeat')}]
|
||||
[{assign var="sBackgroundPosHorizontal" value=$oViewConf->getViewThemeParam('sBackgroundPosHorizontal')}]
|
||||
[{assign var="sBackgroundPosVertical" value=$oViewConf->getViewThemeParam('sBackgroundPosVertical')}]
|
||||
[{assign var="sBackgroundSize" value=$oViewConf->getViewThemeParam('sBackgroundSize')}]
|
||||
[{assign var="blBackgroundAttachment" value=$oViewConf->getViewThemeParam('blBackgroundAttachment')}]
|
||||
|
||||
[{if $sBackgroundUrl}]
|
||||
[{assign var="sStyle" value="background:`$sBackgroundColor` url(`$sBackgroundUrl`) `$sBackgroundRepeat` `$sBackgroundPosHorizontal` `$sBackgroundPosVertical`;"}]
|
||||
|
||||
[{if $sBackgroundSize}]
|
||||
[{assign var="sStyle" value=$sStyle|cat:"background-size:`$sBackgroundSize`;"}]
|
||||
[{/if}]
|
||||
|
||||
[{if $blBackgroundAttachment}]
|
||||
[{assign var="sStyle" value=$sStyle|cat:"background-attachment:fixed;"}]
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{assign var="sStyle" value="background:`$sBackgroundColor`;"}]
|
||||
[{/if}]
|
||||
[{elseif $sBackgroundColor}]
|
||||
[{assign var="sStyle" value="background:`$sBackgroundColor`;"}]
|
||||
[{/if}]
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="[{$oView->getActiveLangAbbr()}]" [{block name="head_html_namespace"}][{/block}]>
|
||||
<head>
|
||||
[{foreach from=$oxidBlock_pageHead item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
[{oxstyle}]
|
||||
|
||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="cl-[{$oView->getClassName()}][{if $smarty.get.plain == '1'}] popup[{/if}][{if $blIsCheckout}] is-checkout[{/if}][{if $oxcmp_user && $oxcmp_user->oxuser__oxpassword->value}] is-logged-in[{/if}][{if !$stickyHeader}] static-header[{/if}]"[{if $sStyle}] style="[{$sStyle}]"[{/if}]>
|
||||
|
||||
[{* Theme SVG icons block *}]
|
||||
[{block name="theme_svg_icons"}][{/block}]
|
||||
|
||||
<div class="[{if $blFullwidth}]fullwidth-container[{else}]container[{/if}]">
|
||||
<div class="main-row">
|
||||
[{foreach from=$oxidBlock_pageBody item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{foreach from=$oxidBlock_pagePopup item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
|
||||
[{if $oViewConf->getTopActiveClassName() == 'details' && $oView->showZoomPics()}]
|
||||
[{include file="page/details/inc/photoswipe.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="base_js"}]
|
||||
[{include file="i18n/js_vars.tpl"}]
|
||||
|
||||
[{oxscript include="js/libs/jquery.min.js" priority=1}]
|
||||
[{oxscript include="js/libs/jquery-ui.min.js" priority=1}]
|
||||
[{oxscript include="js/scripts.min.js" priority=1}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oViewConf->isTplBlocksDebugMode()}]
|
||||
[{oxscript include="js/widgets/oxblockdebug.min.js"}]
|
||||
[{oxscript add="$( 'body' ).oxBlockDebug();"}]
|
||||
[{/if}]
|
||||
|
||||
<!--[if gte IE 9]><style type="text/css">.gradient {filter:none;}</style><![endif]-->
|
||||
[{oxscript}]
|
||||
|
||||
[{if !$oView->isDemoShop()}]
|
||||
[{oxid_include_dynamic file="widget/dynscript.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
[{foreach from=$oxidBlock_pageScript item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
|
||||
</body>
|
||||
</html>
|
||||
183
shop/source/Application/views/flow/tpl/layout/footer.tpl
Normal file
183
shop/source/Application/views/flow/tpl/layout/footer.tpl
Normal file
@@ -0,0 +1,183 @@
|
||||
[{block name="footer_main"}]
|
||||
[{assign var="blShowFullFooter" value=$oView->showSearch()}]
|
||||
[{assign var="blFullwidth" value=$oViewConf->getViewThemeParam('blFullwidthLayout')}]
|
||||
[{$oView->setShowNewsletter($oViewConf->getViewThemeParam('blFooterShowNewsletterForm'))}]
|
||||
|
||||
[{if $oxcmp_user}]
|
||||
[{assign var="force_sid" value=$oView->getSidForWidget()}]
|
||||
[{/if}]
|
||||
|
||||
<footer id="footer">
|
||||
<div class="[{if $blFullwidth}]container[{else}]container-fluid[{/if}]">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-8">
|
||||
<div class="row">
|
||||
<div class="footer-left-part">
|
||||
[{block name="dd_footer_servicelist"}]
|
||||
<section class="col-xs-12 [{if $blShowFullFooter}]col-sm-3[{else}]col-sm-6[{/if}] footer-box footer-box-service">
|
||||
<div class="h4 footer-box-title">[{oxmultilang ident="SERVICES"}]</div>
|
||||
<div class="footer-box-content">
|
||||
[{block name="dd_footer_servicelist_inner"}]
|
||||
[{oxid_include_widget cl="oxwServiceList" noscript=1 nocookie=1 force_sid=$force_sid}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
[{/block}]
|
||||
[{block name="dd_footer_information"}]
|
||||
<section class="col-xs-12 [{if $blShowFullFooter}]col-sm-3[{else}]col-sm-6[{/if}] footer-box footer-box-information">
|
||||
<div class="h4 footer-box-title">[{oxmultilang ident="INFORMATION"}]</div>
|
||||
<div class="footer-box-content">
|
||||
[{block name="dd_footer_information_inner"}]
|
||||
[{oxid_include_widget cl="oxwInformation" noscript=1 nocookie=1 force_sid=$force_sid}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
[{/block}]
|
||||
[{if $blShowFullFooter}]
|
||||
[{block name="dd_footer_manufacturerlist"}]
|
||||
<section class="col-xs-12 col-sm-3 footer-box footer-box-manufacturers">
|
||||
<div class="h4 footer-box-title">[{oxmultilang ident="OUR_BRANDS"}]</div>
|
||||
<div class="footer-box-content">
|
||||
[{block name="dd_footer_manufacturerlist_inner"}]
|
||||
[{oxid_include_widget cl="oxwManufacturerList" _parent=$oView->getClassName() noscript=1 nocookie=1}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
[{/block}]
|
||||
[{block name="dd_footer_categorytree"}]
|
||||
<section class="col-xs-12 col-sm-3 footer-box footer-box-categories">
|
||||
<div class="h4 footer-box-title">[{oxmultilang ident="CATEGORIES"}]</div>
|
||||
<div class="footer-box-content">
|
||||
[{block name="dd_footer_categorytree_inner"}]
|
||||
[{oxid_include_widget cl="oxwCategoryTree" _parent=$oView->getClassName() sWidgetType="footer" noscript=1 nocookie=1}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-4">
|
||||
<div class="row">
|
||||
<div class="footer-right-part">
|
||||
<div class="col-xs-6 col-xs-offset-3 col-sm-12 col-sm-offset-0">
|
||||
[{if $oView->showNewsletter()}]
|
||||
<section class="footer-box footer-box-newsletter">
|
||||
<div class="h4 footer-box-title">[{oxmultilang ident="NEWSLETTER"}]</div>
|
||||
<div class="footer-box-content">
|
||||
[{block name="dd_footer_newsletter"}]
|
||||
<p class="small">[{oxmultilang ident="FOOTER_NEWSLETTER_INFO"}]</p>
|
||||
[{include file="widget/footer/newsletter.tpl"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
[{/if}]
|
||||
|
||||
[{block name="footer_social"}][{/block}]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="spacer"></div>
|
||||
|
||||
[{* <<START>> Social Links *}]
|
||||
[{block name="dd_footer_social_links"}]
|
||||
[{if $oViewConf->getViewThemeParam('sFacebookUrl') || $oViewConf->getViewThemeParam('sGooglePlusUrl') || $oViewConf->getViewThemeParam('sTwitterUrl') || $oViewConf->getViewThemeParam('sYouTubeUrl') || $oViewConf->getViewThemeParam('sBlogUrl')}]
|
||||
<div class="social-links">
|
||||
<div class="row">
|
||||
<section class="col-xs-12">
|
||||
<div class="text-center">
|
||||
[{block name="dd_footer_social_links_inner"}]
|
||||
<ul class="list-inline">
|
||||
[{block name="dd_footer_social_links_list"}]
|
||||
[{if $oViewConf->getViewThemeParam('sFacebookUrl')}]
|
||||
<li>
|
||||
<a target="_blank" href="[{$oViewConf->getViewThemeParam('sFacebookUrl')}]">
|
||||
<i class="fa fa-facebook"></i> <span>Facebook</span>
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getViewThemeParam('sGooglePlusUrl')}]
|
||||
<li>
|
||||
<a target="_blank" href="[{$oViewConf->getViewThemeParam('sGooglePlusUrl')}]">
|
||||
<i class="fa fa-google-plus-square"></i> <span>Google+</span>
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getViewThemeParam('sTwitterUrl')}]
|
||||
<li>
|
||||
<a target="_blank" href="[{$oViewConf->getViewThemeParam('sTwitterUrl')}]">
|
||||
<i class="fa fa-twitter"></i> <span>Twitter</span>
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getViewThemeParam('sYouTubeUrl')}]
|
||||
<li>
|
||||
<a target="_blank" href="[{$oViewConf->getViewThemeParam('sYouTubeUrl')}]">
|
||||
<i class="fa fa-youtube-square"></i> <span>YouTube</span>
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getViewThemeParam('sBlogUrl')}]
|
||||
<li>
|
||||
<a target="_blank" href="[{$oViewConf->getViewThemeParam('sBlogUrl')}]">
|
||||
<i class="fa fa-wordpress"></i> <span>Blog</span>
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</ul>
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{* <<ENDE>> Social Links *}]
|
||||
</div>
|
||||
|
||||
[{if $oView->isPriceCalculated()}]
|
||||
[{block name="layout_page_vatinclude"}]
|
||||
[{block name="footer_deliveryinfo"}]
|
||||
[{oxifcontent ident="oxdeliveryinfo" object="oCont"}]
|
||||
<div id="incVatInfo">
|
||||
[{if $oView->isVatIncluded()}]
|
||||
* <span class="deliveryInfo">[{oxmultilang ident="PLUS_SHIPPING"}]<a href="[{$oCont->getLink()}]">[{oxmultilang ident="PLUS_SHIPPING2"}]</a></span>
|
||||
[{else}]
|
||||
* <span class="deliveryInfo">[{oxmultilang ident="PLUS"}]<a href="[{$oCont->getLink()}]">[{oxmultilang ident="PLUS_SHIPPING2"}]</a></span>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/oxifcontent}]
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</footer>
|
||||
|
||||
[{oxifcontent ident="oxstdfooter" object="oCont"}]
|
||||
<div class="legal">
|
||||
<div class="[{if $blFullwidth}]container[{else}]container-fluid[{/if}]">
|
||||
<div class="legal-box">
|
||||
<div class="row">
|
||||
<section class="col-sm-12">
|
||||
[{block name="dd_footer_copyright"}]
|
||||
[{$oCont->oxcontents__oxcontent->value}]
|
||||
[{/block}]
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/oxifcontent}]
|
||||
|
||||
[{/block}]
|
||||
|
||||
[{if $oView->isRootCatChanged()}]
|
||||
<div id="scRootCatChanged" class="popupBox corners FXgradGreyLight glowShadow">
|
||||
[{include file="form/privatesales/basketexcl.tpl"}]
|
||||
</div>
|
||||
[{/if}]
|
||||
77
shop/source/Application/views/flow/tpl/layout/header.tpl
Normal file
77
shop/source/Application/views/flow/tpl/layout/header.tpl
Normal file
@@ -0,0 +1,77 @@
|
||||
[{if $oViewConf->getTopActionClassName() != 'clearcookies' && $oViewConf->getTopActionClassName() != 'mallstart'}]
|
||||
[{oxid_include_widget cl="oxwCookieNote" _parent=$oView->getClassName() nocookie=1}]
|
||||
[{/if}]
|
||||
[{block name="header_main"}]
|
||||
[{assign var="blFullwidth" value=$oViewConf->getViewThemeParam('blFullwidthLayout')}]
|
||||
|
||||
<header id="header">
|
||||
|
||||
<div class="[{if $blFullwidth}]container[{else}]container-fluid[{/if}]">
|
||||
|
||||
<div class="header-box">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-5 col-sm-6 col-md-4 logo-col">
|
||||
[{block name="layout_header_logo"}]
|
||||
[{assign var="slogoImg" value=$oViewConf->getViewThemeParam('sLogoFile')}]
|
||||
[{assign var="sLogoWidth" value=$oViewConf->getViewThemeParam('sLogoWidth')}]
|
||||
[{assign var="sLogoHeight" value=$oViewConf->getViewThemeParam('sLogoHeight')}]
|
||||
<a href="[{$oViewConf->getHomeLink()}]" title="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]">
|
||||
<img src="[{$oViewConf->getImageUrl($slogoImg)}]" alt="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]" style="[{if $sLogoWidth}]width:auto;max-width:[{$sLogoWidth}]px;[{/if}][{if $sLogoHeight}]height:auto;max-height:[{$sLogoHeight}]px;[{/if}]">
|
||||
</a>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="col-xs-7 col-sm-6 col-md-4 col-md-push-4 menus-col">
|
||||
[{block name="layout_header_top"}]
|
||||
<div class="menu-dropdowns pull-right">
|
||||
[{block name="dd_layout_page_header_icon_menu_languages"}]
|
||||
[{* Language Dropdown*}]
|
||||
[{oxid_include_widget cl="oxwLanguageList" lang=$oViewConf->getActLanguageId() _parent=$oView->getClassName() nocookie=1 _navurlparams=$oViewConf->getNavUrlParams() anid=$oViewConf->getActArticleId()}]
|
||||
[{/block}]
|
||||
[{block name="dd_layout_page_header_icon_menu_currencies"}]
|
||||
[{* Currency Dropdown*}]
|
||||
[{oxid_include_widget cl="oxwCurrencyList" cur=$oViewConf->getActCurrency() _parent=$oView->getClassName() nocookie=1 _navurlparams=$oViewConf->getNavUrlParams() anid=$oViewConf->getActArticleId()}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="dd_layout_page_header_icon_menu_account"}]
|
||||
[{if $oxcmp_user || $oView->getCompareItemCount() || $Errors.loginBoxErrors}]
|
||||
[{assign var="blAnon" value=0}]
|
||||
[{assign var="force_sid" value=$oViewConf->getSessionId()}]
|
||||
[{else}]
|
||||
[{assign var="blAnon" value=1}]
|
||||
[{/if}]
|
||||
[{* Account Dropdown *}]
|
||||
[{oxid_include_widget cl="oxwServiceMenu" _parent=$oView->getClassName() force_sid=$force_sid nocookie=$blAnon _navurlparams=$oViewConf->getNavUrlParams() anid=$oViewConf->getActArticleId()}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="dd_layout_page_header_icon_menu_minibasket"}]
|
||||
[{* Minibasket Dropdown *}]
|
||||
[{if $oxcmp_basket->getProductsCount()}]
|
||||
[{assign var="blAnon" value=0}]
|
||||
[{assign var="force_sid" value=$oViewConf->getSessionId()}]
|
||||
[{else}]
|
||||
[{assign var="blAnon" value=1}]
|
||||
[{/if}]
|
||||
[{oxid_include_widget cl="oxwMiniBasket" nocookie=$blAnon force_sid=$force_sid}]
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-4 col-md-pull-4 search-col">
|
||||
[{include file="widget/header/search.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{block name="layout_header_bottom"}]
|
||||
[{oxid_include_widget cl="oxwCategoryTree" cnid=$oView->getCategoryId() sWidgetType="header" _parent=$oView->getClassName() nocookie=1}]
|
||||
[{/block}]
|
||||
|
||||
</header>
|
||||
|
||||
[{/block}]
|
||||
|
||||
[{insert name="oxid_newbasketitem" tpl="widget/minibasket/newbasketitemmsg.tpl" type="message"}]
|
||||
[{oxid_include_dynamic file="widget/minibasket/minibasketmodal.tpl"}]
|
||||
83
shop/source/Application/views/flow/tpl/layout/page.tpl
Normal file
83
shop/source/Application/views/flow/tpl/layout/page.tpl
Normal file
@@ -0,0 +1,83 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
[{if $oView->showRDFa()}]
|
||||
[{include file="rdfa/rdfa.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="layout_header"}]
|
||||
[{include file="layout/header.tpl"}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var="blFullwidth" value=$oViewConf->getViewThemeParam('blFullwidthLayout')}]
|
||||
|
||||
<div id="wrapper" [{if $sidebar}]class="sidebar[{$sidebar}]"[{/if}]>
|
||||
|
||||
<div class="[{if $blFullwidth}]container[{else}]container-fluid[{/if}]">
|
||||
|
||||
<div class="underdog">
|
||||
|
||||
<div class="row">
|
||||
|
||||
[{if $oView->getClassName()=='start' && $oView->getBanners() && !empty($oView->getBanners())}]
|
||||
[{include file="widget/promoslider.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
</div>
|
||||
|
||||
<div class="content-box">
|
||||
|
||||
[{if $oView->getClassName() != "start" && !$blHideBreadcrumb}]
|
||||
[{block name="layout_breadcrumb"}]
|
||||
[{include file="widget/breadcrumb.tpl"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{$smarty.capture.loginErrors}]
|
||||
|
||||
<div class="row">
|
||||
[{if $sidebar && $sidebar != "Right"}]
|
||||
<div class="col-xs-12 col-md-3 [{$oView->getClassName()}]">
|
||||
<div id="sidebar">
|
||||
[{include file="layout/sidebar.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
<div class="col-xs-12 [{if $sidebar}]col-md-9[{/if}]">
|
||||
|
||||
<div id="content">
|
||||
[{block name="content_main"}]
|
||||
[{include file="message/errors.tpl"}]
|
||||
|
||||
[{foreach from=$oxidBlock_content item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
[{if $sidebar && $sidebar == "Right"}]
|
||||
<div class="col-xs-12 col-md-3 [{$oView->getClassName()}]">
|
||||
<div id="sidebar">
|
||||
[{include file="layout/sidebar.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
[{include file="layout/footer.tpl"}]
|
||||
|
||||
[{block name="layout_init_social"}]
|
||||
[{/block}]
|
||||
|
||||
<i class="fa fa-chevron-circle-up icon-4x" id="jumptotop"></i>
|
||||
[{/capture}]
|
||||
[{include file="layout/base.tpl"}]
|
||||
10
shop/source/Application/views/flow/tpl/layout/popup.tpl
Normal file
10
shop/source/Application/views/flow/tpl/layout/popup.tpl
Normal file
@@ -0,0 +1,10 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
<div id="wrapper">
|
||||
<div id="content" class="container">
|
||||
<div class="main-container">
|
||||
[{foreach from=$oxidBlock_content item="_block"}][{$_block}][{/foreach}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/capture}]
|
||||
[{include file="layout/base.tpl"}]
|
||||
58
shop/source/Application/views/flow/tpl/layout/sidebar.tpl
Normal file
58
shop/source/Application/views/flow/tpl/layout/sidebar.tpl
Normal file
@@ -0,0 +1,58 @@
|
||||
[{foreach from=$oxidBlock_sidebar item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
|
||||
[{block name="sidebar"}]
|
||||
[{block name="sidebar_categoriestree"}]
|
||||
[{if $oView->getClassName() == 'alist' }]
|
||||
<div class="box well well-sm categorytree">
|
||||
<section>
|
||||
<div class="page-header h3">
|
||||
<div class="pull-right visible-xs visible-sm">
|
||||
<i class="fa fa-caret-down toggleTree"></i>
|
||||
</div>
|
||||
[{oxmultilang ident="DD_SIDEBAR_CATEGORYTREE"}]
|
||||
</div>
|
||||
[{oxid_include_widget cl="oxwCategoryTree" cnid=$oView->getCategoryId() deepLevel=0 noscript=1 nocookie=1}]
|
||||
</section>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_tags"}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_partners"}]
|
||||
[{if $oView->getClassName() eq "start"}]
|
||||
[{include file="widget/sidebar/partners.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_boxproducts"}][{/block}]
|
||||
|
||||
[{block name="sidebar_recommendation"}]
|
||||
[{if $oViewConf->getShowListmania() && $oView->getSimilarRecommListIds()}]
|
||||
[{oxid_include_widget nocookie=1 cl="oxwRecommendation" aArticleIds=$oView->getSimilarRecommListIds() searchrecomm=$oView->getRecommSearch()}]
|
||||
[{elseif $oViewConf->getShowListmania() && $oView->getRecommSearch()}]
|
||||
[{oxid_include_widget nocookie=1 cl="oxwRecommendation" _parent=$oView->getClassName() searchrecomm=$oView->getRecommSearch()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_news"}]
|
||||
[{if $oxcmp_news}]
|
||||
[{if $oxcmp_news|count}]
|
||||
[{include file="widget/sidebar/news.tpl" oNews=$oxcmp_news}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_social"}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_shopluperatings"}]
|
||||
[{if $oView->getClassName() eq "start"}]
|
||||
[{include file="widget/shoplupe/ratings.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
|
||||
Reference in New Issue
Block a user