includes/template.php
changeset 1304 0470b3176781
parent 1302 b48d2de63007
child 1344 dc96d6c5cd1e
equal deleted inserted replaced
1303:ed0bd14b6223 1304:0470b3176781
   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;