Vorlage:Breadcrumb: Unterschied zwischen den Versionen
Aus Afterbuy-Wiki
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 8: | Zeile 8: | ||
} | } | ||
$crumb=str_replace('|:|','</i> <i class="fas fa-caret-right"></i> <i>',$crumb); | $crumb=str_replace('|:|','</i> <i class="fas fa-caret-right"></i> <i>',$crumb); | ||
− | echo '<div class="shadow-sm border p-2 my-3 bg-light text-muted px-3 mx-0"><i class="fas fa-external-link-alt"></i> <i>'.$crumb.'</i></div>'; | + | if(isset($argv[2]) && trim($argv[2])!=""){ |
+ | echo '<span class="p-2 my-3 bg-light text-muted px-3"><i class="fas fa-external-link-alt"></i> <i>'.$crumb.'</i></span>'; | ||
+ | } else { | ||
+ | echo '<div class="shadow-sm border p-2 my-3 bg-light text-muted px-3 mx-0"><i class="fas fa-external-link-alt"></i> <i>'.$crumb.'</i></div>'; | ||
+ | } | ||
} | } | ||
</phptag> | </phptag> |