Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1234)
+++ branches/2.8.x/CHANGELOG	(revision 1235)
@@ -11,6 +11,9 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.1 -------------------------------------
+10-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	Ticket #903 fix CSS-errors in WB backend
+!	add title class in show_breadcrumbs, now full css styling
 05-Jan-2010 Dietmar Woellbrink (Luisehahne)
 !	recoded function show_breadcrumbs
 30-Dec-2009 Dietmar Woellbrink (Luisehahne)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1234)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1235)
@@ -2,7 +2,7 @@
 /****************************************************************************
 * SVN Version information:
 *
-* $Id: version.php 1230 2009-12-28 23:34:48Z Luisehahne $
+* $Id: version.php 1233 2009-12-28 23:34:48Z Luisehahne $
 *
 *
 *
@@ -56,7 +56,7 @@
  * @author       Ryan Djurovich
  * @copyright    2004-2009, Ryan Djurovich
  * @copyright    2009-2010, Website Baker Org. e.V.
- * @version      $Id: version.php 1230 2009-12-28 23:34:48Z Luisehahne $
+ * @version      $Id: version.php 1233 2009-12-28 23:34:48Z Luisehahne $
  * @platform     WebsiteBaker 2.8.x
  * @requirements >= PHP 4.3.4
  * @license      http://www.gnu.org/licenses/gpl.html
@@ -70,6 +70,6 @@
 
 // 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', '1233');
+if(!defined('REVISION')) define('REVISION', '1235');
 
 ?>
\ No newline at end of file
Index: branches/2.8.x/wb/framework/class.login.php
===================================================================
--- branches/2.8.x/wb/framework/class.login.php	(revision 1234)
+++ branches/2.8.x/wb/framework/class.login.php	(revision 1235)
@@ -1,44 +1,68 @@
 <?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
+*
+* This class will be used to with the login application
+*
+*
+*
+*
+*
+*****************************************************************************/
+/**
+ *
+ * @category     backend
+ * @package      login
+ * @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
-
-*/
-
-/*
- * @category   backend
- * @package    Login class
- * @author(s)  Dietmar Wöllbrink <Luisehahne>, Dietrich Roland Pehlke <Aldus>
- * @platform   WB 2.8.x
- * @require    PHP 5.2.11
- * @license    http://www.gnu.org/licenses/gpl.html
- * @link       http://project.websitebaker2.org/browser/branches/2.8.x/wb/pages
- * @changeset  2009/11/27   fixed parse error ticket #878
-
-
-
-This class will be used to with the login application
-
-*/
-
 // Stop this file from being accessed directly
 if(!defined('WB_URL')) {
 	header('Location: ../index.php');
@@ -379,7 +403,7 @@
 			$template->set_file('page', $this->template_file);
 			$template->set_block('page', 'mainBlock', 'main');
 			if($this->remember_me_option != true) {
-				$template->set_var('DISPLAY_REMEMBER_ME', 'none');
+				$template->set_var('DISPLAY_REMEMBER_ME', 'display: none;');
 			} else {
 				$template->set_var('DISPLAY_REMEMBER_ME', '');
 			}
Index: branches/2.8.x/wb/framework/frontend.functions.php
===================================================================
--- branches/2.8.x/wb/framework/frontend.functions.php	(revision 1234)
+++ branches/2.8.x/wb/framework/frontend.functions.php	(revision 1235)
@@ -231,15 +231,23 @@
 		global $database;
 		global $wb;
 		$admin = & $wb;
-		if ($wb->page_access_denied==true) {
+		if ($wb->page_access_denied==true)
+        {
 	        echo $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'];
 			exit();
 		}
-		if ($wb->page_no_active_sections==true) {
+		if ($wb->page_no_active_sections==true)
+        {
 	        echo $MESSAGE['FRONTEND']['SORRY_NO_ACTIVE_SECTIONS'];
 			exit();
 		}
-		if(isset($globals) AND is_array($globals)) { foreach($globals AS $global_name) { global $$global_name; } }
+		if(isset($globals) AND is_array($globals))
+        {
+            foreach($globals AS $global_name)
+            {
+                global $$global_name;
+                }
+        }
 		// Make sure block is numeric
 		if(!is_numeric($block)) { $block = 1; }
 		// Include page content
@@ -303,7 +311,10 @@
 					echo $content;
 				}
 			}
-		} else {
+		}
+        else
+        {
+
 			require(PAGE_CONTENT);
 		}
 	}
@@ -333,28 +344,42 @@
             $level = ($count <= $level ) ? $count-1 : $level;
             // set level from which to show, delete indexes in array
 			$crumbs = array_slice($bread_crumbs, $level );
-            // set depth of links -1 or 0 show all links
             $depth = ($depth <= 0) ? sizeof($crumbs) : $depth;
             // if empty array, set orginal links
             $crumbs = (!empty($crumbs)) ?  $crumbs : $wb->page_trail;
             $total_crumbs = ( ($depth <= 0) OR ($depth > sizeof($crumbs)) ) ? sizeof($crumbs) : $depth;
