mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Added "Documentation problem" as the default selected bug type for doc bug links
This commit is contained in:
@@ -112,7 +112,7 @@ $(document).ready(function() {
|
||||
$(this).siblings().slideToggle("slow");
|
||||
});
|
||||
$(".refsect1 .title").each(function() {
|
||||
url = "http://bugs.php.net/report.php?manpage=" + $(this).parent().parent().attr("id") + "%23" + $(this).text();
|
||||
url = "http://bugs.php.net/report.php?bug_type=Documentation+problem&manpage=" + $(this).parent().parent().attr("id") + "%23" + $(this).text();
|
||||
$(this).parent().prepend("<div class=\'reportbug\'><a href=\'" + url + "\'>Report a bug</a></div>");
|
||||
});
|
||||
$("#usernotes .head").click(function() {
|
||||
|
||||
@@ -195,7 +195,7 @@ else {
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Bugs</strong>. Instead
|
||||
<a href="http://bugs.php.net/report.php?manpage=<?php echo clean($_POST['sect']); ?>">report a bug</a>
|
||||
<a href="http://bugs.php.net/report.php?bug_type=Documentation+problem&manpage=<?php echo clean($_POST['sect']); ?>">report a bug</a>
|
||||
for this manual page to the bug database.
|
||||
</li>
|
||||
<li>
|
||||
@@ -243,8 +243,8 @@ else {?>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="/support.php">Click here to go to the support pages.</a><br />
|
||||
<a href="http://bugs.php.net/report.php?manpage=<?php echo clean($_POST['sect']); ?>">Click here to submit a bug report.</a><br />
|
||||
<a href="http://bugs.php.net/report.php?manpage=<?php echo clean($_POST['sect']); ?>">Click here to request a feature.</a><br />
|
||||
<a href="http://bugs.php.net/report.php?bug_type=Documentation+problem&manpage=<?php echo clean($_POST['sect']); ?>">Click here to submit a bug report.</a><br />
|
||||
<a href="http://bugs.php.net/report.php?bug_type=Documentation+problem&manpage=<?php echo clean($_POST['sect']); ?>">Click here to request a feature.</a><br />
|
||||
(Again, please note, if you ask a question, report a bug, or request a feature,
|
||||
your note <i>will be deleted</i>.)
|
||||
</b>
|
||||
|
||||
Reference in New Issue
Block a user