[Fusionforge-commits] r8330 - in trunk/gforge/www/themes/gforge: . css

Christian Bayle cbayle at libremir.placard.fr.eu.org
Tue Nov 3 00:30:24 CET 2009


Author: cbayle
Date: 2009-11-03 00:30:24 +0100 (Tue, 03 Nov 2009)
New Revision: 8330

Modified:
   trunk/gforge/www/themes/gforge/Theme.class.php
   trunk/gforge/www/themes/gforge/css/theme.css
Log:
Workaround CSS collision with Mediawiki


Modified: trunk/gforge/www/themes/gforge/Theme.class.php
===================================================================
--- trunk/gforge/www/themes/gforge/Theme.class.php	2009-11-02 17:00:59 UTC (rev 8329)
+++ trunk/gforge/www/themes/gforge/Theme.class.php	2009-11-02 23:30:24 UTC (rev 8330)
@@ -148,9 +148,9 @@
         <td class="middleRight"><?php
 	if (session_loggedin()) {
 		$u =& user_get_object(user_getid());
-		echo util_make_link ('/account/logout.php', sprintf("%s (%s)", _('Log Out'), $u->getRealName()));
+		echo util_make_link ('/account/logout.php', sprintf("%s (%s)", _('Log Out'), $u->getRealName()),array('class'=>'userlink'));
         	echo ' | ';
-        	echo util_make_link ('/account/', _('My Account'));
+        	echo util_make_link ('/account/', _('My Account'),array('class'=>'userlink'));
         } else {
 			$url = '/account/login.php';
         	if(getStringFromServer('REQUEST_METHOD') != 'POST') {
@@ -158,10 +158,10 @@
         		$url .= urlencode(getStringFromServer('REQUEST_URI'));
         	}
 
-        	echo util_make_link ($url, _('Log In'));
+        	echo util_make_link ($url, _('Log In'),array('class'=>'userlink'));
         	echo ' | ';
         	if (!$GLOBALS['sys_user_reg_restricted']) {
-        		echo util_make_link ('/account/register.php', _('New Account'));
+        		echo util_make_link ('/account/register.php', _('New Account'),array('class'=>'userlink'));
         	}
         }
 
@@ -760,7 +760,7 @@
         if (isset($group_id) && $group_id) {
             print '
                     <td width="10">&nbsp;</td>
-                    <td>'.util_make_link ('/search/advanced_search.php?group_id='.$group_id, _('Advanced search')).'</td>';
+                    <td>'.util_make_link ('/search/advanced_search.php?group_id='.$group_id, _('Advanced search'),array('class'=>'userlink')).'</td>';
         }
         print '</tr></table>';
         print '</form>';

Modified: trunk/gforge/www/themes/gforge/css/theme.css
===================================================================
--- trunk/gforge/www/themes/gforge/css/theme.css	2009-11-02 17:00:59 UTC (rev 8329)
+++ trunk/gforge/www/themes/gforge/css/theme.css	2009-11-02 23:30:24 UTC (rev 8330)
@@ -39,6 +39,22 @@
   color: rgb(247, 0, 0);
 }
 
+a.userlink {
+  font-size: 13px;
+  font-family: arial,verdana,helvetica,sans-serif;
+  color: white;
+}
+
+a.userlink:hover {
+  text-decoration: underline;
+  color: white;
+}
+
+a.userlink:visited {
+  text-decoration: none;
+  color: white;
+}
+
 h1,h2,h3,h4,h5,h6 {
   font-family: verdana, arial, helvetica, sans-serif;
 }




More information about the Fusionforge-commits mailing list