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:
parent
0982db9d6c
commit
2ea14bc4ec
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
2
core.php
2
core.php
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue