From a804f879211294fb72673530b1e4e95cb4f216dd Mon Sep 17 00:00:00 2001 From: Tim Gerundt Date: Thu, 5 Mar 2009 19:48:04 +0000 Subject: [PATCH] Web: Add list of subdomains to tracker shortcuts page --- Web/page.inc | 3 ++- Web/support/tracker-shortcuts.php | 21 +++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/Web/page.inc b/Web/page.inc index 1e226bd89..59e8b1e81 100644 --- a/Web/page.inc +++ b/Web/page.inc @@ -256,7 +256,8 @@ $subtabs[1] = new Subtab('http://forums.winmerge.org/', 'Discussion Forums', 'WinMerge Discussion Forums'); $subtabs[2] = new Subtab('/support/mailing-lists.php', 'Mailing Lists', 'WinMerge Mailing Lists'); $subtabs[3] = new Subtab('http://sourceforge.net/tracker/?group_id=13216', 'Tracker', 'WinMerge Tracker'); - $subtabs[4] = new Subtab('http://sourceforge.net/donate/index.php?group_id=13216', 'Donate', 'Donate money to WinMerge'); + $subtabs[4] = new Subtab('/support/tracker-shortcuts.php', 'Tracker Shortcuts', 'WinMerge Tracker Shortcuts'); + $subtabs[5] = new Subtab('http://sourceforge.net/donate/index.php?group_id=13216', 'Donate', 'Donate money to WinMerge'); break; case TAB_TRANSLATIONS: //if "Translations" ... $subtabs[0] = new Subtab('/translations/', 'Index', 'WinMerge Translations'); diff --git a/Web/support/tracker-shortcuts.php b/Web/support/tracker-shortcuts.php index e4faa594c..8e2a2940c 100644 --- a/Web/support/tracker-shortcuts.php +++ b/Web/support/tracker-shortcuts.php @@ -25,8 +25,10 @@ items from our SF.net project + 0)) { + if (($post_type != '') && ($post_id > 0)) { echo "

\n"; - echo "

http://winmerge.org/" . htmlentities($_POST['type']) . "/" . htmlentities($_POST['id']) . "

\n"; + echo "
http://winmerge.org/" . htmlentities($post_type) . "/" . htmlentities($post_id) . "
\n"; echo "

\n"; } +?> +

Subdomains

+
+printFoot(); ?> \ No newline at end of file -- 2.11.0