Commit: 232f1497134f70ffa705da6d5563e421b64289e2
Author: Michael <[email protected]> Sun, 3 Aug 2014 23:41:00 +0200
Parents: 546714cac1525ae844f2ad33eebad1f67110d197
Branches: master
Link:
http://git.php.net/?p=web/bugs.git;a=commitdiff;h=232f1497134f70ffa705da6d5563e421b64289e2
Log:
Remove XHTML
Changed paths:
M include/functions.php
M templates/addghpull.php
M templates/addpatch.php
M templates/listpatches.php
M templates/patchdiff.php
M templates/patchdisplay.php
M templates/patchform.php
M www/bug-pwd-finder.php
M www/bug.php
M www/bugs-generating-backtrace.php
M www/fix.php
M www/login.php
M www/report.php
M www/search.php
M www/stats.php
diff --git a/include/functions.php b/include/functions.php
index 03a3a50..96f518b 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -770,7 +770,7 @@ function show_boolean_options($current)
if ($val === $current) {
echo ' checked="checked"';
}
- echo " />$type \n";
+ echo ">$type \n";
}
}
@@ -1726,14 +1726,14 @@ function response_header($title, $extraHeaders = '')
echo '<?xml version="1.0" encoding="UTF-8" ?>';
?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
+<!DOCTYPE html>
+<html lang="en">
<head>
<?php echo $extraHeaders; ?>
- <base href="<?php echo $site_method?>://<?php echo $site_url, $basedir;
?>/" />
+ <base href="<?php echo $site_method?>://<?php echo $site_url, $basedir;
?>/">
<title><?php echo $siteBig; ?> :: <?php echo $title; ?></title>
- <link rel="shortcut icon" href="<?php echo $site_method?>://<?php echo
$site_url, $basedir; ?>/images/favicon.ico" />
- <link rel="stylesheet" href="<?php echo $site_method?>://<?php echo
$site_url, $basedir; ?>/css/style.css" />
+ <link rel="shortcut icon" href="<?php echo $site_method?>://<?php echo
$site_url, $basedir; ?>/images/favicon.ico">
+ <link rel="stylesheet" href="<?php echo $site_method?>://<?php echo
$site_url, $basedir; ?>/css/style.css">
</head>
<body>
@@ -1741,7 +1741,7 @@ function response_header($title, $extraHeaders = '')
<table id="top" class="head" cellspacing="0" cellpadding="0">
<tr>
<td class="head-logo">
- <a href="/"><img src="images/logo.gif" alt="Bugs"
vspace="2" hspace="2" /></a>
+ <a href="/"><img src="images/logo.gif" alt="Bugs"
vspace="2" hspace="2"></a>
</td>
<td class="head-menu">
@@ -1766,10 +1766,10 @@ function response_header($title, $extraHeaders = '')
<td class="head-search" colspan="2">
<form method="get" action="search.php">
<p class="head-search">
- <input type="hidden" name="cmd"
value="display" />
+ <input type="hidden" name="cmd"
value="display">
<small>go to bug id or search bugs
for</small>
- <input class="small" type="text"
name="search_for" value="<?php print isset($_GET['search_for']) ?
htmlspecialchars($_GET['search_for']) : ''; ?>" size="30" />
- <input type="image"
src="images/small_submit_white.gif" alt="search" style="vertical-align:
middle;" />
+ <input class="small" type="text"
name="search_for" value="<?php print isset($_GET['search_for']) ?
htmlspecialchars($_GET['search_for']) : ''; ?>" size="30">
+ <input type="image"
src="images/small_submit_white.gif" alt="search" style="vertical-align:
middle;">
</p>
</form>
</td>
@@ -1806,8 +1806,8 @@ function response_footer($extra_html = '')
<tr>
<td class="foot-copy">
<small>
- <a href="http://www.php.net/"><img
src="images/logo-small.gif" align="left" valign="middle" hspace="3" alt="PHP"
/></a>
- <a
href="http://www.php.net/copyright.php">Copyright © 2001-<?php echo
date('Y'); ?> The PHP Group</a><br />
+ <a href="http://www.php.net/"><img
src="images/logo-small.gif" align="left" valign="middle" hspace="3"
alt="PHP"></a>
+ <a
href="http://www.php.net/copyright.php">Copyright © 2001-<?php echo
date('Y'); ?> The PHP Group</a><br>
All rights reserved.
</small>
</td>
diff --git a/templates/addghpull.php b/templates/addghpull.php
index 60d3b51..89becb6 100644
--- a/templates/addghpull.php
+++ b/templates/addghpull.php
@@ -11,8 +11,8 @@ response_header('Add Pull Request :: ' .
clean($package_name));
<li>Choose a meaningful request name (i.e. include bug id and title)</li>
</ul>
<form name="patchform" method="post" action="gh-pull-add.php"
enctype="multipart/form-data">
-<input type="hidden" name="MAX_FILE_SIZE" value="102400" />
-<input type="hidden" name="bug" value="<?php echo $bug_id; ?>" />
+<input type="hidden" name="MAX_FILE_SIZE" value="102400">
+<input type="hidden" name="bug" value="<?php echo $bug_id; ?>">
<?php
if (!empty($errors)) {
foreach ($errors as $err) {
@@ -31,12 +31,12 @@ if (!$logged_in) {
Email Address (MUST BE VALID)
</th>
<td class="form-input">
- <input type="text" name="email" value="<?php echo clean($email); ?>" />
+ <input type="text" name="email" value="<?php echo clean($email); ?>">
</td>
</tr>
<tr>
- <th>Solve the problem:<br /><?php echo $captcha; ?> = ?</th>
- <td class="form-input"><input type="text" name="captcha" /></td>
+ <th>Solve the problem:<br><?php echo $captcha; ?> = ?</th>
+ <td class="form-input"><input type="text" name="captcha"></td>
</tr>
<?php } ?>
<tr>
@@ -53,14 +53,14 @@ if (!$logged_in) {
Pull Request:
</th>
<td class="form-input">
- <img src="images/loading-blue.gif" id="loading" />
+ <img src="images/loading-blue.gif" id="loading">
<select name="pull_id" id="pull_id_field"></select>
<div id="pull_details"></div>
</td>
</tr>
</table>
-<br />
-<input type="submit" name="addpull" value="Save" />
+<br>
+<input type="submit" name="addpull" value="Save">
</form>
<script>
var gh_pulls = false;
@@ -131,7 +131,7 @@ $("#pull_id_field").change(function() {
}
});
</script>
-<br/>
+<br>
<?php
$canpatch = false;
diff --git a/templates/addpatch.php b/templates/addpatch.php
index 6752850..6e0a7f6 100644
--- a/templates/addpatch.php
+++ b/templates/addpatch.php
@@ -9,8 +9,8 @@ response_header('Add Patch :: ' . clean($package_name));
<li>choose a meaningful patch name (i.e. add-fronk-support)</li>
</ul>
<form name="patchform" method="post" action="patch-add.php"
enctype="multipart/form-data">
-<input type="hidden" name="MAX_FILE_SIZE" value="102400" />
-<input type="hidden" name="bug" value="<?php echo $bug_id; ?>" />
+<input type="hidden" name="MAX_FILE_SIZE" value="102400">
+<input type="hidden" name="bug" value="<?php echo $bug_id; ?>">
<?php
if (!empty($errors)) {
foreach ($errors as $err) {
@@ -29,12 +29,12 @@ if (!$logged_in) {
Email Address (MUST BE VALID)
</th>
<td class="form-input">
- <input type="text" name="email" value="<?php echo clean($email); ?>" />
+ <input type="text" name="email" value="<?php echo clean($email); ?>">
</td>
</tr>
<tr>
- <th>Solve the problem:<br /><?php echo $captcha; ?> = ?</th>
- <td class="form-input"><input type="text" name="captcha" /></td>
+ <th>Solve the problem:<br><?php echo $captcha; ?> = ?</th>
+ <td class="form-input"><input type="text" name="captcha"></td>
</tr>
<?php } ?>
<tr>
@@ -42,7 +42,7 @@ if (!$logged_in) {
Patch Name
</th>
<td class="form-input">
- <input type="text" maxlength="80" size="40" name="name" value="<?php echo
clean($patch_name); ?>" /><br />
+ <input type="text" maxlength="80" size="40" name="name" value="<?php echo
clean($patch_name); ?>"><br>
<small>The patch name must be shorter than 80 characters and it must only
contain alpha-numeric characters, dots, underscores or hyphens.</small>
</td>
</tr>
@@ -51,7 +51,7 @@ if (!$logged_in) {
Patch File
</th>
<td class="form-input">
- <input type="file" name="patch"/>
+ <input type="file" name="patch">
</td>
</tr>
<?php if (!empty($patches)) { ?>
@@ -76,8 +76,8 @@ if (!$logged_in) {
</tr>
<?php } ?>
</table>
-<br />
-<input type="submit" name="addpatch" value="Save" />
+<br>
+<input type="submit" name="addpatch" value="Save">
</form>
<?php if (!empty($patches)) { ?>
<h2>Existing patches:</h2>
diff --git a/templates/listpatches.php b/templates/listpatches.php
index 7b0b662..8c848f0 100644
--- a/templates/listpatches.php
+++ b/templates/listpatches.php
@@ -17,7 +17,7 @@
<td>
<?php foreach ($revs as $rev) { ?>
revision <a href="patch-display.php?bug_id=<?php echo
$bug_id;?>&patch=<?php echo urlencode($pname); ?>&revision=<?php echo
$rev[0]; ?>&display=1"><?php echo format_date($rev[0]); ?></a>
- by <?php echo spam_protect($rev[1]); ?></a><br />
+ by <?php echo spam_protect($rev[1]); ?></a><br>
<?php } //foreach ($revs as $rev); ?>
</td>
</tr>
diff --git a/templates/patchdiff.php b/templates/patchdiff.php
index a43ce8d..37acd54 100644
--- a/templates/patchdiff.php
+++ b/templates/patchdiff.php
@@ -1,7 +1,7 @@
<h2>Patch <?php echo clean($patch_name); ?> for <?php echo
clean($package_name); ?> Bug #<?php echo $bug_id; ?></h2>
<p><b>Patch version <?php echo format_date($revision); ?></b></p>
<a href="bug.php?id=<?php echo $bug_id; ?>">Return to Bug #<?php echo $bug_id;
?></a>
-| <a href="patch-display.php?bug_id=<?php echo $bug_id; ?>&patch=<?php
echo $patch_name_url; ?>&revision=<?php echo urlencode($revision);
?>&download=1">Download this patch</a><br />
+| <a href="patch-display.php?bug_id=<?php echo $bug_id; ?>&patch=<?php
echo $patch_name_url; ?>&revision=<?php echo urlencode($revision);
?>&download=1">Download this patch</a><br>
<?php
if (count($obsoletedby)) {
echo '<div class="warnings">This patch is obsolete</div><p>Obsoleted by
patches:<ul>';
diff --git a/templates/patchdisplay.php b/templates/patchdisplay.php
index 29c83f7..026a0e9 100644
--- a/templates/patchdisplay.php
+++ b/templates/patchdisplay.php
@@ -1,7 +1,7 @@
<h2>Patch <?php echo clean($patch_name); ?> for <?php echo
clean($package_name); ?> Bug #<?php echo $bug_id; ?></h2>
<p><b>Patch version <?php echo format_date($revision); ?></b></p>
<a href="bug.php?id=<?php echo $bug_id; ?>">Return to Bug #<?php echo $bug_id;
?></a> |
-<a href="patch-display.php?bug_id=<?php echo $bug_id; ?>&patch=<?php echo
$patch_name_url; ?>&revision=<?php echo urlencode($revision);
?>&download=1">Download this patch</a><br />
+<a href="patch-display.php?bug_id=<?php echo $bug_id; ?>&patch=<?php echo
$patch_name_url; ?>&revision=<?php echo urlencode($revision);
?>&download=1">Download this patch</a><br>
<?php
if (count($obsoletedby)) {
echo '<div class="warnings">This patch is obsolete</div><p>Obsoleted by
patches:<ul>';
diff --git a/templates/patchform.php b/templates/patchform.php
index 24e9003..a930494 100644
--- a/templates/patchform.php
+++ b/templates/patchform.php
@@ -6,7 +6,7 @@
<p class="cell_note">
The patch name must be shorter than 80 characters and it must only contain
alpha-numeric characters, dots, underscores or hyphens.
</p>
- <input type="text" maxlength="80" size="40" name="in[patchname]"
value="<?php echo clean($patchname) ?>" /><br />
+ <input type="text" maxlength="80" size="40" name="in[patchname]"
value="<?php echo clean($patchname) ?>"><br>
</td>
</tr>
<tr>
@@ -17,6 +17,6 @@
</p>
</th>
<td class="form-input">
- <input type="file" name="patchfile" value="<?php echo clean($patchfile)
?>"/>
+ <input type="file" name="patchfile" value="<?php echo clean($patchfile) ?>">
</td>
</tr>
diff --git a/www/bug-pwd-finder.php b/www/bug-pwd-finder.php
index 75a73ce..d8112fa 100644
--- a/www/bug-pwd-finder.php
+++ b/www/bug-pwd-finder.php
@@ -87,7 +87,7 @@ in the bug report.
<form method="post" action="bug-pwd-finder.php">
<p><b>Bug Report ID:</b> #<input type="text" size="20" name="id" value="<?php
echo $bug_id; ?>">
-<p><b>Solve the problem:<br /><?php echo $captcha; ?> = ? <input type="text"
name="captcha" /></p>
+<p><b>Solve the problem:<br><?php echo $captcha; ?> = ? <input type="text"
name="captcha"></p>
<input type="submit" value="Send"></p>
</form>
diff --git a/www/bug.php b/www/bug.php
index 56934c7..bc8e1a6 100644
--- a/www/bug.php
+++ b/www/bug.php
@@ -571,8 +571,8 @@ switch (txfield('bug_type', $bug, isset($_POST['in']) ?
$_POST['in'] : null))
response_header(
$show_bug_info ? "{$bug_type} #{$bug_id} :: " .
htmlspecialchars($bug['sdesc']) : "You must be logged in",
($bug_id != 'PREVIEW') ? "
- <link rel='alternate' type='application/rss+xml'
title='{$bug['package_name']} Bug #{$bug['id']} - RDF'
href='rss/bug.php?id={$bug_id}' />
- <link rel='alternate' type='application/rss+xml'
title='{$bug['package_name']} Bug #{$bug['id']} - RSS 2.0'
href='rss/bug.php?id={$bug_id}&format=rss2' />
+ <link rel='alternate' type='application/rss+xml'
title='{$bug['package_name']} Bug #{$bug['id']} - RDF'
href='rss/bug.php?id={$bug_id}'>
+ <link rel='alternate' type='application/rss+xml'
title='{$bug['package_name']} Bug #{$bug['id']} - RSS 2.0'
href='rss/bug.php?id={$bug_id}&format=rss2'>
" : ''
);
@@ -592,7 +592,7 @@ switch ($thanks)
display_bug_success("
Thank you for your help!
If the status of the bug report you submitted changes,
you will be notified.
- You may return here and check the status or update your
report at any time.<br />
+ You may return here and check the status or update your
report at any time.<br>
The URL for your bug report is: <a
href='{$bug_url}'>{$bug_url}</a>.
");
break;
@@ -699,20 +699,20 @@ if ($bug_id !== 'PREVIEW') {
<fieldset>
<legend>Have you experienced this issue?</legend>
<div>
- <input type="radio" id="rep-y"
name="reproduced" value="1" onchange="show('canreproduce')" /> <label
for="rep-y">yes</label>
- <input type="radio" id="rep-n"
name="reproduced" value="0" onchange="hide('canreproduce')" /> <label
for="rep-n">no</label>
- <input type="radio" id="rep-d"
name="reproduced" value="2" onchange="hide('canreproduce')" checked="checked"
/> <label for="rep-d">don't know</label>
+ <input type="radio" id="rep-y"
name="reproduced" value="1" onchange="show('canreproduce')"> <label
for="rep-y">yes</label>
+ <input type="radio" id="rep-n"
name="reproduced" value="0" onchange="hide('canreproduce')"> <label
for="rep-n">no</label>
+ <input type="radio" id="rep-d"
name="reproduced" value="2" onchange="hide('canreproduce')" checked="checked">
<label for="rep-d">don't know</label>
</div>
</fieldset>
<fieldset>
<legend>Rate the importance of this bug to you:</legend>
<div>
<label for="score-5">high</label>
- <input type="radio" id="score-5" name="score"
value="2" />
- <input type="radio" id="score-4" name="score"
value="1" />
- <input type="radio" id="score-3" name="score"
value="0" checked="checked" />
- <input type="radio" id="score-2" name="score"
value="-1" />
- <input type="radio" id="score-1" name="score"
value="-2" />
+ <input type="radio" id="score-5" name="score"
value="2">
+ <input type="radio" id="score-4" name="score"
value="1">
+ <input type="radio" id="score-3" name="score"
value="0" checked="checked">
+ <input type="radio" id="score-2" name="score"
value="-1">
+ <input type="radio" id="score-1" name="score"
value="-2">
<label for="score-1">low</label>
</div>
</fieldset>
@@ -721,24 +721,24 @@ if ($bug_id !== 'PREVIEW') {
<fieldset>
<legend>Are you using the same PHP version?</legend>
<div>
- <input type="radio" id="ver-y" name="samever"
value="1" /> <label for="ver-y">yes</label>
- <input type="radio" id="ver-n" name="samever"
value="0" checked="checked" /> <label for="ver-n">no</label>
+ <input type="radio" id="ver-y" name="samever"
value="1"> <label for="ver-y">yes</label>
+ <input type="radio" id="ver-n" name="samever"
value="0" checked="checked"> <label for="ver-n">no</label>
</div>
</fieldset>
<fieldset>
<legend>Are you using the same operating
system?</legend>
<div>
- <input type="radio" id="os-y" name="sameos"
value="1" /> <label for="os-y">yes</label>
- <input type="radio" id="os-n" name="sameos"
value="0" checked="checked" /> <label for="os-n">no</label>
+ <input type="radio" id="os-y" name="sameos"
value="1"> <label for="os-y">yes</label>
+ <input type="radio" id="os-n" name="sameos"
value="0" checked="checked"> <label for="os-n">no</label>
</div>
</fieldset>
</div>
<div id="submit" class="sect">
- <input type="hidden" name="id" value="<?php echo $bug_id?>" />
- <input type="submit" value="Vote" />
+ <input type="hidden" name="id" value="<?php echo $bug_id?>">
+ <input type="submit" value="Vote">
</div>
</form>
-<br clear="all" />
+<br clear="all">
<?php }
} // if ($bug_id != 'PREVIEW') {
@@ -770,9 +770,9 @@ if ($edit == 1 || $edit == 2) { ?>
<table>
<tr>
<td class="details">Passw<span
class="accesskey">o</span>rd:</td>
- <td><input type="password"
name="pw" value="<?php echo htmlspecialchars($pw); ?>" size="10" maxlength="20"
accesskey="o" /></td>
+ <td><input type="password"
name="pw" value="<?php echo htmlspecialchars($pw); ?>" size="10" maxlength="20"
accesskey="o"></td>
<?php if (!$show_bug_info) { ?>
- <input type="submit"
value="Submit" />
+ <input type="submit"
value="Submit">
<?php } ?>
</tr>
</table>
@@ -782,18 +782,18 @@ if ($edit == 1 || $edit == 2) { ?>
<?php if (!isset($_POST['in'])) { ?>
Welcome back! If you're the original bug
submitter, here's
where you can edit the bug or add additional
notes.
- <br />If this is not your bug, you can
- <a href="bug.php?id=<?php echo $bug_id; ?>&edit=3">add a
comment by following this link</a>.<br />
+ <br>If this is not your bug, you can
+ <a href="bug.php?id=<?php echo $bug_id; ?>&edit=3">add a
comment by following this link</a>.<br>
If this is your bug, but you forgot your
password, <a href="bug-pwd-finder.php?id=<?php echo $bug_id; ?>">you can
retrieve your password here</a>.
- <br />
+ <br>
<?php } ?>
<table>
<tr>
<td class="details">Passw<span
class="accesskey">o</span>rd:</td>
- <td><input type="password"
name="pw" value="<?php echo htmlspecialchars($pw); ?>" size="10" maxlength="20"
accesskey="o" /></td>
+ <td><input type="password"
name="pw" value="<?php echo htmlspecialchars($pw); ?>" size="10" maxlength="20"
accesskey="o"></td>
<?php if (!$show_bug_info) { ?>
- <input type="submit"
value="Submit" />
+ <input type="submit"
value="Submit">
<?php } ?>
</tr>
</table>
@@ -808,17 +808,17 @@ if ($edit == 1 || $edit == 2) { ?>
</div>
<?php } else { ?>
<div class="explain">
- Welcome! If you don't have a Git account, you
can't do anything here.<br />
+ Welcome! If you don't have a Git account, you
can't do anything here.<br>
You can <a href="bug.php?id=<?php echo $bug_id;
?>&edit=3">add a comment by following this link</a>
or if you reported this bug, you can <a
href="bug.php?id=<?php echo $bug_id; ?>&edit=2">edit this bug over here</a>.
<div class="details">
<label for="svnuser">php.net
Username:</label>
- <input type="text" id="svnuser"
name="user" value="<?php echo htmlspecialchars($user); ?>" size="10"
maxlength="20" />
+ <input type="text" id="svnuser"
name="user" value="<?php echo htmlspecialchars($user); ?>" size="10"
maxlength="20">
<label for="svnpw">php.net
Password:</label>
- <input type="password" id="svnpw"
name="pw" value="<?php echo htmlspecialchars($pw); ?>" size="10" />
- <!--<label
for="save">Remember:</label><input style="vertical-align:middle;"
type="checkbox" id="save" name="save" <?php echo !empty($_POST['save']) ?
'checked="checked"' : ''; ?> />-->
+ <input type="password" id="svnpw"
name="pw" value="<?php echo htmlspecialchars($pw); ?>" size="10">
+ <!--<label
for="save">Remember:</label><input style="vertical-align:middle;"
type="checkbox" id="save" name="save" <?php echo !empty($_POST['save']) ?
'checked="checked"' : ''; ?>>-->
<?php if (!$show_bug_info) { ?>
- <input type="submit" value="Submit" />
+ <input type="submit" value="Submit">
<?php } ?>
</div>
</div>
@@ -838,7 +838,7 @@ if ($edit == 1 || $edit == 2) { ?>
</select>
<?php if (isset($_POST['in']) && !empty($_POST['in']['resolve'])) { ?>
- <input type="hidden" name="trytoforce"
value="1" />
+ <input type="hidden" name="trytoforce"
value="1">
<?php } ?>
<small>(<a
href="quick-fix-desc.php">description</a>)</small>
@@ -848,13 +848,13 @@ if ($edit == 1 || $edit == 2) { ?>
<tr>
<th class="details">CVE-ID:</th>
<td colspan="3">
- <input type="text" size="15" maxlength="15"
name="in[cve_id]" value="<?php echo field('cve_id'); ?>" id="cve_id"/>
+ <input type="text" size="15" maxlength="15"
name="in[cve_id]" value="<?php echo field('cve_id'); ?>" id="cve_id">
</td>
</tr>
<tr>
<th class="details"></th>
<td colspan="3">
- <input type="checkbox" name="in[private]"
value="Y" <?php print $is_private == 'Y' ? 'checked="checked"' : ''; ?> />
Private report (Normal user should not see it)
+ <input type="checkbox" name="in[private]"
value="Y" <?php print $is_private == 'Y' ? 'checked="checked"' : ''; ?>>
Private report (Normal user should not see it)
</td>
</tr>
<?php } ?>
@@ -879,12 +879,12 @@ if ($edit == 1 || $edit == 2) { ?>
</td>
<th class="details">Assign to:</th>
<td>
- <input type="text" size="10" maxlength="16"
name="in[assign]" value="<?php echo field('assign'); ?>" id="assigned_user"/>
+ <input type="text" size="10" maxlength="16"
name="in[assign]" value="<?php echo field('assign'); ?>" id="assigned_user">
<?php } ?>
- <input type="hidden" name="id" value="<?php
echo $bug_id ?>" />
- <input type="hidden" name="edit" value="<?php
echo $edit ?>" />
- <input type="submit" value="Submit" />
+ <input type="hidden" name="id" value="<?php
echo $bug_id ?>">
+ <input type="hidden" name="edit" value="<?php
echo $edit ?>">
+ <input type="submit" value="Submit">
</td>
</tr>
<tr>
@@ -906,7 +906,7 @@ if ($edit == 1 || $edit == 2) { ?>
<tr>
<th class="details">Summary:</th>
<td colspan="3">
- <input type="text" size="60" maxlength="80"
name="in[sdesc]" value="<?php echo ($bug['status'] !== 'Spam') ? field('sdesc')
: 'Hidden because of SPAM'; ?>" />
+ <input type="text" size="60" maxlength="80"
name="in[sdesc]" value="<?php echo ($bug['status'] !== 'Spam') ? field('sdesc')
: 'Hidden because of SPAM'; ?>">
</td>
</tr>
<tr>
@@ -918,14 +918,14 @@ if ($edit == 1 || $edit == 2) { ?>
<tr>
<th class="details">New email:</th>
<td colspan="3">
- <input type="text" size="40" maxlength="40"
name="in[email]" value="<?php echo isset($_POST['in']) &&
isset($_POST['in']['email']) ? htmlspecialchars($_POST['in']['email']) : '';
?>" />
+ <input type="text" size="40" maxlength="40"
name="in[email]" value="<?php echo isset($_POST['in']) &&
isset($_POST['in']['email']) ? htmlspecialchars($_POST['in']['email']) : '';
?>">
</td>
</tr>
<tr>
<th class="details">PHP Version:</th>
- <td><input type="text" size="20" maxlength="100"
name="in[php_version]" value="<?php echo field('php_version'); ?>" /></td>
+ <td><input type="text" size="20" maxlength="100"
name="in[php_version]" value="<?php echo field('php_version'); ?>"></td>
<th class="details">OS:</th>
- <td><input type="text" size="20" maxlength="32"
name="in[php_os]" value="<?php echo field('php_os'); ?>" /></td>
+ <td><input type="text" size="20" maxlength="32"
name="in[php_os]" value="<?php echo field('php_os'); ?>"></td>
</tr>
</table>
@@ -945,7 +945,7 @@ if ($edit == 1 || $edit == 2) { ?>
?>
<p style="margin-top: 0em">
- <input type="submit" name="preview"
value="Preview"> <input type="submit" value="Submit" />
+ <input type="submit" name="preview"
value="Preview"> <input type="submit" value="Submit">
</p>
</form>
@@ -971,8 +971,8 @@ if ($edit == 1 || $edit == 2) { ?>
<div class="explain">
<h1>
<a href="patch-add.php?bug_id=<?php echo $bug_id;
?>">Click Here to Submit a Patch</a>
- <input type="submit" name="subscribe_to_bug"
value="Subscribe" />
- <input type="submit" name="unsubscribe_to_bug"
value="Unsubscribe" />
+ <input type="submit" name="subscribe_to_bug"
value="Subscribe">
+ <input type="submit" name="unsubscribe_to_bug"
value="Unsubscribe">
</h1>
</div>
<?php } ?>
@@ -981,7 +981,7 @@ if ($edit == 1 || $edit == 2) { ?>
<div class="explain">
Anyone can comment on a bug. Have a simpler test case?
Does it
- work for you on a different platform? Let us know!<br />
+ work for you on a different platform? Let us know!<br>
Just going to say 'Me too!'? Don't clutter the database
with that please
<?php
@@ -1001,20 +1001,20 @@ if (!$logged_in) {
?>
<table>
<tr>
- <th class="details">Y<span class="accesskey">o</span>ur
email address:<br /><strong>MUST BE VALID</strong></th>
+ <th class="details">Y<span class="accesskey">o</span>ur
email address:<br><strong>MUST BE VALID</strong></th>
<td class="form-input">
- <input type="text" size="40" maxlength="40"
name="in[commentemail]" value="<?php echo isset($_POST['in']['commentemail']) ?
htmlspecialchars($_POST['in']['commentemail'], ENT_COMPAT, 'UTF-8') : ''; ?>"
accesskey="o" />
+ <input type="text" size="40" maxlength="40"
name="in[commentemail]" value="<?php echo isset($_POST['in']['commentemail']) ?
htmlspecialchars($_POST['in']['commentemail'], ENT_COMPAT, 'UTF-8') : ''; ?>"
accesskey="o">
</td>
</tr>
<tr>
- <th>Solve the problem:<br /><?php echo
htmlspecialchars($captcha); ?> = ?</th>
- <td class="form-input"><input type="text"
name="captcha" /></td>
+ <th>Solve the problem:<br><?php echo
htmlspecialchars($captcha); ?> = ?</th>
+ <td class="form-input"><input type="text"
name="captcha"></td>
</tr>
<tr>
<th class="details">Subscribe to this entry?</th>
<td class="form-input">
- <input type="submit" name="subscribe_to_bug"
value="Subscribe" />
- <input type="submit" name="unsubscribe_to_bug"
value="Unsubscribe" />
+ <input type="submit" name="subscribe_to_bug"
value="Subscribe">
+ <input type="submit" name="unsubscribe_to_bug"
value="Unsubscribe">
</td>
</tr>
</table>
@@ -1022,8 +1022,8 @@ if (!$logged_in) {
<?php } ?>
<div>
- <input type="hidden" name="id" value="<?php echo $bug_id; ?>" />
- <input type="hidden" name="edit" value="<?php echo $edit; ?>" />
+ <input type="hidden" name="id" value="<?php echo $bug_id; ?>">
+ <input type="hidden" name="edit" value="<?php echo $edit; ?>">
<?php
if ($bug['block_user_comment'] == 'Y' && $logged_in != 'developer') {
@@ -1037,7 +1037,7 @@ if (!$logged_in) {
}
?>
- <br /><input type="submit" name="preview"
value="Preview"> <input type="submit" value="Submit" />
+ <br><input type="submit" name="preview"
value="Preview"> <input type="submit" value="Submit">
</div>
</form>
@@ -1077,7 +1077,7 @@ if ($show_bug_info && $bug_id != 'PREVIEW' &&
$bug['status'] !== 'Spam') {
echo <<< OUTPUT
<a
href="patch-display.php?bug_id={$bug_id}&patch={$url_name}&revision=latest"
{$style}>{$clean_name}</a>
(last revision {$formatted_date}) by {$submitter})
-<br />
+<br>
OUTPUT;
}
echo "<p><a href='patch-add.php?bug_id={$bug_id}'>Add a Patch</a></p>";
@@ -1135,12 +1135,12 @@ if ($bug_id == 'PREVIEW') {
if ($k === 'ldesc_orig') {
$k = 'ldesc';
}
- echo "<input type='hidden' name='in[", htmlspecialchars($k,
ENT_QUOTES), "]' value='", htmlentities($v, ENT_QUOTES, 'UTF-8'), "'/>";
+ echo "<input type='hidden' name='in[", htmlspecialchars($k,
ENT_QUOTES), "]' value='", htmlentities($v, ENT_QUOTES, 'UTF-8'), "'>";
}
}
- echo "<input type='hidden' name='captcha' value='",
htmlspecialchars($_SESSION['captcha'], ENT_QUOTES), "'/>";
+ echo "<input type='hidden' name='captcha' value='",
htmlspecialchars($_SESSION['captcha'], ENT_QUOTES), "'>";
?>
- <input type='submit' value='Send bug report' /> <input type='submit'
name='edit_after_preview' value='Edit' />
+ <input type='submit' value='Send bug report'> <input type='submit'
name='edit_after_preview' value='Edit'>
</form>
<?php }
diff --git a/www/bugs-generating-backtrace.php
b/www/bugs-generating-backtrace.php
index 37a3d8c..69c3129 100644
--- a/www/bugs-generating-backtrace.php
+++ b/www/bugs-generating-backtrace.php
@@ -167,8 +167,8 @@ $16 = 0x816afbc "/home/yohgaki/php/DEV/segfault.php"
<p>In this session, frame 3 is the last <b><code>execute()</code></b>
call. The <b><code>frame 3</code></b> command moves the current working stack
-to the proper frame.<br />
-<b><code>print (char
*)(executor_globals.function_state_ptr->function)->common.function_name</code></b><br
/>
+to the proper frame.<br>
+<b><code>print (char
*)(executor_globals.function_state_ptr->function)->common.function_name</code></b><br>
prints the function name. In the sample gdb session, the
<code>pg_result_error()</code> call
is causing the segfault. You can print any internal data that you like,
diff --git a/www/fix.php b/www/fix.php
index 6514c63..17d79f2 100644
--- a/www/fix.php
+++ b/www/fix.php
@@ -56,7 +56,7 @@ if ($errors) {
?>
<form method="post" action="fix.php">
- <input type="hidden" name="id" value="<?php echo $bug_id; ?>" />
+ <input type="hidden" name="id" value="<?php echo $bug_id; ?>">
<?php // Note: same block is used also in bug.php!
if ($logged_in == 'developer') {
@@ -67,15 +67,15 @@ if ($logged_in == 'developer') {
</div>
<?php } else { ?>
<div class="explain">
- Welcome! If you don't have a Git account, you can't do anything
here.<br />
+ Welcome! If you don't have a Git account, you can't do anything
here.<br>
You can <a href="bug.php?id=<?php echo $bug_id;
?>&edit=3">add a comment by following this link</a>
or if you reported this bug, you can <a href="bug.php?id=<?php
echo $bug_id; ?>&edit=2">edit this bug over here</a>.
<div class="details">
<label for="svnuser">php.net Username:</label>
- <input type="text" id="svnuser" name="user"
value="<?php echo htmlspecialchars($user) ?>" size="10" maxlength="20" />
+ <input type="text" id="svnuser" name="user"
value="<?php echo htmlspecialchars($user) ?>" size="10" maxlength="20">
<label for="svnpw">php.net Password:</label>
- <input type="password" id="svnpw" name="pw"
value="<?php echo htmlspecialchars($pwd) ?>" size="10" />
- <label for="save">Remember:</label><input
style="vertical-align:middle;" type="checkbox" id="save" name="save" <?php echo
!empty($_POST['save']) ? 'checked="checked"' : ''; ?> />
+ <input type="password" id="svnpw" name="pw"
value="<?php echo htmlspecialchars($pwd) ?>" size="10">
+ <label for="save">Remember:</label><input
style="vertical-align:middle;" type="checkbox" id="save" name="save" <?php echo
!empty($_POST['save']) ? 'checked="checked"' : ''; ?>>
</div>
</div>
<?php } ?>
@@ -93,7 +93,7 @@ if ($logged_in == 'developer') {
<td colspan="5"><textarea cols="80" rows="8"
name="ncomment" wrap="physical"><?php echo htmlspecialchars($ncomment);
?></textarea></td>
</tr>
</table>
- <input type="submit" value="Resolve" />
+ <input type="submit" value="Resolve">
</form>
<?php
response_footer();
diff --git a/www/login.php b/www/login.php
index 54aa1a2..adaa3b3 100644
--- a/www/login.php
+++ b/www/login.php
@@ -36,18 +36,18 @@ if (isset($_POST['user'])) {
?>
<form method="post" action="login.php">
-<input type="hidden" name="referer" value="<?php print
htmlspecialchars($referer); ?>" />
+<input type="hidden" name="referer" value="<?php print
htmlspecialchars($referer); ?>">
<table>
<tr>
<th align="right">Username:</th>
- <td><input type="text" name="user" value="<?php print isset($user) ?
htmlspecialchars($user) : ''; ?>" />@php.net
+ <td><input type="text" name="user" value="<?php print isset($user) ?
htmlspecialchars($user) : ''; ?>">@php.net
</tr>
<tr>
<th align="right">Password:</th>
- <td><input type="password" name="pw" value="<?php print isset($pwd) ?
htmlspecialchars($pwd) : ''; ?>" />
+ <td><input type="password" name="pw" value="<?php print isset($pwd) ?
htmlspecialchars($pwd) : ''; ?>">
</tr>
<tr>
- <td align="center" colspan="2"><input type="submit" value="Login" /></td>
+ <td align="center" colspan="2"><input type="submit" value="Login"></td>
</tr>
</table>
</form>
diff --git a/www/report.php b/www/report.php
index 6f289b9..80a0237 100644
--- a/www/report.php
+++ b/www/report.php
@@ -385,21 +385,21 @@ display_bug_error($errors);
?>
<form method="post" action="report.php?package=<?php echo
htmlspecialchars($package); ?>" name="bugreport" id="bugreport"
enctype="multipart/form-data">
- <input type="hidden" name="in[did_luser_search]" value="<?php
echo isset($_POST['in']['did_luser_search']) ? $_POST['in']['did_luser_search']
: 0; ?>" />
+ <input type="hidden" name="in[did_luser_search]" value="<?php
echo isset($_POST['in']['did_luser_search']) ? $_POST['in']['did_luser_search']
: 0; ?>">
<table class="form-holder" cellspacing="1">
<?php if ($logged_in) { ?>
<tr>
<th class="form-label_left">Your handle:</th>
<td class="form-input">
<?php echo $auth_user->handle; ?>
- <input type="hidden" name="in[email]"
value="<?php echo $auth_user->email; ?>" />
+ <input type="hidden" name="in[email]"
value="<?php echo $auth_user->email; ?>">
</td>
</tr>
<?php } else { ?>
<tr>
- <th class="form-label_left">Y<span
class="accesskey">o</span>ur email address:<br /><strong>MUST BE
VALID</strong></th>
+ <th class="form-label_left">Y<span
class="accesskey">o</span>ur email address:<br><strong>MUST BE
VALID</strong></th>
<td class="form-input">
- <input type="text" size="20"
maxlength="40" name="in[email]" value="<?php echo
htmlspecialchars($_POST['in']['email'], ENT_COMPAT, 'UTF-8'); ?>" accesskey="o"
/>
+ <input type="text" size="20"
maxlength="40" name="in[email]" value="<?php echo
htmlspecialchars($_POST['in']['email'], ENT_COMPAT, 'UTF-8'); ?>" accesskey="o">
</td>
</th>
</tr>
@@ -407,8 +407,8 @@ display_bug_error($errors);
<tr>
<th class="form-label_left"><span
class="accesskey">P</span>assword:</th>
<td class="form-input">
- <input type="password" size="20"
maxlength="20" name="in[passwd]" value="<?php echo
htmlspecialchars($_POST['in']['passwd'], ENT_COMPAT, 'UTF-8');?>" accesskey="p"
/><br />
- You <strong>must</strong> enter any
password here, which will be stored for this bug report.<br />
+ <input type="password" size="20"
maxlength="20" name="in[passwd]" value="<?php echo
htmlspecialchars($_POST['in']['passwd'], ENT_COMPAT, 'UTF-8');?>"
accesskey="p"><br>
+ You <strong>must</strong> enter any
password here, which will be stored for this bug report.<br>
This password allows you to come back
and modify your submitted bug report at a later date.
[<a href="bug-pwd-finder.php">Lost a
bug password?</a>]
</td>
@@ -445,14 +445,14 @@ display_bug_error($errors);
<tr>
<th class="form-label_left">Operating
system:</th>
<td class="form-input">
- <input type="text" size="20"
maxlength="32" name="in[php_os]" value="<?php echo
htmlspecialchars($_POST['in']['php_os'], ENT_COMPAT, 'UTF-8'); ?>" />
+ <input type="text" size="20"
maxlength="32" name="in[php_os]" value="<?php echo
htmlspecialchars($_POST['in']['php_os'], ENT_COMPAT, 'UTF-8'); ?>">
</td>
</tr>
<tr>
<th class="form-label_left">Summary:</th>
<td class="form-input">
- <input type="text" size="40"
maxlength="79" name="in[sdesc]" value="<?php echo
htmlspecialchars($_POST['in']['sdesc'], ENT_COMPAT, 'UTF-8'); ?>" />
+ <input type="text" size="40"
maxlength="79" name="in[sdesc]" value="<?php echo
htmlspecialchars($_POST['in']['sdesc'], ENT_COMPAT, 'UTF-8'); ?>">
</td>
</tr>
@@ -540,16 +540,16 @@ display_bug_error($errors);
}
?>
<tr>
- <th><?php echo $captcha_label; ?><br /><?php
echo htmlspecialchars($captcha); ?> = ?</th>
- <td class="form-input"><input type="text"
name="captcha" autocomplete="off"/></td>
+ <th><?php echo $captcha_label; ?><br><?php echo
htmlspecialchars($captcha); ?> = ?</th>
+ <td class="form-input"><input type="text"
name="captcha" autocomplete="off"></td>
</tr>
<?php } ?>
<tr>
<th class="form-label_left">Submit:</th>
<td class="form-input">
- <input type="submit" value="Send bug
report" />
- <input type="submit" value="Preview"
name="preview"/>
+ <input type="submit" value="Send bug
report">
+ <input type="submit" value="Preview"
name="preview">
</td>
</tr>
</table>
diff --git a/www/search.php b/www/search.php
index f789965..727c41c 100644
--- a/www/search.php
+++ b/www/search.php
@@ -24,8 +24,8 @@ $newrequest = http_build_query(array_merge($_GET, $_POST));
if (!$count_only) {
response_header(
'Bugs :: Search', "
- <link rel='alternate' type='application/rss+xml'
title='Search bugs - RDF' href='rss/search.php?{$newrequest}' />
- <link rel='alternate' type='application/rss+xml'
title='Search bugs - RSS 2.0' href='rss/search.php?format=rss2&{$newrequest}' />
+ <link rel='alternate' type='application/rss+xml'
title='Search bugs - RDF' href='rss/search.php?{$newrequest}'>
+ <link rel='alternate' type='application/rss+xml'
title='Search bugs - RSS 2.0' href='rss/search.php?format=rss2&{$newrequest}'>
");
}
@@ -151,7 +151,7 @@ if (isset($_GET['cmd']) && $_GET['cmd'] == 'display')
// Bug ID
echo ' <td align="center"><a
href="bug.php?id=', $row['id'], '">', $row['id'], '</a>';
- echo '<br /><a href="bug.php?id=', $row['id'],
'&edit=1">(edit)</a></td>', "\n";
+ echo '<br><a href="bug.php?id=', $row['id'],
'&edit=1">(edit)</a></td>', "\n";
// Date
echo ' <td align="center">',
format_date(strtotime($row['ts1'])), "</td>\n";
@@ -174,7 +174,7 @@ if (isset($_GET['cmd']) && $_GET['cmd'] == 'display')
// Status
echo ' <td>', htmlspecialchars($row['status']);
if ($row['status'] == 'Feedback' &&
$row['unchanged'] > 0) {
- printf ("<br />%d day%s",
$row['unchanged'], $row['unchanged'] > 1 ? 's' : '');
+ printf ("<br>%d day%s",
$row['unchanged'], $row['unchanged'] > 1 ? 's' : '');
}
echo '</td>', "\n";
@@ -211,7 +211,7 @@ display_bug_error($warnings, 'warnings', 'WARNING:');
<tr valign="top">
<th>Find bugs</th>
<td style="white-space: nowrap">with all or any of the w<span
class="accesskey">o</span>rds</td>
- <td style="white-space: nowrap"><input type="text" name="search_for"
value="<?php echo htmlspecialchars($search_for, ENT_COMPAT, 'UTF-8'); ?>"
size="20" maxlength="255" accesskey="o" /><br />
+ <td style="white-space: nowrap"><input type="text" name="search_for"
value="<?php echo htmlspecialchars($search_for, ENT_COMPAT, 'UTF-8'); ?>"
size="20" maxlength="255" accesskey="o"><br>
<small>
<?php show_boolean_options($boolean_search) ?>
(<a href="search-howto.php" target="_new">?</a>)
@@ -221,16 +221,16 @@ display_bug_error($warnings, 'warnings', 'WARNING:');
<select name="limit"><?php show_limit_options($limit);?></select>
<select name="order_by"><?php show_order_options($limit);?></select>
- <br />
+ <br>
<small>
- <input type="radio" name="direction" value="ASC" <?php if($direction !=
"DESC") { echo('checked="checked"'); }?>/>Ascending
+ <input type="radio" name="direction" value="ASC" <?php if($direction !=
"DESC") { echo('checked="checked"'); }?>>Ascending
- <input type="radio" name="direction" value="DESC" <?php if($direction
== "DESC") { echo('checked="checked"'); }?>/>Descending
+ <input type="radio" name="direction" value="DESC" <?php if($direction
== "DESC") { echo('checked="checked"'); }?>>Descending
</small>
- <br /><br />
- <input type="hidden" name="cmd" value="display" />
+ <br><br>
+ <input type="hidden" name="cmd" value="display">
<label for="submit" accesskey="r">Sea<span
class="accesskey">r</span>ch:</label>
- <input id="submit" type="submit" value="Search" />
+ <input id="submit" type="submit" value="Search">
</td>
</tr>
<tr valign="top">
@@ -272,32 +272,32 @@ display_bug_error($warnings, 'warnings', 'WARNING:');
<th>OS</th>
<td style="white-space: nowrap">Return bugs with <b>operating system</b></td>
<td>
- <input type="text" name="php_os" value="<?php echo
htmlspecialchars($php_os, ENT_COMPAT, 'UTF-8'); ?>" />
- <input style="vertical-align:middle;" type="checkbox" name="php_os_not"
value="1" <?php echo ($php_os_not == 'not') ? 'checked="checked"' : ''; ?> />
NOT
+ <input type="text" name="php_os" value="<?php echo
htmlspecialchars($php_os, ENT_COMPAT, 'UTF-8'); ?>">
+ <input style="vertical-align:middle;" type="checkbox" name="php_os_not"
value="1" <?php echo ($php_os_not == 'not') ? 'checked="checked"' : ''; ?>> NOT
</td>
</tr>
<tr valign="top">
<th>PHP Version</th>
<td style="white-space: nowrap">Return bugs reported with <b>PHP
version</b></td>
- <td><input type="text" name="phpver" value="<?php echo
htmlspecialchars($phpver, ENT_COMPAT, 'UTF-8'); ?>" /></td>
+ <td><input type="text" name="phpver" value="<?php echo
htmlspecialchars($phpver, ENT_COMPAT, 'UTF-8'); ?>"></td>
</tr>
<tr valign="top">
<th>CVE-ID</th>
<td style="white-space: nowrap">Return bugs reported with <b>CVE-ID</b></td>
<td>
- <input type="text" name="cve_id" value="<?php echo
htmlspecialchars($cve_id, ENT_COMPAT, 'UTF-8'); ?>" />
- <input style="vertical-align:middle;" type="checkbox" name="cve_id_not"
value="1" <?php echo ($cve_id_not == 'not') ? 'checked="checked"' : ''; ?> />
NOT
+ <input type="text" name="cve_id" value="<?php echo
htmlspecialchars($cve_id, ENT_COMPAT, 'UTF-8'); ?>">
+ <input style="vertical-align:middle;" type="checkbox" name="cve_id_not"
value="1" <?php echo ($cve_id_not == 'not') ? 'checked="checked"' : ''; ?>> NOT
</td>
</tr>
<tr valign="top">
<th>Assigned</th>
<td style="white-space: nowrap">Return bugs <b>assigned</b> to</td>
- <td><input type="text" name="assign" value="<?php echo
htmlspecialchars($assign, ENT_COMPAT, 'UTF-8'); ?>" />
+ <td><input type="text" name="assign" value="<?php echo
htmlspecialchars($assign, ENT_COMPAT, 'UTF-8'); ?>">
<?php
if (!empty($auth_user->handle)) {
$u = htmlspecialchars($auth_user->handle);
- echo "<input type=\"button\" value=\"set to $u\"
onclick=\"form.assign.value='$u'\" />";
+ echo "<input type=\"button\" value=\"set to $u\"
onclick=\"form.assign.value='$u'\">";
}
?>
</td>
@@ -306,11 +306,11 @@ display_bug_error($warnings, 'warnings', 'WARNING:');
<tr valign="top">
<th>Author e<span class="accesskey">m</span>ail</th>
<td style="white-space: nowrap">Return bugs with author email</td>
- <td><input accesskey="m" type="text" name="author_email" value="<?php echo
htmlspecialchars($author_email, ENT_COMPAT, 'UTF-8'); ?>" />
+ <td><input accesskey="m" type="text" name="author_email" value="<?php echo
htmlspecialchars($author_email, ENT_COMPAT, 'UTF-8'); ?>">
<?php
if (!empty($auth_user->handle)) {
$u = htmlspecialchars($auth_user->handle);
- echo "<input type=\"button\" value=\"set to $u\"
onclick=\"form.author_email.value='[email protected]'\" />";
+ echo "<input type=\"button\" value=\"set to $u\"
onclick=\"form.author_email.value='[email protected]'\">";
}
?>
</td>
@@ -327,12 +327,12 @@ display_bug_error($warnings, 'warnings', 'WARNING:');
<tr valign="top">
<th>Patch</th>
<td style="white-space: nowrap">Return only bugs reported with <b>patch
attached</b></td>
- <td><input type="checkbox" name="patch" value="Y" <?php echo $patch == 'Y' ?
" checked" : "" ?> /></td>
+ <td><input type="checkbox" name="patch" value="Y" <?php echo $patch == 'Y' ?
" checked" : "" ?>></td>
</tr>
<tr valign="top">
<th>Pull Request</th>
<td style="white-space: nowrap">Return only bugs with a <b>pull
request</b></td>
- <td><input type="checkbox" name="pull" value="Y" <?php echo $pull == 'Y' ? "
checked" : "" ?> /></td>
+ <td><input type="checkbox" name="pull" value="Y" <?php echo $pull == 'Y' ? "
checked" : "" ?>></td>
</tr>
<?php
if ($is_security_developer) {
@@ -340,7 +340,7 @@ display_bug_error($warnings, 'warnings', 'WARNING:');
<tr valign="top">
<th>Private</th>
<td style="white-space: nowrap">Return only bugs marked as
<b>private</b></td>
- <td><input type="checkbox" name="private" value="Y" <?php echo $private ==
'Y' ? " checked" : "" ?> /></td>
+ <td><input type="checkbox" name="private" value="Y" <?php echo $private ==
'Y' ? " checked" : "" ?>></td>
</tr>
<?php } ?>
</table>
diff --git a/www/stats.php b/www/stats.php
index 423c3ef..e6aa1eb 100644
--- a/www/stats.php
+++ b/www/stats.php
@@ -91,7 +91,7 @@ if ($total > 0) {
<select class="small" id="bug_type"
name="bug_type" onchange="this.form.submit(); return false;">
<?php show_type_options($bug_type,
true) ?>
</select>
- <input class="small" type="submit"
name="submitStats" value="Search" />
+ <input class="small" type="submit"
name="submitStats" value="Search">
</td>
</tr>
</table>--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php