DevHeads.net

Reply to comment

com web/bugs: Clean up some minor whitespace and html issues.: www/bug.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=48e585076c3225e385328305337e1ec551711d6a" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=48e585076c3225e385328305337e1ec551711d6a">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=48e585076c3225e3853283...</a>

Log:
Clean up some minor whitespace and html issues.

Changed paths:
M www/bug.php

Diff:
diff --git a/www/bug.php b/www/bug.php
index f8374ca..c25ff39 100644
--- a/www/bug.php
+++ b/www/bug.php
@@ -774,11 +774,10 @@ if ($edit == 1 || $edit == 2) { ?>
<div class="explain">
<?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; ?>&amp;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>
+ 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; ?>&amp;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>
<?php } ?>

<table>
@@ -786,7 +785,7 @@ if ($edit == 1 || $edit == 2) { ?>
<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>
<?php if (!$show_bug_info) { ?>
- <input type="submit" value="Submit">
+ <td><input type="submit" value="Submit"></td>
<?php } ?>
</tr>
</table>
@@ -795,8 +794,8 @@ if ($edit == 1 || $edit == 2) { ?>
} elseif ($logged_in == 'developer') {
?>
<div class="explain">
- Welcome back, <?php echo $user; ?>! (Not <?php echo $user; ?>?
- <a href="logout.php">Log out.</a>)
+ Welcome back, <?php echo $user; ?>!
+ (Not <?php echo $user; ?>? <a href="logout.php">Log out.</a>)
</div>
<?php
} else {

Reply