aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-08-06 13:58:29 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-08-06 13:58:29 +0000
commite90083304147e3c1b9278c6e875278f2eb7dd4de (patch)
tree3723519a949cfc626352c5e134e6e7668925f7f2 /h-source/Application/Include
parenta1081ade5d21fc9598b94e40b60c35cf9d95f855 (diff)
improved the way tabs are displayed inside the description entry
Diffstat (limited to 'h-source/Application/Include')
-rw-r--r--h-source/Application/Include/myFunctions.php10
1 files changed, 5 insertions, 5 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;
}