Admin Tab not working
Posted: Tue Sep 07, 2010 11:23 am
Hi,
I'm re coding a application with the advantage of CMSMS modules under CMSMS V1.6.7.
On Admin area with the admin user none of the tab can be activate. The display for the tabs is very strange all tab appears but the content is show one under the other. And for the first tab no content is show ??
I have these code for other module and working
Tanks for your help.
Nb: Sorry for my english but is not my mother language.
So there is my code :
I'm re coding a application with the advantage of CMSMS modules under CMSMS V1.6.7.
On Admin area with the admin user none of the tab can be activate. The display for the tabs is very strange all tab appears but the content is show one under the other. And for the first tab no content is show ??
I have these code for other module and working
Tanks for your help.
Nb: Sorry for my english but is not my mother language.
So there is my code :
Code: Select all
<?php
if (!isset($gCms)) exit;
if (!empty($params['active_tab']))
$tab = $params['active_tab'];
else
$tab = 'maillot';
echo $this->StartTabHeaders();
echo $this->SetTabHeader('maillot', $this->Lang('admin_tab_mail'), 'maillot' == $tab ? true : false);
echo $this->SetTabHeader('gabaritList', $this->Lang('admin_tab_gabarit_list'), 'gabaritList' == $tab ? true : false);
echo $this->SetTabHeader('gabaritAdd', $this->Lang('admin_tab_gabarit_add'), 'gabaritAdd' == $tab ? true : false);
echo $this->SetTabHeader('import', $this->Lang('admin_tab_import'), 'import' == $tab ? true : false);
echo $this->SetTabHeader('preference_lot', $this->Lang('admin_tab_preference'), 'preference_lot' == $tab ? true : false);
echo $this->EndTabHeaders();
echo $this->StartTabContent();
echo $this->StartTab('maillot');
echo 'Gabarit mail';
echo $this->EndTab();
?>