From: hickert Date: Wed, 17 Mar 2010 10:21:26 +0000 (+0000) Subject: Updated acl editor - Added summary tags and made everything w3c conform X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=335ff74aa756669c72c5b443ea806ccf95be7907;p=gosa.git Updated acl editor - Added summary tags and made everything w3c conform git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16740 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index c10c3fa40..b0aec07e3 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -765,34 +765,27 @@ class acl extends plugin $back_color = "#C8C8C8"; } - if(session::global_get('js')) { - if(isset($_SERVER['HTTP_USER_AGENT']) && - (preg_match("/gecko/i",$_SERVER['HTTP_USER_AGENT'])) || - (preg_match("/presto/i",$_SERVER['HTTP_USER_AGENT']))) { - $display.= "\n". - "\n ". - "\n ". - "\n ". - "\n "; - } else if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/ie/i",$_SERVER['HTTP_USER_AGENT'])) { - $display.= "\n
"._("Object").": $name". - "\n
". - "\n ". - "\n ". - "\n ". - "\n "; - } else { - $display.= "\n
"._("Object").": $name". - "\n
". - "\n ". - "\n ". - "\n "; - } + if(isset($_SERVER['HTTP_USER_AGENT']) && + (preg_match("/gecko/i",$_SERVER['HTTP_USER_AGENT'])) || + (preg_match("/presto/i",$_SERVER['HTTP_USER_AGENT']))) { + $display.= "\n
"._("Object").": $name
". + "\n ". + "\n ". + "\n ". + "\n "; + } else if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/ie/i",$_SERVER['HTTP_USER_AGENT'])) { + $display.= "\n
"._("Object").": $name". + "\n
". + "\n ". + "\n ". + "\n ". + "\n "; } else { - $display.= "\n
"._("Object").": $name". + "\n
". - "\n ". - "\n ". - "\n "; + $display.= "\n
"._("Object").": $name
". + "\n ". + "\n ". + "\n "; } /* Generate options */ @@ -822,12 +815,12 @@ class acl extends plugin $display.= "\n ". "\n
"._("Object").": $name
". "\n