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 <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2012-07-14 01:24:59 +02:00
parent a03c684ecd
commit 2425f963f8
24 changed files with 61 additions and 61 deletions

View file

@ -36,7 +36,7 @@ $pages = array(50, 100, 250);
<div id="pkglist-search" class="box filter-criteria">
<h2><?php print __("Search Criteria"); ?></h2>
<form action='packages.php' method='get'>
<form action='<?php echo get_uri('/packages/'); ?>' method='get'>
<p><input type='hidden' name='O' value='0' /></p>
<fieldset>