MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-$page_security = 1;
+$page_security = 'SA_SETUPDISPLAY';
$path_to_root="..";
include($path_to_root . "/includes/session.inc");
$_POST['theme'], $_POST['page_size'], check_value('show_hints'),
$_POST['profile'], check_value('rep_popup'),
(int)($_POST['query_size']), check_value('graphic_links'),
- $_POST['language'], check_value('sticky_doc_date'));
+ $_POST['language'], check_value('sticky_doc_date'), $_POST['startup_tab']);
if ($chg_lang)
- language::set_language($_POST['language']);
+ $_SESSION['language']->set_language($_POST['language']);
// refresh main menu
flush_dir($comp_path.'/'.user_company().'/js_cache');
pagesizes_list_row(_("Page Size:"), "page_size", user_pagesize());
+tab_list_row(_("Start-up Tab"), 'startup_tab', user_startup_tab());
+
/* The array $pagesizes is set up in config.php for modifications
possible separators can be added by modifying the array definition by editing that file */