mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
a03c684ecd
commit
2425f963f8
24 changed files with 61 additions and 61 deletions
|
@ -25,13 +25,13 @@
|
|||
?>
|
||||
<tr class="<?php print $c ?>">
|
||||
<td><?php $row["Agenda"] = htmlspecialchars(substr($row["Agenda"], 0, $prev_Len)); ?>
|
||||
<a href="tu.php?id=<?php print $row['ID'] ?>"><?php print $row["Agenda"] ?></a></span></span>
|
||||
<a href="<?php echo get_uri('/tu/'); ?>?id=<?php print $row['ID'] ?>"><?php print $row["Agenda"] ?></a></span></span>
|
||||
</td>
|
||||
<td><?php print gmdate("Y-m-d", $row["Submitted"]) ?></td>
|
||||
<td><?php print gmdate("Y-m-d", $row["End"]) ?></td>
|
||||
<td>
|
||||
<?php if (!empty($row['User'])): ?>
|
||||
<a href="packages.php?K=<?php echo $row['User'] ?>&SeB=m"><?php echo $row['User'] ?></a>
|
||||
<a href="<?php echo get_uri('/packages/'); ?>?K=<?php echo $row['User'] ?>&SeB=m"><?php echo $row['User'] ?></a>
|
||||
<?php else:
|
||||
print "N/A";
|
||||
endif;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue