Project

General

Profile

« Previous | Next » 

Revision 1783

Added by Dietmar almost 12 years ago

  1. fixed maintenance frontend

View differences:

branches/2.8.x/CHANGELOG
13 13

  
14 14

  
15 15

  
16
11 Oct-2012 Build 1783 Dietmar Woellbrink (Luisehahne)
17
# fixed maintenance frontend
16 18
11 Oct-2012 Build 1782 Dietmar Woellbrink (Luisehahne)
17 19
+ add maintance modus in backend
18 20
10 Oct-2012 Build 1781 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/admin/skel/themes/htt/maintance.htt
30 30
                        </div>
31 31
                        <div class="bottomdiv">
32 32
        					<h3>{PAGE_TITLE}</h3>
33
        					<h3>{BE_PATIENT}</h3>
34 33
        					<img src="{THEME_URL}/images/{PAGE_ICON}.png" alt="{PAGE_TITLE}" /><br />
35 34
        					<h3>{CHECK_BACK}</h3>
36 35
                        </div>
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1782');
54
if(!defined('REVISION')) define('REVISION', '1783');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/framework/class.frontend.php
83 83
        }
84 84

  
85 85
		$maintance = ( defined('SYSTEM_LOCKED') && (SYSTEM_LOCKED==true) ? true : false );
86

  
87
		if( ($maintance==true) || $this->get_session('USER_ID')!= 1 )
88
		{
89
       	//  check for show maintenance screen and terminate if needed
90
    		$this->ShowMaintainScreen('locked');
91
        }
86 92
		// We have no page id and are supposed to show the intro page
87 93
		if((INTRO_PAGE && ($maintance != true) && !isset($no_intro)) && (!isset($page_id) || !is_numeric($page_id)))
88 94
		{
branches/2.8.x/wb/modules/form/frontend.css
18 18
.frm-note { background :#eeffee; border :0.2em #448844 solid; color :#004400; margin-bottom :1em; padding :0.8em; font-size :1.2em; font-weight :bold; }
19 19
.previewPrintTop { text-align :right; font-size :0.9em; }
20 20
.previewPrintTop img { padding-left :16px; }
21
fielset { border :none; }
21
fieldset { border :none; }

Also available in: Unified diff