1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

User-settings shortcode and template cleanup. avatarpicker() function added to form handler. Other minor fixes.

This commit is contained in:
CaMer0n
2012-06-19 09:08:41 +00:00
parent 312ec063ba
commit aa4e5c0ee7
17 changed files with 705 additions and 519 deletions

View File

@@ -282,11 +282,13 @@ if ((USER || ($pref['user_reg'] == 0) || (vartrue($pref['auth_method'],'e107') !
header('location: '.e_HTTP.'index.php');
}
if(getperms('0'))
if(getperms('0')) // allow main admin to view signup page for design/testing.
{
//$mes = e107::getMessage();
//$mes->debug("You are currently logged in.");
$SIGNUP_BEGIN = "<div class='s-message' style='background-color:red;text-align:center;padding:30px;'> You are currently logged in.</div>". $SIGNUP_BEGIN;
$SIGNUP_BEGIN = "<div class='s-message'>
<div class='error'> You are currently logged in.
</div></div>". $SIGNUP_BEGIN;
}