Session bordercolor and clean up.
[fa-stable.git] / config.php
index 810620f2381702584bc09dcb73b0d01a5e9cf967..a03b97f90ac11d8162903d44a24226dae832ba34 100644 (file)
@@ -107,7 +107,9 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        /* Default border and spacing for tables */
        /* Should be moved to CSS */
 
-       $table_style    = "cellpadding=3 border=1 bordercolor='#8cacbb' class='tablestyle'";
+       if (!isset($_SESSION['bordercolor']))
+               $_SESSION['bordercolor'] = "#8cacbb";
+       $table_style    = "cellpadding=3 border=1 bordercolor='".$_SESSION['bordercolor']."' class='tablestyle'";
        $table_style2   = "cellpadding=3 border=1 bordercolor='#cccccc' class='tablestyle2'";
 
        /* Accounts Payable */