1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 16:50:07 +02:00

Tab fix for prototype

This commit is contained in:
CaMer0n
2012-05-29 08:56:08 +00:00
parent 820a5e576a
commit 6024f1cb4f

View File

@@ -397,14 +397,14 @@ class page_admin_ui extends e_admin_ui
<td>
";
$text .= "<div class='e-tabs'>";
$text .= "<div id='tab-container' class='admintabs e-tabs'>";
$data = $tp->toForm($data,FALSE,TRUE); // Make sure we convert HTML tags to entities
$textareaValue = (strstr($data, "[img]http") ? $data : str_replace("[img]../", "[img]", $data));
$text .= $this->bbareaMulti('data', $textareaValue, 'page','help','large');
$text .= "</div>";
// $text .= $frm->bbarea('data', $textareaValue, 'page','help','large');
@@ -558,7 +558,7 @@ class page_admin_ui extends e_admin_ui
$c= 0;
$titles[0] = "";
$text .= "<ul>";
$text .= "<ul class='e-tabs'>";
foreach($pages as $page)
{
@@ -573,14 +573,14 @@ class page_admin_ui extends e_admin_ui
{
$titles[] = isset($pt[1][$c]) ? $pt[1][$c] : "";
$id = "page_".$c;
$text .= "<div id='{$id}'>\n";
$text .= "<fieldset id='{$id}'>\n";
$text .= "<div>Title: ".$frm->text('page_subtitle[]', $titles[($c+1)], 250)."</div>\n";
$text .= $frm->bbarea($name, $page, $help_mod,$help_tagid,$size,$counter);
$text .= "</div>";
$text .= "</fieldset>";
$c++;
}
$text .= "</div>";
return $text;
}