Von Michael Kleger, 10 Monate vorher, geschrieben in PHP.
Einbetten
  1. {if $dtsTemplateDesign == 'yes' && $dtsTemplateStyle|is_array}
  2. <li class="dropdown">
  3.         <a href="#" class="dropdown-toggle" data-toggle="dropdown">{foreach from=$dtsTemplateStyle key=designKey item=designItem}{if $designItem.Active}{$designItem.Name}{/if}{/foreach} <span class="caret"></span></a>
  4.         <ul class="dropdown-menu" role="menu">
  5.                 {foreach from=$dtsTemplateStyle key=designKey item=designItem}
  6.                 <li{if $designItem.Active} class="active"{/if}><a href="{$selfurl}index.php?action=switchDTSDesign&amp;design={$designKey}{if $smarty.get.action}&amp;target={text value=$smarty.get.action}{/if}">{$designItem.Name}</a></li>
  7.                 {/foreach}
  8.         </ul>
  9. </li>
  10. {/if}