Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1244)
+++ branches/2.8.x/CHANGELOG	(revision 1245)
@@ -12,6 +12,8 @@
 
 ------------------------------------- 2.8.1 -------------------------------------
 14-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #911 3. continue to fix CSS-errors in WB backend
+14-Jan-2010 Dietmar Woellbrink (Luisehahne)
 #	Ticket #911 2. continue to fix CSS-errors in WB backend
 14-Jan-2010 Dietmar Woellbrink (Luisehahne)
 #	Ticket #911 1. continue to fix CSS-errors in WB backend
Index: branches/2.8.x/wb/admin/pages/modify.php
===================================================================
--- branches/2.8.x/wb/admin/pages/modify.php	(revision 1244)
+++ branches/2.8.x/wb/admin/pages/modify.php	(revision 1245)
@@ -1,28 +1,63 @@
 <?php
+/****************************************************************************
+* SVN Version information:
+*
+* $Id$
+*
+*****************************************************************************
+*                          WebsiteBaker
+*
+* WebsiteBaker Project <http://www.websitebaker2.org/>
+* Copyright (C) 2009, Website Baker Org. e.V.
+*         http://start.websitebaker2.org/impressum-datenschutz.php
+* Copyright (C) 2004-2009, Ryan Djurovich
+*
+*                        About WebsiteBaker
+*
+* Website Baker is a PHP-based Content Management System (CMS)
+* designed with one goal in mind: to enable its users to produce websites
+* with ease.
+*
+*****************************************************************************
+*
+*****************************************************************************
+*                        LICENSE INFORMATION
+*
+* WebsiteBaker is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* WebsiteBaker is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+* See the GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+****************************************************************************
+*
+*****************************************************************************
+*                   WebsiteBaker Extra Information
+*
+*
+*
+*
+*****************************************************************************/
+/**
+ * @category    admin
+ * @package     pages
+ * @author      Ryan Djurovich
+ * @copyright   2004-2009, Ryan Djurovich
+ * @copyright   2009-2010, Website Baker Org. e.V.
+ * @version     $Id$
+ * @platform    WebsiteBaker 2.8.x
+ * @requirements >= PHP 4.3.4
+ * @license     http://www.gnu.org/licenses/gpl.html
+ *
+ */
 
-// $Id$
-
-/*
-
- Website Baker Project <http://www.websitebaker.org/>
- Copyright (C) 2004-2009, Ryan Djurovich
-
- Website Baker is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- Website Baker is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with Website Baker; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-*/
-
 // Get page id
 if(!isset($_GET['page_id']) OR !is_numeric($_GET['page_id'])) {
 	header("Location: index.php");
@@ -31,8 +66,6 @@
 	$page_id = $_GET['page_id'];
 }
 
-
-
 // Create new admin object
 require('../../config.php');
 require_once(WB_PATH.'/framework/class.admin.php');
@@ -52,12 +85,11 @@
 $user=$admin->get_user_details($results_array['modified_by']);
 
 // Convert the unix ts for modified_when to human a readable form
-if($results_array['modified_when'] != 0) {
-	$modified_ts = gmdate(TIME_FORMAT.', '.DATE_FORMAT, $results_array['modified_when']+TIMEZONE);
-} else {
-	$modified_ts = 'Unknown';
-}
 
+$modified_ts = ($results_array['modified_when'] != 0)
+        ? $modified_ts = gmdate(TIME_FORMAT.', '.DATE_FORMAT, $results_array['modified_when']+TIMEZONE)
+        : 'Unknown';
+
 // Include page info script
 $template = new Template(THEME_PATH.'/templates');
 $template->set_file('page', 'pages_modify.htt');
@@ -65,6 +97,7 @@
 $template->set_var(array(
 								'PAGE_ID' => $results_array['page_id'],
 								'PAGE_TITLE' => ($results_array['page_title']),
+								'MENU_TITLE' => ($results_array['menu_title']),
 								'MODIFIED_BY' => $user['display_name'],
 								'MODIFIED_BY_USERNAME' => $user['username'],
 								'MODIFIED_WHEN' => $modified_ts,
@@ -75,19 +108,19 @@
 								)
 						);
 if($modified_ts == 'Unknown') {
-	$template->set_var('DISPLAY_MODIFIED', 'hide');
+	$template->set_var('CLASS_DISPLAY_MODIFIED', 'hide');
 } else {
-	$template->set_var('DISPLAY_MODIFIED', '');
+	$template->set_var('CLASS_DISPLAY_MODIFIED', '');
 }
 
 // Work-out if we should show the "manage sections" link
 $query_sections = $database->query("SELECT section_id FROM ".TABLE_PREFIX."sections WHERE page_id = '$page_id' AND module = 'menu_link'");
 if($query_sections->numRows() > 0) {
-	$template->set_var('DISPLAY_MANAGE_SECTIONS', 'none');
+	$template->set_var('DISPLAY_MANAGE_SECTIONS', 'display:none;');
 } elseif(MANAGE_SECTIONS == 'enabled') {
 	$template->set_var('TEXT_MANAGE_SECTIONS', $HEADING['MANAGE_SECTIONS']);
 } else {
-	$template->set_var('DISPLAY_MANAGE_SECTIONS', 'none');
+	$template->set_var('DISPLAY_MANAGE_SECTIONS', 'display:none;');
 }
 
 // Insert language TEXT
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1244)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1245)
@@ -69,7 +69,7 @@
 	exit(0);
 }
 
-$tmp_revision = '$Revision';
+$tmp_revision = $Revision;
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.1');
 if(!defined('REVISION')) define('REVISION', $tmp_revision);
