UserPage: whoops, wrong name (Namespace_Default::$exists, not ::$page_exists); bumped userpage tabs down by 0.05em to correct an Oxygen bug
authorDan
Sat, 04 Apr 2009 22:37:35 -0400
changeset 896 ddecc53004ee
parent 895 d6b095673a47
child 897 f31c252c52c1
UserPage: whoops, wrong name (Namespace_Default::$exists, not ::$page_exists); bumped userpage tabs down by 0.05em to correct an Oxygen bug
includes/clientside/css/enano-shared.css
includes/namespaces/user.php
--- a/includes/clientside/css/enano-shared.css	Sat Apr 04 22:35:44 2009 -0400
+++ b/includes/clientside/css/enano-shared.css	Sat Apr 04 22:37:35 2009 -0400
@@ -804,7 +804,7 @@
 
 ul.userpage_links {
   position: absolute;
-  top: -3em;
+  top: -3.05em;
   padding-left: 10px;
   list-style-type: none !important;
   list-style-image: none !important;
--- a/includes/namespaces/user.php	Sat Apr 04 22:35:44 2009 -0400
+++ b/includes/namespaces/user.php	Sat Apr 04 22:37:35 2009 -0400
@@ -76,7 +76,7 @@
     $target_username = preg_replace('/^' . str_replace('/', '\\/', preg_quote($paths->nslist['User'])) . '/', '', $target_username);
     list($target_username) = explode('/', $target_username);
     
-    if ( ( $page_name == str_replace('_', ' ', $this->page_id) || $page_name == $paths->nslist['User'] . str_replace('_', ' ', $this->page_id) ) || !$this->page_exists )
+    if ( ( $page_name == str_replace('_', ' ', $this->page_id) || $page_name == $paths->nslist['User'] . str_replace('_', ' ', $this->page_id) ) || !$this->exists )
     {
       $page_name = $lang->get('userpage_page_title', array('username' => $target_username));
     }