includes/template.php
changeset 1302 b48d2de63007
parent 1274 673a1b6712fa
child 1344 dc96d6c5cd1e
--- a/includes/template.php	Sun Sep 05 16:05:33 2010 -0400
+++ b/includes/template.php	Sun Sep 19 04:04:28 2010 -0400
@@ -501,7 +501,8 @@
 				'auth_admin' => $session->user_level >= USER_LEVEL_ADMIN ? true : false,
 				'user_logged_in' => $session->user_logged_in,
 				'opera' => $is_opera,
-				'msie' => $is_msie
+				'msie' => $is_msie,
+				'registration_disabled' => getConfig('account_activation', 'none') === 'disable'
 			));
 		
 		if ( $session->sid_super )