From e852bd019429851209b664b671c5f2a79eb8decc Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 13 Jun 2010 15:11:01 +0000 Subject: [PATCH] new tabs --- lam/lib/lists.inc | 4 +++ lam/templates/main_header.php | 38 +++++++++++++++--------- lam/templates/tree/treeViewContainer.php | 3 ++ 3 files changed, 31 insertions(+), 14 deletions(-) diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc index a49baf41..946c1677 100644 --- a/lam/lib/lists.inc +++ b/lam/lib/lists.inc @@ -677,6 +677,10 @@ class lamList { */ protected function listPrintHeader() { include '../main_header.php'; + echo ''; } /** diff --git a/lam/templates/main_header.php b/lam/templates/main_header.php index 6fe01c31..a3dacd78 100644 --- a/lam/templates/main_header.php +++ b/lam/templates/main_header.php @@ -70,17 +70,27 @@ while ($jsEntry = $jsDir->read()) { logout  -

- get_Suffix('tree') != "") { - $linkList[] = 'tree view ' . _("Tree view") . '' . "\n"; - } - for ($i = 0; $i < sizeof($types); $i++) { - $linkList[] = '' . - '' . $types[$i] . ' ' . - '' . getTypeAlias($types[$i]) . ''; - } - echo implode("        \n", $linkList); - ?> -



+
+
+ +
+ +
diff --git a/lam/templates/tree/treeViewContainer.php b/lam/templates/tree/treeViewContainer.php index 97fcf2b6..2d5f7d4d 100644 --- a/lam/templates/tree/treeViewContainer.php +++ b/lam/templates/tree/treeViewContainer.php @@ -53,6 +53,9 @@ function resizeIframe() { }; document.getElementById('treeframe').onload = resizeIframe; window.onresize = resizeIframe; + +jQuery('#tab_tree').addClass('ui-tabs-selected'); +jQuery('#tab_tree').addClass('ui-state-active');