1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-26 05:32:59 +00:00

Add more themeing classes

This commit is contained in:
Starbeamrainbowlabs 2016-09-24 18:51:41 +01:00
parent 0982db9d6c
commit 2ea14bc4ec
2 changed files with 2 additions and 2 deletions

View file

@ -1255,7 +1255,7 @@ class page_renderer
case "user-status": // Renders the user status box case "user-status": // Renders the user status box
if($env->is_logged_in) if($env->is_logged_in)
{ {
$result .= "<span class='inflexible logged-in'>" . self::render_username($env->user) . " <small>(<a href='index.php?action=logout'>Logout</a>)</small></span>"; $result .= "<span class='inflexible logged-in" . ($env->is_logged_in ? "moderator" : "normal-user") . "'>" . self::render_username($env->user) . " <small>(<a href='index.php?action=logout'>Logout</a>)</small></span>";
//$result .= page_renderer::$nav_divider; //$result .= page_renderer::$nav_divider;
} }
else else

View file

@ -948,7 +948,7 @@ class page_renderer
case "user-status": // Renders the user status box case "user-status": // Renders the user status box
if($env->is_logged_in) if($env->is_logged_in)
{ {
$result .= "<span class='inflexible logged-in'>" . self::render_username($env->user) . " <small>(<a href='index.php?action=logout'>Logout</a>)</small></span>"; $result .= "<span class='inflexible logged-in" . ($env->is_logged_in ? "moderator" : "normal-user") . "'>" . self::render_username($env->user) . " <small>(<a href='index.php?action=logout'>Logout</a>)</small></span>";
//$result .= page_renderer::$nav_divider; //$result .= page_renderer::$nav_divider;
} }
else else