packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/template-wrapper.php
changeset 3 a044870a9d3d
parent 0 3906ca745819
child 4 2212b2ded8bf
--- a/packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/template-wrapper.php	Tue Jan 08 23:21:25 2013 -0500
+++ b/packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/template-wrapper.php	Fri Jan 11 00:32:54 2013 -0500
@@ -15,6 +15,8 @@
 	if ( isset($_SERVER['REMOTE_USER']) )
 		$smarty->assign('userinfo', $ui = ldap_get_user($_SERVER['REMOTE_USER']));
 	
+	$smarty->assign('is_admin', IS_ADMIN);
+	
 	if ( $ui === false )
 		redirect('/logout');