Index: branches/2.8.x/wb/framework/class.admin.php
===================================================================
--- branches/2.8.x/wb/framework/class.admin.php	(revision 1244)
+++ branches/2.8.x/wb/framework/class.admin.php	(revision 1245)
@@ -289,7 +289,7 @@
 	
 	function get_page_details($page_id) {
 		global $database;
-		$query = "SELECT page_id,page_title,modified_by,modified_when FROM ".TABLE_PREFIX."pages WHERE page_id = '$page_id'";
+		$query = "SELECT page_id,page_title,menu_title,modified_by,modified_when FROM ".TABLE_PREFIX."pages WHERE page_id = '$page_id'";
 		$results = $database->query($query);
 		if($database->is_error()) {
 			$this->print_header();
Index: branches/2.8.x/wb/templates/classic_theme/templates/pages_modify.htt
===================================================================
--- branches/2.8.x/wb/templates/classic_theme/templates/pages_modify.htt	(revision 1244)
+++ branches/2.8.x/wb/templates/classic_theme/templates/pages_modify.htt	(revision 1245)
@@ -1,22 +1,22 @@
-<!-- BEGIN main_block -->
-
-<table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom: 10px;">
-<tr style="background-color: #F0F0F0;">
-	<td valign="middle" align="left">
-		<h2>{HEADING_MODIFY_PAGE}</h2>
-	</td>
-	<td align="right">
-		{TEXT_CURRENT_PAGE}:
-		<b>{PAGE_TITLE}</b>
-		- 
-		<a href="{ADMIN_URL}/pages/settings.php?page_id={PAGE_ID}">{TEXT_CHANGE_SETTINGS}</a>
-		<font style="display: {DISPLAY_MANAGE_SECTIONS}">-</font>
-		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="display: {DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
-		<font style="color: #999999;" class="{DISPLAY_MODIFIED}"><br />
-		{LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
-		</font>
-	</td>
-</tr>
-</table>
-
+<!-- BEGIN main_block -->
+
+<table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom: 10px;">
+<tr style="background-color: #F0F0F0;">
+	<td valign="middle" align="left">
+		<h2>{HEADING_MODIFY_PAGE}</h2>
+	</td>
+	<td align="right">
+		{TEXT_CURRENT_PAGE}:
+		<b>{PAGE_TITLE}</b>
+		- 
+		<a href="{ADMIN_URL}/pages/settings.php?page_id={PAGE_ID}">{TEXT_CHANGE_SETTINGS}</a>
+		<font style="{DISPLAY_MANAGE_SECTIONS}">-</font>
+		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="{DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
+		<font style="color: #999999;" class="{CLASS_DISPLAY_MODIFIED}"><br />
+		{LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
+		</font>
+	</td>
+</tr>
+</table>
+
 <!-- END main_block -->
\ No newline at end of file
Index: branches/2.8.x/wb/templates/wb_theme/templates/pages_modify.htt
===================================================================
--- branches/2.8.x/wb/templates/wb_theme/templates/pages_modify.htt	(revision 1244)
+++ branches/2.8.x/wb/templates/wb_theme/templates/pages_modify.htt	(revision 1245)
@@ -1,22 +1,22 @@
-<!-- BEGIN main_block -->
-
-<table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom: 10px;">
-<tr style="background-color: #F0F0F0;">
-	<td valign="middle" align="left">
-		<h2>{HEADING_MODIFY_PAGE}</h2>
-	</td>
-	<td align="right">
-		{TEXT_CURRENT_PAGE}:
-		<b>{PAGE_TITLE}</b>
-		- 
-		<a href="{ADMIN_URL}/pages/settings.php?page_id={PAGE_ID}">{TEXT_CHANGE_SETTINGS}</a>
-		<font style="display: {DISPLAY_MANAGE_SECTIONS}">-</font>
-		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="display: {DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
-		<font style="color: #999999;" class="{DISPLAY_MODIFIED}"><br />
-		{LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
-		</font>
-	</td>
-</tr>
-</table>
-
+<!-- BEGIN main_block -->
+
+<table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom: 10px;">
+<tr style="background-color: #F0F0F0;">
+	<td valign="middle" align="left">
+		<h2>{HEADING_MODIFY_PAGE}</h2>
+	</td>
+	<td align="right">
+		{TEXT_CURRENT_PAGE}:
+		<b>{PAGE_TITLE}</b>
+		- 
+		<a href="{ADMIN_URL}/pages/settings.php?page_id={PAGE_ID}">{TEXT_CHANGE_SETTINGS}</a>
+		<font style="{DISPLAY_MANAGE_SECTIONS}">-</font>
+		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="{DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
+		<font style="color: #999999;" class="{CLASS_DISPLAY_MODIFIED}"><br />
+		{LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
+		</font>
+	</td>
+</tr>
+</table>
+
 <!-- END main_block -->
\ No newline at end of file
Index: branches/2.8.x/wb/templates/argos_theme/templates/pages_modify.htt
===================================================================
--- branches/2.8.x/wb/templates/argos_theme/templates/pages_modify.htt	(revision 1244)
+++ branches/2.8.x/wb/templates/argos_theme/templates/pages_modify.htt	(revision 1245)
@@ -9,9 +9,9 @@
 		<b>{PAGE_TITLE}</b>
 		- 
 		<a href="{ADMIN_URL}/pages/settings.php?page_id={PAGE_ID}">{TEXT_CHANGE_SETTINGS}</a>
-		<font style="display: {DISPLAY_MANAGE_SECTIONS}">-</font>
-		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="display: {DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
-		<font style="color:#999;" class="{DISPLAY_MODIFIED}"><br />
+		<font style="{DISPLAY_MANAGE_SECTIONS}">-</font>
+		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="{DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
+		<font style="color:#999;" class="{CLASS_DISPLAY_MODIFIED}"><br />
 		{LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
 		</font>
 	</td>
