/ Published in: PHP
Skeleton for the main panel in a CMSMS module. defaultadmin.php, with CGExtensions
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php echo $this->StartTabHeaders(); echo $this->SetTabHeader('tab1', $this->Lang('tab_1')); echo $this->SetTabHeader('tab2', $this->Lang('tab_2')); echo $this->SetTabHeader('tab3', $this->Lang('tab_3')); echo $this->SetTabHeader('tab4', $this->Lang('tab_4')); echo $this->EndTabHeaders(); echo $this->StartTabContent(); echo $this->StartTab('tab1', $params); echo $this->EndTab(); echo $this->StartTab('tab2', $params); echo $this->EndTab(); echo $this->StartTab('tab3', $params); echo $this->EndTab(); echo $this->StartTab('tab4', $params); echo $this->EndTab(); echo $this->EndTabContent(); ?>