X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=config.php;h=a03b97f90ac11d8162903d44a24226dae832ba34;hb=07a0b37ca7360c5dbb058f5a0ba4c5752671dda7;hp=c88489c41e971b280eccc4998ddac8286ee3696c;hpb=902f1015d874c33bd7946b17de2ad80b4f2144b6;p=fa-stable.git diff --git a/config.php b/config.php index c88489c4..a03b97f9 100644 --- a/config.php +++ b/config.php @@ -107,8 +107,10 @@ 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' style='border-collapse: collapse'"; - $table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' style='border-collapse: collapse'"; + 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 */ /* System check to see if quantity charged on purchase invoices exceeds the quantity received.