Project

General

Profile

« Previous | Next » 

Revision 1457

Added by Dietmar over 13 years ago

Preparing 2.8.2 stable, last tests

View differences:

index.php
27 27

  
28 28
// Insert values into the template object
29 29
$template->set_var(array(
30
								'WELCOME_MESSAGE' => $MESSAGE['START']['WELCOME_MESSAGE'],
31
								'CURRENT_USER' => $MESSAGE['START']['CURRENT_USER'],
32
								'DISPLAY_NAME' => $admin->get_display_name(),
33
								'ADMIN_URL' => ADMIN_URL,
34
								'WB_URL' => WB_URL,
35
								'THEME_URL' => THEME_URL,
36
								'WB_VERSION' => WB_VERSION
37
								)
38
						);
30
					'WELCOME_MESSAGE' => $MESSAGE['START']['WELCOME_MESSAGE'],
31
					'CURRENT_USER' => $MESSAGE['START']['CURRENT_USER'],
32
					'DISPLAY_NAME' => $admin->get_display_name(),
33
					'ADMIN_URL' => ADMIN_URL,
34
					'WB_URL' => WB_URL,
35
					'THEME_URL' => THEME_URL,
36
					'WB_VERSION' => WB_VERSION
37
				)
38
			);
39 39

  
40 40
// Insert permission values into the template object
41 41
if($admin->get_permission('pages') != true)
......
64 64
}
65 65

  
66 66
$msg = (file_exists(WB_PATH.'/install/')) ?  $MESSAGE['START']['INSTALL_DIR_EXISTS'] : '';
67
$msg .= (file_exists(WB_PATH.'/upgrade-script.php')) ? '<br />'.'upgrade-script.php '.$TEXT['DELETE'] : '';
67
$msg .= (file_exists(WB_PATH.'/upgrade-script.php')) ? '<br />'.$TEXT['DELETE'].' upgrade-script.php ' : '';
68 68

  
69 69
// Check if installation directory still exists
70 70
if(file_exists(WB_PATH.'/install/') || file_exists(WB_PATH.'/upgrade-script.php') ) {
......
114 114

  
115 115
// Insert section names and descriptions
116 116
$template->set_var(array(
117
								'PAGES' => $MENU['PAGES'],
118
								'MEDIA' => $MENU['MEDIA'],
119
								'ADDONS' => $MENU['ADDONS'],
120
								'ACCESS' => $MENU['ACCESS'],
121
								'PREFERENCES' => $MENU['PREFERENCES'],
122
								'SETTINGS' => $MENU['SETTINGS'],
123
								'ADMINTOOLS' => $MENU['ADMINTOOLS'],
124
								'HOME_OVERVIEW' => $OVERVIEW['START'],
125
								'PAGES_OVERVIEW' => $OVERVIEW['PAGES'],
126
								'MEDIA_OVERVIEW' => $OVERVIEW['MEDIA'],
127
								'ADDONS_OVERVIEW' => $addons_overview,
128
								'ACCESS_OVERVIEW' => $access_overview,
129
								'PREFERENCES_OVERVIEW' => $OVERVIEW['PREFERENCES'],
130
								'SETTINGS_OVERVIEW' => $OVERVIEW['SETTINGS'],
131
								'ADMINTOOLS_OVERVIEW' => $OVERVIEW['ADMINTOOLS']
132
								)
133
						);
117
					'PAGES' => $MENU['PAGES'],
118
					'MEDIA' => $MENU['MEDIA'],
119
					'ADDONS' => $MENU['ADDONS'],
120
					'ACCESS' => $MENU['ACCESS'],
121
					'PREFERENCES' => $MENU['PREFERENCES'],
122
					'SETTINGS' => $MENU['SETTINGS'],
123
					'ADMINTOOLS' => $MENU['ADMINTOOLS'],
124
					'HOME_OVERVIEW' => $OVERVIEW['START'],
125
					'PAGES_OVERVIEW' => $OVERVIEW['PAGES'],
126
					'MEDIA_OVERVIEW' => $OVERVIEW['MEDIA'],
127
					'ADDONS_OVERVIEW' => $addons_overview,
128
					'ACCESS_OVERVIEW' => $access_overview,
129
					'PREFERENCES_OVERVIEW' => $OVERVIEW['PREFERENCES'],
130
					'SETTINGS_OVERVIEW' => $OVERVIEW['SETTINGS'],
131
					'ADMINTOOLS_OVERVIEW' => $OVERVIEW['ADMINTOOLS']
132
				)
133
			);
134 134

  
135 135
// Parse template object
136 136
$template->parse('main', 'main_block', false);

Also available in: Unified diff