Merged changes from stable branch up to 2.3.23.
[fa-stable.git] / gl / gl_journal.php
index 063dd8aed39165f77e39d3f3ac6088cb69f27f31..e4fd2f8d02b29a9a9d6340cd5f2ea008438ea429 100644 (file)
@@ -24,9 +24,9 @@ include_once($path_to_root . "/gl/includes/gl_ui.inc");
 include_once($path_to_root . "/taxes/db/tax_types_db.inc");
 
 $js = '';
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 
 if (isset($_GET['ModifyGL'])) {
@@ -329,7 +329,7 @@ start_form();
 
 display_order_header($_SESSION['journal_items']);
 
-start_table(TABLESTYLE2, "width=90%", 10);
+start_table(TABLESTYLE2, "width='90%'", 10);
 start_row();
 echo "<td>";
 display_gl_items(_("Rows"), $_SESSION['journal_items']);
@@ -346,4 +346,3 @@ end_form();
 
 end_page();
 
-?>