Fixed missing comments

git-svn-id: https://develop.svn.wordpress.org/trunk@362 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-09-09 21:23:48 +00:00
parent 8a0fabb3be
commit 9861b6991d

View File

@ -278,15 +278,15 @@ if ($i == "ASC")
if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) {
echo "[ <a href=\"b2edit.php?action=editcomment&amp;comment=".$commentdata->comment_ID."\">Edit</a>";
echo " - <a href=\"b2edit.php?action=deletecomment&amp;p=".$post->ID."&amp;comment=".$commentdata->comment_ID."\">Delete</a> ]";
}
} // end if any comments to show
?>
</li>
<!-- /comment -->
<?php //end of the loop, don't delete
}
} // end foreach
echo '</ol>';
}//end if comments
if ($comment_error)
echo "<p>Error: please fill the required fields (name & comment)</p>";
?>
@ -304,16 +304,11 @@ if ($i == "ASC")
<input type="text" name="url" class="textarea" value="<?php echo $user_url ?>" size="20" tabindex="3" /><br />
<textarea cols="40" rows="4" name="comment" tabindex="4" class="textarea">comment</textarea><br />
<input type="submit" name="submit" class="buttonarea" value="ok" tabindex="5" />
</form>
<!-- /form -->
<?php // if you delete this the sky will fall on your head
}
}
?>
<br />