includes/template.php
changeset 594 738c61b498a6
parent 593 4f9bec0d65c1
child 597 c4ae0d8e260f
--- a/includes/template.php	Wed Jul 02 22:15:55 2008 -0400
+++ b/includes/template.php	Thu Jul 03 15:08:35 2008 -0400
@@ -956,11 +956,13 @@
     //
     
     $is_opera = (isset($_SERVER['HTTP_USER_AGENT']) && strstr($_SERVER['HTTP_USER_AGENT'], 'Opera')) ? true : false;
+    $is_msie = (isset($_SERVER['HTTP_USER_AGENT']) && strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE')) ? true : false;
     
     $this->tpl_bool = Array(
       'auth_admin' => $session->user_level >= USER_LEVEL_ADMIN ? true : false,
       'user_logged_in' => $session->user_logged_in,
       'opera' => $is_opera,
+      'msie' => $is_msie
       );
     
     if ( $session->sid_super )