-            print '<div class="breadcrumb">'.$title;
-
-			foreach ($crumbs as $temp){
+            print '<div class="breadcrumb"><span class=" title">'.$title.'</span>';
+          //  print_r($crumbs);
+			foreach ($crumbs as $temp)
+            {
                 if($counter == $depth) { break; }
-                    // set separator
-					$query_menu = $database->query("SELECT menu_title, link FROM ".TABLE_PREFIX."pages WHERE page_id = $temp");
+                    // set links and separator
+					$query_menu = $database->query("SELECT * FROM ".TABLE_PREFIX."pages WHERE page_id = $temp");
 					$page = $query_menu->fetchRow();
-					if ( ($links == true) AND ($temp != $page_id) ) {
-						print '<a href="'.page_link($page['link']).'">'.$page['menu_title'].'</a>';
-					} else {
-                        print '<span class="crumb">'.$page['menu_title'].'</span>';
-					}
-                    if ( ( $counter <> $total_crumbs-1 ) ) {
+
+                    $show_crumb = (($links == true) AND ($temp != $page_id))
+                            ? '<a href="'.page_link($page['link']).'" class="link">'.$page['menu_title'].'</a>'
+                            : '<span class="crumb">'.MENU_TITLE.'</span>';
+
+                    // Permission
+                    switch ($page['visibility'])
+                    {
+                        case 'none' :
+                        case 'hidden' :
+                        // if show, you know there is an error in a hidden page
+                            print $show_crumb.' --- ';
+                        break;
+                        default :
+                            print $show_crumb;
+                        break;
+                    }
+
+                    if ( ( $counter <> $total_crumbs-1 ) )
+                    {
                         print '<span class="separator">'.$sep.'</span>';
                     }
 	            $counter++;
-                }
+            }
             print "</div>\n";
 		}
 	}
Index: branches/2.8.x/wb/templates/wb_theme/templates/login.htt
===================================================================
--- branches/2.8.x/wb/templates/wb_theme/templates/login.htt	(revision 1234)
+++ branches/2.8.x/wb/templates/wb_theme/templates/login.htt	(revision 1235)
@@ -46,7 +46,7 @@
 			<td width="170" height="30" align="right">{TEXT_PASSWORD}:</td>
 			<td><input type="password" maxlength="{MAX_PASSWORD_LEN}" name="{PASSWORD_FIELDNAME}" style="width: 180px;" /></td>
 		</tr>
-		<tr style="display: {DISPLAY_REMEMBER_ME};">
+		<tr style="{DISPLAY_REMEMBER_ME}">
 			<td>&nbsp;</td>
 			<td>
 				<input type="checkbox" name="remember" id="remember" value="true" />
