Disabled microdata in second breadcrumbs
authorMarcel Werk <burntime@woltlab.com>
Mon, 13 Feb 2012 13:59:47 +0000 (14:59 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 13 Feb 2012 13:59:47 +0000 (14:59 +0100)
com.woltlab.wcf/template/breadcrumbs.tpl
com.woltlab.wcf/template/footer.tpl

index 069f381dd9b65aa9477438a7400f717aa4873658..22cf5a0320e9681b13aa2b70bc0c67692be98c24 100644 (file)
@@ -1,9 +1,10 @@
+{if !$__microdata|isset}{assign var=__microdata value=true}{/if}
 {if $__wcf->getBreadcrumbs()|count}
 <nav class="wcf-breadcrumbs">
        <ul>
                {foreach from=$__wcf->getBreadcrumbs() item=$breadcrumb}
-                       <li title="{$breadcrumb->getLabel()}" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
-                               {if $breadcrumb->getURL()}<a href="{$breadcrumb->getURL()}" itemprop="url">{/if}<span itemprop="title">{$breadcrumb->getLabel()}</span>{if $breadcrumb->getURL()}</a>{/if} <span class="pointer"><span>&raquo;</span></span>
+                       <li title="{$breadcrumb->getLabel()}"{if $__microdata} itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"{/if}>
+                               {if $breadcrumb->getURL()}<a href="{$breadcrumb->getURL()}"{if $__microdata} itemprop="url"{/if}>{/if}<span{if $__microdata} itemprop="title"{/if}>{$breadcrumb->getLabel()}</span>{if $breadcrumb->getURL()}</a>{/if} <span class="pointer"><span>&raquo;</span></span>
                        </li>
                {/foreach}
        </ul>
index 105a373fdac3c4c67ee485475bfb4faaaf71bda5..e11783e59e04f07aa971e892a667d677f2eeb6a6 100644 (file)
@@ -1,4 +1,4 @@
-                               {include file='breadcrumbs' sandbox=false}
+                               {include file='breadcrumbs' sandbox=false __microdata=false}
                                
                        </section>
                        <!-- /CONTENT -->