1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Admin -> Userclass cleanup and initial userclass feature on xup signup.

This commit is contained in:
Cameron
2015-02-15 19:56:58 -08:00
parent cb5c621a55
commit 02766efff5
7 changed files with 74 additions and 47 deletions

View File

@@ -12,9 +12,11 @@ if (!defined('e107_INIT')) { exit; }
$caption = "Dashboard";
$text = "This page provides you with an overview of site activity.<br /><br />";
if(e107::getPref('admincss')=='admin_dark.css')
{
$text .= "<small>Theme too dark? <a class='btn btn-mini btn-inverse' href='".e_ADMIN."theme.php?mode=admin'>Change it here</a></small>";
}
$ns -> tablerender($caption, $text);
e107::getRender()->tablerender($caption, $text);

View File

@@ -74,4 +74,4 @@ switch ($action)
default :
$text = "You can select classes for editing, and also delete existing classes, from this page.";
}
$ns -> tablerender($caption, $text);
e107::getRender() -> tablerender($caption, $text);