Index: branches/2.8.x/wb/templates/argos_theme/templates/login.htt
===================================================================
--- branches/2.8.x/wb/templates/argos_theme/templates/login.htt	(revision 1234)
+++ branches/2.8.x/wb/templates/argos_theme/templates/login.htt	(revision 1235)
@@ -1,82 +1,82 @@
-<!-- BEGIN mainBlock -->
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<title>{TEXT_LOGIN}</title>
-<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="content-language" content="{LANGUAGE}" />
-<meta name="description" content="{TEXT_LOGIN}" />
-<meta name="keywords" content="{TEXT_LOGIN}" />
-<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" />
-</head>
-<body onload="document.login.{USERNAME_FIELDNAME}.focus();">
-<div style="text-align:left;font-size:20px;color:#fff;padding:15px 0 0 50px;height:100px;">
-	<!-- <img src="{THEME_URL}/images/logo.png" alt="Logo" /> -->
-	{TEXT_LOGIN}
-</div> 
-<table cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;">
-  <tr>
-    <td class="content">
-      <form name="login" action="{ACTION_URL}" method="post">
-        <input type="hidden" name="url" value="{URL}" />
-        <input type="hidden" name="username_fieldname" value="{USERNAME_FIELDNAME}" />
-        <input type="hidden" name="password_fieldname" value="{PASSWORD_FIELDNAME}" />
-        <table cellpadding="5" cellspacing="0" border="0" align="center" width="500">
-          <tr>
-            <td height="40" align="center" colspan="2">{MESSAGE}</td>
-          </tr>
-          <tr>
-            <td height="10" colspan="2"></td>
-          </tr>
-          <tr>
-            <td width="170" height="30" align="right">{TEXT_USERNAME}:</td>
-            <td>
-              <input type="text" maxlength="{MAX_USERNAME_LEN}" name="{USERNAME_FIELDNAME}" value="{USERNAME}" style="width: 180px;" />
-            </td>
-          </tr>
-          <tr>
-            <td width="170" height="30" align="right">{TEXT_PASSWORD}:</td>
-            <td>
-              <input type="password" maxlength="{MAX_PASSWORD_LEN}" name="{PASSWORD_FIELDNAME}" style="width: 180px;" />
-            </td>
-          </tr>
-          <tr style="display: {DISPLAY_REMEMBER_ME};">
-            <td>&nbsp;</td>
-            <td>
-              <input type="checkbox" name="remember" id="remember" value="true" />
-              <label for="remember">{TEXT_REMEMBER_ME}</label>
-            </td>
-          </tr>
-          <tr>
-            <td>&nbsp;</td>
-            <td>
-              <input type="submit" name="submit" value="{TEXT_LOGIN}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;" />
-            </td>
-          </tr>
-          <tr>
-            <td height="10" colspan="2"></td>
-          </tr>
-        </table>
-      </form>
-      <center>
-        <a href="{FORGOTTEN_DETAILS_APP}">{TEXT_FORGOTTEN_DETAILS}</a> 
-		<br />
-        <br />
-        <br />
-        <a href="{WB_URL}">{TEXT_HOME}</a>
-      </center>
-    </td>
-  </tr>
-</table>
-<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding:10px 0;">
-  <tr>
-    <td style="font-size:10px;text-aslign:center;">
-      <!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
-      <a href="http://www.websitebaker.com/" style="color: #000000;" target="_blank">Website Baker</a> is	released under the <a href="http://www.gnu.org/copyleft/gpl.html" style="color: #000000;" target="_blank">GNU General Public License</a>
-      <!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
-    </td>
-  </tr>
-</table>
-</body>
-</html>
-<!-- END mainBlock -->
+<!-- BEGIN mainBlock -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>{TEXT_LOGIN}</title>
+<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="content-language" content="{LANGUAGE}" />
+<meta name="description" content="{TEXT_LOGIN}" />
+<meta name="keywords" content="{TEXT_LOGIN}" />
+<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" />
+</head>
+<body onload="document.login.{USERNAME_FIELDNAME}.focus();">
+<div style="text-align:left;font-size:20px;color:#fff;padding:15px 0 0 50px;height:100px;">
+	<!-- <img src="{THEME_URL}/images/logo.png" alt="Logo" /> -->
+	{TEXT_LOGIN}
+</div> 
+<table cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;">
+  <tr>
+    <td class="content">
+      <form name="login" action="{ACTION_URL}" method="post">
+        <input type="hidden" name="url" value="{URL}" />
+        <input type="hidden" name="username_fieldname" value="{USERNAME_FIELDNAME}" />
+        <input type="hidden" name="password_fieldname" value="{PASSWORD_FIELDNAME}" />
+        <table cellpadding="5" cellspacing="0" border="0" align="center" width="500">
+          <tr>
+            <td height="40" align="center" colspan="2">{MESSAGE}</td>
+          </tr>
+          <tr>
+            <td height="10" colspan="2"></td>
+          </tr>
+          <tr>
+            <td width="170" height="30" align="right">{TEXT_USERNAME}:</td>
+            <td>
+              <input type="text" maxlength="{MAX_USERNAME_LEN}" name="{USERNAME_FIELDNAME}" value="{USERNAME}" style="width: 180px;" />
+            </td>
+          </tr>
+          <tr>
+            <td width="170" height="30" align="right">{TEXT_PASSWORD}:</td>
+            <td>
+              <input type="password" maxlength="{MAX_PASSWORD_LEN}" name="{PASSWORD_FIELDNAME}" style="width: 180px;" />
+            </td>
+          </tr>
+          <tr style="{DISPLAY_REMEMBER_ME}">
+            <td>&nbsp;</td>
+            <td>
+              <input type="checkbox" name="remember" id="remember" value="true" />
+              <label for="remember">{TEXT_REMEMBER_ME}</label>
+            </td>
+          </tr>
+          <tr>
+            <td>&nbsp;</td>
+            <td>
+              <input type="submit" name="submit" value="{TEXT_LOGIN}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;" />
+            </td>
+          </tr>
+          <tr>
+            <td height="10" colspan="2"></td>
+          </tr>
+        </table>
+      </form>
+      <center>
+        <a href="{FORGOTTEN_DETAILS_APP}">{TEXT_FORGOTTEN_DETAILS}</a> 
+		<br />
+        <br />
+        <br />
+        <a href="{WB_URL}">{TEXT_HOME}</a>
+      </center>
+    </td>
+  </tr>
+</table>
+<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding:10px 0;">
+  <tr>
+    <td style="font-size:10px;text-aslign:center;">
+      <!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
+      <a href="http://www.websitebaker.com/" style="color: #000000;" target="_blank">Website Baker</a> is	released under the <a href="http://www.gnu.org/copyleft/gpl.html" style="color: #000000;" target="_blank">GNU General Public License</a>
+      <!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
+    </td>
+  </tr>
+</table>
+</body>
+</html>
+<!-- END mainBlock -->
Index: branches/2.8.x/wb/modules/jsadmin/backend.css
===================================================================
--- branches/2.8.x/wb/modules/jsadmin/backend.css	(revision 1234)
+++ branches/2.8.x/wb/modules/jsadmin/backend.css	(revision 1235)
@@ -21,7 +21,6 @@
 
 .jsadmin_drag a, .jsadmin_drag input, .jsadmin_drag select {
 	cursor: pointer;
-	cursor: hand;
 }
 
 ul.jsadmin_drag_area {
