';
$form .= '
';
foreach my $name (sort(keys(%orderhash))){
- if($name eq 'zz'){
- if($activetab ne ''){
- $active = 'class="right"';
- }else{
- $active = 'class="right active"';
- }
- $form .= '- '.&mt(${$orderhash{$name}}[0]).'
';
- }else{
+ if($name ne '00'){
if($activetab eq '' || $activetab ne $name){
$active = '';
}elsif($activetab eq $name){
$active = 'class="active"';
}
$form .= '- '.&mt(${$orderhash{$name}}[0]).'
';
- }
+ } else {
+ $form .= '- '.${$orderhash{$name}}[1].'
';
+
+ }
}
$form .= '
';
$form .= '
';
foreach my $field (keys(%orderhash)){
- if($field ne 'zz'){
+ if($field ne '00'){
if($activetab eq '' || $activetab ne $field){
$active = 'style="display: none;"';
}elsif($activetab eq $field){
@@ -3709,7 +3714,7 @@ for (i = 0; i < currentDivs.length; i++)
function openTabs(pageId) {
tabnav = document.getElementById(pageId).getElementsByTagName('UL');
if(tabnav.length > 2 ){
- currentNav = document.getElementById(tabnav[0].id);
+ currentNav = document.getElementById(tabnav[1].id);
currentLis = currentNav.getElementsByTagName('LI');
for(i = 0; i< currentLis.length; i++){
if(currentLis[i].className == 'active') {