[evolvis-commits] r12368: Migration to util_make_url/link: common/tracker/*. common/ is done .

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Feb 28 01:36:01 CET 2011


Author: mirabilos
Date: 2011-02-28 01:36:01 +0100 (Mon, 28 Feb 2011)
New Revision: 12368

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog
   trunk/gforge_base/evolvisforge-5.1/gforge/common/tracker/Artifact.class.php
Log:
Migration to util_make_url/link: common/tracker/*.  common/ is done.

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog	2011-02-28 00:35:59 UTC (rev 12367)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog	2011-02-28 00:36:01 UTC (rev 12368)
@@ -30,11 +30,7 @@
 	util_make_link, whose goal is to provide a central place where URL
 	scheme is implemented.
 	* www/themes/gforge/Theme.class.php: Use these functions.
-	* common/include/*: Ditto.
-	* common/docman/*: Ditto.
-	* common/forum/*: Ditto.
-	* common/frs/*: Ditto.
-	* common/pm/*: Ditto.
+	* common/*: Ditto.
 
 2008-01-11  Roland Mas  <lolando at debian.org>
 

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/common/tracker/Artifact.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/common/tracker/Artifact.class.php	2011-02-28 00:35:59 UTC (rev 12367)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/common/tracker/Artifact.class.php	2011-02-28 00:36:01 UTC (rev 12368)
@@ -1207,9 +1207,9 @@
 		
 		$body = $this->ArtifactType->getName() ." item #". $this->getID() .", was opened at ". date( _('Y-m-d H:i'), $this->getOpenDate() ). 
 			"\nYou can respond by visiting: ".
-			"\nhttp://".$GLOBALS['sys_default_domain']."/tracker/?func=detail&atid=". $this->ArtifactType->getID() .
-				"&aid=". $this->getID() .
-				"&group_id=". $this->ArtifactType->Group->getID() .
+			"\n".util_make_url ('/tracker/?func=detail&atid='. $this->ArtifactType->getID() .
+					    "&aid=". $this->getID() .
+					    "&group_id=". $this->ArtifactType->Group->getID()) .
 			"\nOr by replying to this e-mail entering your response between the following markers: ".
 			"\n".ARTIFACT_MAIL_MARKER.
 			"\n(enter your response here)".
@@ -1311,9 +1311,9 @@
 		}
 
 		$body .= "\n\nYou can respond by visiting: ".
-		"\nhttp://".$GLOBALS['sys_default_domain']."/tracker/?func=detail&atid=". $this->ArtifactType->getID() .
-			"&aid=". $this->getID() .
-			"&group_id=". $this->ArtifactType->Group->getID();
+			"\n".util_make_url ('/tracker/?func=detail&atid='. $this->ArtifactType->getID() .
+					    "&aid=". $this->getID() .
+					    "&group_id=". $this->ArtifactType->Group->getID());
 
 		//only send if some recipients were found
 		if (count($emails) < 1 && count($monitor_ids) < 1) {



More information about the evolvis-commits mailing list