1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +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

@@ -458,7 +458,7 @@ class adminstyle_infopanel
{
if($val==0)
{
return "Guest";
return LAN_GUEST;
}
return $val;
}
@@ -476,7 +476,7 @@ class adminstyle_infopanel
if(!$rows = $sql->retrieve('comments','*','comment_blocked=2 ORDER BY comment_id DESC LIMIT 25',true) )
{
return;
return null;
}
@@ -503,7 +503,8 @@ class adminstyle_infopanel
<p>{COMMENT}</p>
</div>
</li>";
//TODO LAN for 'Posted by [x] ';
$sc->setVars($row);
$text .= $tp->parseTemplate($TEMPLATE,true,$sc);
@@ -541,7 +542,7 @@ class adminstyle_infopanel
function render_infopanel_options($render = false)
function render_infopanel_options($render = false) //TODO LAN
{
// $frm = e107::getSingleton('e_form');
$frm = e107::getForm();
@@ -574,7 +575,7 @@ class adminstyle_infopanel
// $end = "</div>";
return $mes->render().$text2.$end;
return $mes->render().$text2;
}
@@ -583,7 +584,7 @@ class adminstyle_infopanel
$frm = e107::getForm();
global $user_pref;
$text = "<div style='padding-left:20px'>";