This is to be consistent with other pages.

Signed-off-by: Nathan Jones <[EMAIL PROTECTED]>
---
 web/html/pkgedit.php |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php
index d2e36d3..e341470 100644
--- a/web/html/pkgedit.php
+++ b/web/html/pkgedit.php
@@ -44,12 +44,18 @@ if ($_REQUEST["del_Comment"]) {
                        $q.= "SET DelUsersID = ".$uid." ";
                        $q.= "WHERE ID = ".intval($_REQUEST["comment_id"]);
                        db_query($q, $dbh);
-                       print __("Comment has been deleted.")."<br />\n";
+                       print "<p>";
+                       print __("Comment has been deleted.");
+                       print "</p>";
                } else {
-                       print __("You are not allowed to delete this 
comment.")."<br />\n";
+                       print "<p>";
+                       print __("You are not allowed to delete this comment.");
+                       print "</p>";
                }
        } else {
-               print __("Missing comment ID.")."<br />\n";
+               print "<p>";
+               print __("Missing comment ID.");
+               print "</p>";
        }
        print "<p>";
        print pkg_backlink($_REQUEST["ID"]);
@@ -71,7 +77,9 @@ if ($_REQUEST["add_Comment"]) {
                $q.= "'".mysql_real_escape_string($_REQUEST["comment"])."', ";
                $q.= "UNIX_TIMESTAMP())";
                db_query($q, $dbh);
+               print "<p>";
                print __("Comment has been added.");
+               print "</p>";
                print "<p>";
                print pkg_backlink($_REQUEST["ID"]);
                print "</p>";
@@ -136,10 +144,14 @@ if ($_REQUEST["change_Category"]) {
                        $q = "UPDATE Packages SET CategoryID = 
".intval($_REQUEST["category_id"]);
                        $q.= " WHERE ID = ".intval($_REQUEST["ID"]);
                        db_query($q, $dbh);
-                       print __("Package category updated.")."<br />\n";
+                       print "<p>";
+                       print __("Package category updated.");
+                       print "</p>";
 
                } else {
-                       print __("Invalid category ID.")."<br />\n";
+                       print "<p>";
+                       print __("Invalid category ID.");
+                       print "</p>";
                }
                print "<p>";
                print pkg_backlink($_REQUEST["ID"]);
-- 
1.6.0.4

Reply via email to