From e90083304147e3c1b9278c6e875278f2eb7dd4de Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sat, 6 Aug 2011 13:58:29 +0000 Subject: improved the way tabs are displayed inside the description entry --- h-source/Application/Include/myFunctions.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'h-source/Application/Include') 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[] = "
  • ".$label."
  • \n"; - Tabs::$htmlList[] = "
    ".$match[5]."
    \n"; + Tabs::$tabList[] = "
  • ".$label."
  • \n"; + Tabs::$htmlList[] = "
    ".$match[5]."
    \n"; return null; } @@ -295,17 +295,17 @@ class Tabs if (count(self::$tabList) > 0) { $html .= "
    \n"; - $html .= "\n
    \n"; foreach (self::$htmlList as $content) { $html .= $content; } - $html .= "
    "; + $html .= "
    \n\n"; } return $html; } -- cgit v1.2.3