Vorlage:Collapsed: Unterschied zwischen den Versionen
Aus Afterbuy-Wiki
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 15: | Zeile 15: | ||
$label=trim($argv['label']); | $label=trim($argv['label']); | ||
} | } | ||
− | echo trim('< | + | echo trim('<html><button type="button" class="text-left bg-light p-2 text-decoration-none small w-100 border border-secondary" |
− | |||
− | |||
data-toggle="collapse" | data-toggle="collapse" | ||
− | data-target="#collapse'.$id.'" aria-expanded="false" aria-controls="collapse'.$id.'">'.$label.'</ | + | data-target="#collapse'.$id.'" aria-expanded="false" aria-controls="collapse'.$id.'"><i class="fas fa-bars"></i> '.$label.'</button></html> |
<div class="collapse show" id="collapse'.$id.'">'.$text.'</div>'); | <div class="collapse show" id="collapse'.$id.'">'.$text.'</div>'); | ||
} | } | ||
</phptag> | </phptag> |
Version vom 21. April 2021, 11:38 Uhr
Lorem ÖÄÜöäü?!"§$%&/()=`´´+*#-_.:,;<> dolor sit amet, consetetur 'sadipscing' elitr, sed diam "nonumy" eirmod tempor invidunt ut labore et dolore magna aliquyam