aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application')
-rw-r--r--h-source/Application/Include/myFunctions.php10
-rw-r--r--h-source/Application/Views/header.php2
2 files changed, 6 insertions, 6 deletions
diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php
index 5603c97..385923a 100644
--- a/h-source/Application/Include/myFunctions.php
+++ b/h-source/Application/Include/myFunctions.php
@@ -278,8 +278,8 @@ function decodeWikiText($string)
function createTabs($match)
{
$label = Lang::getLabel($match[3]);
- Tabs::$tabList[] = "<li><a href='#".$label."'>".$label."</a></li>\n";
- Tabs::$htmlList[] = "<div id='".$label."'>".$match[5]."</div>\n";
+ Tabs::$tabList[] = "<li class='desc_tabs'><a href='#".$label."'>".$label."</a></li>\n";
+ Tabs::$htmlList[] = "<div class='description_tabs_page' id='".$label."'>".$match[5]."</div>\n";
return null;
}
@@ -295,17 +295,17 @@ class Tabs
if (count(self::$tabList) > 0)
{
$html .= "<div id='description_tabs'>\n";
- $html .= "<ul>\n";
+ $html .= "<ul class='desc_menu'>\n";
foreach (self::$tabList as $label)
{
$html .= $label;
}
- $html .= "</ul>\n";
+ $html .= "</ul>\n<div id='description_tabs_content'>\n";
foreach (self::$htmlList as $content)
{
$html .= $content;
}
- $html .= "</div>";
+ $html .= "</div>\n</div>\n";
}
return $html;
}
diff --git a/h-source/Application/Views/header.php b/h-source/Application/Views/header.php
index d8cbcbb..af2db37 100644
--- a/h-source/Application/Views/header.php
+++ b/h-source/Application/Views/header.php
@@ -65,7 +65,7 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index';
$(document).ready(function() {
// $(function() {
- $( "#description_tabs" ).tabs();
+// $( "#description_tabs" ).tabs();
// });
});