summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c735a2)
raw | patch | inline | side by side (parent: 4c735a2)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 1 Aug 2006 08:12:36 +0000 (08:12 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 1 Aug 2006 08:12:36 +0000 (08:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4358 594d385d-05f5-0310-b6e9-bd551577e9d8
html/include/focus.js | patch | blob | history | |
include/class_acl.inc | patch | blob | history |
diff --git a/html/include/focus.js b/html/include/focus.js
index c5bf374908ca183a24ddfd827931d6cc419cba58..a41a6ff0513b858b5a95082234f39d1b08a70fb1 100644 (file)
--- a/html/include/focus.js
+++ b/html/include/focus.js
if (document.poppedLayer.style.visibility == "visible") {
hide (element);
+ cell.style.height="0px";
document.poppedLayer.style.height="0px";
- cell.style.height="1px";
} else {
show (element);
document.poppedLayer.style.height="";
diff --git a/include/class_acl.inc b/include/class_acl.inc
index f3fed5371fa5cb4c5be52d753228c1f99e93d815..c2ad1d09ee948530d6658d520d721ea878935d8c 100644 (file)
--- a/include/class_acl.inc
+++ b/include/class_acl.inc
$currentAcl= $this->aclContents[$key];
/* Object header */
- if($_SESSION['js']) {
- if(isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/firefox/i",$_SERVER['HTTP_USER_AGENT'])) {
+ if($_SESSION['js'] && (isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/gecko/i",$_SERVER['HTTP_USER_AGENT']))) {
$display.= "<table style='width:100%;border:1px solid #A0A0A0' cellspacing=0 cellpadding=2><tr><td style='background-color:#C8C8C8;height:1.8em;' colspan=".($cols-1)."><b>"._("Object").": $name</b></td><td align='right' style='background-color:#C8C8C8;height:1.8em;'><input type='button' onclick='divtoggle(\"$name\");' value='"._("Show/Hide Advanced Settings")."' /></td></tr>";
- } else {
- $display.= "<table style='width:100%;border:1px solid #A0A0A0' cellspacing=0 cellpadding=2><tr><td style='background-color:#C8C8C8;height:1.8em;' colspan=$cols><b>"._("Object").": $name</b></td></tr>";
- }
} else {
$display.= "<table style='width:100%;border:1px solid #A0A0A0' cellspacing=0 cellpadding=2><tr><td style='background-color:#C8C8C8;height:1.8em;' colspan=$cols><b>"._("Object").": $name</b></td></tr>";
}
$splist= $plist[preg_replace('%^.*/%', '', $key)]['plProvidedAcls'];
asort($splist);
if($_SESSION['js']) {
- if(isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/firefox/i",$_SERVER['HTTP_USER_AGENT'])) {
- $display.= "<tr id='tr_$name' style='vertical-align:top;height:0px;'><td colspan=".$cols."><div id='$name' style='visibility:hidden;height:0px;vertical-align:top;width:100%;'><table style='width:100%;'>";
+ if(isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/gecko/i",$_SERVER['HTTP_USER_AGENT'])) {
+ $display.= "<tr id='tr_$name' style='vertical-align:top;height:1px;'><td colspan=".$cols."><div id='$name' style='overflow:hidden;visibility:hidden;height:0px;vertical-align:top;width:100%;'><table style='width:100%;'>";
}
}
foreach($splist as $attr => $dsc){
}
if($_SESSION['js']) {
- if(isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/firefox/i",$_SERVER['HTTP_USER_AGENT'])) {
+ if(isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/gecko/i",$_SERVER['HTTP_USER_AGENT'])) {
$display.= "</table></div></td></tr>";
}
}