[evolvis-commits] r17522: fixes

mirabilos at evolvis.org mirabilos at evolvis.org
Fri Sep 2 15:49:25 CEST 2011


Author: mirabilos
Date: 2011-09-02 15:49:24 +0200 (Fri, 02 Sep 2011)
New Revision: 17522

Modified:
   branches/ev48fixes/www/themes/evolvis/Theme.class.php
Log:
fixes

Modified: branches/ev48fixes/www/themes/evolvis/Theme.class.php
===================================================================
--- branches/ev48fixes/www/themes/evolvis/Theme.class.php	2011-09-02 13:40:43 UTC (rev 17521)
+++ branches/ev48fixes/www/themes/evolvis/Theme.class.php	2011-09-02 13:49:24 UTC (rev 17522)
@@ -138,16 +138,16 @@
 			$rq = "";
 		}
 		$rv .= '<span class="headlink' .
-		    ($redslash ? "s" : "") . ">//</span>" .
+		    ($redslash ? "s" : "") . "\">//</span>" .
 		    '<a class="headlink" href="' . $target . '">' .
 		    '<span class="headlink' .
-		    ($redtext ? "s" : "") . ">" .
+		    ($redtext ? "s" : "") . '">' .
 		    util_html_secure($text) . "</span></a>" . $rq;
 		return $rv;
 	}
 
 	function internal_header($params) {
-		global $sys_name, $group_id,
+		global $sys_name, $group_id, $sys_evolvis_portal_ttip,
 		    $sys_evolvis_portal_href, $sys_evolvis_portal_name;
 
 		$has_group = false;
@@ -218,38 +218,38 @@
 			<div style="float:right; margin-right:1em;"><table style="white-space:nowrap;">
 			<tr><td style="padding-left:1em;"><?php
 	if (session_loggedin()) {
-		echo "\n" . emit_headlink(false,
+		echo "\n" . $this->emit_headlink(false,
 		    _('Log out of the session with the Forge system'),
 		    true, false, "/account/logout.php?return_to=" .
 		    urlencode(getStringFromServer('REQUEST_URI')),
 		    _('Log Out'));
 	} else {
-		echo "\n" . emit_headlink(false,
+		echo "\n" . $this->emit_headlink(false,
 		    _('Log into a new session with the Forge system'),
 		    true, false, "/account/login.php?return_to=" .
 		    urlencode(getStringFromServer('REQUEST_URI')),
 		    _('Log In'));
 	}
 	echo "\n\t\t\t" . '</td><td style="padding-left:1em;">';
-	echo "\n" . emit_headlink(false,
+	echo "\n" . $this->emit_headlink(false,
 	    $sys_evolvis_portal_ttip,
 	    true, false, $sys_evolvis_portal_href,
 	    $sys_evolvis_portal_name);
 	echo "\n\t\t\t" . '</td></tr><tr>';
 	if (session_loggedin()) {
 		echo "\n\t\t\t\t" . '<td style="padding-left:1em;">';
-		echo "\n" . emit_headlink(false,
+		echo "\n" . $this->emit_headlink(false,
 		    _('Configure Account settings, Password & SSH keys'),
 		    true, false, "/account/",
 		    _('My Account'));
 		echo "\n\t\t\t" . '</td><td style="padding-left:1em;">';
-		echo "\n" . emit_headlink(false,
+		echo "\n" . $this->emit_headlink(false,
 		    _('Manage projects, assigned tasks, bugs, etc.'),
 		    true, false, "/my/",
 		    _('My Page'));
 	} else {
 		echo "\n\t\t\t\t" . '<td style="padding-left:1em;" colspan="2">';
-		echo "\n" . emit_headlink(false,
+		echo "\n" . $this->emit_headlink(false,
 		    _('Register a user account with the Forge system'),
 		    true, false, "/account/register.php",
 		    _('New Account'));
@@ -628,7 +628,7 @@
 	function tabGenerator($TABS_DIRS,$TABS_TITLES,$nested=false,$selected=false,$sel_tab_bgcolor,$total_width,$TAB_TYPE,$TABS_TOOLTIPS=array()) {
 		$rv = "";
 		for ($i = 0; $i < count($TABS_DIRS); $i++) {
-			$rv .= "\n" . emit_headlink(true,
+			$rv .= "\n" . $this->emit_headlink(true,
 			    util_ifsetor($TABS_TOOLTIPS[$i], ""),
 			    ($TAB_TYPE == 'outerTab' || $selected == $i),
 			    ($selected == $i), $TABS_DIRS[$i], $TABS_TITLES[$i]);



More information about the evolvis-commits mailing list