Vorlage:Breadcrumb: Unterschied zwischen den Versionen
Aus Afterbuy-Wiki
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 7: | Zeile 7: | ||
$crumb=str_replace($delimiter,'|:|',$crumb); | $crumb=str_replace($delimiter,'|:|',$crumb); | ||
} | } | ||
− | + | ||
if(isset($argv[2]) && trim($argv[2])!=""){ | if(isset($argv[2]) && trim($argv[2])!=""){ | ||
− | echo '<span class="p-2 my-3 bg-light text-muted px-3" | + | $crumb=str_replace('|:|','</i> <i class="fas fa-angle-right"></i> <i>',$crumb); |
+ | echo '<span class="p-2 my-3 bg-light text-muted px-3" style="font-size: 80%;">'.$crumb.'</i></span>'; | ||
} else { | } else { | ||
+ | $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>'; | 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> |