Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1782)
+++ branches/2.8.x/CHANGELOG	(revision 1783)
@@ -13,6 +13,8 @@
 
 
 
+11 Oct-2012 Build 1783 Dietmar Woellbrink (Luisehahne)
+# fixed maintenance frontend
 11 Oct-2012 Build 1782 Dietmar Woellbrink (Luisehahne)
 + add maintance modus in backend
 10 Oct-2012 Build 1781 Dietmar Woellbrink (Luisehahne)
Index: branches/2.8.x/wb/admin/skel/themes/htt/maintance.htt
===================================================================
--- branches/2.8.x/wb/admin/skel/themes/htt/maintance.htt	(revision 1782)
+++ branches/2.8.x/wb/admin/skel/themes/htt/maintance.htt	(revision 1783)
@@ -30,7 +30,6 @@
                         </div>
                         <div class="bottomdiv">
         					<h3>{PAGE_TITLE}</h3>
-        					<h3>{BE_PATIENT}</h3>
         					<img src="{THEME_URL}/images/{PAGE_ICON}.png" alt="{PAGE_TITLE}" /><br />
         					<h3>{CHECK_BACK}</h3>
                         </div>
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1782)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1783)
@@ -51,5 +51,5 @@
 
 // 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.3');
-if(!defined('REVISION')) define('REVISION', '1782');
+if(!defined('REVISION')) define('REVISION', '1783');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/framework/class.frontend.php
===================================================================
--- branches/2.8.x/wb/framework/class.frontend.php	(revision 1782)
+++ branches/2.8.x/wb/framework/class.frontend.php	(revision 1783)
@@ -83,6 +83,12 @@
         }
 
 		$maintance = ( defined('SYSTEM_LOCKED') && (SYSTEM_LOCKED==true) ? true : false );
+
+		if( ($maintance==true) || $this->get_session('USER_ID')!= 1 )
+		{
+       	//  check for show maintenance screen and terminate if needed
+    		$this->ShowMaintainScreen('locked');
+        }
 		// We have no page id and are supposed to show the intro page
 		if((INTRO_PAGE && ($maintance != true) && !isset($no_intro)) && (!isset($page_id) || !is_numeric($page_id)))
 		{
Index: branches/2.8.x/wb/modules/form/frontend.css
===================================================================
--- branches/2.8.x/wb/modules/form/frontend.css	(revision 1782)
+++ branches/2.8.x/wb/modules/form/frontend.css	(revision 1783)
@@ -18,4 +18,4 @@
 .frm-note { background :#eeffee; border :0.2em #448844 solid; color :#004400; margin-bottom :1em; padding :0.8em; font-size :1.2em; font-weight :bold; }
 .previewPrintTop { text-align :right; font-size :0.9em; }
 .previewPrintTop img { padding-left :16px; }
-fielset { border :none; }
\ No newline at end of file
+fieldset { border :none; }
\ No newline at end of file
