From 8dd1a521ede63ad327917c0077aa97279ed597f8 Mon Sep 17 00:00:00 2001 From: Kuzirashi Date: Sun, 18 May 2014 12:37:37 +0200 Subject: [PATCH] When editing news, now, you also get nicedit.js editor. Forced width to be 100%. --- admin_news.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/admin_news.php b/admin_news.php index a0d787c..98895f2 100644 --- a/admin_news.php +++ b/admin_news.php @@ -6,7 +6,7 @@ admin_only($user_data); // Recieving POST if (empty($_POST) === false) { list($action, $id) = explode('!', sanitize($_POST['option'])); - + // Delete if ($action === 'd') { echo 'News deleted!'; @@ -42,7 +42,7 @@ if (empty($_POST) === false) { ?>
-
+
@@ -77,10 +77,12 @@ if (empty($_POST) === false) { $edit = array(); foreach ($news as $n) if ($n['id'] == $id) $edit = $n; ?> + +

-
+