[evolvis-commits] r18679: allow feedback to be added to “permalinks”

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Oct 4 11:57:56 CEST 2012


Author: mirabilos
Date: 2012-10-04 11:57:55 +0200 (Thu, 04 Oct 2012)
New Revision: 18679

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/pm/t_follow.php
   trunk/gforge_base/evolvisforge-5.1/src/www/tracker/t_follow.php
Log:
allow feedback to be added to “permalinks”

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/pm/t_follow.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/pm/t_follow.php	2012-10-04 09:57:50 UTC (rev 18678)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/pm/t_follow.php	2012-10-04 09:57:55 UTC (rev 18679)
@@ -76,6 +76,18 @@
 $dsturl = util_make_url("/pm/task.php?func=detailtask&project_task_id=" .
     $tinfo['project_task_id'] . "&group_id=" . $tinfo['group_id'] .
     "&group_project_id=" . $tinfo['group_project_id']);
+
+foreach (array(
+	'error_msg',
+	'warning_msg',
+	'feedback',
+    ) as $k) {
+	$v = getStringFromRequest($k);
+	if ($v) {
+		$dsturl .= '&' . $k . '=' . urlencode($v);
+	}
+}
+
 sysdebug_off("HTTP/1.0 302 Found", true, 302);
 header("Location: " . $dsturl);
 echo "The result is at:\n" . $dsturl . "\n";

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/tracker/t_follow.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/tracker/t_follow.php	2012-10-04 09:57:50 UTC (rev 18678)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/tracker/t_follow.php	2012-10-04 09:57:55 UTC (rev 18679)
@@ -60,6 +60,18 @@
 $dsturl = util_make_url("/tracker/index.php?func=detail&aid=" .
     $ainfo['aid'] . "&group_id=" . $ainfo['group_id'] .
     "&atid=" . $ainfo['atid']);
+
+foreach (array(
+	'error_msg',
+	'warning_msg',
+	'feedback',
+    ) as $k) {
+	$v = getStringFromRequest($k);
+	if ($v) {
+		$dsturl .= '&' . $k . '=' . urlencode($v);
+	}
+}
+
 sysdebug_off("HTTP/1.0 302 Found", true, 302);
 header("Location: " . $dsturl);
 echo "The result is at:\n" . $dsturl . "\n";



More information about the evolvis-commits mailing list