cvs: pearweb /templates/bugs listpatches.php patchdiff.php patchdisplay.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sat, 05 Apr 2008 23:03:02 +0000 |
| Subject: | cvs: pearweb /templates/bugs listpatches.php patchdiff.php patchdisplay.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7440@lists.php.net to get a copy of this message | ||
dufuz Sat Apr 5 23:03:02 2008 UTC
Modified files:
/pearweb/templates/bugs listpatches.php patchdiff.php
patchdisplay.php
Log:
we are using bug_id in the urls
http://cvs.php.net/viewvc.cgi/pearweb/templates/bugs/listpatches.php?r1=1.4&r2=1.5&diff_format=u
Index: pearweb/templates/bugs/listpatches.php
diff -u pearweb/templates/bugs/listpatches.php:1.4 pearweb/templates/bugs/listpatches.php:1.5
--- pearweb/templates/bugs/listpatches.php:1.4 Tue Feb 5 20:01:41 2008
+++ pearweb/templates/bugs/listpatches.php Sat Apr 5 23:03:02 2008
@@ -3,7 +3,7 @@
<tr>
<td>
<a href="bug.php?id=<?php echo urlencode($bug) ?>">Return to Bug #<?php
echo clean($bug) ?></a>
- <?php if ($canpatch): ?> | <a href="patch-add.php?bug=<?php echo
urlencode($bug) ?>">Add a Patch</a>
+ <?php if ($canpatch): ?> | <a href="patch-add.php?bug_id=<?php echo
urlencode($bug) ?>">Add a Patch</a>
<?php endif; //if ($canpatch) ?>
</td>
</tr>
@@ -18,12 +18,12 @@
?>
<tr>
<th class="details">
- Patch <a href="?bug=<?php echo urlencode($bug) ?>&patch=<?php echo
urlencode($patch)
+ Patch <a href="?bug_id=<?php echo urlencode($bug) ?>&patch=<?php echo
urlencode($patch)
?>"><?php echo clean($patch); ?></a>
</th>
<td>
<?php foreach ($revisions as $rev): ?>
- revision <a href="patch-display.php?bug=<?php echo urlencode($bug)
?>&patch=<?php echo urlencode($patch)
+ revision <a href="patch-display.php?bug_id=<?php echo urlencode($bug)
?>&patch=<?php echo urlencode($patch)
?>&revision=<?php echo $rev[0] ?>&display=1"><?php echo
format_date($rev[0]) ?></a> by <a href="/user/<?php echo $rev[1]
?>"><?php echo $rev[1] ?></a><br />
<?php endforeach; //foreach ($revisions as $rev) ?>
</td>
http://cvs.php.net/viewvc.cgi/pearweb/templates/bugs/patchdiff.php?r1=1.1&r2=1.2&diff_format=u
Index: pearweb/templates/bugs/patchdiff.php
diff -u pearweb/templates/bugs/patchdiff.php:1.1 pearweb/templates/bugs/patchdiff.php:1.2
--- pearweb/templates/bugs/patchdiff.php:1.1 Wed Apr 25 22:56:14 2007
+++ pearweb/templates/bugs/patchdiff.php Sat Apr 5 23:03:02 2008
@@ -1,8 +1,8 @@
<?php response_header('Patch :: ' . clean($package) . ' :: Bug #' .
clean($bug)); ?>
<h1>Patch version <?php echo format_date($revision) ?> for <?php echo
clean($package) ?> Bug #<?php
echo clean($bug) ?></h1>
-<a href="bug.php?id=<?php echo urlencode($bug) ?>">Return to Bug #<?php
echo clean($bug) ?></a>
-| <a href="patch-display.php?bug=<?php echo urlencode($bug) ?>&patch=<?php
echo urlencode($patch)
+<a href="bug.php?id=<?php echo urlencode($bug) ?>">Return to Bug #<?php
echo clean($bug) ?></a>
+| <a href="patch-display.php?bug_id=<?php echo urlencode($bug) ?>&patch=<?php
echo urlencode($patch)
?>&revision=<?php echo urlencode($revision) ?>&download=1">Download
this patch</a><br />
<?php
if (count($obsoletedby)) {
@@ -10,7 +10,7 @@
foreach ($obsoletedby as $betterpatch) {
echo '<li><a href="/bugs/patch-display.php?patch=',
urlencode($betterpatch['patch']),
- '&bug=', $bug, '&revision=',
$betterpatch['revision'],
+ '&bug_id=', $bug, '&revision=',
$betterpatch['revision'],
'">', htmlspecialchars($betterpatch['patch']), ',
revision ',
format_date($betterpatch['revision']), '</a></li>';
}
@@ -22,7 +22,7 @@
foreach ($obsoletes as $betterpatch) {
echo '<li><a href="/bugs/patch-display.php?patch=',
urlencode($betterpatch['obsolete_patch']),
- '&bug=', $bug,
+ '&bug_id=', $bug,
'&revision=', $betterpatch['obsolete_revision'],
'">', htmlspecialchars($betterpatch['obsolete_patch']),
', revision ',
format_date($betterpatch['obsolete_revision']),
'</a></li>';
@@ -32,7 +32,7 @@
?>
Patch Revisions:
<?php foreach ($revisions as $i => $revision): ?>
-<a href="patch-display.php?bug=<?php echo urlencode($bug) ?>&patch=<?php
+<a href="patch-display.php?bug_id=<?php echo urlencode($bug) ?>&patch=<?php
echo urlencode($patch) ?>&revision=<?php echo urlencode($revision[0])
?>"><?php
echo format_date($revision[0]) ?></a><?php if ($i < count($revisions) - 1) echo
' | '; ?>
<?php endforeach; //foreach ($revisions as $i => $revision) ?>
http://cvs.php.net/viewvc.cgi/pearweb/templates/bugs/patchdisplay.php?r1=1.10&r2=1.11&diff_format=u
Index: pearweb/templates/bugs/patchdisplay.php
diff -u pearweb/templates/bugs/patchdisplay.php:1.10 pearweb/templates/bugs/patchdisplay.php:1.11
--- pearweb/templates/bugs/patchdisplay.php:1.10 Wed Apr 25 22:56:14 2007
+++ pearweb/templates/bugs/patchdisplay.php Sat Apr 5 23:03:02 2008
@@ -1,8 +1,8 @@
<?php response_header('Patch :: ' . clean($package) . ' :: Bug #' .
clean($bug)); ?>
<h1>Patch version <?php echo format_date($revision) ?> for <?php echo
clean($package) ?> Bug #<?php
echo clean($bug) ?></h1>
-<a href="bug.php?id=<?php echo urlencode($bug) ?>">Return to Bug #<?php
echo clean($bug) ?></a>
-| <a href="patch-display.php?bug=<?php echo urlencode($bug) ?>&patch=<?php
echo urlencode($patch)
+<a href="bug.php?id=<?php echo urlencode($bug) ?>">Return to Bug #<?php
echo clean($bug) ?></a>
+| <a href="patch-display.php?bug_id=<?php echo urlencode($bug) ?>&patch=<?php
echo urlencode($patch)
?>&revision=<?php echo urlencode($revision) ?>&download=1">Download
this patch</a><br />
<?php
if (count($obsoletedby)) {
@@ -10,7 +10,7 @@
foreach ($obsoletedby as $betterpatch) {
echo '<li><a href="/bugs/patch-display.php?patch=',
urlencode($betterpatch['patch']),
- '&bug=', $bug, '&revision=',
$betterpatch['revision'],
+ '&bug_id=', $bug, '&revision=',
$betterpatch['revision'],
'">', htmlspecialchars($betterpatch['patch']), ',
revision ',
format_date($betterpatch['revision']), '</a></li>';
}
@@ -22,7 +22,7 @@
foreach ($obsoletes as $betterpatch) {
echo '<li><a href="/bugs/patch-display.php?patch=',
urlencode($betterpatch['obsolete_patch']),
- '&bug=', $bug,
+ '&bug_id=', $bug,
'&revision=', $betterpatch['obsolete_revision'],
'">', htmlspecialchars($betterpatch['obsolete_patch']),
', revision ',
format_date($betterpatch['obsolete_revision']),
'</a></li>';
@@ -34,12 +34,12 @@
<?php
echo '<ul>';
foreach ($revisions as $i => $rev) {
- echo '<li><a href="patch-display.php?bug=', urlencode($bug),
'&patch=',
+ echo '<li><a href="patch-display.php?bug_id=', urlencode($bug),
'&patch=',
urlencode($patch), '&revision=', urlencode($rev[0]), '">',
- format_date($rev[0]), '</a>',
+ format_date($rev[0]), '</a>',
' <a href="/bugs/patch-display.php?patch=',
urlencode($patch),
- '&bug=', $bug, '&diff=1&old=', $rev[0],
'&revision=',
+ '&bug_id=', $bug, '&diff=1&old=', $rev[0],
'&revision=',
$revision, '">[diff to current]</a></li>';
}
echo '</ul></li>';