Commit 1d98e63e authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #1887 Fixed template creation menu style

parent 96a77084
......@@ -498,7 +498,7 @@ float:none;
}
/* End IE5-Mac hack */
#pulldown ul.level2,#pulldown ul.level3 {
#pulldown ul ul {
position:absolute;
top:0;
left:0;
......@@ -510,7 +510,7 @@ border-right:1px gray solid;
background:#FFF;
}
#pulldown ul.level2 li,#pulldown ul.level3 li {
#pulldown ul ul li {
border-bottom:1px solid #fff;
float:none;
margin:0;
......@@ -518,11 +518,11 @@ padding:0;
width:200px;
}
#pulldown ul.level2 li a,#pulldown ul.level3 li a {
#pulldown ul ul li a {
padding:5px 9px 5px 5px;
}
#pulldown ul.level2 li a:hover,#pulldown ul.level3 li a:hover {
#pulldown ul ul li a:hover {
font-weight:normal;
background-color:#418DD4;
background-image:none;
......
......@@ -183,12 +183,12 @@ class filterLDAP {
// Check entry permission
$obj = $parent->headpage->getObjectTypeInfos($dn, $attrs);
if (isset($obj['category'])) {
$o = $obj['category']."/".$obj['class'];
if (preg_match("/r/", $ui->get_permissions($dn, $o))) {
$o = $obj['category'].'/'.$obj['class'];
if (preg_match('/r/', $ui->get_permissions($dn, $o))) {
$result[] = $attrs;
}
} else {
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $dn, "Invalid objectType given, please check listing.xml");
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $dn, "Invalid objectType given!");
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment