includes/template.php
changeset 1302 b48d2de63007
parent 1274 673a1b6712fa
child 1344 dc96d6c5cd1e
equal deleted inserted replaced
1301:bd9e124f5904 1302:b48d2de63007
   499 		
   499 		
   500 		$this->assign_bool(array(
   500 		$this->assign_bool(array(
   501 				'auth_admin' => $session->user_level >= USER_LEVEL_ADMIN ? true : false,
   501 				'auth_admin' => $session->user_level >= USER_LEVEL_ADMIN ? true : false,
   502 				'user_logged_in' => $session->user_logged_in,
   502 				'user_logged_in' => $session->user_logged_in,
   503 				'opera' => $is_opera,
   503 				'opera' => $is_opera,
   504 				'msie' => $is_msie
   504 				'msie' => $is_msie,
       
   505 				'registration_disabled' => getConfig('account_activation', 'none') === 'disable'
   505 			));
   506 			));
   506 		
   507 		
   507 		if ( $session->sid_super )
   508 		if ( $session->sid_super )
   508 		{
   509 		{
   509 			$ash = '&auth=' . $session->sid_super;
   510 			$ash = '&auth=' . $session->sid_super;