From 2425f963f8ad45292c217914b5fee1ed18104c26 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 14 Jul 2012 01:24:59 +0200 Subject: Use virtual path feature for links Use virtual paths in links (e.g. link to "/packages/" instead of "/packages.php" etc.) if the virtual path feature is enabled. Signed-off-by: Lukas Fleischer --- web/template/account_details.php | 2 +- web/template/account_edit_form.php | 2 +- web/template/account_search_results.php | 8 ++++---- web/template/actions_form.php | 2 +- web/template/header.php | 20 ++++++++++---------- web/template/pkg_comments.php | 4 ++-- web/template/pkg_details.php | 14 +++++++------- web/template/pkg_search_form.php | 2 +- web/template/pkg_search_results.php | 10 +++++----- web/template/search_accounts_form.php | 2 +- web/template/stats/updates_table.php | 2 +- web/template/stats/user_table.php | 4 ++-- web/template/tu_details.php | 4 ++-- web/template/tu_list.php | 4 ++-- 14 files changed, 40 insertions(+), 40 deletions(-) (limited to 'web/template') diff --git a/web/template/account_details.php b/web/template/account_details.php index f4c31c6..8551533 100644 --- a/web/template/account_details.php +++ b/web/template/account_details.php @@ -51,7 +51,7 @@ - + diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index c32eb94..fd58f84 100644 --- a/web/template/account_edit_form.php +++ b/web/template/account_edit_form.php @@ -1,4 +1,4 @@ -
+
diff --git a/web/template/account_search_results.php b/web/template/account_search_results.php index f2ed62e..cc2a1c2 100644 --- a/web/template/account_search_results.php +++ b/web/template/account_search_results.php @@ -28,7 +28,7 @@ else: ?> - "> + "> - "> + "> @@ -63,7 +63,7 @@ else: @@ -88,7 +88,7 @@ if ($SID && ($uid == $row["MaintainerUID"] || if ($row["SubmitterUID"]): if ($SID): ?> - + @@ -101,7 +101,7 @@ if ($row["SubmitterUID"]): if ($row["MaintainerUID"]): if ($SID): ?> - + @@ -114,7 +114,7 @@ if ($row["MaintainerUID"]): - @@ -139,7 +139,7 @@ if ($atype == "Developer" || $atype == "Trusted User"): # darr: (DepName, DepCondition, PackageID), where ID is NULL if it didn't exist if (!is_null($darr[2])): ?> -
  • +
  • @@ -155,7 +155,7 @@ if ($atype == "Developer" || $atype == "Trusted User"): # darr: (PackageName, PackageID) while (list($k, $darr) = each($requiredby)): ?> -
  • +
  • diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index 7997bb1..3f90088 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -36,7 +36,7 @@ $pages = array(50, 100, 250); - +
    - +
    @@ -78,7 +78,7 @@ else:
    -
    +
    diff --git a/web/template/actions_form.php b/web/template/actions_form.php index ff0fd4e..9cd5024 100644 --- a/web/template/actions_form.php +++ b/web/template/actions_form.php @@ -1,5 +1,5 @@
    - +
    diff --git a/web/template/header.php b/web/template/header.php index 246b304..52c0ab8 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -8,7 +8,7 @@ - + ' /> @@ -50,17 +50,17 @@
    diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php index b2d9ca5..5b5f610 100644 --- a/web/template/pkg_comments.php +++ b/web/template/pkg_comments.php @@ -10,11 +10,11 @@ $count = package_comments_count($_GET['ID']); {$row['UserName']}"; + $row['UserName'] = "?Action=AccountInfo&ID={$row['UsersID']}\">{$row['UserName']}"; endif; ?>

    - +
    diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index b41fded..4cb8602 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -57,7 +57,7 @@ if ($SID && ($uid == $row["MaintainerUID"] || ($atype == "Developer" || $atype == "Trusted User"))): ?>

    - +
    @@ -75,7 +75,7 @@ if ($SID && ($uid == $row["MaintainerUID"] ||
    - +
    +
    @@ -52,7 +52,7 @@ if (!$result): ?> - +
    ]" value="1" /> ">"> @@ -69,7 +69,7 @@ if (!$result): ?> - + @@ -90,7 +90,7 @@ if (!$result): ?> - +

    diff --git a/web/template/search_accounts_form.php b/web/template/search_accounts_form.php index 9e8c241..3080ecd 100644 --- a/web/template/search_accounts_form.php +++ b/web/template/search_accounts_form.php @@ -1,5 +1,5 @@
    - + diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php index b942dbc..835d956 100644 --- a/web/template/stats/updates_table.php +++ b/web/template/stats/updates_table.php @@ -6,7 +6,7 @@ getIterator() as $row): ?>
    - "> + "> diff --git a/web/template/stats/user_table.php b/web/template/stats/user_table.php index 0882119..3620798 100644 --- a/web/template/stats/user_table.php +++ b/web/template/stats/user_table.php @@ -7,14 +7,14 @@ $username = username_from_sid($_COOKIE["AURSID"]); diff --git a/web/template/tu_details.php b/web/template/tu_details.php index 38015e1..3ec05ad 100644 --- a/web/template/tu_details.php +++ b/web/template/tu_details.php @@ -11,7 +11,7 @@ : - + N/A @@ -61,7 +61,7 @@
    - +
    " /> " /> diff --git a/web/template/tu_list.php b/web/template/tu_list.php index ce19da3..eed7f74 100644 --- a/web/template/tu_list.php +++ b/web/template/tu_list.php @@ -25,13 +25,13 @@ ?>
    - +
    - +
    - + - +