Session bordercolor and clean up.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 16 Sep 2009 21:48:06 +0000 (21:48 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 16 Sep 2009 21:48:06 +0000 (21:48 +0000)
CHANGELOG.txt
admin/display_prefs.php
config.php
update.html

index 064d4064c117ea76bbc4849377ce5559945a012e..2d4abec873c9c6084a2a413ab6c9770a24f94d17 100644 (file)
@@ -22,6 +22,7 @@ $ -> Affected files
 16-Sep-2009 Joe Hunt
 ! Clean ups in default themes.
 $ config.php
+  /admin/display_prefs.php
   /themes/default/default.css
   /themes/aqua/default.css
   /themes/cool/default.css
index 2581b2590e3ebf38c2d26d11482e09e18433532a..b84c1da602b9de54b6e0f33ab5fa925ec9fbcd5e 100644 (file)
@@ -50,6 +50,9 @@ if (isset($_POST['setprefs']))
 
                flush_dir($comp_path.'/'.user_company().'/js_cache');   
 
+               if ($chg_theme)
+                       $_SESSION['bordercolor'] = "#8cacbb";
+
                if ($chg_theme || $chg_lang)
                        meta_forward($_SERVER['PHP_SELF']);
 
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 */
index 2d822faec7946e61d60798ce942fab3cd2b234ad..c4a3c414ce602980b48a3400f729ac259f38306e 100644 (file)
@@ -45,7 +45,7 @@ the new file</em>.
 process earlier). </li>
     </ol>
   </li><li><strong>When
-updating release&nbsp;2.0.X to release 2.1.X, you must immediately
+updating release&nbsp;2.1.X to release 2.2.X, you must immediately
 login on company 0, the first company you created, as&nbsp;admin
 (called the superadmin). If you use a theme other than the standard 3,
 aqua, cool or default, switch to one of these before going further. You
@@ -53,13 +53,10 @@ can download a new one of the new themes on the download page.&nbsp; Go
 to the 'Setup' tab and run 'Software
 Upgrade'.
 Mark the checkbox 'Install' and press 'Upgrade System'. &nbsp;This will
-upgrade ALL your companies.</strong></li><li style="font-weight: bold;">If something goes wrong during upgrade, you can enter here again and try 'Force Upgrade', and press 'Upgrade System' again.</li><li><strong style="font-weight: bold;"></strong><strong>There are no database changes during a major and minor release. Like from 2.1 to 2.1.1 - 2.1.5 .</strong></li><li style="font-weight: bold;">When
-updating from release 2.1.2 to 2.1.3, please go into Bank and General
-Ledger tab. Enter Account Classes. Change the Class Types to a proper
-value for all classes.</li><li style="font-weight: bold;">When updating from release 2.1.4 to 2.1.5, please go into Bank and General Ledger tab. Enter Quick Entries. <br />The&nbsp;Tax now uses Tax Types instead of Item Tax Types. The reason for changing this is for the complex rules inside the EU.<br />Change
-to correct Tax Type. If you need more Tax Type lines in the same Quick
-Entry, please group them together and use the same action type.</li>
-</ul>
-
-<p style="font-weight: bold;">&nbsp;</p>
-</body></html>
\ No newline at end of file
+upgrade ALL your companies.</strong></li><li style="font-weight: bold;">If something goes wrong during upgrade, you can enter here again and try 'Force Upgrade', and press 'Upgrade System' again.</li><li><strong style="font-weight: bold;"></strong><strong>There are no database changes during a major and minor release. Like from 2.2 to 2.2.1 - 2.2.X .</strong></li><li style="font-weight: bold;">Enter
+'Setup' tab, 'System and Generel GL Setup'. &nbsp;Set the correct
+Accounts for Retained Earnings, Profit/Loss Year and Bank Charge.</li><li style="font-weight: bold;">Enter 'Setup' tab, 'Access Setup'. Check all the roles and change as you please.</li><li style="font-weight: bold;">Enter
+'Setup' tab, 'Company Setup'. If you want Automatic Item Price
+Calculations from Standard&nbsp;Cost, add a percent to add and
+eventually round to the nearest XX Cent. Also check that Base for Auto
+Price calculations is set. </li></ul></body></html>
\ No newline at end of file