Fixed missing comments
git-svn-id: https://develop.svn.wordpress.org/trunk@362 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8a0fabb3be
commit
9861b6991d
@ -278,15 +278,15 @@ if ($i == "ASC")
|
|||||||
if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) {
|
if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) {
|
||||||
echo "[ <a href=\"b2edit.php?action=editcomment&comment=".$commentdata->comment_ID."\">Edit</a>";
|
echo "[ <a href=\"b2edit.php?action=editcomment&comment=".$commentdata->comment_ID."\">Edit</a>";
|
||||||
echo " - <a href=\"b2edit.php?action=deletecomment&p=".$post->ID."&comment=".$commentdata->comment_ID."\">Delete</a> ]";
|
echo " - <a href=\"b2edit.php?action=deletecomment&p=".$post->ID."&comment=".$commentdata->comment_ID."\">Delete</a> ]";
|
||||||
}
|
} // end if any comments to show
|
||||||
?>
|
?>
|
||||||
</li>
|
</li>
|
||||||
<!-- /comment -->
|
<!-- /comment -->
|
||||||
|
|
||||||
|
|
||||||
<?php //end of the loop, don't delete
|
<?php //end of the loop, don't delete
|
||||||
}
|
} // end foreach
|
||||||
echo '</ol>';
|
echo '</ol>';
|
||||||
|
}//end if comments
|
||||||
if ($comment_error)
|
if ($comment_error)
|
||||||
echo "<p>Error: please fill the required fields (name & comment)</p>";
|
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 />
|
<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 />
|
<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" />
|
<input type="submit" name="submit" class="buttonarea" value="ok" tabindex="5" />
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
<!-- /form -->
|
<!-- /form -->
|
||||||
|
|
||||||
|
|
||||||
<?php // if you delete this the sky will fall on your head
|
<?php // if you delete this the sky will fall on your head
|
||||||
}
|
}
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user