From d6032778cb69809283efd2a7384c132d28cff99d Mon Sep 17 00:00:00 2001 From: tmont Date: Sat, 25 Oct 2008 09:04:32 +0000 Subject: [PATCH] added message text box to edit form --- .../handlers/WikiEditPagePostHandler.php | 1 - src/lib/views/wiki/WikiPageEditView.php | 2 ++ src/media/css/global.css | 14 ++++++++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/lib/controllers/handlers/WikiEditPagePostHandler.php b/src/lib/controllers/handlers/WikiEditPagePostHandler.php index 666884e..33a9ba0 100644 --- a/src/lib/controllers/handlers/WikiEditPagePostHandler.php +++ b/src/lib/controllers/handlers/WikiEditPagePostHandler.php @@ -52,7 +52,6 @@ $history->$key = $value; } - $history->created_user_id = 1; return $history->insert($vendor); diff --git a/src/lib/views/wiki/WikiPageEditView.php b/src/lib/views/wiki/WikiPageEditView.php index e6dc8fa..5c8f63a 100644 --- a/src/lib/views/wiki/WikiPageEditView.php +++ b/src/lib/views/wiki/WikiPageEditView.php @@ -30,6 +30,8 @@ + + diff --git a/src/media/css/global.css b/src/media/css/global.css index 5184589..3fefe06 100644 --- a/src/media/css/global.css +++ b/src/media/css/global.css @@ -190,13 +190,19 @@ ul.menu { background-color: #FFFFFF; overflow: auto; } -.wikidiff del, .wikidiff ins { - text-decoration: none; +.wikidiff .range { + background-color: #CCCCCC; font-weight: bold; } -.wikidiff del { +.wikidiff div { + padding: 2px; +} +.wikidiff .diff del, .wikidiff ins { + text-decoration: none; +} +.wikidiff .diff del { background-color: #FFCCEE; } -.wikidiff ins { +.wikidiff .diff ins { background-color: #CCFFCC; } \ No newline at end of file