diff --git a/lib/dashboard/Notification.inc.php b/lib/dashboard/Notification.inc.php index 1027665..2b7fae4 100644 --- a/lib/dashboard/Notification.inc.php +++ b/lib/dashboard/Notification.inc.php @@ -138,9 +138,7 @@ class KTNotificationHandler { function handleNotification($oKTNotification) { $oTemplating =& KTTemplating::getSingleton(); $oTemplate = $oTemplating->loadTemplate("kt3/notifications/generic"); - $aTemplateData = array( - "context" => $oKTNotification, - ); + $aTemplateData = array("context" => $oKTNotification,); return $oTemplate->render($aTemplateData); } diff --git a/lib/documentmanagement/MDTree.inc b/lib/documentmanagement/MDTree.inc index d1b8228..e57a371 100644 --- a/lib/documentmanagement/MDTree.inc +++ b/lib/documentmanagement/MDTree.inc @@ -268,8 +268,11 @@ class MDTree { $extraclass = ''; if (array_key_exists($subnode_val, $this->activenodes)) { $extraclass = ' active'; - } - $treeStr .= '
  • ' . $treeToRender->mapnodes[$subnode_val]->getName() . 'Root'; + } else { + $extraclass = ' inactive'; + } + + $treeStr .= '
  • ' . $treeToRender->mapnodes[$subnode_val]->getName() . 'Root'; $treeStr .= $this->_evilTreeRecursion($subnode_val, $treeToRender, $inputname); $treeStr .= '
  • '; } @@ -300,7 +303,7 @@ class MDTree { // $treeStr .= print_r($this->activenodes,true); // the inner section is generised. - //$treeStr .= '