Replaced the global variables for table styles to defined CSS classes.
[fa-stable.git] / dimensions / includes / dimensions_ui.inc
index edff4b6de108c722c660201b1c624cef66fa49c0..925d0313137c67c3ef8c8d063fc0792652e34066 100644 (file)
@@ -15,7 +15,7 @@ include_once($path_to_root . "/includes/ui.inc");
 
 function display_dimension_balance($id, $from, $to)
 {
-       global $path_to_root, $table_style;
+       global $path_to_root;
 
        $result = get_dimension_balance_all($id, $from, $to);
 
@@ -27,7 +27,7 @@ function display_dimension_balance($id, $from, $to)
     {
                display_heading2(_("Balance for this Dimension"));
                br();
-               start_table($table_style);
+               start_table(TABLESTYLE);
                $th = array(_("Account"), _("Debit"), _("Credit"));
                table_header($th);