diff --git a/contact.php b/contact.php index 4b149e9d0..ca9b0f862 100644 --- a/contact.php +++ b/contact.php @@ -95,10 +95,10 @@ if(isset($_POST['send-contactus'])) } -// No errors - so proceed to email the admin and the user (if selected). + // No errors - so proceed to email the admin and the user (if selected). if(!$error) { - $body .= "\n\nIP:\t".USERIP."\n"; + $body .= "\n\nIP:\t".e107::getIPHandler()->getIP(TRUE)."\n"; if (USER) { $body .= "User:\t#".USERID." ".USERNAME."\n"; diff --git a/e107_admin/admin.php b/e107_admin/admin.php index dfbbcc103..9cda74092 100644 --- a/e107_admin/admin.php +++ b/e107_admin/admin.php @@ -71,6 +71,7 @@ class admin_start 'aa_jquery' => 1.2, 'who' => 1.0, 'ratings' => 4.2, + 'lightbox' => 1.5, 'e107slider' => 0.1 ); diff --git a/e107_admin/ugflag.php b/e107_admin/ugflag.php index fdf571dd6..069697b82 100644 --- a/e107_admin/ugflag.php +++ b/e107_admin/ugflag.php @@ -78,9 +78,12 @@ $text = "
"; -$elements = array(e_UC_PUBLIC=>LAN_DISABLED, - e_UC_ADMIN=>UGFLAN_8, - e_UC_MAINADMIN=>UGFLAN_9); +$elements = array( + e_UC_PUBLIC => LAN_DISABLED, + e_UC_MEMBER => ADLAN_110, + e_UC_ADMIN => UGFLAN_8, + e_UC_MAINADMIN => UGFLAN_9 +); $text .= "