mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-12 05:46:28 +00:00
Changes to lnk() helper to provide way to add base classes to link. Example usage in users_show -view where link now includes "button medium" classes
This commit is contained in:
@@ -25,7 +25,7 @@ if ($user->can_modusers == "no") {
|
||||
} elseif (empty($userdata) || ! is_object($userdata)) {
|
||||
?>
|
||||
<h2>Käyttäjää tunnisteella #<?php echo $userid; ?> ei löydetty</h2>
|
||||
<?php echo lnk("yllapito/users", "Takaisin"); ?>
|
||||
<?php echo lnk("yllapito/users", "Takaisin", 'button medium'); ?>
|
||||
<?php
|
||||
} else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user