示例#1
0
             message('error', 'Invalid value for maximum table nesting level!');
             $err = TRUE;
         }
         if ($err) {
             show_left_form($vals);
         } else {
             $_SESSION['configuration'] = array_merge($_SESSION['configuration'], $vals);
             message('notice', 'Configuration changed');
             $show_info = TRUE;
         }
     } else {
         $show_info = TRUE;
     }
     break;
 case 'lay_navigation':
     show_left_form($_SESSION['configuration']);
     break;
 case 'lay_tabs_real':
     if (isset($_POST['submit_save'])) {
         $vals = grab_values('DefaultTabServer;DefaultTabDatabase;DefaultTabTable;LightTabs:bool');
         $err = FALSE;
         if ($err) {
             show_tabs_form($vals);
         } else {
             $_SESSION['configuration'] = array_merge($_SESSION['configuration'], $vals);
             message('notice', 'Configuration changed');
             $show_info = TRUE;
         }
     } else {
         $show_info = TRUE;
     }
示例#2
0
             message('error', 'Invalid value for maximum table nesting level!');
             $err = TRUE;
         }
         if ($err) {
             show_left_form($vals);
         } else {
             $configuration = array_merge($configuration, $vals);
             message('notice', 'Configuration changed');
             $show_info = TRUE;
         }
     } else {
         $show_info = TRUE;
     }
     break;
 case 'lay_navigation':
     show_left_form($configuration);
     break;
 case 'lay_tabs_real':
     if (isset($_POST['submit_save'])) {
         $vals = grab_values('DefaultTabServer;DefaultTabDatabase;DefaultTabTable;LightTabs:bool');
         $err = FALSE;
         if ($err) {
             show_tabs_form($vals);
         } else {
             $configuration = array_merge($configuration, $vals);
             message('notice', 'Configuration changed');
             $show_info = TRUE;
         }
     } else {
         $show_info = TRUE;
     }