New standard themes, default, canvas and dropdown.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 14 Dec 2015 23:18:16 +0000 (00:18 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 14 Dec 2015 23:18:16 +0000 (00:18 +0100)
199 files changed:
themes/aqua/default.css [deleted file]
themes/aqua/images/add.png [deleted file]
themes/aqua/images/ajax-loader.gif [deleted file]
themes/aqua/images/ajax-loader2.gif [deleted file]
themes/aqua/images/alloc.png [deleted file]
themes/aqua/images/button_ok.png [deleted file]
themes/aqua/images/cancel.png [deleted file]
themes/aqua/images/closed.png [deleted file]
themes/aqua/images/credit.gif [deleted file]
themes/aqua/images/delete.gif [deleted file]
themes/aqua/images/download.gif [deleted file]
themes/aqua/images/edit.gif [deleted file]
themes/aqua/images/escape.png [deleted file]
themes/aqua/images/gl.png [deleted file]
themes/aqua/images/help.gif [deleted file]
themes/aqua/images/invoice.gif [deleted file]
themes/aqua/images/locate.png [deleted file]
themes/aqua/images/lock.gif [deleted file]
themes/aqua/images/log.png [deleted file]
themes/aqua/images/login.gif [deleted file]
themes/aqua/images/menu_entry.png [deleted file]
themes/aqua/images/menu_inquiry.png [deleted file]
themes/aqua/images/menu_maintenance.png [deleted file]
themes/aqua/images/menu_report.png [deleted file]
themes/aqua/images/menu_settings.png [deleted file]
themes/aqua/images/menu_system.png [deleted file]
themes/aqua/images/menu_transaction.png [deleted file]
themes/aqua/images/menu_update.png [deleted file]
themes/aqua/images/money.png [deleted file]
themes/aqua/images/ok.gif [deleted file]
themes/aqua/images/pdf.gif [deleted file]
themes/aqua/images/preferences.gif [deleted file]
themes/aqua/images/print.png [deleted file]
themes/aqua/images/progressbar.gif [deleted file]
themes/aqua/images/receive.gif [deleted file]
themes/aqua/images/remove.png [deleted file]
themes/aqua/images/report.png [deleted file]
themes/aqua/images/right.gif [deleted file]
themes/aqua/images/sort_asc.gif [deleted file]
themes/aqua/images/sort_desc.gif [deleted file]
themes/aqua/images/sort_none.gif [deleted file]
themes/aqua/images/view.gif [deleted file]
themes/aqua/images/warning.png [deleted file]
themes/aqua/index.php [deleted file]
themes/aqua/renderer.php [deleted file]
themes/canvas/default.css [new file with mode: 0644]
themes/canvas/images/add.png [new file with mode: 0644]
themes/canvas/images/ajax-loader.gif [new file with mode: 0644]
themes/canvas/images/ajax-loader2.gif [new file with mode: 0644]
themes/canvas/images/alloc.png [new file with mode: 0644]
themes/canvas/images/arrow_12.gif [new file with mode: 0644]
themes/canvas/images/body_bg.png [new file with mode: 0644]
themes/canvas/images/button_ok.png [new file with mode: 0644]
themes/canvas/images/cal.gif [new file with mode: 0644]
themes/canvas/images/cancel.png [new file with mode: 0644]
themes/canvas/images/content_bg.png [new file with mode: 0644]
themes/canvas/images/credit.gif [new file with mode: 0644]
themes/canvas/images/delete.gif [new file with mode: 0644]
themes/canvas/images/download.gif [new file with mode: 0644]
themes/canvas/images/edit.gif [new file with mode: 0644]
themes/canvas/images/enter.png [new file with mode: 0644]
themes/canvas/images/escape.png [new file with mode: 0644]
themes/canvas/images/folder.gif [new file with mode: 0644]
themes/canvas/images/footer_bg.png [new file with mode: 0644]
themes/canvas/images/gl.png [new file with mode: 0644]
themes/canvas/images/help.gif [new file with mode: 0644]
themes/canvas/images/invoice.gif [new file with mode: 0644]
themes/canvas/images/link_bg.png [new file with mode: 0644]
themes/canvas/images/locate.png [new file with mode: 0644]
themes/canvas/images/lock.gif [new file with mode: 0644]
themes/canvas/images/login.gif [new file with mode: 0644]
themes/canvas/images/logo_frontaccounting.jpg [new file with mode: 0644]
themes/canvas/images/logo_frontaccounting.png [new file with mode: 0644]
themes/canvas/images/menu_break.png [new file with mode: 0644]
themes/canvas/images/money.png [new file with mode: 0644]
themes/canvas/images/news.gif [new file with mode: 0644]
themes/canvas/images/ok.gif [new file with mode: 0644]
themes/canvas/images/page_edit.png [new file with mode: 0644]
themes/canvas/images/pdf.gif [new file with mode: 0644]
themes/canvas/images/preferences.gif [new file with mode: 0644]
themes/canvas/images/print.png [new file with mode: 0644]
themes/canvas/images/progressbar.gif [new file with mode: 0644]
themes/canvas/images/receive.gif [new file with mode: 0644]
themes/canvas/images/remove.png [new file with mode: 0644]
themes/canvas/images/report.png [new file with mode: 0644]
themes/canvas/images/sort_asc.gif [new file with mode: 0644]
themes/canvas/images/sort_asc2.gif [new file with mode: 0644]
themes/canvas/images/sort_desc.gif [new file with mode: 0644]
themes/canvas/images/sort_desc2.gif [new file with mode: 0644]
themes/canvas/images/sort_none.gif [new file with mode: 0644]
themes/canvas/images/spacer.png [new file with mode: 0644]
themes/canvas/images/view.gif [new file with mode: 0644]
themes/canvas/images/warning.png [new file with mode: 0644]
themes/canvas/index.php [new file with mode: 0644]
themes/canvas/renderer.php [new file with mode: 0644]
themes/cool/default.css [deleted file]
themes/cool/images/add.png [deleted file]
themes/cool/images/ajax-loader.gif [deleted file]
themes/cool/images/ajax-loader2.gif [deleted file]
themes/cool/images/alloc.png [deleted file]
themes/cool/images/button_ok.png [deleted file]
themes/cool/images/cancel.png [deleted file]
themes/cool/images/closed.png [deleted file]
themes/cool/images/credit.gif [deleted file]
themes/cool/images/delete.gif [deleted file]
themes/cool/images/download.gif [deleted file]
themes/cool/images/edit.gif [deleted file]
themes/cool/images/escape.png [deleted file]
themes/cool/images/gl.png [deleted file]
themes/cool/images/help.gif [deleted file]
themes/cool/images/invoice.gif [deleted file]
themes/cool/images/locate.png [deleted file]
themes/cool/images/lock.gif [deleted file]
themes/cool/images/log.png [deleted file]
themes/cool/images/login.gif [deleted file]
themes/cool/images/menu_entry.png [deleted file]
themes/cool/images/menu_inquiry.png [deleted file]
themes/cool/images/menu_maintenance.png [deleted file]
themes/cool/images/menu_report.png [deleted file]
themes/cool/images/menu_settings.png [deleted file]
themes/cool/images/menu_system.png [deleted file]
themes/cool/images/menu_transaction.png [deleted file]
themes/cool/images/menu_update.png [deleted file]
themes/cool/images/money.png [deleted file]
themes/cool/images/ok.gif [deleted file]
themes/cool/images/pdf.gif [deleted file]
themes/cool/images/preferences.gif [deleted file]
themes/cool/images/print.png [deleted file]
themes/cool/images/progressbar.gif [deleted file]
themes/cool/images/receive.gif [deleted file]
themes/cool/images/remove.png [deleted file]
themes/cool/images/report.png [deleted file]
themes/cool/images/right.gif [deleted file]
themes/cool/images/sort_asc.gif [deleted file]
themes/cool/images/sort_desc.gif [deleted file]
themes/cool/images/sort_none.gif [deleted file]
themes/cool/images/view.gif [deleted file]
themes/cool/images/warning.png [deleted file]
themes/cool/index.php [deleted file]
themes/cool/renderer.php [deleted file]
themes/default/renderer.php
themes/dropdown/default.css [new file with mode: 0644]
themes/dropdown/images/add.png [new file with mode: 0644]
themes/dropdown/images/ajax-loader.gif [new file with mode: 0644]
themes/dropdown/images/ajax-loader2.gif [new file with mode: 0644]
themes/dropdown/images/arrow_12.gif [new file with mode: 0644]
themes/dropdown/images/basket.png [new file with mode: 0644]
themes/dropdown/images/body_bg.png [new file with mode: 0644]
themes/dropdown/images/breadcrumb.gif [new file with mode: 0644]
themes/dropdown/images/button_ok.png [new file with mode: 0644]
themes/dropdown/images/cal.gif [new file with mode: 0644]
themes/dropdown/images/cancel.png [new file with mode: 0644]
themes/dropdown/images/cog.png [new file with mode: 0644]
themes/dropdown/images/content_bg.png [new file with mode: 0644]
themes/dropdown/images/controller.png [new file with mode: 0644]
themes/dropdown/images/credit.gif [new file with mode: 0644]
themes/dropdown/images/delete.gif [new file with mode: 0644]
themes/dropdown/images/download.gif [new file with mode: 0644]
themes/dropdown/images/edit.gif [new file with mode: 0644]
themes/dropdown/images/enter.png [new file with mode: 0644]
themes/dropdown/images/escape.png [new file with mode: 0644]
themes/dropdown/images/folder.gif [new file with mode: 0644]
themes/dropdown/images/footer_bg.png [new file with mode: 0644]
themes/dropdown/images/gl.png [new file with mode: 0644]
themes/dropdown/images/help.gif [new file with mode: 0644]
themes/dropdown/images/invoice.gif [new file with mode: 0644]
themes/dropdown/images/link_bg.png [new file with mode: 0644]
themes/dropdown/images/locate.png [new file with mode: 0644]
themes/dropdown/images/lock.gif [new file with mode: 0644]
themes/dropdown/images/login.gif [new file with mode: 0644]
themes/dropdown/images/logo_frontaccounting.jpg [new file with mode: 0644]
themes/dropdown/images/logo_frontaccounting.png [new file with mode: 0644]
themes/dropdown/images/menu_break.png [new file with mode: 0644]
themes/dropdown/images/money.png [new file with mode: 0644]
themes/dropdown/images/news.gif [new file with mode: 0644]
themes/dropdown/images/ok.gif [new file with mode: 0644]
themes/dropdown/images/on_off.png [new file with mode: 0644]
themes/dropdown/images/page_edit.png [new file with mode: 0644]
themes/dropdown/images/pdf.gif [new file with mode: 0644]
themes/dropdown/images/preferences.gif [new file with mode: 0644]
themes/dropdown/images/print.png [new file with mode: 0644]
themes/dropdown/images/progressbar.gif [new file with mode: 0644]
themes/dropdown/images/receive.gif [new file with mode: 0644]
themes/dropdown/images/remove.png [new file with mode: 0644]
themes/dropdown/images/report.png [new file with mode: 0644]
themes/dropdown/images/sort_asc.gif [new file with mode: 0644]
themes/dropdown/images/sort_asc2.gif [new file with mode: 0644]
themes/dropdown/images/sort_desc.gif [new file with mode: 0644]
themes/dropdown/images/sort_desc2.gif [new file with mode: 0644]
themes/dropdown/images/sort_none.gif [new file with mode: 0644]
themes/dropdown/images/spacer.png [new file with mode: 0644]
themes/dropdown/images/test.png [new file with mode: 0644]
themes/dropdown/images/test_stock.png [new file with mode: 0644]
themes/dropdown/images/time.png [new file with mode: 0644]
themes/dropdown/images/transparent.gif [new file with mode: 0644]
themes/dropdown/images/view.gif [new file with mode: 0644]
themes/dropdown/images/warning.png [new file with mode: 0644]
themes/dropdown/index.php [new file with mode: 0644]
themes/dropdown/renderer.php [new file with mode: 0644]

diff --git a/themes/aqua/default.css b/themes/aqua/default.css
deleted file mode 100644 (file)
index e558bfc..0000000
+++ /dev/null
@@ -1,651 +0,0 @@
-/*--------------------------------------------------\
-| aqua         |               | default.css        |
-|---------------------------------------------------|
-| For use with:                                     |
-| FrontAccounting                                                                      |
-| http://FrontAccounting.com/                                  |
-| by Joe Hunt Consulting                            |
-|---------------------------------------------------|
-| Developer:                                        |
-| Joe Hunt                                          |
-|                                                   |
-|---------------------------------------------------|
-| Note:                                             |
-| Changes can be made to this CSS that will be      |
-| reflected throughout FrontAccounting.             |
-|                                                   |
-\--------------------------------------------------*/
-
-body {
-       font-family: Verdana, Arial, Helvetica;
-       background: #518fad;
-       font-size: 10px;
-       margin: 5px 0 0 5px;
-       padding: 0;
-}
-
-tr, td, th {
-       font-size: 11px;
-       line-height: 19px;
-}
-
-table {
-       text-align: left;
-}
-
-textarea {
-       font-size: 12px;
-}
-
-input, select {
-       font-size: 11px;
-       padding: 1px;
-}
-
-select {
-    max-width: 230px;
-}
-
-option.inactive {
-       text-decoration: line-through;
-       color: gray;
-}
-
-input.big {
-       width: 100px;
-}
-
-input.small {
-       width: 50px;
-}
-
-a {
-       color: #0000bb;
-       font-size: 11px;
-       text-decoration: none;
-}
-
-a:link {
-       color: #0000bb;
-       text-decoration: none;
-}
-
-a:active {
-       color: #000000;
-       text-decoration: none;
-}
-
-a:hover, a:focus {
-       color: #2d8628;
-       text-decoration: underline;
-}
-
-.inactive {
-       color: gray;
-}
-
-button {
-       font-size: 11px;
-       border: 1px #0066cc solid;
-       padding: 1px 0px;
-}
-
-button img, span {
-       padding: 0px 2px ;
-       vertical-align: middle;
-}
-
-.callout_main {
-       font-family: Verdana, Arial, Helvetica;
-       border: none;
-       width: 99%;
-       margin: 0;
-       padding: 0;
-}
-
-.main_page {
-       background-color: #f9f9f9;
-       border: none;
-       width: 100%;
-       margin: 0;
-       padding: 0;
-}
-
-.quick_menu {
-       background-color: #518fad;
-       border: 0;
-       margin: 0;
-       padding: 0;
-       /*text-align: right;*/
-}
-
-.quick_menu_selected{
-       font-family: Verdana, Arial, Helvetica;
-       font-size: 13px;
-       border: none;
-       white-space: nowrap;
-       margin: 2px;
-       padding: 2px;
-       color: #00cc00;
-       font-weight: bolder;
-}
-
-.logoutBar {
-       padding-right: 1em;
-       background: #a7d6ce;
-       color: black;
-       border-bottom: 1px solid #8cacbb;
-       width: 100%;
-}
-
-.bottomBar {
-       padding-right: 1em;
-       background: #a7d6ce;
-       color: black;
-       border-bottom: 1px solid #8cacbb;
-       width: 100%;
-}
-
-.bottomBarCell {
-       font-size: 10px;
-       line-height: 12px;
-}
-
-.bottomBar2 {
-       padding-right: 1em;
-       background: #a7d6ce;
-       color: black;
-       border-top: 1px solid #8cacbb;
-       border-bottom: 1px solid #8cacbb;
-       width: 100%;
-}
-
-.logoutBarRight {
-       text-align: right;
-}
-
-div.logoutBar {
-       padding-right: 1em;
-       background: #a7d6ce;
-       color: black;
-       border-bottom: 1px solid #8cacbb;
-       text-align: right;
-}
-div.logoutBar a {
-       font-weight: normal;
-       margin-left: 1em;
-       color: #436976;
-       background-color: transparent;
-}
-div.logoutBar img {
-       vertical-align: top;
-}
-
-div.tabs {
-       padding: 3px 0 0 0;
-       background: none transparent scroll repeat 0% 0%;
-       white-space: nowrap;
-       border-collapse: collapse;
-       border-bottom: 1px solid #8cacbb;
-
-}
-div.tabs a {
-       border: 1px solid #8cacbb;
-       padding: 3px 10px;
-       font-weight: normal;
-       background: white scroll repeat 0% 0%;
-       color: #436976;
-       margin-right: 0.0em;
-       height: 1.0em;
-}
-div.tabs a.selected {
-       border-top: 1px solid #8cacbb;
-       border-right: 1px solid #8cacbb;
-       border-bottom:  1px solid #a7d6ce;
-       border-left: 1px solid #8cacbb;
-       font-weight: normal;
-       background: #a7d6ce;
-       color: #436976;
-}
-div.tabs a:hover {
-       background: #a7d6ce;
-       color: #436976;
-}
-
-.menu_group {
-       font-size: 13px;
-       padding: 0px;
-       color: #000000;
-       background-color: #a7d6ce;
-       padding-left: 3px;
-       font-weight: bold;
-}
-
-.menu_group_items {
-       background-color: #f9f9f9;
-       font-weight: normal;
-       padding: 9px;
-       border: 1px solid #8cacbb;
-}
-
-#hotkeyshelp {
-       text-align: right;
-       font-weight: bolder;
-}
-
-#footer {
-       position: relative;
-       bottom: -3px;
-}
-
-.footer {
-       font-family: Verdana, Arial, Helvetica;
-       color: #cccccc;
-       font-weight: normal;
-       font-size: 9px;
-       text-align: center;
-       width: 100%;
-}
-
-.footer td a {
-       color: #666666;
-       font-size: 9px;
-}
-
-
-.tableheader {
-       font-weight: bold;
-       background-color: #d5cea7;
-       color: black;
-       text-align: center;
-}
-
-.tableheader2 {
-       font-weight: bold;
-       background-color: #d5cea7;
-       color: black;
-       text-align: left;
-}
-
-.tableseparator {
-       border-left: 1px solid #444466;
-}
-
-.titletext {
-       font-weight: bold;
-       font-size: 13px;
-       border-bottom: 1px solid #8cacbb;
-       padding: 5px;
-       width: 100%;
-}
-
-.headingtext {
-       font-weight: bold;
-       font-size: 13px;
-       color: black;
-}
-
-.headingtext2 {
-       font-size: 13px;
-       color: black;
-}
-
-.headingtext3 {
-       font-weight: bold;
-       font-size: 10px;
-       color: black;
-}
-
-.errortext {
-       font-size: 13px;
-       color: #ff0000;
-       font-weight: bold;
-}
-
-.inputsubmit {
-       font-size: 11px;
-       border: 1px solid #0066cc;
-       padding: 1px 4px;
-}
-
-.ajaxsubmit {
-       font-size: 11px;
-       border: 1px #0066cc solid;
-       padding: 1px 4px;
-}
-
-.oddrow {
-       background-color: #eeeeee;
-}
-
-.evenrow {
-       background-color: #dddddd;
-}
-
-.overduebg {
-       background-color: #dd7777;
-}
-
-.overduefg {
-       color: #dd7777;
-}
-
-.currentfg {
-       color: #ff6666;
-}
-
-.redfg, a.redfg {
-       color: red;
-       font-weight: bold;
-}
-
-.settledbg {
-       background-color: #00bb00;
-}
-
-.settledfg {
-       color: #00bb00;
-}
-
-.inquirybg {
-       background-color: #fdfeef;
-}
-
-.currencybg {
-       background-color: #ee8888;
-}
-
-.stockmankobg {
-       background-color: pink;
-}
-
-.stockmankofg {
-       color: red;
-}
-
-table.tablestyle {
-       border-collapse: collapse;
-       border: 1px solid #8cacbb;
-}
-table.tablestyle td {
-       border-collapse: collapse;
-       border: 1px solid #8cacbb;
-}
-table.tablestyle2 {
-       border-collapse: collapse;
-       border: 1px solid #cccccc;
-}
-table.tablestyle2 td {
-       border-collapse: collapse;
-       border: 1px solid #cccccc;
-}
-table.tablestyle_inner {
-       border-collapse: collapse;
-       border: 1px solid #f9f9f9;
-}
-table.tablestyle_inner td {
-       border-collapse: collapse;
-       border: 1px solid #f9f9f9;
-}
-.tablestyle_noborder {
-       padding: 3px;
-}
-
-.label {
-       background-color: #efefef;
-       color: black;
-}
-
-#loginscreen {
-       background: #f5f5f5;
-}
-
-.login {
-       width: 350px;
-       border-left: 12px solid #367cb5;
-       border-collapse: collapse;
-       background-color: #eeeeee;
-}
-.login td {
-       border-collapse: collapse;
-       border: 1px solid #cccccc;
-}
-
-.amount {
-       font-family: Verdana, Arial, Helvetica;
-       font-size: 11px;
-       text-align: right;
-}
-
-input.amount {
-       padding-right: 0px;
-       border-right: none;
-}
-
-.editbutton {
-   color:#0000FF;
-   background-color:transparent;
-   border-style:none;
-   text-decoration:underline;
-   cursor: pointer;
-}
-
-.navibutton[disabled], .navibutton[disabled] span {
-  color:#808080;
-  cursor: inherit;
-}
-
-button.navibutton {
-       font-family: Verdana, Arial, Helvetica;
-       font-size: 11px;
-       font-weight: bold;
-   color:#000;
-   padding: 0 3px;
-   background-color:transparent;
-   border-style:none;
-   cursor: pointer;
-}
-
-.navibutton span {
-       text-decoration: underline;
-}      
-
-.navibar {
-    padding: 0 3px;
-       color: #000;
-       border: 1px solid #8cacbb;
-    border-collapse: collapse;
-    background-color: #d5cea7;
-}
-
-.navibar tr td {
-    border: none;
-}
-
-.listsubmit {
-    display: none;
-}
-
-ul.ajaxtabs{
-       padding: 3px 0 0 0;
-       margin: 3px 3px 0 3px;
-       font: 12px Tahoma,Verdana;
-       font-weight: bold;
-}
-
-ul.ajaxtabs li{
-       list-style: none;
-       margin: 0;
-       display: inline;
-}
-
-ul.ajaxtabs li button{
-    background-color: #dee7ec;
-/*     background-repeat: repeat-x;
-       background-position: top; */
-       padding: 3px 8px;
-       margin: 0px;
-       border-top: 1px solid #8cacbb;
-       border-right: 1px solid #8cacbb;
-       border-bottom: none;
-       border-left: none;
-       font-weight: bold;
-}
-
-ul.ajaxtabs li button:hover{
-       border-top: 1px solid #8cacbb;
-       color:#FFFFFF;
-}
-div.spaceBox{
-       background-color: #8cacbb;
-       height:8px;
-       border-bottom: 1px solid #8cacbb;
-       border-left: 1px solid #8cacbb;
-       border-right:1px solid #8cacbb;
-       margin: 0 3px 0px 3px
-}
-
-div.contentBox{
-       border: 1px solid #8cacbb;
-       margin: 0 3px 3px 3px
-}
-
-ul.ajaxtabs li button.current, ul.ajaxtabs li button.current:hover{
-       border-left: 1px solid #8cacbb;
-       background-color: #8cacbb;
-       color:#FFFFFF;
-}
-#hints {
-       font-size: 13px;
-       padding: 5px;
-       border-bottom: 1px solid #8cacbb;
-       margin: -4px -2px -2px;
-       border: 1px solid #8cacbb;
-       background-color: #FFFFE0;
-       white-space: nowrap;
-}
-/*
-       Calendar style
-*/
-#CCIframe {
-       display: none;
-       left: 0px;
-       position: absolute;
-       top: 0px;
-       height: 250px;
-       width: 270px;
-       z-index: 99;
-}
-#CC { 
-       position:absolute;
-       background-color:#FFF;
-       margin:0; padding:0;
-       display:none;
-       z-index: 100;
-}
-#CC table { 
-       font-family: arial, verdana, helvetica, sans-serif;
-       font-size: 8pt;
-       border-left: 1px solid #336;
-       border-right: 1px solid #336;
-}
-#CC th {
-       font-weight: normal;
-       text-align: center;
-}
-#CC th a {
-       font-weight: normal;
-       text-decoration: none;
-       color: #FFF;
-       padding: 1px;
-}
-#CC td {
-       text-align: center;
-}
-#CC .header {
-       background-color: #518fad;
-}
-#CC .weekday {
-       background-color: #eee;
-       color: #000;
-}
-#CC .weekend {
-       background-color: #FFC;
-       color: #000;
-}
-#CC .weekno {
-       background-color: #d5cea7;
-       color: #555;
-}
-#CC .current {
-       border: 1px solid #339;
-       background-color: #518fad;
-       color: #FFF;
-}
-#CC .weekday, #CC .weekend, #CC .current {
-       display: block;
-       text-decoration: none;
-       border: 1px solid #FFF;
-       width: 2em;
-}
-#CC .weekday:hover, #CC .weekend:hover, #CC .current:hover {
-       color: #FFF;
-       background-color: #518fad;
-       border: 1px solid #999;
-}
-#CC .previous {
-       text-align: left;
-}
-#CC .next {
-       text-align: right;
-}
-#CC .previous, #CC .next {
-       padding: 1px 3px 1px 3px;
-       font-size: 1.4em;
-}
-#CC .previous a, #CC .next a {
-       color: #FFF;
-       text-decoration: none;
-       font-weight: bold;
-}
-#CC .title {
-       text-align: center;
-       font-weight: bold; 
-       color: #FFF;
-}
-#CC .empty {
-       background-color: #ddd;
-       border: 1px solid #FFF;
-}
-
-div.err_msg {
-       margin: 10px;
-       padding: 3px;
-       border: 1px solid #cc3300;
-       background-color: #ffcccc;
-       color: #dd2200;
-       text-align: center;
-}
-
-div.warn_msg {
-       margin: 10px;
-       padding: 3px;
-       border: 1px solid #ff9900;
-       background-color: #ffff00;
-       color: #ff5500;
-       text-align: center;
-}
-
-div.note_msg {
-       margin: 10px;
-       padding: 3px;
-       border: 1px solid #33cc00;
-       background-color: #ccffcc;
-       color: #007700;
-       text-align: center;
-}
-
-#title {
-       margin-bottom: 10px; 
-       width: 100%;
-}
diff --git a/themes/aqua/images/add.png b/themes/aqua/images/add.png
deleted file mode 100644 (file)
index 6332fef..0000000
Binary files a/themes/aqua/images/add.png and /dev/null differ
diff --git a/themes/aqua/images/ajax-loader.gif b/themes/aqua/images/ajax-loader.gif
deleted file mode 100644 (file)
index 3d185fe..0000000
Binary files a/themes/aqua/images/ajax-loader.gif and /dev/null differ
diff --git a/themes/aqua/images/ajax-loader2.gif b/themes/aqua/images/ajax-loader2.gif
deleted file mode 100644 (file)
index 526fb84..0000000
Binary files a/themes/aqua/images/ajax-loader2.gif and /dev/null differ
diff --git a/themes/aqua/images/alloc.png b/themes/aqua/images/alloc.png
deleted file mode 100644 (file)
index 2f734ca..0000000
Binary files a/themes/aqua/images/alloc.png and /dev/null differ
diff --git a/themes/aqua/images/button_ok.png b/themes/aqua/images/button_ok.png
deleted file mode 100644 (file)
index 14c7ae1..0000000
Binary files a/themes/aqua/images/button_ok.png and /dev/null differ
diff --git a/themes/aqua/images/cancel.png b/themes/aqua/images/cancel.png
deleted file mode 100644 (file)
index 2541d2b..0000000
Binary files a/themes/aqua/images/cancel.png and /dev/null differ
diff --git a/themes/aqua/images/closed.png b/themes/aqua/images/closed.png
deleted file mode 100644 (file)
index 624c9ed..0000000
Binary files a/themes/aqua/images/closed.png and /dev/null differ
diff --git a/themes/aqua/images/credit.gif b/themes/aqua/images/credit.gif
deleted file mode 100644 (file)
index 4627583..0000000
Binary files a/themes/aqua/images/credit.gif and /dev/null differ
diff --git a/themes/aqua/images/delete.gif b/themes/aqua/images/delete.gif
deleted file mode 100644 (file)
index 327af2a..0000000
Binary files a/themes/aqua/images/delete.gif and /dev/null differ
diff --git a/themes/aqua/images/download.gif b/themes/aqua/images/download.gif
deleted file mode 100644 (file)
index 67823e9..0000000
Binary files a/themes/aqua/images/download.gif and /dev/null differ
diff --git a/themes/aqua/images/edit.gif b/themes/aqua/images/edit.gif
deleted file mode 100644 (file)
index 21a68c6..0000000
Binary files a/themes/aqua/images/edit.gif and /dev/null differ
diff --git a/themes/aqua/images/escape.png b/themes/aqua/images/escape.png
deleted file mode 100644 (file)
index 4d84554..0000000
Binary files a/themes/aqua/images/escape.png and /dev/null differ
diff --git a/themes/aqua/images/gl.png b/themes/aqua/images/gl.png
deleted file mode 100644 (file)
index 7d863f9..0000000
Binary files a/themes/aqua/images/gl.png and /dev/null differ
diff --git a/themes/aqua/images/help.gif b/themes/aqua/images/help.gif
deleted file mode 100644 (file)
index 58c0ffe..0000000
Binary files a/themes/aqua/images/help.gif and /dev/null differ
diff --git a/themes/aqua/images/invoice.gif b/themes/aqua/images/invoice.gif
deleted file mode 100644 (file)
index aef0be2..0000000
Binary files a/themes/aqua/images/invoice.gif and /dev/null differ
diff --git a/themes/aqua/images/locate.png b/themes/aqua/images/locate.png
deleted file mode 100644 (file)
index 3df04db..0000000
Binary files a/themes/aqua/images/locate.png and /dev/null differ
diff --git a/themes/aqua/images/lock.gif b/themes/aqua/images/lock.gif
deleted file mode 100644 (file)
index 92a51e2..0000000
Binary files a/themes/aqua/images/lock.gif and /dev/null differ
diff --git a/themes/aqua/images/log.png b/themes/aqua/images/log.png
deleted file mode 100644 (file)
index ef03a4d..0000000
Binary files a/themes/aqua/images/log.png and /dev/null differ
diff --git a/themes/aqua/images/login.gif b/themes/aqua/images/login.gif
deleted file mode 100644 (file)
index 91d5451..0000000
Binary files a/themes/aqua/images/login.gif and /dev/null differ
diff --git a/themes/aqua/images/menu_entry.png b/themes/aqua/images/menu_entry.png
deleted file mode 100644 (file)
index 4c3efdd..0000000
Binary files a/themes/aqua/images/menu_entry.png and /dev/null differ
diff --git a/themes/aqua/images/menu_inquiry.png b/themes/aqua/images/menu_inquiry.png
deleted file mode 100644 (file)
index ab94046..0000000
Binary files a/themes/aqua/images/menu_inquiry.png and /dev/null differ
diff --git a/themes/aqua/images/menu_maintenance.png b/themes/aqua/images/menu_maintenance.png
deleted file mode 100644 (file)
index 188e1c1..0000000
Binary files a/themes/aqua/images/menu_maintenance.png and /dev/null differ
diff --git a/themes/aqua/images/menu_report.png b/themes/aqua/images/menu_report.png
deleted file mode 100644 (file)
index d1d9e7c..0000000
Binary files a/themes/aqua/images/menu_report.png and /dev/null differ
diff --git a/themes/aqua/images/menu_settings.png b/themes/aqua/images/menu_settings.png
deleted file mode 100644 (file)
index 24588a3..0000000
Binary files a/themes/aqua/images/menu_settings.png and /dev/null differ
diff --git a/themes/aqua/images/menu_system.png b/themes/aqua/images/menu_system.png
deleted file mode 100644 (file)
index 9460dfc..0000000
Binary files a/themes/aqua/images/menu_system.png and /dev/null differ
diff --git a/themes/aqua/images/menu_transaction.png b/themes/aqua/images/menu_transaction.png
deleted file mode 100644 (file)
index 6cf6443..0000000
Binary files a/themes/aqua/images/menu_transaction.png and /dev/null differ
diff --git a/themes/aqua/images/menu_update.png b/themes/aqua/images/menu_update.png
deleted file mode 100644 (file)
index 58f19c6..0000000
Binary files a/themes/aqua/images/menu_update.png and /dev/null differ
diff --git a/themes/aqua/images/money.png b/themes/aqua/images/money.png
deleted file mode 100644 (file)
index 42c52d0..0000000
Binary files a/themes/aqua/images/money.png and /dev/null differ
diff --git a/themes/aqua/images/ok.gif b/themes/aqua/images/ok.gif
deleted file mode 100644 (file)
index c566bb8..0000000
Binary files a/themes/aqua/images/ok.gif and /dev/null differ
diff --git a/themes/aqua/images/pdf.gif b/themes/aqua/images/pdf.gif
deleted file mode 100644 (file)
index 071bb35..0000000
Binary files a/themes/aqua/images/pdf.gif and /dev/null differ
diff --git a/themes/aqua/images/preferences.gif b/themes/aqua/images/preferences.gif
deleted file mode 100644 (file)
index 56c12bc..0000000
Binary files a/themes/aqua/images/preferences.gif and /dev/null differ
diff --git a/themes/aqua/images/print.png b/themes/aqua/images/print.png
deleted file mode 100644 (file)
index a350d18..0000000
Binary files a/themes/aqua/images/print.png and /dev/null differ
diff --git a/themes/aqua/images/progressbar.gif b/themes/aqua/images/progressbar.gif
deleted file mode 100644 (file)
index 7c07f69..0000000
Binary files a/themes/aqua/images/progressbar.gif and /dev/null differ
diff --git a/themes/aqua/images/receive.gif b/themes/aqua/images/receive.gif
deleted file mode 100644 (file)
index 6a92dd2..0000000
Binary files a/themes/aqua/images/receive.gif and /dev/null differ
diff --git a/themes/aqua/images/remove.png b/themes/aqua/images/remove.png
deleted file mode 100644 (file)
index 08f2493..0000000
Binary files a/themes/aqua/images/remove.png and /dev/null differ
diff --git a/themes/aqua/images/report.png b/themes/aqua/images/report.png
deleted file mode 100644 (file)
index 779ad58..0000000
Binary files a/themes/aqua/images/report.png and /dev/null differ
diff --git a/themes/aqua/images/right.gif b/themes/aqua/images/right.gif
deleted file mode 100644 (file)
index eed1194..0000000
Binary files a/themes/aqua/images/right.gif and /dev/null differ
diff --git a/themes/aqua/images/sort_asc.gif b/themes/aqua/images/sort_asc.gif
deleted file mode 100644 (file)
index 8055b42..0000000
Binary files a/themes/aqua/images/sort_asc.gif and /dev/null differ
diff --git a/themes/aqua/images/sort_desc.gif b/themes/aqua/images/sort_desc.gif
deleted file mode 100644 (file)
index e0f93f7..0000000
Binary files a/themes/aqua/images/sort_desc.gif and /dev/null differ
diff --git a/themes/aqua/images/sort_none.gif b/themes/aqua/images/sort_none.gif
deleted file mode 100644 (file)
index 19cc2a2..0000000
Binary files a/themes/aqua/images/sort_none.gif and /dev/null differ
diff --git a/themes/aqua/images/view.gif b/themes/aqua/images/view.gif
deleted file mode 100644 (file)
index ffa8e41..0000000
Binary files a/themes/aqua/images/view.gif and /dev/null differ
diff --git a/themes/aqua/images/warning.png b/themes/aqua/images/warning.png
deleted file mode 100644 (file)
index 06ef4e0..0000000
Binary files a/themes/aqua/images/warning.png and /dev/null differ
diff --git a/themes/aqua/index.php b/themes/aqua/index.php
deleted file mode 100644 (file)
index e88dc9e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<?php
-header("Location: ../index.php");
diff --git a/themes/aqua/renderer.php b/themes/aqua/renderer.php
deleted file mode 100644 (file)
index ac299b5..0000000
+++ /dev/null
@@ -1,220 +0,0 @@
-<?php
-/**********************************************************************
-    Copyright (C) FrontAccounting, LLC.
-       Released under the terms of the GNU General Public License, GPL, 
-       as published by the Free Software Foundation, either version 3 
-       of the License, or (at your option) any later version.
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
-    See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
-***********************************************************************/
-       class renderer
-       {
-               function get_icon($category)
-               {
-                       global  $path_to_root, $SysPrefs;
-
-                       if ($SysPrefs->show_menu_category_icons)
-                               $img = $category == '' ? 'right.gif' : $category.'.png';
-                       else    
-                               $img = 'right.gif';
-                       return "<img src='$path_to_root/themes/".user_theme()."/images/$img' style='vertical-align:middle;' border='0'>&nbsp;&nbsp;";
-               }
-
-               function wa_header()
-               {
-                       page(_($help_context = "Main Menu"), false, true);
-               }
-
-               function wa_footer()
-               {
-                       end_page(false, true);
-               }
-
-               function menu_header($title, $no_menu, $is_index)
-               {
-                       global $path_to_root, $SysPrefs, $db_connections;
-                       echo "<table class='callout_main' border='0' cellpadding='0' cellspacing='0'>\n";
-                       echo "<tr>\n";
-                       echo "<td colspan='2' rowspan='2'>\n";
-
-                       echo "<table class='main_page' border='0' cellpadding='0' cellspacing='0'>\n";
-                       echo "<tr>\n";
-                       echo "<td>\n";
-                       echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
-                       echo "<tr>\n";
-                       echo "<td class='quick_menu'>\n"; // tabs
-
-                       $indicator = "$path_to_root/themes/".user_theme(). "/images/ajax-loader.gif";
-                       if (!$no_menu)
-                       {
-                               $applications = $_SESSION['App']->applications;
-                               $local_path_to_root = $path_to_root;
-                               $sel_app = $_SESSION['sel_app'];
-                               echo "<table cellpadding='0' cellspacing='0' width='100%'><tr><td>";
-                               echo "<div class='tabs'>";
-                               foreach($applications as $app)
-                               {
-                    if ($_SESSION["wa_current_user"]->check_application_access($app))
-                    {
-                        $acc = access_string($app->name);
-                        echo "<a class='".($sel_app == $app->id ? 'selected' : 'menu_tab')
-                            ."' href='$local_path_to_root/index.php?application=".$app->id
-                            ."'$acc[1]>" .$acc[0] . "</a>";
-                    }
-                               }
-                               echo "</div>";
-                               echo "</td></tr></table>";
-                               // top status bar
-                               $pimg = "<img src='$local_path_to_root/themes/".user_theme()."/images/preferences.gif' width='14' height='14' border='0' alt='"._('Preferences')."'>&nbsp;&nbsp;";
-                               $limg = "<img src='$local_path_to_root/themes/".user_theme()."/images/lock.gif' width='14' height='14' border='0' alt='"._('Change Password')."'>&nbsp;&nbsp;";
-                               $img = "<img src='$local_path_to_root/themes/".user_theme()."/images/login.gif' width='14' height='14' border='0' alt='"._('Logout')."'>&nbsp;&nbsp;";
-                               $himg = "<img src='$local_path_to_root/themes/".user_theme()."/images/help.gif' width='14' height='14' border='0' alt='"._('Help')."'>&nbsp;&nbsp;";
-
-                               echo "<table class='logoutBar'>";
-                               echo "<tr><td class='headingtext3'>" . $db_connections[user_company()]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . "</td>";
-                               echo "<td class='logoutBarRight'><img id='ajaxmark' src='$indicator' align='center' style='visibility:hidden;' alt='ajaxmark'></td>";
-                               echo "  <td class='logoutBarRight'><a class='shortcut' href='$path_to_root/admin/display_prefs.php?'>$pimg" . _("Preferences") . "</a>&nbsp;&nbsp;&nbsp;\n";
-                               echo "  <a class='shortcut' href='$path_to_root/admin/change_current_user_password.php?selected_id=" . $_SESSION["wa_current_user"]->username . "'>$limg" . _("Change password") . "</a>&nbsp;&nbsp;&nbsp;\n";
-
-                               if ($SysPrefs->help_base_url != null)
-                               {
-                                       echo "<a target = '_blank' onclick=" .'"'."javascript:openWindow(this.href,this.target); return false;".'" '. "href='". help_url()."'>$himg" . _("Help") . "</a>&nbsp;&nbsp;&nbsp;";
-                               }
-                               echo "<a class='shortcut' href='$local_path_to_root/access/logout.php?'>$img" . _("Logout") . "</a>&nbsp;&nbsp;&nbsp;";
-                               echo "</td></tr></table>";
-                       }
-                       echo "</td></tr></table>";
-                       if ($no_menu)
-                       {
-                               echo "<center><table class='tablestyle_noborder'>"
-                                       ."<tr><td><img id='ajaxmark' src='$indicator' align='center' style='visibility:hidden;' alt='ajaxmark'></td></tr>"
-                                       ."</table></center>";
-                       } elseif ($title && !$is_index)
-                       {
-                               echo "<center><table id='title'><tr><td width='100%' class='titletext'>$title</td>"
-                               ."<td align=right>"
-                               .(user_hints() ? "<span id='hints'></span>" : '')
-                               ."</td>"
-                               ."</tr></table></center>";
-                       }
-               }
-
-               function menu_footer($no_menu, $is_index)
-               {
-                       global $version, $path_to_root, $Pagehelp, $Ajax, $SysPrefs;
-
-                       include_once($path_to_root . "/includes/date_functions.inc");
-
-                       echo "</td></tr></table>\n"; // 'main_page'
-                       if ($no_menu == false) // bottom status line
-                       {
-                               if ($is_index)
-                                       echo "<table class='bottomBar'>\n";
-                               else
-                                       echo "<table class='bottomBar2'>\n";
-                               echo "<tr>";
-                               if (isset($_SESSION['wa_current_user'])) {
-                                       $phelp = implode('; ', $Pagehelp);
-                                       echo "<td class='bottomBarCell'>" . Today() . " | " . Now() . "</td>\n";
-                                       $Ajax->addUpdate(true, 'hotkeyshelp', $phelp);
-                                       echo "<td id='hotkeyshelp'>".$phelp."</td>";
-                               }
-                               echo "</tr></table>\n";
-                       }
-                       echo "</td></tr> </table>\n"; // 'callout_main'
-                       if ($no_menu == false)
-                       {
-                               echo "<table align='center' id='footer'>\n";
-                               echo "<tr>\n";
-                               echo "<td align='center' class='footer'><a target='_blank' href='".$SysPrefs->power_url."'><font color='#ffffff'>"
-                                       .$SysPrefs->app_title." $version - " . _("Theme:") . " " . user_theme() . " - ".show_users_online()."</font></a></td>\n";
-                               echo "</tr>\n";
-                               echo "<tr>\n";
-                               echo "<td align='center' class='footer'><a target='_blank' href='".$SysPrefs->power_url."'><font color='#ffff00'>"
-                                       .$SysPrefs->power_by."</font></a></td>\n";
-                               echo "</tr>\n";
-                               if ($SysPrefs->allow_demo_mode)
-                               {
-                                       echo "<tr>\n";
-                                       //echo "<td><br><div align='center'><a href='http://sourceforge.net'><img src='http://sourceforge.net/sflogo.php?group_id=89967&amp;type=5' alt='SourceForge.net Logo' width='210' height='62' border='0' align='center' /></a></div></td>\n";
-                                       echo "</tr>\n";
-                               }
-                               echo "</table><br><br>\n";
-                       }
-               }
-
-               function display_applications(&$waapp)
-               {
-                       global $path_to_root;
-
-                       $selected_app = $waapp->get_selected_application();
-                       if (!$_SESSION["wa_current_user"]->check_application_access($selected_app))
-                               return;
-
-                       if (method_exists($selected_app, 'render_index'))
-                       {
-                               $selected_app->render_index();
-                               return;
-                       }
-
-                       echo "<table width='100%' cellpadding='0' cellspacing='0'>";
-                       foreach ($selected_app->modules as $module)
-                       {
-                       if (!$_SESSION["wa_current_user"]->check_module_access($module))
-                               continue;
-                               // image
-                               echo "<tr>";
-                               // values
-                               echo "<td valign='top' class='menu_group'>";
-                               echo "<table border=0 width='100%'>";
-                               echo "<tr><td class='menu_group'>";
-                               echo $module->name;
-                               echo "</td></tr><tr>";
-                               echo "<td class='menu_group_items'>";
-
-                               foreach ($module->lappfunctions as $appfunction)
-                               {
-                                       $img = $this->get_icon($appfunction->category);
-                                       if ($appfunction->label == "")
-                                               echo "&nbsp;<br>";
-                                       elseif ($_SESSION["wa_current_user"]->can_access_page($appfunction->access)) 
-                                       {
-                                                       echo $img.menu_link($appfunction->link, $appfunction->label)."<br>\n";
-                                       }
-                                       elseif (!$_SESSION["wa_current_user"]->hide_inaccessible_menu_items())
-                                       {
-                                                       echo $img.'<span class="inactive">'
-                                                               .access_string($appfunction->label, true)
-                                                               ."</span><br>\n";
-                                       }
-                               }
-                               echo "</td>";
-                               if (sizeof($module->rappfunctions) > 0)
-                               {
-                                       echo "<td width='50%' class='menu_group_items'>";
-                                       foreach ($module->rappfunctions as $appfunction)
-                                       {
-                                               $img = $this->get_icon($appfunction->category);
-                                               if ($appfunction->label == "")
-                                                       echo "&nbsp;<br>";
-                                               elseif ($_SESSION["wa_current_user"]->can_access_page($appfunction->access)) 
-                                               {
-                                                               echo $img.menu_link($appfunction->link, $appfunction->label)."<br>\n";
-                                               }
-                                               elseif (!$_SESSION["wa_current_user"]->hide_inaccessible_menu_items())
-                                               {
-                                                               echo $img.'<span class="inactive">'
-                                                                       .access_string($appfunction->label, true)
-                                                                       ."</span><br>\n";
-                                               }
-                                       }
-                                       echo "</td>";
-                               }
-
-                               echo "</tr></table></td></tr>";
-                       }
-                       echo "</table>";
-               }
-       }
diff --git a/themes/canvas/default.css b/themes/canvas/default.css
new file mode 100644 (file)
index 0000000..88f9345
--- /dev/null
@@ -0,0 +1,697 @@
+/*--------------------------------------------------\
+| elegant       |               | default.css       |
+|---------------------------------------------------|
+| For use with:                                     |
+| FrontAccounting                                                              |
+| http://FrontAccounting.com/                                  |
+| by Joe Hunt Consulting                            |
+|---------------------------------------------------|
+| Developer:                                        |
+| Joe Hunt                                          |
+|                                                   |
+|---------------------------------------------------|
+| Note:                                             |
+| Changes can be made to this CSS that will be      |
+| reflected throughout FrontAccounting.             |
+|                                                   |
+\--------------------------------------------------*/
+
+body {
+  background-color: #eee;
+  background-image: url(images/body_bg.png);
+  background-repeat: repeat-x;
+  margin: 0;
+  padding: 0;
+  text-align: center;
+}
+
+body,td,th {
+  font-family:Arial, Helvetica, sans-serif;
+  font-size: 11px;
+  color: #000;
+}
+
+/* Main */
+.fa-main {
+  width: 98%;
+  margin: 0 auto;
+  text-align: left;
+}
+
+tr, td, th {
+       line-height: 17px;
+       color: #000;
+}
+table {
+       text-align: left;
+}
+
+textarea {
+    font-size: 12px;
+}
+
+input, select
+{
+    font-size: 11px;
+       padding: 1px;
+}
+
+//select {
+//    max-width: 200px;
+//}
+
+input.big {
+       width: 100px;
+}
+
+input.small {
+       width: 50px;
+}
+
+a, a:active {
+       color: #045c97;
+       text-decoration: none;
+}
+a:hover, a:focus {
+       color: #4f9adb;
+       text-decoration: underline;
+}
+a:visited {
+       color: #045c97;
+       text-decoration: none;
+}
+.clear {
+       clear: both;
+}
+.nodisp {
+       display: none;
+}
+.italic {
+       font-style: italic;
+}
+.flleft {
+       float: left;
+}
+.flright {
+       float: right;
+}
+
+/* Menu */
+.fa-menu {
+  clear: both;
+  margin: 0;
+  padding: 0;
+  height: 30px;
+}
+
+.fa-menu ul {
+  margin: 0;
+  padding: 0;
+  height: 30px;
+  list-style: none;
+  display: inline;
+  white-space: nowrap;
+}
+
+.fa-menu li {
+  margin: 0;
+  padding: 0 0 0 2px;
+  list-style: none;
+  display: block;
+  float: left;
+  background-image: url(images/menu_break.png);
+  background-repeat: no-repeat;
+}
+
+.fa-menu a:link,
+.fa-menu a:active,
+.fa-menu a:visited {
+  vertical-align: middle;
+  font-size: 12px;
+  font-weight: bold;
+  text-align: center;
+  color: #fff;
+  margin: 0;
+  padding: 0 12px;
+  display: block;
+  float: left;
+  height: 30px;
+  line-height: 30px;
+}
+
+.fa-menu a:hover { text-decoration: underline; }
+
+.fa-menu .active a {
+  background-image: url(images/link_bg.png);
+  background-repeat: repeat-x;
+}
+
+.fa-menu .active a:hover { text-decoration: none; }
+
+
+/* Body */
+.fa-body {
+  width: 100%;
+  background-color: #fff;
+  background-image: url(images/content_bg.png);
+  background-repeat: repeat-x;
+  float: left;
+  margin: 0;
+  padding: 5px 0 0 0;
+}
+
+#fa-submenu{
+padding: 0;
+margin-top: 2px;
+width: 100%;
+height: 24px;
+/*border-top: 1px solid #ececec;*/ /*Brown color theme*/ 
+/*background-color: #045c97;*/
+background-color: #7895ac;
+}
+
+#fa-submenu ul{
+margin:0;
+padding: 0;
+list-style: none;
+}
+
+#fa-submenu li{
+display: inline;
+margin: 0 2px 0 0;
+padding: 0;
+}
+
+#fa-submenu a{
+float: left;
+display: block;
+font-size: 12px;
+color: white;
+text-decoration: none;
+margin: 0 1px 0 0; /*Margin between each menu item*/
+border-right: 1px solid #ececec;
+padding: 5px 10px;
+/*background-color: #045c97;*/ /*blue color theme*/ 
+background-color: #7895ac;
+}
+
+#fa-submenu a:hover{
+background-color: black; /*Brown color theme*/ 
+color: white;
+}
+
+
+/* Content */
+.fa-content {
+  width: 99%;
+  margin: 0;
+  padding: 7px 10px 5px 0;
+  float: right;
+  vertical-align: top;
+}
+
+/* Footer */
+.fa-footer {
+  clear: both;
+  background-image: url(images/footer_bg.png);
+  background-repeat: repeat-x;
+  height: 10px;
+  margin: 0;
+  padding: 10px;
+  text-align: center;
+  font-size: 10px;
+  color: #036;
+}
+
+
+h1 {
+       font-size: 14px;
+       margin-right: 20px;
+       color: #466f01;
+}
+h2, .titletext {
+       font-weight: bold;
+       font-size: 13px;
+       color: #555;
+       padding: 5px;
+}
+.titletext {
+       border-bottom: 1px solid #8cacbb;
+}
+
+h3 {
+       font-size: 100%;
+       padding-top: 1ex;
+       padding-bottom: 1ex;
+}
+#header { margin: 0; }
+#header ul {clear: right; float: right; font-size: 11px; margin: 8px 10px 0 0; }
+#header li{ list-style: none; display: inline; margin: 0; }
+#header li a{ color: #045c97; text-decoration: none; padding: 0 0 0 16px; }
+#header h1 {
+       padding: 4px 0 4px 10px;
+       margin: 0;
+}
+#header h2 {
+       font-style: italic;
+}
+
+.fa-footer .power a { font-size: 10px; padding: 0 12px 0 12px; text-align: center; background: transparent url(images/news.gif) no-repeat center left; color: #045c97; }
+.fa-footer .date { font-size: 10px; padding: 0 12px 0 12px; text-align: center; color: #045c97; }
+
+hr {
+       background: #ccc;
+       border: 0;
+       color: #ccc;
+       height: 1px;
+}
+
+.menu_group {
+       font-size: 12px;
+       padding: 0;
+       color: #555;
+       background-color: #fff;
+       padding-left: 3px;
+       font-weight: bold;
+}
+
+.menu_group_items {
+       font-size: 12px;
+       background-color: #f9f9f9;
+       font-weight: normal;
+       line-height: 19px;
+       padding: 9px;
+       border: 1px solid #8cacbb;
+}
+
+.menu_group_items a {
+       text-decoration: none;
+}
+
+.tableheader {
+       font-weight: bold;
+       background-color: #7895ac;
+       color: #fff;
+       text-align: center;
+}
+
+.tableheader2 {
+       font-weight: bold;
+       background-color: #7895ac;
+       color: #fff;
+       text-align: left;
+}
+
+.tableseparator {
+       border-left: 1px solid #ccc;
+}
+
+.headingtext {
+       font-weight: bold;
+       font-size: 12px;
+       color: #555;
+}
+
+.headingtext2 {
+       font-size: 12px;
+       color: black;
+}
+
+.headingtext3 {
+       font-weight: bold;
+       font-size: 10px;
+       color: black;
+}
+
+.errortext {
+       font-size: 12px;
+       color: #f00;
+       font-weight: bold;
+}
+
+.inputsubmit {
+       font-size: 11px;
+       border: 1px #ccc solid;
+       background-image: url(images/footer_bg.png);
+       background-repeat: repeat-x;
+       padding: 1px 4px;
+}
+
+.ajaxsubmit {
+       font-size: 11px;
+       border: 1px #ccc solid;
+       background-image: url(images/footer_bg.png);
+       background-repeat: repeat-x;
+       padding: 1px 4px;
+}
+
+.oddrow {
+       background-color: #fafafa;
+}
+
+.evenrow {
+       background-color: #f3f3f3;
+}
+
+.overduebg {
+       background-color: pink;
+}
+
+.overduefg {
+       color: pink;
+}
+
+.currentfg {
+       color: #f66;
+}
+
+.redfg, a.redfg {
+       color: red;
+       font-weight: bold;
+}
+
+.settledbg {
+       background-color: #0b0;
+}
+
+.settledfg {
+       color: #0b0;
+}
+
+.inquirybg {
+       background-color: #fdfeef;
+}
+
+.currencybg {
+       background-color: #e88;
+}
+
+.stockmankobg {
+       background-color: pink;
+}
+
+.stockmankofg {
+       color: red;
+}
+
+table.tablestyle {
+       border-collapse: collapse;
+       border: 1px solid #e1e1e1;
+}
+table.tablestyle td {
+       border-collapse: collapse;
+       border: 1px solid #e1e1e1;
+}
+table.tablestyle2 {
+       border-collapse: collapse;
+       border: 1px solid #cccccc;
+}
+table.tablestyle2 td {
+       border-collapse: collapse;
+       border: 1px solid #cccccc;
+}
+table.tablestyle_inner {
+       border-collapse: collapse;
+       border: 1px solid #f9f9f9;
+}
+table.tablestyle_inner td {
+       border-collapse: collapse;
+       border: 1px solid #f9f9f9;
+}
+.tablestyle_noborder {
+       padding: 3px;
+}
+
+.label {
+       background-color: #ebf0f3;
+       color: black;
+}
+
+#loginscreen {
+       background: #f5f5f5;
+}
+
+.login {
+       width: 350px;
+       border-left: 12px solid #367cb5;
+       border-collapse: collapse;
+       background-color: #eeeeee;
+}
+.login td {
+       border-collapse: collapse;
+       border: 1px solid #cccccc;
+}
+
+.amount {
+       font-family: Verdana, Arial, Helvetica;
+       font-size: 11px;
+       text-align: right;
+}
+
+input.amount {
+       padding-right: 0px;
+       border-right: none;
+}
+
+.editbutton {
+       color:#00f;
+       background-color:transparent;
+       border-style:none;
+       text-decoration:none;
+       padding: 0;
+       margin: 0;
+       cursor: pointer;
+}
+
+.navibutton[disabled] {
+       color:#ccc;
+       text-decoration:none;
+       cursor: auto;
+}
+
+button.navibutton {
+       font-family:Arial, Helvetica, sans-serif;
+       font-size: 11px;
+       font-weight: bold;
+       color:#fff;
+       padding: 0 3px;
+       background-color: transparent;
+       border-style:none;
+       cursor: pointer;
+}
+
+.navibutton span {
+       text-decoration:underline;
+}
+
+.navibar {
+       padding: 0 3px;
+    color: #fff;
+    border: 1px solid #e1e1e1;
+    border-collapse: collapse;
+       background-color: #7895ac;
+}
+
+.listsubmit {
+    display: none;
+}
+
+.inactive {
+       color: gray;
+}
+
+button {
+       font-size: 11px;
+       border: 1px #0066cc solid;
+       padding: 1px 0px;
+}
+
+button img, span {
+       padding: 0px 2px ;
+       vertical-align: middle;
+}
+
+ul.ajaxtabs{
+       padding: 3px 0 0 0;
+       margin: 3px 3px 0 3px;
+       font: 12px Tahoma,Verdana;
+       font-weight: bold;
+}
+
+ul.ajaxtabs li{
+       list-style: none;
+       margin: 0;
+       display: inline;
+}
+
+ul.ajaxtabs li button{
+    background-color: #dee7ec;
+       padding: 3px 8px;
+       margin: 0px;
+       border-top: 1px solid #8cacbb;
+       border-right: 1px solid #8cacbb;
+       border-bottom: none;
+       border-left: none;
+       font-weight: bold;
+}
+
+ul.ajaxtabs li button:hover{
+       border-top: 1px solid #8cacbb;
+       color:#fff;
+}
+div.spaceBox{
+       background-color: #8cacbb;
+       height:8px;
+       border-bottom: 1px solid #8cacbb;
+       border-left: 1px solid #8cacbb;
+       border-right:1px solid #8cacbb;
+       margin: 0 3px 0px 3px
+}
+
+div.contentBox{
+       border: 1px solid #8cacbb;
+       margin: 0 3px 3px 3px
+}
+
+ul.ajaxtabs li button.current, ul.ajaxtabs li button.current:hover{
+       border-left: 1px solid #8cacbb;
+       background-color: #8cacbb;
+       color:#fff;
+}
+#hints {
+  font-size: 12px;
+  padding: 5px;
+  border-bottom: 1px solid #8cacbb;
+  margin: -4px -2px -2px;
+  border: 1px solid #8cacbb;
+  background-color: #ffffea;
+  white-space: nowrap;
+}
+
+img { border: 0; }
+
+/*
+       Calendar style
+*/
+#CCIframe {
+       display: none;
+       left: 0px;
+       position: absolute;
+       top: 0px;
+       height: 250px;
+       width: 270px;
+       z-index: 99;
+}
+#CC { 
+       position:absolute;
+       background-color:#FFF;
+       margin:0; padding:0;
+       display:none;
+       z-index: 100;
+}
+#CC table { 
+       font-family: arial, verdana, helvetica, sans-serif;
+       font-size: 8pt;
+       border-left: 1px solid #336;
+       border-right: 1px solid #336;
+}
+#CC th {
+       font-weight: normal;
+       text-align: center;
+}
+#CC th a {
+       font-weight: normal;
+       text-decoration: none;
+       color: #FFF;
+       padding: 1px;
+}
+#CC td {
+       text-align: center;
+}
+#CC .header {
+       background-color: #22303b;
+}
+#CC .weekday {
+       background-color: #eee;
+       color: #000;
+}
+#CC .weekend {
+       background-color: #FFC;
+       color: #000;
+}
+#CC .weekno {
+       background-color: #cde;
+       color: #555;
+}
+#CC .current {
+       border: 1px solid #339;
+       background-color: #22303b;
+       color: #FFF;
+}
+#CC .weekday, #CC .weekend, #CC .current {
+       display: block;
+       text-decoration: none;
+       border: 1px solid #FFF;
+       width: 2em;
+}
+#CC .weekday:hover, #CC .weekend:hover, #CC .current:hover {
+       color: #FFF;
+       background-color: #22303b;
+       border: 1px solid #999;
+}
+#CC .previous {
+       text-align: left;
+}
+#CC .next {
+       text-align: right;
+}
+#CC .previous, #CC .next {
+       padding: 1px 3px 1px 3px;
+       font-size: 1.4em;
+}
+#CC .previous a, #CC .next a {
+       color: #FFF;
+       text-decoration: none;
+       font-weight: bold;
+}
+#CC .title {
+       text-align: center;
+       font-weight: bold; 
+       color: #FFF;
+}
+#CC .empty {
+       background-color: #ddd;
+       border: 1px solid #FFF;
+}
+
+div.err_msg {
+       margin: 10px;
+       padding: 3px;
+       border: 1px solid #cc3300;
+       background-color: #ffcccc;
+       color: #dd2200;
+       text-align: center;
+}
+
+div.warn_msg {
+       margin: 10px;
+       padding: 3px;
+       border: 1px solid #ff9900;
+       background-color: #ffff00;
+       color: #ff5500;
+       text-align: center;
+}
+
+div.note_msg {
+       margin: 10px;
+       padding: 3px;
+       border: 1px solid #33cc00;
+       background-color: #ccffcc;
+       color: #007700;
+       text-align: center;
+}
+
+#title {
+       margin-bottom: 10px;
+       width: 100%;
+}
diff --git a/themes/canvas/images/add.png b/themes/canvas/images/add.png
new file mode 100644 (file)
index 0000000..6332fef
Binary files /dev/null and b/themes/canvas/images/add.png differ
diff --git a/themes/canvas/images/ajax-loader.gif b/themes/canvas/images/ajax-loader.gif
new file mode 100644 (file)
index 0000000..269e15a
Binary files /dev/null and b/themes/canvas/images/ajax-loader.gif differ
diff --git a/themes/canvas/images/ajax-loader2.gif b/themes/canvas/images/ajax-loader2.gif
new file mode 100644 (file)
index 0000000..452e052
Binary files /dev/null and b/themes/canvas/images/ajax-loader2.gif differ
diff --git a/themes/canvas/images/alloc.png b/themes/canvas/images/alloc.png
new file mode 100644 (file)
index 0000000..2f734ca
Binary files /dev/null and b/themes/canvas/images/alloc.png differ
diff --git a/themes/canvas/images/arrow_12.gif b/themes/canvas/images/arrow_12.gif
new file mode 100644 (file)
index 0000000..56eb6e6
Binary files /dev/null and b/themes/canvas/images/arrow_12.gif differ
diff --git a/themes/canvas/images/body_bg.png b/themes/canvas/images/body_bg.png
new file mode 100644 (file)
index 0000000..9006cd7
Binary files /dev/null and b/themes/canvas/images/body_bg.png differ
diff --git a/themes/canvas/images/button_ok.png b/themes/canvas/images/button_ok.png
new file mode 100644 (file)
index 0000000..72790e1
Binary files /dev/null and b/themes/canvas/images/button_ok.png differ
diff --git a/themes/canvas/images/cal.gif b/themes/canvas/images/cal.gif
new file mode 100644 (file)
index 0000000..8526cf5
Binary files /dev/null and b/themes/canvas/images/cal.gif differ
diff --git a/themes/canvas/images/cancel.png b/themes/canvas/images/cancel.png
new file mode 100644 (file)
index 0000000..2541d2b
Binary files /dev/null and b/themes/canvas/images/cancel.png differ
diff --git a/themes/canvas/images/content_bg.png b/themes/canvas/images/content_bg.png
new file mode 100644 (file)
index 0000000..c946195
Binary files /dev/null and b/themes/canvas/images/content_bg.png differ
diff --git a/themes/canvas/images/credit.gif b/themes/canvas/images/credit.gif
new file mode 100644 (file)
index 0000000..4627583
Binary files /dev/null and b/themes/canvas/images/credit.gif differ
diff --git a/themes/canvas/images/delete.gif b/themes/canvas/images/delete.gif
new file mode 100644 (file)
index 0000000..327af2a
Binary files /dev/null and b/themes/canvas/images/delete.gif differ
diff --git a/themes/canvas/images/download.gif b/themes/canvas/images/download.gif
new file mode 100644 (file)
index 0000000..67823e9
Binary files /dev/null and b/themes/canvas/images/download.gif differ
diff --git a/themes/canvas/images/edit.gif b/themes/canvas/images/edit.gif
new file mode 100644 (file)
index 0000000..21a68c6
Binary files /dev/null and b/themes/canvas/images/edit.gif differ
diff --git a/themes/canvas/images/enter.png b/themes/canvas/images/enter.png
new file mode 100644 (file)
index 0000000..45fd4d4
Binary files /dev/null and b/themes/canvas/images/enter.png differ
diff --git a/themes/canvas/images/escape.png b/themes/canvas/images/escape.png
new file mode 100644 (file)
index 0000000..4d84554
Binary files /dev/null and b/themes/canvas/images/escape.png differ
diff --git a/themes/canvas/images/folder.gif b/themes/canvas/images/folder.gif
new file mode 100644 (file)
index 0000000..0888abf
Binary files /dev/null and b/themes/canvas/images/folder.gif differ
diff --git a/themes/canvas/images/footer_bg.png b/themes/canvas/images/footer_bg.png
new file mode 100644 (file)
index 0000000..1917b3a
Binary files /dev/null and b/themes/canvas/images/footer_bg.png differ
diff --git a/themes/canvas/images/gl.png b/themes/canvas/images/gl.png
new file mode 100644 (file)
index 0000000..7d863f9
Binary files /dev/null and b/themes/canvas/images/gl.png differ
diff --git a/themes/canvas/images/help.gif b/themes/canvas/images/help.gif
new file mode 100644 (file)
index 0000000..58c0ffe
Binary files /dev/null and b/themes/canvas/images/help.gif differ
diff --git a/themes/canvas/images/invoice.gif b/themes/canvas/images/invoice.gif
new file mode 100644 (file)
index 0000000..aef0be2
Binary files /dev/null and b/themes/canvas/images/invoice.gif differ
diff --git a/themes/canvas/images/link_bg.png b/themes/canvas/images/link_bg.png
new file mode 100644 (file)
index 0000000..30970e1
Binary files /dev/null and b/themes/canvas/images/link_bg.png differ
diff --git a/themes/canvas/images/locate.png b/themes/canvas/images/locate.png
new file mode 100644 (file)
index 0000000..c14484d
Binary files /dev/null and b/themes/canvas/images/locate.png differ
diff --git a/themes/canvas/images/lock.gif b/themes/canvas/images/lock.gif
new file mode 100644 (file)
index 0000000..92a51e2
Binary files /dev/null and b/themes/canvas/images/lock.gif differ
diff --git a/themes/canvas/images/login.gif b/themes/canvas/images/login.gif
new file mode 100644 (file)
index 0000000..91d5451
Binary files /dev/null and b/themes/canvas/images/login.gif differ
diff --git a/themes/canvas/images/logo_frontaccounting.jpg b/themes/canvas/images/logo_frontaccounting.jpg
new file mode 100644 (file)
index 0000000..130a31d
Binary files /dev/null and b/themes/canvas/images/logo_frontaccounting.jpg differ
diff --git a/themes/canvas/images/logo_frontaccounting.png b/themes/canvas/images/logo_frontaccounting.png
new file mode 100644 (file)
index 0000000..85150e2
Binary files /dev/null and b/themes/canvas/images/logo_frontaccounting.png differ
diff --git a/themes/canvas/images/menu_break.png b/themes/canvas/images/menu_break.png
new file mode 100644 (file)
index 0000000..95d2d42
Binary files /dev/null and b/themes/canvas/images/menu_break.png differ
diff --git a/themes/canvas/images/money.png b/themes/canvas/images/money.png
new file mode 100644 (file)
index 0000000..42c52d0
Binary files /dev/null and b/themes/canvas/images/money.png differ
diff --git a/themes/canvas/images/news.gif b/themes/canvas/images/news.gif
new file mode 100644 (file)
index 0000000..072e303
Binary files /dev/null and b/themes/canvas/images/news.gif differ
diff --git a/themes/canvas/images/ok.gif b/themes/canvas/images/ok.gif
new file mode 100644 (file)
index 0000000..c566bb8
Binary files /dev/null and b/themes/canvas/images/ok.gif differ
diff --git a/themes/canvas/images/page_edit.png b/themes/canvas/images/page_edit.png
new file mode 100644 (file)
index 0000000..046811e
Binary files /dev/null and b/themes/canvas/images/page_edit.png differ
diff --git a/themes/canvas/images/pdf.gif b/themes/canvas/images/pdf.gif
new file mode 100644 (file)
index 0000000..071bb35
Binary files /dev/null and b/themes/canvas/images/pdf.gif differ
diff --git a/themes/canvas/images/preferences.gif b/themes/canvas/images/preferences.gif
new file mode 100644 (file)
index 0000000..56c12bc
Binary files /dev/null and b/themes/canvas/images/preferences.gif differ
diff --git a/themes/canvas/images/print.png b/themes/canvas/images/print.png
new file mode 100644 (file)
index 0000000..a350d18
Binary files /dev/null and b/themes/canvas/images/print.png differ
diff --git a/themes/canvas/images/progressbar.gif b/themes/canvas/images/progressbar.gif
new file mode 100644 (file)
index 0000000..269e15a
Binary files /dev/null and b/themes/canvas/images/progressbar.gif differ
diff --git a/themes/canvas/images/receive.gif b/themes/canvas/images/receive.gif
new file mode 100644 (file)
index 0000000..6a92dd2
Binary files /dev/null and b/themes/canvas/images/receive.gif differ
diff --git a/themes/canvas/images/remove.png b/themes/canvas/images/remove.png
new file mode 100644 (file)
index 0000000..08f2493
Binary files /dev/null and b/themes/canvas/images/remove.png differ
diff --git a/themes/canvas/images/report.png b/themes/canvas/images/report.png
new file mode 100644 (file)
index 0000000..779ad58
Binary files /dev/null and b/themes/canvas/images/report.png differ
diff --git a/themes/canvas/images/sort_asc.gif b/themes/canvas/images/sort_asc.gif
new file mode 100644 (file)
index 0000000..61bdf04
Binary files /dev/null and b/themes/canvas/images/sort_asc.gif differ
diff --git a/themes/canvas/images/sort_asc2.gif b/themes/canvas/images/sort_asc2.gif
new file mode 100644 (file)
index 0000000..c381313
Binary files /dev/null and b/themes/canvas/images/sort_asc2.gif differ
diff --git a/themes/canvas/images/sort_desc.gif b/themes/canvas/images/sort_desc.gif
new file mode 100644 (file)
index 0000000..e1395ee
Binary files /dev/null and b/themes/canvas/images/sort_desc.gif differ
diff --git a/themes/canvas/images/sort_desc2.gif b/themes/canvas/images/sort_desc2.gif
new file mode 100644 (file)
index 0000000..bc6ee42
Binary files /dev/null and b/themes/canvas/images/sort_desc2.gif differ
diff --git a/themes/canvas/images/sort_none.gif b/themes/canvas/images/sort_none.gif
new file mode 100644 (file)
index 0000000..9c30bcf
Binary files /dev/null and b/themes/canvas/images/sort_none.gif differ
diff --git a/themes/canvas/images/spacer.png b/themes/canvas/images/spacer.png
new file mode 100644 (file)
index 0000000..88178d1
Binary files /dev/null and b/themes/canvas/images/spacer.png differ
diff --git a/themes/canvas/images/view.gif b/themes/canvas/images/view.gif
new file mode 100644 (file)
index 0000000..ffa8e41
Binary files /dev/null and b/themes/canvas/images/view.gif differ
diff --git a/themes/canvas/images/warning.png b/themes/canvas/images/warning.png
new file mode 100644 (file)
index 0000000..f373221
Binary files /dev/null and b/themes/canvas/images/warning.png differ
diff --git a/themes/canvas/index.php b/themes/canvas/index.php
new file mode 100644 (file)
index 0000000..763940a
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+header("Location: ../index.php");
+?>
diff --git a/themes/canvas/renderer.php b/themes/canvas/renderer.php
new file mode 100644 (file)
index 0000000..14a4cc8
--- /dev/null
@@ -0,0 +1,249 @@
+<?php
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU General Public License, GPL, 
+       as published by the Free Software Foundation, either version 3 
+       of the License, or (at your option) any later version.
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+    See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
+***********************************************************************/
+
+       class renderer
+       {
+               function wa_header()
+               {
+                       page(_($help_context = "Main Menu"), false, true);
+               }
+
+               function wa_footer()
+               {
+                       end_page(false, true);
+               }
+               function shortcut($url, $label) 
+               {
+                       echo "<li>";
+                       $pars = access_string($label);
+                       echo "<a href='$url' class='menu_option' $pars[1]>$pars[0]</a>";
+                       echo "</li>";
+               }
+               
+               function menu_header($title, $no_menu, $is_index)
+               {
+                       global $path_to_root, $SysPrefs, $version;
+
+                       $sel_app = $_SESSION['sel_app'];
+                       echo "<div class='fa-main'>\n";
+                       if (!$no_menu)
+                       {
+                               $applications = $_SESSION['App']->applications;
+                               $local_path_to_root = $path_to_root;
+                               $img = "<img src='$path_to_root/themes/".user_theme()."/images/login.gif' width='14' height='14' border='0' alt='"._('Logout')."'>&nbsp;&nbsp;";
+                               $pimg = "<img src='$local_path_to_root/themes/".user_theme()."/images/preferences.gif' width='14' height='14' border='0' alt='"._('Preferences')."'>&nbsp;&nbsp;";
+                               $limg = "<img src='$local_path_to_root/themes/".user_theme()."/images/lock.gif' width='14' height='14' border='0' alt='"._('Change Password')."'>&nbsp;&nbsp;";
+                               $himg = "<img src='$path_to_root/themes/".user_theme()."/images/help.gif' width='14' height='14' border='0' alt='"._('Help')."'>&nbsp;&nbsp;";
+                               echo "<div id='header'>\n";
+                               echo "<ul>\n";
+                               echo "  <li><a class='shortcut' href='$path_to_root/admin/display_prefs.php?'>$pimg" . _("Preferences") . "</a></li>\n";
+                               echo "  <li><a class='shortcut' href='$path_to_root/admin/change_current_user_password.php?selected_id=" . $_SESSION["wa_current_user"]->username . "'>$limg" . _("Change password") . "</a></li>\n";
+                               if ($SysPrefs->help_base_url != null)
+                                       echo "  <li><a target = '_blank' onclick=" .'"'."javascript:openWindow(this.href,this.target); return false;".'" '. "href='". 
+                                               help_url()."'>$himg" . _("Help") . "</a></li>";
+                               echo "  <li><a class='shortcut' href='$path_to_root/access/logout.php?'>$img" . _("Logout") . "</a></li>";
+                               echo "</ul>\n";
+                               $indicator = "$path_to_root/themes/".user_theme(). "/images/ajax-loader.gif";
+                               echo "<h1>$SysPrefs->power_by $version<span style='padding-left:300px;'><img id='ajaxmark' src='$indicator' align='center' style='visibility:hidden;'></span></h1>\n";
+                               echo "</div>\n"; // header
+                               echo "<div class='fa-menu'>";
+                               echo "<ul>\n";
+                               foreach($applications as $app)
+                               {
+                    if ($_SESSION["wa_current_user"]->check_application_access($app))
+                    {
+                                               $acc = access_string($app->name);
+                                               echo "<li ".($sel_app == $app->id ? "class='active' " : "") . "><a class='"
+                                                       .($sel_app == $app->id ? 'selected' : 'menu_tab')
+                                                       ."' href='$path_to_root/index.php?application=" . $app->id
+                                                       ."'$acc[1]><b>" . $acc[0] . "</b></a></li>\n";
+                                       }               
+                               }
+                               echo "</ul>\n"; 
+                               echo "</div>\n"; // menu
+                               echo "<div class='clear'></div>\n";
+
+                       }                               
+                       echo "<div class='fa-body'>\n";
+                       if (!$no_menu)
+                       {               
+                               echo "<div id='fa-submenu'>\n";
+                               echo "<ul>\n";
+                               switch ($sel_app) // Shortcuts
+                               {
+                                       case "orders":
+                                               $this->shortcut($local_path_to_root."/sales/sales_order_entry.php?NewOrder=Yes'",_("Sales Order"));
+                                               $this->shortcut($local_path_to_root."/sales/sales_order_entry.php?NewInvoice=0",_("Direct Invoice"));
+                                               $this->shortcut($local_path_to_root."/sales/customer_payments.php?", _("Payments"));
+                                               $this->shortcut($local_path_to_root."/sales/inquiry/sales_orders_view.php?", _("Sales Order Inquiry"));
+                                               $this->shortcut($local_path_to_root."/sales/inquiry/customer_inquiry.php?", _("Transactions"));
+                                               $this->shortcut($local_path_to_root."/sales/manage/customers.php?", _("Customers"));
+                                               $this->shortcut($local_path_to_root."/sales/manage/customer_branches.php?", _("Branch"));
+                                               $this->shortcut($local_path_to_root."/reporting/reports_main.php?Class=0", _("Reports and Analysis"));
+                                               break;
+                                       case "AP":      
+                                               $this->shortcut($local_path_to_root."/purchasing/po_entry_items.php?NewOrder=0", _("Purchase Order"));
+                                               $this->shortcut($local_path_to_root."/purchasing/inquiry/po_search.php?", _("Receive"));
+                                               $this->shortcut($local_path_to_root."/purchasing/supplier_invoice.php?New=1", _("Supplier Invoice"));
+                                               $this->shortcut($local_path_to_root."/purchasing/supplier_payment.php?", _("Payments"));
+                                               $this->shortcut($local_path_to_root."/purchasing/inquiry/supplier_inquiry.php?", _("Transactions"));
+                                               $this->shortcut($local_path_to_root."/purchasing/manage/suppliers.php?", _("Suppliers"));
+                                               $this->shortcut($local_path_to_root."/reporting/reports_main.php?Class=1", _("Reports and Analysis"));
+                                               break;
+                                       case "stock":   
+                                               $this->shortcut($local_path_to_root."/inventory/adjustments.php?NewAdjustment=1", _("Inventory Adjustments"));
+                                               $this->shortcut($local_path_to_root."/inventory/inquiry/stock_movements.php?", _("Inventory Movements"));
+                                               $this->shortcut($local_path_to_root."/inventory/manage/items.php?", _("Items"));
+                                               $this->shortcut($local_path_to_root."/inventory/prices.php?", _("Sales Pricing"));
+                                               $this->shortcut($local_path_to_root."/reporting/reports_main.php?Class=2", _("Reports and Analysis"));
+                                               break;
+                                       case "manuf":   
+                                               $this->shortcut($local_path_to_root."/manufacturing/work_order_entry.php?", _("Work Order Entry"));
+                                               $this->shortcut($local_path_to_root."/manufacturing/search_work_orders.php?outstanding_only=1", _("Ourstanding Work Orders"));
+                                               $this->shortcut($local_path_to_root."/manufacturing/search_work_orders.php?", _("Work Order Inquiry"));
+                                               $this->shortcut($local_path_to_root."/manufacturing/manage/bom_edit.php?", _("Bills Of Material"));
+                                               $this->shortcut($local_path_to_root."/reporting/reports_main.php?Class=3", _("Reports and Analysis"));
+                                               break;
+                                       case "assets":  
+                                               $this->shortcut($local_path_to_root."/purchasing/po_entry_items.php?NewInvoice=Yes&FixedAsset=1", _("Fixed Assets Purchase"));
+                                               $this->shortcut($local_path_to_root."/fixed_assets/inquiry/stock_inquiry.php?", _("Fixed Assets Inquiry"));
+                                               $this->shortcut($local_path_to_root."/inventory/manage/items.php?FixedAsset=1", _("Fixed Assets"));
+                                               $this->shortcut($local_path_to_root."/fixed_assets/process_depreciation.php?", _("Depreciations"));
+                                               $this->shortcut($local_path_to_root."/reporting/reports_main.php?Class=7", _("Reports and Analysis"));
+                                               break;
+                                       case "proj":    
+                                               $this->shortcut($local_path_to_root."/dimensions/dimension_entry.php?", _("Dimension Entry"));
+                                               $this->shortcut($local_path_to_root."/dimensions/inquiry/search_dimensions.php?", _("Dimension Inquiry"));
+                                               $this->shortcut($local_path_to_root."/reporting/reports_main.php?Class=4", _("Reports and Analysis"));
+                                               break;
+                                       case "GL":      
+                                               $this->shortcut($local_path_to_root."/gl/gl_bank.php?NewPayment=Yes",_("Payments"));
+                                               $this->shortcut($local_path_to_root."/gl/gl_bank.php?NewDeposit=Yes",_("Deposits"));
+                                               $this->shortcut($local_path_to_root."/gl/gl_journal.php?NewJournal=Yes",_("Journal Entry"));
+                                               $this->shortcut($local_path_to_root."/gl/inquiry/bank_inquiry.php?",_("Bank Account Inquiry"));
+                                               //$this->shortcut($local_path_to_root."/gl/inquiry/gl_account_inquiry.php?",_("GL Account Inquiry"));
+                                               $this->shortcut($local_path_to_root."/gl/inquiry/gl_trial_balance.php?",_("Trial Balance"));
+                                               $this->shortcut($local_path_to_root."/gl/manage/exchange_rates.php?",_("Exchange Rates"));
+                                               $this->shortcut($local_path_to_root."/gl/manage/gl_accounts.php?",_("GL Accounts"));
+                                               $this->shortcut($local_path_to_root."/reporting/reports_main.php?Class=6",_("Reports and Analysis"));
+                                               break;
+                                       case "system":  
+                                               $this->shortcut($local_path_to_root."/admin/company_preferences.php?",_("Company Setup"));
+                                               $this->shortcut($local_path_to_root."/admin/gl_setup.php?",_("General GL"));
+                                               $this->shortcut($local_path_to_root."/taxes/tax_types.php?",_("Taxes"));
+                                               $this->shortcut($local_path_to_root."/taxes/tax_groups.php?",_("Tax Groups"));
+                                               $this->shortcut($local_path_to_root."/admin/forms_setup.php?",_("Forms Setup"));
+                                               $this->shortcut($local_path_to_root."/admin/backups.php?",_("Backup and Restore"));
+                                               break;
+                               }       
+                               $this->shortcut($local_path_to_root."/admin/dashboard.php?sel_app=$sel_app", _("Dashboard"));
+                               echo "</ul>\n";
+                               echo "</div>\n"; // fa-submenu
+                               echo "<div class='clear'></div>\n";
+                               echo "<div class='fa-content'>\n";
+                       }
+                       if ($no_menu)
+                               echo "<br>";
+                       elseif ($title && !$no_menu && !$is_index)
+                       {
+                               echo "<center><table id='title'><tr><td width='100%' class='titletext'>$title</td>"
+                               ."<td align=right>"
+                               .(user_hints() ? "<span id='hints'></span>" : '')
+                               ."</td>"
+                               ."</tr></table></center>";
+                       }
+               }
+
+               function menu_footer($no_menu, $is_index)
+               {
+                       global $path_to_root, $SysPrefs, $version, $db_connections;
+                       include_once($path_to_root . "/includes/date_functions.inc");
+
+                       if (!$no_menu)
+                               echo "</div>\n"; // fa-content
+                       echo "</div>\n"; // fa-body
+                       if (!$no_menu)
+                       {
+                               echo "<div class='fa-footer'>\n";
+                               if (isset($_SESSION['wa_current_user']))
+                               {
+                                       echo "<span class='power'><a target='_blank' href='$SysPrefs->power_url'>$SysPrefs->power_by $version</a></span>\n";
+                                       echo "<span class='date'>".Today() . "&nbsp;" . Now()."</span>\n";
+                                       echo "<span class='date'>" . $db_connections[$_SESSION["wa_current_user"]->company]["name"] . "</span>\n";
+                                       echo "<span class='date'>" . $_SERVER['SERVER_NAME'] . "</span>\n";
+                                       echo "<span class='date'>" . $_SESSION["wa_current_user"]->name . "</span>\n";
+                                       echo "<span class='date'>" . _("Theme:") . " " . user_theme() . "</span>\n";
+                                       echo "<span class='date'>".show_users_online()."</span>\n";
+                               }
+                               echo "</div>\n"; // footer
+                       }
+                       echo "</div>\n"; // fa-main
+               }
+
+               function display_applications(&$waapp)
+               {
+                       global $path_to_root;
+                       $i = 0;
+                       $sel_app = $waapp->get_selected_application();
+                       if (!$_SESSION["wa_current_user"]->check_application_access($sel_app))
+                               return;
+                       if ($sel_app->id == "system")
+                               $imgs2 = array("page_edit.png", "page_edit.png", "page_edit.png", "page_edit.png", "folder.gif");
+                       else    
+                               $imgs2 = array("folder.gif", "report.png", "page_edit.png", "money.png", "folder.gif");
+                       foreach ($sel_app->modules as $module)
+                       {
+                       if (!$_SESSION["wa_current_user"]->check_module_access($module))
+                               continue;
+                               // image
+                               echo "<table width='95%' align='center'><tr>";
+                               echo "<td valign='top' class='menu_group'>";
+                               echo "<table border=0 width='100%'>";
+                               echo "<tr><td class='menu_group'>";
+                               echo $module->name;
+                               echo "</td></tr><tr>";
+                               echo "<td width='50%' class='menu_group_items'>";
+                               $img = "<img src='$path_to_root/themes/elegant/images/".$imgs2[$i]."' width='14' height='14' border='0'>&nbsp;&nbsp;";
+                               if ($_SESSION["language"]->dir == "rtl")
+                                       $class = "right";
+                               else
+                                       $class = "left";
+                               foreach ($module->lappfunctions as $appfunction)
+                               {
+                                       if ($appfunction->label == "")
+                                               echo "<div class='empty'>&nbsp;<br></div>\n";
+                                       elseif ($_SESSION["wa_current_user"]->can_access_page($appfunction->access))
+                                               echo "<div>".$img.menu_link($appfunction->link, $appfunction->label."</div>");
+                                       elseif (!$_SESSION["wa_current_user"]->hide_inaccessible_menu_items())  
+                                               echo "<div>".$img."<span class='inactive'>".access_string($appfunction->label, true)."</span></div>\n";
+                               }
+                               echo "</td>\n";
+                               if (sizeof($module->rappfunctions) > 0)
+                               {
+                                       echo "<td width='50%' class='menu_group_items'>";
+                                       foreach ($module->rappfunctions as $appfunction)
+                                       {
+                                               if ($appfunction->label == "")
+                                                       echo "<div class='empty'>&nbsp;<br></div>\n";
+                                               elseif ($_SESSION["wa_current_user"]->can_access_page($appfunction->access))
+                                                       echo "<div>".$img.menu_link($appfunction->link, $appfunction->label."</div>");
+                                               elseif (!$_SESSION["wa_current_user"]->hide_inaccessible_menu_items())  
+                                                       echo "<div>".$img."<span class='inactive'>".access_string($appfunction->label, true)."</span></div>\n";
+                                       }
+                                       echo "</td>\n";
+                               }
+                               echo "</tr></table></td></tr></table>\n";
+                               $i++;
+                       }       
+               }
+       }
+       
\ No newline at end of file
diff --git a/themes/cool/default.css b/themes/cool/default.css
deleted file mode 100644 (file)
index c37e539..0000000
+++ /dev/null
@@ -1,655 +0,0 @@
-/*--------------------------------------------------\
-| cool        |                 | default.css       |
-|---------------------------------------------------|
-| For use with:                                     |
-| FrontAccounting                                  |
-| http://FrontAccounting.com/                              |
-| by Joe Hunt Consulting                            |
-|---------------------------------------------------|
-| Developer:                                        |
-| Joe Hunt                                          |
-|                                                   |
-|---------------------------------------------------|
-| Note:                                             |
-| Changes can be made to this CSS that will be      |
-| reflected throughout FrontAccounting.             |
-|                                                   |
-\--------------------------------------------------*/
-
-body {
-       font-family: Verdana, Arial, Helvetica;
-       background: #60687b;
-       font-size: 10px;
-       margin: 5px 0 0 5px;
-       padding: 0;
-}
-
-tr, td, th {
-       font-size: 11px;
-       line-height: 19px;
-}
-
-table {
-       text-align: left;
-}
-
-textarea {
-       font-size: 12px;
-}
-
-input, select {
-       font-size: 11px;
-       padding: 1px;
-}
-
-select {
-    max-width: 230px;
-}
-
-option.inactive {
-       text-decoration: line-through;
-       color: gray;
-}
-
-input.big {
-       width: 100px;
-}
-
-input.small {
-       width: 50px;
-}
-
-a {
-       color: #0000bb;
-       font-size: 11px;
-       text-decoration: none;
-}
-
-a:link {
-       color: #0000bb;
-       text-decoration: none;
-}
-
-a:active {
-       color: #000000;
-       text-decoration: none;
-}
-
-a:hover, a:focus {
-       color: #2d8628;
-       text-decoration: underline;
-}
-
-.inactive {
-       color: gray;
-}
-
-button {
-       font-size: 11px;
-       border: 1px #0066cc solid;
-       padding: 1px 0px;
-}
-
-button img, span {
-       padding: 0px 2px ;
-       vertical-align: middle;
-}
-
-.callout_main {
-       font-family: Verdana, Arial, Helvetica;
-       border: none;
-       width: 99%;
-       margin: 0;
-       padding: 0;
-}
-
-.main_page {
-       background-color: #eff9f9;
-       border: none;
-       width: 100%;
-       margin: 0;
-       padding: 0;
-}
-
-.quick_menu {
-       background-color: #60687b;
-       border: 0;
-       margin: 0;
-       padding: 0;
-       /*text-align: right;*/
-}
-
-.quick_menu_selected {
-       font-family: Verdana, Arial, Helvetica;
-       font-size: 13px;
-       border: none;
-       white-space: nowrap;
-       margin: 2px;
-       padding: 2px;
-       color: #00cc00;
-       font-weight: bolder;
-}
-
-.logoutBar {
-       padding-right: 1em;
-       background: #e4ecec;
-       color: black;
-       border-bottom: 1px solid #cccccc;
-       width: 100%;
-}
-
-.bottomBar {
-       padding-right: 1em;
-       background: #e4ecec;
-       color: black;
-       border-bottom: 1px solid #cccccc;
-       width: 100%;
-}
-
-.bottomBarCell {
-       font-size: 10px;
-       line-height: 12px;
-}
-
-.bottomBar2 {
-       padding-right: 1em;
-       background: #e4ecec;
-       color: black;
-       border-top: 1px solid #cccccc;
-       border-bottom: 1px solid #cccccc;
-       width: 100%;
-}
-
-.logoutBarRight {
-       text-align: right;
-}
-
-div.logoutBar {
-       padding-right: 1em;
-       background: #e4ecec;
-       color: black;
-       border-bottom: 1px solid #cccccc;
-       text-align: right;
-}
-div.logoutBar a {
-       font-weight: normal;
-       margin-left: 1em;
-       color: #436976;
-       background-color: transparent;
-}
-div.logoutBar img {
-       vertical-align: top;
-}
-
-div.tabs {
-       padding: 3px 0 0 0;
-       background: none transparent scroll repeat 0% 0%;
-       white-space: nowrap;
-       border-collapse: collapse;
-       border-bottom: 1px solid #cccccc;
-
-}
-div.tabs a {
-       border: 1px solid #cccccc;
-       padding: 3px 10px;
-       font-weight: normal;
-       background: white scroll repeat 0% 0%;
-       color: #436976;
-       margin-right: 0.0em;
-       height: 1.0em;
-}
-div.tabs a.selected {
-       border-top: 1px solid #cccccc;
-       border-right: 1px solid #cccccc;
-       border-bottom: 1px solid #e4ecec;
-       border-left: 1px solid #cccccc;
-       font-weight: normal;
-       background: #e4ecec;
-       color: #436976;
-}
-div.tabs a:hover {
-       border-top-color: #cccccc;
-       border-right-color: #cccccc;
-       border-bottom-color: #e4ecec;
-       border-left-color: #cccccc;
-       background: #e4ecec;
-       color: #436976;
-}
-
-.menu_group {
-       font-size: 13px;
-       padding: 0px;
-       color: #455372;
-       background-color: #e4ecec;
-       PADDING-LEFT: 3px;
-       font-weight: bold;
-}
-
-.menu_group_items {
-       background-color: #eff9f9;
-       font-weight: normal;
-       padding: 9px;
-       border: 1px solid #cccccc;
-}
-
-#hotkeyshelp {
-       text-align: right;
-       font-weight: bolder;
-}
-
-#footer {
-       position: relative;
-       bottom: -3px;
-}
-
-.footer {
-       font-family: Verdana, Arial, Helvetica;
-       color: #cccccc;
-       font-weight: normal;
-       font-size: 9px;
-       text-align: center;
-       width: 100%;
-}
-
-.footer td a {
-       color: #666666;
-       font-size: 9px;
-}
-
-.tableheader {
-       font-weight: bold;
-       background-color: #788da1;
-       color: white;
-       text-align: center;
-}
-
-.tableheader2 {
-       font-weight: bold;
-       background-color: #788da1;
-       color: white;
-       text-align: left;
-}
-
-.tableseparator {
-       border-left: 1px #444466 solid;
-}
-
-.titletext {
-       font-weight: bold;
-       font-size: 13px;
-       color: #455372;
-       border-bottom: 1px solid #cccccc;
-       padding: 5px;
-       width: 100%;
-}
-
-.headingtext {
-       font-weight: bold;
-       font-size: 13px;
-       color: #455372;
-}
-
-.headingtext2 {
-       font-size: 13px;
-       color: #455372;
-}
-
-.headingtext3 {
-       font-weight: bold;
-       font-size: 10px;
-       color: #455372;
-}
-
-.errortext {
-       font-size: 13px;
-       color: #ff0000;
-       font-weight: bold;
-}
-
-.inputsubmit {
-       font-size: 11px;
-       border: 1px solid #0066cc;
-       padding: 1px 4px;
-}
-
-.ajaxsubmit {
-       font-size: 11px;
-       border: 1px solid #0066cc;
-       padding: 1px 4px;
-}
-
-.oddrow {
-       background-color: #ffffff;
-}
-
-.evenrow {
-       background-color: #eaedf1;
-}
-
-.overduebg {
-       background-color: pink;
-}
-
-.overduefg {
-       color: #dd7777;
-}
-
-.currentfg {
-       color: #ff6666;
-}
-
-.redfg, a.redfg {
-       color: red;
-       font-weight: bold;
-}
-
-.settledbg {
-       background-color: #00bb00;
-}
-
-.settledfg {
-       color: #00bb00;
-}
-
-.inquirybg {
-       background-color: #fdfeef;
-}
-
-.currencybg {
-       background-color: #ee8888;
-}
-
-.stockmankobg {
-       background-color: pink;
-}
-
-.stockmankofg {
-       color: red;
-}
-
-table.tablestyle {
-       border-collapse: collapse;
-       border: 1px solid #8cacbb;
-}
-table.tablestyle td {
-       border-collapse: collapse;
-       border: 1px solid #8cacbb;
-}
-table.tablestyle2 {
-       border-collapse: collapse;
-       border: 1px solid #cccccc;
-}
-table.tablestyle2 td {
-       border-collapse: collapse;
-       border: 1px solid #cccccc;
-}
-table.tablestyle_inner {
-       border-collapse: collapse;
-       border: 1px solid #eff9f9;
-}
-table.tablestyle_inner td {
-       border-collapse: collapse;
-       border: 1px solid #eff9f9;
-}
-.tablestyle_noborder {
-       padding: 3px;
-}
-
-.label {
-       background-color: #e4ecec;
-       color: black;
-}
-
-#loginscreen {
-       background: #f5f5f5;
-}
-
-.login {
-       width: 350px;
-       border-left: 12px solid #367cb5;
-       border-collapse: collapse;
-       background-color: #eeeeee;
-}
-.login td {
-       border-collapse: collapse;
-       border: 1px solid #cccccc;
-}
-
-.amount {
-       font-family: Verdana, Arial, Helvetica;
-       font-size: 11px;
-       text-align: right;
-}
-
-input.amount {
-       padding-right: 0px;
-       border-right: none;
-}
-
-.editbutton {
-   color:#0000FF;
-   background-color:transparent;
-   border-style:none;
-   text-decoration:underline;
-   cursor: pointer;
-}
-
-.navibutton[disabled], .navibutton[disabled] span {
-  color:#ddd;
-  text-decoration: none;
-  cursor: auto;
-}
-button.navibutton {
-       font-family: Verdana, Arial, Helvetica;
-       font-size: 11px;
-       font-weight: bold;
-   color:#fff;
-   padding: 0 3px;
-   background-color:transparent;
-   border-style:none;
-   cursor: pointer;
-}
-
-.navibutton span {
-       text-decoration: underline;
-}      
-
-.navibar {
-    padding: 0 3px;
-       color: #fff;
-    border: 1px solid #cccccc;
-    border-collapse: collapse;
-    background-color: #788da1;
-}
-
-.navibar tr td {
-    border: none;
-}
-
-.listsubmit {
-    display: none;
-}
-
-ul.ajaxtabs{
-       padding: 3px 0 0 0;
-       margin: 3px 3px 0 3px;
-       font: 12px Tahoma,Verdana;
-       font-weight: bold;
-}
-
-ul.ajaxtabs li{
-       list-style: none;
-       margin: 0;
-       display: inline;
-}
-
-ul.ajaxtabs li button{
-    background-color: #dee7ec;
-/*     background-repeat: repeat-x;
-       background-position: top; */
-       padding: 3px 8px;
-       margin: 0px;
-       border-top: 1px solid #8cacbb;
-       border-right: 1px solid #8cacbb;
-       border-bottom: none;
-       border-left: none;
-       font-weight: bold;
-}
-
-ul.ajaxtabs li button:hover{
-       border-top: 1px solid #8cacbb;
-       color:#FFFFFF;
-}
-div.spaceBox{
-       background-color: #8cacbb;
-       height:8px;
-       border-bottom: 1px solid #8cacbb;
-       border-left: 1px solid #8cacbb;
-       border-right:1px solid #8cacbb;
-       margin: 0 3px 0px 3px
-}
-
-div.contentBox{
-       border: 1px solid #8cacbb;
-       margin: 0 3px 3px 3px
-}
-
-ul.ajaxtabs li button.current, ul.ajaxtabs li button.current:hover{
-       border-left: 1px solid #8cacbb;
-       background-color: #8cacbb;
-       color:#FFFFFF;
-}
-#hints {
-       font-size: 13px;
-       padding: 5px;
-       border-bottom: 1px solid #8cacbb;
-       margin: -4px -2px -2px;
-       border: 1px solid #8cacbb;
-       background-color: #FFFFE0;
-       white-space: nowrap;
-}
-/*
-       Calendar style
-*/
-#CCIframe {
-       display: none;
-       left: 0px;
-       position: absolute;
-       top: 0px;
-       height: 250px;
-       width: 270px;
-       z-index: 99;
-}
-#CC { 
-       position:absolute;
-       background-color:#FFF;
-       margin:0; padding:0;
-       display:none;
-       z-index: 100;
-}
-#CC table { 
-       font-family: arial, verdana, helvetica, sans-serif;
-       font-size: 8pt;
-       border-left: 1px solid #336;
-       border-right: 1px solid #336;
-}
-#CC th {
-       font-weight: normal;
-       text-align: center;
-}
-#CC th a {
-       font-weight: normal;
-       text-decoration: none;
-       color: #FFF;
-       padding: 1px;
-}
-#CC td {
-       text-align: center;
-}
-#CC .header {
-       background-color: #60687b;
-}
-#CC .weekday {
-       background-color: #eee;
-       color: #000;
-}
-#CC .weekend {
-       background-color: #FFC;
-       color: #000;
-}
-#CC .weekno {
-       background-color: #e4ecec;
-       color: #555;
-}
-#CC .current {
-       border: 1px solid #339;
-       background-color: #60687b;
-       color: #FFF;
-}
-#CC .weekday, #CC .weekend, #CC .current {
-       display: block;
-       text-decoration: none;
-       border: 1px solid #FFF;
-       width: 2em;
-}
-#CC .weekday:hover, #CC .weekend:hover, #CC .current:hover {
-       color: #FFF;
-       background-color: #60687b;
-       border: 1px solid #999;
-}
-#CC .previous {
-       text-align: left;
-}
-#CC .next {
-       text-align: right;
-}
-#CC .previous, #CC .next {
-       padding: 1px 3px 1px 3px;
-       font-size: 1.4em;
-}
-#CC .previous a, #CC .next a {
-       color: #FFF;
-       text-decoration: none;
-       font-weight: bold;
-}
-#CC .title {
-       text-align: center;
-       font-weight: bold; 
-       color: #FFF;
-}
-#CC .empty {
-       background-color: #ddd;
-       border: 1px solid #FFF;
-}
-
-div.err_msg {
-       margin: 10px;
-       padding: 3px;
-       border: 1px solid #cc3300;
-       background-color: #ffcccc;
-       color: #dd2200;
-       text-align: center;
-}
-
-div.warn_msg {
-       margin: 10px;
-       padding: 3px;
-       border: 1px solid #ff9900;
-       background-color: #ffff00;
-       color: #ff5500;
-       text-align: center;
-}
-
-div.note_msg {
-       margin: 10px;
-       padding: 3px;
-       border: 1px solid #33cc00;
-       background-color: #ccffcc;
-       color: #007700;
-       text-align: center;
-}
-
-#title {
-       margin-bottom: 10px;
-       width: 100%;
-}
diff --git a/themes/cool/images/add.png b/themes/cool/images/add.png
deleted file mode 100644 (file)
index 6332fef..0000000
Binary files a/themes/cool/images/add.png and /dev/null differ
diff --git a/themes/cool/images/ajax-loader.gif b/themes/cool/images/ajax-loader.gif
deleted file mode 100644 (file)
index 28aabec..0000000
Binary files a/themes/cool/images/ajax-loader.gif and /dev/null differ
diff --git a/themes/cool/images/ajax-loader2.gif b/themes/cool/images/ajax-loader2.gif
deleted file mode 100644 (file)
index 526fb84..0000000
Binary files a/themes/cool/images/ajax-loader2.gif and /dev/null differ
diff --git a/themes/cool/images/alloc.png b/themes/cool/images/alloc.png
deleted file mode 100644 (file)
index 2f734ca..0000000
Binary files a/themes/cool/images/alloc.png and /dev/null differ
diff --git a/themes/cool/images/button_ok.png b/themes/cool/images/button_ok.png
deleted file mode 100644 (file)
index 97aea83..0000000
Binary files a/themes/cool/images/button_ok.png and /dev/null differ
diff --git a/themes/cool/images/cancel.png b/themes/cool/images/cancel.png
deleted file mode 100644 (file)
index 2541d2b..0000000
Binary files a/themes/cool/images/cancel.png and /dev/null differ
diff --git a/themes/cool/images/closed.png b/themes/cool/images/closed.png
deleted file mode 100644 (file)
index 624c9ed..0000000
Binary files a/themes/cool/images/closed.png and /dev/null differ
diff --git a/themes/cool/images/credit.gif b/themes/cool/images/credit.gif
deleted file mode 100644 (file)
index 4627583..0000000
Binary files a/themes/cool/images/credit.gif and /dev/null differ
diff --git a/themes/cool/images/delete.gif b/themes/cool/images/delete.gif
deleted file mode 100644 (file)
index 327af2a..0000000
Binary files a/themes/cool/images/delete.gif and /dev/null differ
diff --git a/themes/cool/images/download.gif b/themes/cool/images/download.gif
deleted file mode 100644 (file)
index 67823e9..0000000
Binary files a/themes/cool/images/download.gif and /dev/null differ
diff --git a/themes/cool/images/edit.gif b/themes/cool/images/edit.gif
deleted file mode 100644 (file)
index 21a68c6..0000000
Binary files a/themes/cool/images/edit.gif and /dev/null differ
diff --git a/themes/cool/images/escape.png b/themes/cool/images/escape.png
deleted file mode 100644 (file)
index 4d84554..0000000
Binary files a/themes/cool/images/escape.png and /dev/null differ
diff --git a/themes/cool/images/gl.png b/themes/cool/images/gl.png
deleted file mode 100644 (file)
index 7d863f9..0000000
Binary files a/themes/cool/images/gl.png and /dev/null differ
diff --git a/themes/cool/images/help.gif b/themes/cool/images/help.gif
deleted file mode 100644 (file)
index 58c0ffe..0000000
Binary files a/themes/cool/images/help.gif and /dev/null differ
diff --git a/themes/cool/images/invoice.gif b/themes/cool/images/invoice.gif
deleted file mode 100644 (file)
index aef0be2..0000000
Binary files a/themes/cool/images/invoice.gif and /dev/null differ
diff --git a/themes/cool/images/locate.png b/themes/cool/images/locate.png
deleted file mode 100644 (file)
index 0fb7d7c..0000000
Binary files a/themes/cool/images/locate.png and /dev/null differ
diff --git a/themes/cool/images/lock.gif b/themes/cool/images/lock.gif
deleted file mode 100644 (file)
index 92a51e2..0000000
Binary files a/themes/cool/images/lock.gif and /dev/null differ
diff --git a/themes/cool/images/log.png b/themes/cool/images/log.png
deleted file mode 100644 (file)
index ef03a4d..0000000
Binary files a/themes/cool/images/log.png and /dev/null differ
diff --git a/themes/cool/images/login.gif b/themes/cool/images/login.gif
deleted file mode 100644 (file)
index 91d5451..0000000
Binary files a/themes/cool/images/login.gif and /dev/null differ
diff --git a/themes/cool/images/menu_entry.png b/themes/cool/images/menu_entry.png
deleted file mode 100644 (file)
index 4c3efdd..0000000
Binary files a/themes/cool/images/menu_entry.png and /dev/null differ
diff --git a/themes/cool/images/menu_inquiry.png b/themes/cool/images/menu_inquiry.png
deleted file mode 100644 (file)
index ab94046..0000000
Binary files a/themes/cool/images/menu_inquiry.png and /dev/null differ
diff --git a/themes/cool/images/menu_maintenance.png b/themes/cool/images/menu_maintenance.png
deleted file mode 100644 (file)
index 188e1c1..0000000
Binary files a/themes/cool/images/menu_maintenance.png and /dev/null differ
diff --git a/themes/cool/images/menu_report.png b/themes/cool/images/menu_report.png
deleted file mode 100644 (file)
index d1d9e7c..0000000
Binary files a/themes/cool/images/menu_report.png and /dev/null differ
diff --git a/themes/cool/images/menu_settings.png b/themes/cool/images/menu_settings.png
deleted file mode 100644 (file)
index 24588a3..0000000
Binary files a/themes/cool/images/menu_settings.png and /dev/null differ
diff --git a/themes/cool/images/menu_system.png b/themes/cool/images/menu_system.png
deleted file mode 100644 (file)
index 9460dfc..0000000
Binary files a/themes/cool/images/menu_system.png and /dev/null differ
diff --git a/themes/cool/images/menu_transaction.png b/themes/cool/images/menu_transaction.png
deleted file mode 100644 (file)
index 6cf6443..0000000
Binary files a/themes/cool/images/menu_transaction.png and /dev/null differ
diff --git a/themes/cool/images/menu_update.png b/themes/cool/images/menu_update.png
deleted file mode 100644 (file)
index 58f19c6..0000000
Binary files a/themes/cool/images/menu_update.png and /dev/null differ
diff --git a/themes/cool/images/money.png b/themes/cool/images/money.png
deleted file mode 100644 (file)
index 42c52d0..0000000
Binary files a/themes/cool/images/money.png and /dev/null differ
diff --git a/themes/cool/images/ok.gif b/themes/cool/images/ok.gif
deleted file mode 100644 (file)
index c566bb8..0000000
Binary files a/themes/cool/images/ok.gif and /dev/null differ
diff --git a/themes/cool/images/pdf.gif b/themes/cool/images/pdf.gif
deleted file mode 100644 (file)
index 071bb35..0000000
Binary files a/themes/cool/images/pdf.gif and /dev/null differ
diff --git a/themes/cool/images/preferences.gif b/themes/cool/images/preferences.gif
deleted file mode 100644 (file)
index 56c12bc..0000000
Binary files a/themes/cool/images/preferences.gif and /dev/null differ
diff --git a/themes/cool/images/print.png b/themes/cool/images/print.png
deleted file mode 100644 (file)
index a350d18..0000000
Binary files a/themes/cool/images/print.png and /dev/null differ
diff --git a/themes/cool/images/progressbar.gif b/themes/cool/images/progressbar.gif
deleted file mode 100644 (file)
index 7c07f69..0000000
Binary files a/themes/cool/images/progressbar.gif and /dev/null differ
diff --git a/themes/cool/images/receive.gif b/themes/cool/images/receive.gif
deleted file mode 100644 (file)
index 6a92dd2..0000000
Binary files a/themes/cool/images/receive.gif and /dev/null differ
diff --git a/themes/cool/images/remove.png b/themes/cool/images/remove.png
deleted file mode 100644 (file)
index 08f2493..0000000
Binary files a/themes/cool/images/remove.png and /dev/null differ
diff --git a/themes/cool/images/report.png b/themes/cool/images/report.png
deleted file mode 100644 (file)
index 779ad58..0000000
Binary files a/themes/cool/images/report.png and /dev/null differ
diff --git a/themes/cool/images/right.gif b/themes/cool/images/right.gif
deleted file mode 100644 (file)
index eed1194..0000000
Binary files a/themes/cool/images/right.gif and /dev/null differ
diff --git a/themes/cool/images/sort_asc.gif b/themes/cool/images/sort_asc.gif
deleted file mode 100644 (file)
index 61bdf04..0000000
Binary files a/themes/cool/images/sort_asc.gif and /dev/null differ
diff --git a/themes/cool/images/sort_desc.gif b/themes/cool/images/sort_desc.gif
deleted file mode 100644 (file)
index e1395ee..0000000
Binary files a/themes/cool/images/sort_desc.gif and /dev/null differ
diff --git a/themes/cool/images/sort_none.gif b/themes/cool/images/sort_none.gif
deleted file mode 100644 (file)
index 19cc2a2..0000000
Binary files a/themes/cool/images/sort_none.gif and /dev/null differ
diff --git a/themes/cool/images/view.gif b/themes/cool/images/view.gif
deleted file mode 100644 (file)
index ffa8e41..0000000
Binary files a/themes/cool/images/view.gif and /dev/null differ
diff --git a/themes/cool/images/warning.png b/themes/cool/images/warning.png
deleted file mode 100644 (file)
index 06ef4e0..0000000
Binary files a/themes/cool/images/warning.png and /dev/null differ
diff --git a/themes/cool/index.php b/themes/cool/index.php
deleted file mode 100644 (file)
index e88dc9e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<?php
-header("Location: ../index.php");
diff --git a/themes/cool/renderer.php b/themes/cool/renderer.php
deleted file mode 100644 (file)
index a14e26c..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-<?php
-/**********************************************************************
-    Copyright (C) FrontAccounting, LLC.
-       Released under the terms of the GNU General Public License, GPL, 
-       as published by the Free Software Foundation, either version 3 
-       of the License, or (at your option) any later version.
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
-    See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
-***********************************************************************/
-       class renderer
-       {
-               function get_icon($category)
-               {
-                       global  $path_to_root, $SysPrefs;
-
-                       if ($SysPrefs->show_menu_category_icons)
-                               $img = $category == '' ? 'right.gif' : $category.'.png';
-                       else    
-                               $img = 'right.gif';
-                       return "<img src='$path_to_root/themes/".user_theme()."/images/$img' style='vertical-align:middle;' border='0'>&nbsp;&nbsp;";
-               }
-
-               function wa_header()
-               {
-                       page(_($help_context = "Main Menu"), false, true);
-               }
-
-               function wa_footer()
-               {
-                       end_page(false, true);
-               }
-
-               function menu_header($title, $no_menu, $is_index)
-               {
-                       global $path_to_root, $SysPrefs, $db_connections;
-                       echo "<table class='callout_main' border='0' cellpadding='0' cellspacing='0'>\n";
-                       echo "<tr>\n";
-                       echo "<td colspan='2' rowspan='2'>\n";
-
-                       echo "<table class='main_page' border='0' cellpadding='0' cellspacing='0'>\n";
-                       echo "<tr>\n";
-                       echo "<td>\n";
-                       echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
-                       echo "<tr>\n";
-                       echo "<td class='quick_menu'>\n"; // tabs
-
-                       $indicator = "$path_to_root/themes/".user_theme(). "/images/ajax-loader.gif";
-                       if (!$no_menu)
-                       {
-                               $applications = $_SESSION['App']->applications;
-                               $local_path_to_root = $path_to_root;
-                               $sel_app = $_SESSION['sel_app'];
-                               echo "<table cellpadding='0' cellspacing='0' width='100%'><tr><td>";
-                               echo "<div class='tabs'>";
-                               foreach($applications as $app)
-                               {
-                    if ($_SESSION["wa_current_user"]->check_application_access($app))
-                    {
-                        $acc = access_string($app->name);
-                        echo "<a class='".($sel_app == $app->id ? 'selected' : 'menu_tab')
-                            ."' href='$local_path_to_root/index.php?application=".$app->id
-                            ."'$acc[1]>" .$acc[0] . "</a>";
-                    }
-                               }
-                               echo "</div>";
-                               echo "</td></tr></table>";
-                               // top status bar
-                               $pimg = "<img src='$local_path_to_root/themes/".user_theme()."/images/preferences.gif' width='14' height='14' border='0' alt='"._('Preferences')."'>&nbsp;&nbsp;";
-                               $limg = "<img src='$local_path_to_root/themes/".user_theme()."/images/lock.gif' width='14' height='14' border='0' alt='"._('Change Password')."'>&nbsp;&nbsp;";
-                               $img = "<img src='$local_path_to_root/themes/".user_theme()."/images/login.gif' width='14' height='14' border='0' alt='"._('Logout')."'>&nbsp;&nbsp;";
-                               $himg = "<img src='$local_path_to_root/themes/".user_theme()."/images/help.gif' width='14' height='14' border='0' alt='"._('Help')."'>&nbsp;&nbsp;";
-
-                               echo "<table class='logoutBar'>";
-                               echo "<tr><td class='headingtext3'>" . $db_connections[user_company()]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . "</td>";
-                               echo "<td class='logoutBarRight'><img id='ajaxmark' src='$indicator' align='center' style='visibility:hidden;' alt='ajaxmark'></td>";
-                               echo "  <td class='logoutBarRight'><a class='shortcut' href='$path_to_root/admin/display_prefs.php?'>$pimg" . _("Preferences") . "</a>&nbsp;&nbsp;&nbsp;\n";
-                               echo "  <a class='shortcut' href='$path_to_root/admin/change_current_user_password.php?selected_id=" . $_SESSION["wa_current_user"]->username . "'>$limg" . _("Change password") . "</a>&nbsp;&nbsp;&nbsp;\n";
-
-                               if ($SysPrefs->help_base_url != null)
-                               {
-                                       echo "<a target = '_blank' onclick=" .'"'."javascript:openWindow(this.href,this.target); return false;".'" '. "href='". help_url()."'>$himg" . _("Help") . "</a>&nbsp;&nbsp;&nbsp;";
-                               }
-                               echo "<a class='shortcut' href='$local_path_to_root/access/logout.php?'>$img" . _("Logout") . "</a>&nbsp;&nbsp;&nbsp;";
-                               echo "</td></tr></table>";
-                       }
-                       echo "</td></tr></table>";
-
-                       if ($no_menu)
-                       {
-                               echo "<center><table class='tablestyle_noborder'>"
-                                       ."<tr><td><img id='ajaxmark' src='$indicator' align='center' style='visibility:hidden;' alt='ajaxmark'></td></tr>"
-                                       ."</table></center>";
-                       } elseif ($title && !$is_index)
-                       {
-                               echo "<center><table id='title'><tr><td width='100%' class='titletext'>$title</td>"
-                               ."<td align=right>"
-                               .(user_hints() ? "<span id='hints'></span>" : '')
-                               ."</td>"
-                               ."</tr></table></center>";
-                       }
-               }
-
-               function menu_footer($no_menu, $is_index)
-               {
-                       global $version, $SysPrefs, $path_to_root, $Pagehelp, $Ajax;
-
-                       include_once($path_to_root . "/includes/date_functions.inc");
-
-                       echo "</td></tr></table>\n"; // 'main_page'
-                       if ($no_menu == false) // bottom status line
-                       {
-                               if ($is_index)
-                                       echo "<table class='bottomBar'>\n";
-                               else
-                                       echo "<table class='bottomBar2'>\n";
-                               echo "<tr>";
-                               if (isset($_SESSION['wa_current_user'])) {
-                                       $phelp = implode('; ', $Pagehelp);
-                                       echo "<td class='bottomBarCell'>" . Today() . " | " . Now() . "</td>\n";
-                                       $Ajax->addUpdate(true, 'hotkeyshelp', $phelp);
-                                       echo "<td id='hotkeyshelp'>".$phelp."</td>";
-                               }
-                               echo "</tr></table>\n";
-                       }
-                       echo "</td></tr> </table>\n"; // 'callout_main'
-                       if ($no_menu == false)
-                       {
-                               echo "<table align='center' id='footer'>\n";
-                               echo "<tr>\n";
-                               echo "<td align='center' class='footer'><a target='_blank' href='".$SysPrefs->power_url."'><font color='#ffffff'>".$SysPrefs->app_title
-                                       ." $version - " . _("Theme:") . " " . user_theme() ." - ".show_users_online(). "</font></a></td>\n";
-                               echo "</tr>\n";
-                               echo "<tr>\n";
-                               echo "<td align='center' class='footer'><a target='_blank' href='".$SysPrefs->power_url."'><font color='#ffff00'".$SysPrefs->power_by
-                                       ."</font></a></td>\n";
-                               echo "</tr>\n";
-                               if ($SysPrefs->allow_demo_mode)
-                               {
-                                       echo "<tr>\n";
-                                       //echo "<td><br><div align='center'><a href='http://sourceforge.net'><img src='http://sourceforge.net/sflogo.php?group_id=89967&amp;type=5' alt='SourceForge.net Logo' width='210' height='62' border='0' align='center' /></a></div></td>\n";
-                                       echo "</tr>\n";
-                               }
-                               echo "</table><br><br>\n";
-                       }
-               }
-
-               function display_applications(&$waapp)
-               {
-                       global $path_to_root;
-
-                       $selected_app = $waapp->get_selected_application();
-                       if (!$_SESSION["wa_current_user"]->check_application_access($selected_app))
-                               return;
-
-                       if (method_exists($selected_app, 'render_index'))
-                       {
-                               $selected_app->render_index();
-                               return;
-                       }
-
-                       echo "<table width='100%' cellpadding='0' cellspacing='0'>";
-                       foreach ($selected_app->modules as $module)
-                       {
-                       if (!$_SESSION["wa_current_user"]->check_module_access($module))
-                               continue;
-                               // image
-                               echo "<tr>";
-                               // values
-                               echo "<td valign='top' class='menu_group'>";
-                               echo "<table border=0 width='100%'>";
-                               echo "<tr><td class='menu_group'>";
-                               echo $module->name;
-                               echo "</td></tr><tr>";
-                               echo "<td class='menu_group_items'>";
-
-                               foreach ($module->lappfunctions as $appfunction)
-                               {
-                                       $img = $this->get_icon($appfunction->category);
-                                       if ($appfunction->label == "")
-                                               echo "&nbsp;<br>";
-                                       elseif ($_SESSION["wa_current_user"]->can_access_page($appfunction->access)) 
-                                       {
-                                                       echo $img.menu_link($appfunction->link, $appfunction->label)."<br>\n";
-                                       }
-                                       elseif (!$_SESSION["wa_current_user"]->hide_inaccessible_menu_items())
-                                       {
-                                                       echo $img.'<span class="inactive">'
-                                                               .access_string($appfunction->label, true)
-                                                               ."</span><br>\n";
-                                       }
-                               }
-                               echo "</td>";
-                               if (sizeof($module->rappfunctions) > 0)
-                               {
-                                       echo "<td width='50%' class='menu_group_items'>";
-                                       foreach ($module->rappfunctions as $appfunction)
-                                       {
-                                               $img = $this->get_icon($appfunction->category);
-                                               if ($appfunction->label == "")
-                                                       echo "&nbsp;<br>";
-                                               elseif ($_SESSION["wa_current_user"]->can_access_page($appfunction->access)) 
-                                               {
-                                                               echo $img.menu_link($appfunction->link, $appfunction->label)."<br>\n";
-                                               }
-                                               elseif (!$_SESSION["wa_current_user"]->hide_inaccessible_menu_items())
-                                               {
-                                                               echo $img.'<span class="inactive">'
-                                                                       .access_string($appfunction->label, true)
-                                                                       ."</span><br>\n";
-                                               }
-                                       }
-                                       echo "</td>";
-                               }
-
-                               echo "</tr></table></td></tr>";
-                       }
-                       echo "</table>";
-               }
-       }
index 09e2df6e608f0da6e17e3056fe87a6fc7dff4494..32e1590c1a9b2be5eddb6f0e26e1b7b9b4ee0483 100644 (file)
@@ -67,6 +67,7 @@
                                echo "</div>";
                                echo "</td></tr></table>";
                                // top status bar
+                               $rimg = "<img src='$path_to_root/themes/".user_theme()."/images/report.png' width='14' height='14' border='0' alt='"._('Dashboard')."'>&nbsp;&nbsp;";
                                $pimg = "<img src='$local_path_to_root/themes/".user_theme()."/images/preferences.gif' width='14' height='14' border='0' alt='"._('Preferences')."'>&nbsp;&nbsp;";
                                $limg = "<img src='$local_path_to_root/themes/".user_theme()."/images/lock.gif' width='14' height='14' border='0' alt='"._('Change Password')."'>&nbsp;&nbsp;";
                                $img = "<img src='$local_path_to_root/themes/".user_theme()."/images/login.gif' width='14' height='14' border='0' alt='"._('Logout')."'>&nbsp;&nbsp;";
@@ -74,7 +75,9 @@
                                echo "<table class='logoutBar'>";
                                echo "<tr><td class='headingtext3'>" . $db_connections[user_company()]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . "</td>";
                                echo "<td class='logoutBarRight'><img id='ajaxmark' src='$indicator' align='center' style='visibility:hidden;' alt='ajaxmark'></td>";
-                               echo "  <td class='logoutBarRight'><a class='shortcut' href='$path_to_root/admin/display_prefs.php?'>$pimg" . _("Preferences") . "</a>&nbsp;&nbsp;&nbsp;\n";
+                               echo "<td class='logoutBarRight'><a href='$path_to_root/admin/dashboard.php?sel_app=$sel_app'>$rimg" . _("Dashboard") . "</a>&nbsp;&nbsp;&nbsp;\n";
+                               
+                               echo "<a class='shortcut' href='$path_to_root/admin/display_prefs.php?'>$pimg" . _("Preferences") . "</a>&nbsp;&nbsp;&nbsp;\n";
                                echo "  <a class='shortcut' href='$path_to_root/admin/change_current_user_password.php?selected_id=" . $_SESSION["wa_current_user"]->username . "'>$limg" . _("Change password") . "</a>&nbsp;&nbsp;&nbsp;\n";
 
                                if ($SysPrefs->help_base_url != null)
diff --git a/themes/dropdown/default.css b/themes/dropdown/default.css
new file mode 100644 (file)
index 0000000..8a7cdd5
--- /dev/null
@@ -0,0 +1,894 @@
+/*--------------------------------------------------\
+| Dynamic       |               | default.css       |
+|---------------------------------------------------|
+| For use with:                                     |
+| FrontAccounting                                                              |
+| http://FrontAccounting.com/                                  |
+| by Joe Hunt Consulting                            |
+|---------------------------------------------------|
+| Developer:                                        |
+| Joe Hunt                                          |
+|                                                   |
+|---------------------------------------------------|
+| Note:                                             |
+| Changes can be made to this CSS that will be      |
+| reflected throughout FrontAccounting.             |
+|                                                   |
+\--------------------------------------------------*/
+
+body {
+  background-color: #eee;
+  margin: 0;
+  padding: 0;
+  text-align: center;
+}
+
+body,td,th {
+  font-family:Arial, Helvetica, sans-serif;
+  font-size: 11px;
+  color: #000;
+}
+
+/* Main */
+.fa-main {
+  /*width: 98%;*/
+  width: 99%;
+  margin: 0 auto;
+  text-align: left;
+  background-color: #fff;
+}
+
+tr, td, th {
+       line-height: 17px;
+       color: #000;
+}
+table {
+       text-align: left;
+}
+
+textarea {
+    font-size: 12px;
+}
+
+input, select
+{
+    font-size: 11px;
+       padding: 1px;
+}
+
+select {
+    max-width: 200px;
+}
+
+input.big {
+       width: 100px;
+}
+
+input.small {
+       width: 50px;
+}
+
+a, a:active {
+       color: #045c97;
+       text-decoration: none;
+}
+a:hover, a:focus {
+       color: #4f9adb;
+       text-decoration: underline;
+}
+a:visited {
+       color: #045c97;
+       text-decoration: none;
+}
+.clear {
+       clear: both;
+}
+.nodisp {
+       display: none;
+}
+.italic {
+       font-style: italic;
+}
+.flleft {
+       float: left;
+}
+.flright {
+       float: right;
+}
+
+/* Body */
+.fa-body {
+  width: 100%;
+  background-color: #fff;
+  margin: 0;
+ /* padding: 6px 0 0 0;*/
+}
+
+/* Content */
+.fa-content {
+  width: 100%;
+  margin: 50px 0 0;
+  padding: 6px 10px 5px 0;
+  vertical-align: top;
+}
+
+/* Footer */
+.fa-footer {
+  background-image: url(images/footer_bg.png);
+  background-repeat: repeat-x;
+  height: 10px;
+  margin: 0;
+  padding: 10px;
+  text-align: center;
+  font-size: 10px;
+  color: #036;
+}
+
+
+h1 {
+       font-size: 14px;
+       margin-right: 20px;
+       color: #466f01;
+}
+h2, .titletext {
+       font-weight: bold;
+       font-size: 13px;
+       color: #555;
+       padding: 5px;
+}
+.titletext {
+       border-bottom: 1px solid #697789;
+}
+
+h3 {
+       font-size: 100%;
+       padding-top: 1ex;
+       padding-bottom: 1ex;
+}
+#header { margin: 0; }
+#header ul {clear: right; float: right; font-size: 11px; margin: 8px 10px 0 0; }
+#header li{ list-style: none; display: inline; margin: 0; }
+#header li a{ color: #045c97; text-decoration: none; padding: 0 0 0 16px; }
+#header h1 {
+       padding: 4px 0 4px 10px;
+       margin: 0;
+}
+#header h2 {
+       font-style: italic;
+}
+
+.fa-footer .power a { font-size: 10px; padding: 0 12px 0 12px; text-align: center; background: transparent url(images/news.gif) no-repeat center left; color: #045c97; }
+.fa-footer .date { font-size: 10px; padding: 0 12px 0 12px; text-align: center; color: #045c97; }
+
+hr {
+       background: #ccc;
+       border: 0;
+       color: #ccc;
+       height: 1px;
+}
+
+.menu_group {
+       font-size: 12px;
+       padding: 0;
+       color: #555;
+       background-color: #fff;
+       padding-left: 3px;
+       font-weight: bold;
+}
+
+.menu_group_items {
+       font-size: 12px;
+       background-color: #f9f9f9;
+       font-weight: normal;
+       line-height: 19px;
+       padding: 9px;
+       border: 1px solid #697789;
+}
+
+.menu_group_items a {
+       text-decoration: none;
+}
+
+.tableheader {
+       font-weight: bold;
+       /*background-color: #7895ac;*/
+       background-color: #697789;
+       color: #fff;
+       text-align: center;
+}
+
+.tableheader2 {
+       font-weight: bold;
+       /*background-color: #7895ac;*/
+       background-color: #697789;
+       color: #fff;
+       text-align: left;
+}
+
+.tableseparator {
+       border-left: 1px solid #ccc;
+}
+
+.headingtext {
+       font-weight: bold;
+       font-size: 12px;
+       color: #555;
+}
+
+.headingtext2 {
+       font-size: 12px;
+       color: black;
+}
+
+.headingtext3 {
+       font-weight: bold;
+       font-size: 10px;
+       color: black;
+}
+
+.errortext {
+       font-size: 12px;
+       color: #f00;
+       font-weight: bold;
+}
+
+.inputsubmit {
+       font-size: 11px;
+       border: 1px #ccc solid;
+       background-image: url(images/footer_bg.png);
+       background-repeat: repeat-x;
+       padding: 1px 4px;
+}
+
+.ajaxsubmit {
+       font-size: 11px;
+       border: 1px #ccc solid;
+       background-image: url(images/footer_bg.png);
+       background-repeat: repeat-x;
+       padding: 1px 4px;
+}
+
+.oddrow {
+       background-color: #fafafa;
+}
+
+.evenrow {
+       background-color: #f3f3f3;
+}
+
+.overduebg {
+       background-color: pink;
+}
+
+.overduefg {
+       color: pink;
+}
+
+.currentfg {
+       color: #f66;
+}
+
+.redfg, a.redfg {
+       color: red;
+       font-weight: bold;
+}
+
+.settledbg {
+       background-color: #0b0;
+}
+
+.settledfg {
+       color: #0b0;
+}
+
+.inquirybg {
+       background-color: #fdfeef;
+}
+
+.currencybg {
+       background-color: #e88;
+}
+
+.stockmankobg {
+       background-color: pink;
+}
+
+.stockmankofg {
+       color: red;
+}
+
+table.tablestyle {
+       border-collapse: collapse;
+       border: 1px solid #e1e1e1;
+}
+table.tablestyle td {
+       border-collapse: collapse;
+       /*border: 1px solid #e1e1e1;*/
+       border: 1px solid #aaaaaa;
+}
+table.tablestyle2 {
+       border-collapse: collapse;
+       /*border: 1px solid #e1e1e1;*/
+       border: 1px solid #aaaaaa;
+}
+table.tablestyle2 td {
+       border-collapse: collapse;
+       /*border: 1px solid #e1e1e1;*/
+       border: 1px solid #aaaaaa;
+}
+table.tablestyle_inner {
+       border-collapse: collapse;
+       border: 1px solid #f9f9f9;
+}
+table.tablestyle_inner td {
+       border-collapse: collapse;
+       border: 1px solid #f9f9f9;
+}
+.tablestyle_noborder {
+       padding: 3px;
+}
+
+.label {
+       /*background-color: #ebf0f3*/;
+       background-color: #d9d9d9;
+       color: black;
+}
+
+#loginscreen {
+       background: #f5f5f5;
+}
+
+.login {
+       width: 350px;
+       border-left: 12px solid #367cb5;
+       border-collapse: collapse;
+       background-color: #eeeeee;
+}
+.login td {
+       border-collapse: collapse;
+       border: 1px solid #cccccc;
+}
+
+.amount {
+       font-family: Verdana, Arial, Helvetica;
+       font-size: 11px;
+       text-align: right;
+}
+
+input.amount {
+       padding-right: 0px;
+       border-right: none;
+}
+
+.editbutton {
+       color:#00f;
+       background-color:transparent;
+       border-style:none;
+       text-decoration:none;
+       padding: 0;
+       margin: 0;
+       cursor: pointer;
+}
+
+.navibutton[disabled] {
+       color:#ccc;
+       text-decoration:none;
+       cursor: auto;
+}
+
+button.navibutton {
+       font-family:Arial, Helvetica, sans-serif;
+       font-size: 11px;
+       font-weight: bold;
+       color:#fff;
+       padding: 0 3px;
+       background-color: transparent;
+       border-style:none;
+       cursor: pointer;
+}
+
+.navibutton span {
+       text-decoration:underline;
+}
+
+.navibar {
+       padding: 0 3px;
+    color: #fff;
+    border: 1px solid #e1e1e1;
+    border-collapse: collapse;
+       background-color: #697789;
+}
+
+.listsubmit {
+    display: none;
+}
+
+.inactive {
+       color: gray;
+}
+
+button {
+       font-size: 11px;
+       border: 1px #0066cc solid;
+       padding: 1px 0px;
+}
+
+button img, span {
+       padding: 0px 2px ;
+       vertical-align: middle;
+}
+
+ul.ajaxtabs{
+       padding: 3px 0 0 0;
+       margin: 3px 3px 0 3px;
+       font: 12px Tahoma,Verdana;
+       font-weight: bold;
+}
+
+ul.ajaxtabs li{
+       list-style: none;
+       margin: 0;
+       display: inline;
+}
+
+ul.ajaxtabs li button{
+    background-color: #d9d9d9;
+       padding: 3px 8px;
+       margin: 0px;
+       border-top: 1px solid #697789;
+       border-right: 1px solid #697789;
+       border-bottom: none;
+       border-left: none;
+       font-weight: bold;
+}
+
+ul.ajaxtabs li button:hover{
+       border-top: 1px solid #697789;
+       color:#fff;
+}
+div.spaceBox{
+       background-color: #697789;
+       height:8px;
+       border-bottom: 1px solid #697789;
+       border-left: 1px solid #697789;
+       border-right:1px solid #697789;
+       margin: 0 3px 0px 3px
+}
+
+div.contentBox{
+       border: 1px solid #697789;
+       margin: 0 3px 3px 3px
+}
+
+ul.ajaxtabs li button.current, ul.ajaxtabs li button.current:hover{
+       border-left: 1px solid #697789;
+       background-color: #697789;
+       color:#fff;
+}
+#hints {
+  font-size: 12px;
+  padding: 5px;
+  border-bottom: 1px solid #697789;
+  margin: -4px -2px -2px;
+  border: 1px solid #697789;
+  background-color: #ffffea;
+  white-space: nowrap;
+}
+
+img { border: 0; }
+
+/*
+       Calendar style
+*/
+#CCIframe {
+       display: none;
+       left: 0px;
+       position: absolute;
+       top: 0px;
+       height: 250px;
+       width: 270px;
+       z-index: 99;
+}
+#CC { 
+       position:absolute;
+       background-color:#FFF;
+       margin:0; padding:0;
+       display:none;
+       z-index: 100;
+}
+#CC table { 
+       font-family: arial, verdana, helvetica, sans-serif;
+       font-size: 8pt;
+       border-left: 1px solid #336;
+       border-right: 1px solid #336;
+}
+#CC th {
+       font-weight: normal;
+       text-align: center;
+}
+#CC th a {
+       font-weight: normal;
+       text-decoration: none;
+       color: #FFF;
+       padding: 1px;
+}
+#CC td {
+       text-align: center;
+}
+#CC .header {
+       background-color: #22303b;
+}
+#CC .weekday {
+       background-color: #eee;
+       color: #000;
+}
+#CC .weekend {
+       background-color: #FFC;
+       color: #000;
+}
+#CC .weekno {
+       background-color: #cde;
+       color: #555;
+}
+#CC .current {
+       border: 1px solid #339;
+       background-color: #22303b;
+       color: #FFF;
+}
+#CC .weekday, #CC .weekend, #CC .current {
+       display: block;
+       text-decoration: none;
+       border: 1px solid #FFF;
+       width: 2em;
+}
+#CC .weekday:hover, #CC .weekend:hover, #CC .current:hover {
+       color: #FFF;
+       background-color: #22303b;
+       border: 1px solid #999;
+}
+#CC .previous {
+       text-align: left;
+}
+#CC .next {
+       text-align: right;
+}
+#CC .previous, #CC .next {
+       padding: 1px 3px 1px 3px;
+       font-size: 1.4em;
+}
+#CC .previous a, #CC .next a {
+       color: #FFF;
+       text-decoration: none;
+       font-weight: bold;
+}
+#CC .title {
+       text-align: center;
+       font-weight: bold; 
+       color: #FFF;
+}
+#CC .empty {
+       background-color: #ddd;
+       border: 1px solid #FFF;
+}
+
+div.err_msg {
+       margin: 10px;
+       padding: 3px;
+       border: 1px solid #cc3300;
+       background-color: #ffcccc;
+       color: #dd2200;
+       text-align: center;
+}
+
+div.warn_msg {
+       margin: 10px;
+       padding: 3px;
+       border: 1px solid #ff9900;
+       background-color: #ffff00;
+       color: #ff5500;
+       text-align: center;
+}
+
+div.note_msg {
+       margin: 10px;
+       padding: 3px;
+       border: 1px solid #33cc00;
+       background-color: #ccffcc;
+       color: #007700;
+       text-align: center;
+}
+
+#title {
+       margin-bottom: 10px;
+       width: 100%;
+}
+
+
+
+#cssmenu {
+  padding: 0;
+  margin: 0;
+  border: 0;
+  width: 95%;
+  position: absolute;
+}
+#cssmenu ul,
+#cssmenu li {
+  list-style: none;
+  margin: 0;
+  padding: 0;
+}
+#cssmenu ul {
+  /*position: relative;*/
+  z-index: 597;
+}
+#cssmenu ul li {
+  float: left;
+  min-height: 1px;
+  vertical-align: middle;
+}
+#cssmenu ul li.hover,
+#cssmenu ul li:hover {
+  /*position: relative;*/
+  z-index: 599;
+  cursor: default;
+}
+#cssmenu ul ul {
+  visibility: hidden;
+  position: absolute;
+  top: 100%;
+  left: 0;
+  z-index: 598;
+  width: 100%;
+}
+#cssmenu ul ul li {
+  float: none;
+}
+#cssmenu ul ul ul {
+  top: 0;
+  left: 100%;
+}
+#cssmenu .align_right {
+  top: 0;
+  left:-240px;
+}
+
+#cssmenu ul li:hover > ul {
+  visibility: visible;
+}
+#cssmenu ul ul {
+  margin-top: 0;
+}
+#cssmenu a {
+  display: block;
+  line-height: 1em;
+  text-decoration: none;
+  margin: 0 -9px;
+}
+#cssmenu ul li.last ul {
+  left: auto;
+  right: 0;
+}
+#cssmenu ul li.last ul ul {
+  left: auto;
+  right: 99.5%;
+}
+#cssmenu:after,
+#cssmenu ul:after {
+  content: '';
+  display: block;
+  clear: both;
+}
+/* Custom CSS Styles */
+#cssmenu {
+  width: 100%;
+  font-family: Helvetica, Arial, sans-serif;
+}
+#cssmenu:before {
+  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAICAIAAAC3eAIWAAAAA3NCSVQICAjb4U/gAAAAI0lEQVQImWPwj0hh+v//PxPD//9M////Z/rP8J/p//9/MD4AGUETB+SFfCsAAAAASUVORK5CYII=);
+  background-color: #606a77;
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #4f5864), color-stop(1, #49515b));
+  background-image: -webkit-linear-gradient(top, #4f5864, #49515b);
+  background-image: -moz-linear-gradient(top, #4f5864, #49515b);
+  background-image: -o-linear-gradient(top, #4f5864, #49515b);
+  background-image: linear-gradient(#4f5864, #49515b);
+  -moz-box-shadow: inset 0 2px 0 #586270, inset 0 1px 0 #6b7888;
+  -webkit-box-shadow: inset 0 2px 0 #586270, inset 0 1px 0 #6b7888;
+  box-shadow: inset 0 2px 0 #586270, inset 0 1px 0 #6b7888;
+  content: '';
+  display: block;
+  height: 8px;
+}
+#cssmenu > ul {
+  border-bottom: 1px solid #252A30;
+  border-top: 1px solid #252A30;
+  -moz-box-shadow: inset 0 1px 0 #8799a9, 0 1px 1px rgba(0, 0, 0, 0.5);
+  -webkit-box-shadow: inset 0 1px 0 #8799a9, 0 1px 1px rgba(0, 0, 0, 0.5);
+  box-shadow: inset 0 1px 0 #8799a9, 0 1px 1px rgba(0, 0, 0, 0.5);
+  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABNCAIAAADo7ZnJAAAAA3NCSVQICAjb4U/gAAAAUUlEQVQYlXWPyRGAMAwDd1wwHVADJS+POERk4OVD1mGO8yq1wFIKLXHsJLDGH8wSou8q0bfGxplYcpaHRerG/J/zS/edLTnrjvDo7PHv1Nhy3lZMnHg0MO2JAAAAAElFTkSuQmCC);
+  background-color: #566171;
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6e7d8f), color-stop(1, #404854));
+  background-image: -webkit-linear-gradient(top, #6e7d8f, #404854);
+  background-image: -moz-linear-gradient(top, #6e7d8f, #404854);
+  background-image: -o-linear-gradient(top, #6e7d8f, #404854);
+  background-image: linear-gradient(#6e7d8f, #404854);
+  /*height: 27px;*/
+  /*padding: 15px 15px 15px 5px;*/
+  padding: 2px 15px 5px 5px;
+}
+#cssmenu > ul > li {
+  margin: 0 10px;
+}
+#cssmenu > ul > li.has-sub:hover > a {
+  -moz-border-radius: 3px 3px 0 0;
+  -webkit-border-radius: 3px 3px 0 0;
+  border-radius: 3px 3px 0 0;
+  -moz-background-clip: padding;
+  -webkit-background-clip: padding-box;
+  background-clip: padding-box;
+}
+#cssmenu > ul > li:hover > a {
+  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAbCAIAAAAyOnIjAAAAA3NCSVQICAjb4U/gAAAAGElEQVQImWP4//8/079//0jGf//+JVUPAADfUJPhbDTaAAAAAElFTkSuQmCC);
+  background-color: #e2e2e2;
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #c8c8c8));
+  background-image: -webkit-linear-gradient(top, #ffffff, #c8c8c8);
+  background-image: -moz-linear-gradient(top, #ffffff, #c8c8c8);
+  background-image: -o-linear-gradient(top, #ffffff, #c8c8c8);
+  background-image: linear-gradient(#ffffff, #c8c8c8);
+}
+#cssmenu > ul > li.active:hover > a {
+  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAbCAIAAAAyOnIjAAAAA3NCSVQICAjb4U/gAAAAJklEQVQImWP4MruP6d+/f0z//v5Fo/8x/fv3F41GyP8lUf2/v38BoDRPnb8AZS4AAAAASUVORK5CYII=);
+  background-color: #cb7b72;
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f49b8e), color-stop(1, #bd584d));
+  background-image: -webkit-linear-gradient(top, #f49b8e, #bd584d);
+  background-image: -moz-linear-gradient(top, #f49b8e, #bd584d);
+  background-image: -o-linear-gradient(top, #f49b8e, #bd584d);
+  background-image: linear-gradient(#f49b8e, #bd584d);
+}
+#cssmenu ul a {
+  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAbCAIAAAAyOnIjAAAAA3NCSVQICAjb4U/gAAAAIUlEQVQImWP4+PEj09+/f5n+/fvH9PfvXzhG5uNik6gOAOTaUDaAXrIOAAAAAElFTkSuQmCC);
+  background-color: #c2c2c2;
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f1f1f1), color-stop(1, #a8a8a8));
+  background-image: -webkit-linear-gradient(top, #f1f1f1, #a8a8a8);
+  background-image: -moz-linear-gradient(top, #f1f1f1, #a8a8a8);
+  background-image: -o-linear-gradient(top, #f1f1f1, #a8a8a8);
+  background-image: linear-gradient(#f1f1f1, #a8a8a8);
+  -moz-border-radius: 3px;
+  -webkit-border-radius: 3px;
+  border-radius: 3px;
+  -moz-background-clip: padding;
+  -webkit-background-clip: padding-box;
+  background-clip: padding-box;
+  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 1px 1px 1px rgba(0, 0, 0, 0.5);
+  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 1px 1px 1px rgba(0, 0, 0, 0.5);
+  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 1px 1px 1px rgba(0, 0, 0, 0.5);
+  color: #3c444d;
+  font-size: 12px;
+  line-height: 27px;
+  /*padding: 0 20px;*/
+  padding: 0 10px;
+  /*position: relative;*/
+  text-align: center;
+  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
+}
+#cssmenu ul ul {
+  /*width: 170px;*/
+  width: 170px;
+}
+#cssmenu ul ul ul {
+  width: 240px;
+}
+#cssmenu ul ul a {
+  -moz-box-shadow: none;
+  -webkit-box-shadow: none;
+  box-shadow: none;
+  -moz-border-radius: 0;
+  -webkit-border-radius: 0;
+  border-radius: 0;
+  -moz-background-clip: padding;
+  -webkit-background-clip: padding-box;
+  background-clip: padding-box;
+  line-height: 150%;
+  border-bottom: 1px solid #999999;
+}
+#cssmenu ul .active > a {
+  color: #FFF;
+  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
+  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAbCAIAAAAyOnIjAAAAA3NCSVQICAjb4U/gAAAANUlEQVQImXXMsQ0AIRTD0FMmvRlYnAm+TQEIGronxcrX2x80hUEDpNx2em0lx9wNj37+rX4AhN5PdtvsqRUAAAAASUVORK5CYII=);
+  background-color: #c46a60;
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ef7260), color-stop(1, #b04c41));
+  background-image: -webkit-linear-gradient(top, #ef7260, #b04c41);
+  background-image: -moz-linear-gradient(top, #ef7260, #b04c41);
+  background-image: -o-linear-gradient(top, #ef7260, #b04c41);
+  background-image: linear-gradient(#ef7260, #b04c41);
+}
+#cssmenu ul .has-sub {
+  position: relative;
+}
+#cssmenu ul .has-sub ul {
+  -moz-border-radius: 0 3px 3px 3px;
+  -webkit-border-radius: 0 3px 3px 3px;
+  border-radius: 0 3px 3px 3px;
+  -moz-background-clip: padding;
+  -webkit-background-clip: padding-box;
+  background-clip: padding-box;
+  -moz-box-shadow: 0 2px 1px 1px rgba(0, 0, 0, 0.5);
+  -webkit-box-shadow: 0 2px 1px 1px rgba(0, 0, 0, 0.5);
+  box-shadow: 0 2px 1px 1px rgba(0, 0, 0, 0.5);
+  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA2CAMAAAAxtAOuAAAAolBMVEXp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enp6enCAApGAAAANXRSTlP9+vf08Ozp5eDc19POycS+ubOuqKOdl5GLhYB6dG5oYlxXUUxGQTs2MSwoIx8aFhMPCwgFAqv7N0MAAABMSURBVHheBcCDEcMAAADAj1Hbtr3/aj0/BEKRWCKVyRVKFVU1dQ1NLW0dXT19A0MjYxNTM3MLSytrG1s7ewdHJ2cXVzd3D08vbx/fP9L5BZigzasGAAAAAElFTkSuQmCC) repeat-x;
+  background-color: #c3c3c3;
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e9e9e9), color-stop(1, #aaaaaa));
+  background-image: -webkit-linear-gradient(top, #e9e9e9, #aaaaaa);
+  background-image: -moz-linear-gradient(top, #e9e9e9, #aaaaaa);
+  background-image: -o-linear-gradient(top, #e9e9e9, #aaaaaa);
+  background-image: linear-gradient(#e9e9e9, #aaaaaa);
+  /*padding: 3px 0;*/
+}
+#cssmenu ul .has-sub ul a {
+  background: none;
+  /*padding: 8px 8px 8px 16px;*/
+  padding: 4px 8px 4px 16px;
+  border-bottom: 1px solid transparent;
+  text-align: left;
+}
+#cssmenu ul .has-sub ul .has-sub a:after {
+  content: none;
+}
+#cssmenu ul .has-sub li:hover > a {
+  border-bottom: 1px solid #1D2024;
+  color: #FFF;
+  background-color: #55616f;
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #56606f), color-stop(1, #3f4852));
+  background-image: -webkit-linear-gradient(top, #56606f, #3f4852);
+  background-image: -moz-linear-gradient(top, #56606f, #3f4852);
+  background-image: -o-linear-gradient(top, #56606f, #3f4852);
+  background-image: linear-gradient(#56606f, #3f4852);
+  -moz-box-shadow: inset 1px 2px 0 #5c6778, inset 0 1px 0 #4e5866;
+  -webkit-box-shadow: inset 1px 2px 0 #5c6778, inset 0 1px 0 #4e5866;
+  box-shadow: inset 1px 2px 0 #5c6778, inset 0 1px 0 #4e5866;
+  position: relative;
+  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
+}
+#cssmenu ul .has-sub li:hover > a:after {
+  border-left: 0 none;
+  background-color: #c35f54;
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ea5f51), color-stop(1, #a9463b));
+  background-image: -webkit-linear-gradient(top, #ea5f51, #a9463b);
+  background-image: -moz-linear-gradient(top, #ea5f51, #a9463b);
+  background-image: -o-linear-gradient(top, #ea5f51, #a9463b);
+  background-image: linear-gradient(#ea5f51, #a9463b);
+  -moz-box-shadow: inset -1px 2px 0 rgba(255, 255, 255, 0.2), inset 0 1px 0 #ce5448;
+  -webkit-box-shadow: inset -1px 2px 0 rgba(255, 255, 255, 0.2), inset 0 1px 0 #ce5448;
+  box-shadow: inset -1px 2px 0 rgba(255, 255, 255, 0.2), inset 0 1px 0 #ce5448;
+  content: '';
+  height: 100%;
+  width: 6px;
+  position: absolute;
+  right: 0;
+  top: 0;
+}
+#cssmenu ul .has-sub > a {
+  padding-right: 0;
+}
+#cssmenu ul .has-sub > a:after {
+  content: '>';
+  border-left: 1px solid rgba(100, 100, 100, 0.2);
+  color: #5D6A7A;
+  -moz-box-shadow: -1px 0 0 rgba(255, 255, 255, 0.2);
+  -webkit-box-shadow: -1px 0 0 rgba(255, 255, 255, 0.2);
+  box-shadow: -1px 0 0 rgba(255, 255, 255, 0.2);
+  display: inline-block;
+  font-size: 9px;
+  margin-left: 5px;
+  text-align: center;
+  height: 25px;
+  /*width: 24px;*/
+  width: 16px;
+  text-shadow: 0 -1px 0 #101417;
+}
+#cssmenu ul .active > a:after {
+  color: #FFF;
+}
+#cssmenu ul ul a {
+  font-size: 12px;
+}
diff --git a/themes/dropdown/images/add.png b/themes/dropdown/images/add.png
new file mode 100644 (file)
index 0000000..6332fef
Binary files /dev/null and b/themes/dropdown/images/add.png differ
diff --git a/themes/dropdown/images/ajax-loader.gif b/themes/dropdown/images/ajax-loader.gif
new file mode 100644 (file)
index 0000000..269e15a
Binary files /dev/null and b/themes/dropdown/images/ajax-loader.gif differ
diff --git a/themes/dropdown/images/ajax-loader2.gif b/themes/dropdown/images/ajax-loader2.gif
new file mode 100644 (file)
index 0000000..452e052
Binary files /dev/null and b/themes/dropdown/images/ajax-loader2.gif differ
diff --git a/themes/dropdown/images/arrow_12.gif b/themes/dropdown/images/arrow_12.gif
new file mode 100644 (file)
index 0000000..56eb6e6
Binary files /dev/null and b/themes/dropdown/images/arrow_12.gif differ
diff --git a/themes/dropdown/images/basket.png b/themes/dropdown/images/basket.png
new file mode 100644 (file)
index 0000000..b0686d7
Binary files /dev/null and b/themes/dropdown/images/basket.png differ
diff --git a/themes/dropdown/images/body_bg.png b/themes/dropdown/images/body_bg.png
new file mode 100644 (file)
index 0000000..9006cd7
Binary files /dev/null and b/themes/dropdown/images/body_bg.png differ
diff --git a/themes/dropdown/images/breadcrumb.gif b/themes/dropdown/images/breadcrumb.gif
new file mode 100644 (file)
index 0000000..ba4b51e
Binary files /dev/null and b/themes/dropdown/images/breadcrumb.gif differ
diff --git a/themes/dropdown/images/button_ok.png b/themes/dropdown/images/button_ok.png
new file mode 100644 (file)
index 0000000..72790e1
Binary files /dev/null and b/themes/dropdown/images/button_ok.png differ
diff --git a/themes/dropdown/images/cal.gif b/themes/dropdown/images/cal.gif
new file mode 100644 (file)
index 0000000..8526cf5
Binary files /dev/null and b/themes/dropdown/images/cal.gif differ
diff --git a/themes/dropdown/images/cancel.png b/themes/dropdown/images/cancel.png
new file mode 100644 (file)
index 0000000..2541d2b
Binary files /dev/null and b/themes/dropdown/images/cancel.png differ
diff --git a/themes/dropdown/images/cog.png b/themes/dropdown/images/cog.png
new file mode 100644 (file)
index 0000000..67de2c6
Binary files /dev/null and b/themes/dropdown/images/cog.png differ
diff --git a/themes/dropdown/images/content_bg.png b/themes/dropdown/images/content_bg.png
new file mode 100644 (file)
index 0000000..c946195
Binary files /dev/null and b/themes/dropdown/images/content_bg.png differ
diff --git a/themes/dropdown/images/controller.png b/themes/dropdown/images/controller.png
new file mode 100644 (file)
index 0000000..5cf76ed
Binary files /dev/null and b/themes/dropdown/images/controller.png differ
diff --git a/themes/dropdown/images/credit.gif b/themes/dropdown/images/credit.gif
new file mode 100644 (file)
index 0000000..4627583
Binary files /dev/null and b/themes/dropdown/images/credit.gif differ
diff --git a/themes/dropdown/images/delete.gif b/themes/dropdown/images/delete.gif
new file mode 100644 (file)
index 0000000..327af2a
Binary files /dev/null and b/themes/dropdown/images/delete.gif differ
diff --git a/themes/dropdown/images/download.gif b/themes/dropdown/images/download.gif
new file mode 100644 (file)
index 0000000..9216fd5
Binary files /dev/null and b/themes/dropdown/images/download.gif differ
diff --git a/themes/dropdown/images/edit.gif b/themes/dropdown/images/edit.gif
new file mode 100644 (file)
index 0000000..21a68c6
Binary files /dev/null and b/themes/dropdown/images/edit.gif differ
diff --git a/themes/dropdown/images/enter.png b/themes/dropdown/images/enter.png
new file mode 100644 (file)
index 0000000..45fd4d4
Binary files /dev/null and b/themes/dropdown/images/enter.png differ
diff --git a/themes/dropdown/images/escape.png b/themes/dropdown/images/escape.png
new file mode 100644 (file)
index 0000000..4d84554
Binary files /dev/null and b/themes/dropdown/images/escape.png differ
diff --git a/themes/dropdown/images/folder.gif b/themes/dropdown/images/folder.gif
new file mode 100644 (file)
index 0000000..0888abf
Binary files /dev/null and b/themes/dropdown/images/folder.gif differ
diff --git a/themes/dropdown/images/footer_bg.png b/themes/dropdown/images/footer_bg.png
new file mode 100644 (file)
index 0000000..1917b3a
Binary files /dev/null and b/themes/dropdown/images/footer_bg.png differ
diff --git a/themes/dropdown/images/gl.png b/themes/dropdown/images/gl.png
new file mode 100644 (file)
index 0000000..7d863f9
Binary files /dev/null and b/themes/dropdown/images/gl.png differ
diff --git a/themes/dropdown/images/help.gif b/themes/dropdown/images/help.gif
new file mode 100644 (file)
index 0000000..58c0ffe
Binary files /dev/null and b/themes/dropdown/images/help.gif differ
diff --git a/themes/dropdown/images/invoice.gif b/themes/dropdown/images/invoice.gif
new file mode 100644 (file)
index 0000000..aef0be2
Binary files /dev/null and b/themes/dropdown/images/invoice.gif differ
diff --git a/themes/dropdown/images/link_bg.png b/themes/dropdown/images/link_bg.png
new file mode 100644 (file)
index 0000000..30970e1
Binary files /dev/null and b/themes/dropdown/images/link_bg.png differ
diff --git a/themes/dropdown/images/locate.png b/themes/dropdown/images/locate.png
new file mode 100644 (file)
index 0000000..c14484d
Binary files /dev/null and b/themes/dropdown/images/locate.png differ
diff --git a/themes/dropdown/images/lock.gif b/themes/dropdown/images/lock.gif
new file mode 100644 (file)
index 0000000..92a51e2
Binary files /dev/null and b/themes/dropdown/images/lock.gif differ
diff --git a/themes/dropdown/images/login.gif b/themes/dropdown/images/login.gif
new file mode 100644 (file)
index 0000000..bd3f47c
Binary files /dev/null and b/themes/dropdown/images/login.gif differ
diff --git a/themes/dropdown/images/logo_frontaccounting.jpg b/themes/dropdown/images/logo_frontaccounting.jpg
new file mode 100644 (file)
index 0000000..130a31d
Binary files /dev/null and b/themes/dropdown/images/logo_frontaccounting.jpg differ
diff --git a/themes/dropdown/images/logo_frontaccounting.png b/themes/dropdown/images/logo_frontaccounting.png
new file mode 100644 (file)
index 0000000..85150e2
Binary files /dev/null and b/themes/dropdown/images/logo_frontaccounting.png differ
diff --git a/themes/dropdown/images/menu_break.png b/themes/dropdown/images/menu_break.png
new file mode 100644 (file)
index 0000000..95d2d42
Binary files /dev/null and b/themes/dropdown/images/menu_break.png differ
diff --git a/themes/dropdown/images/money.png b/themes/dropdown/images/money.png
new file mode 100644 (file)
index 0000000..42c52d0
Binary files /dev/null and b/themes/dropdown/images/money.png differ
diff --git a/themes/dropdown/images/news.gif b/themes/dropdown/images/news.gif
new file mode 100644 (file)
index 0000000..072e303
Binary files /dev/null and b/themes/dropdown/images/news.gif differ
diff --git a/themes/dropdown/images/ok.gif b/themes/dropdown/images/ok.gif
new file mode 100644 (file)
index 0000000..c566bb8
Binary files /dev/null and b/themes/dropdown/images/ok.gif differ
diff --git a/themes/dropdown/images/on_off.png b/themes/dropdown/images/on_off.png
new file mode 100644 (file)
index 0000000..bde7dbf
Binary files /dev/null and b/themes/dropdown/images/on_off.png differ
diff --git a/themes/dropdown/images/page_edit.png b/themes/dropdown/images/page_edit.png
new file mode 100644 (file)
index 0000000..046811e
Binary files /dev/null and b/themes/dropdown/images/page_edit.png differ
diff --git a/themes/dropdown/images/pdf.gif b/themes/dropdown/images/pdf.gif
new file mode 100644 (file)
index 0000000..071bb35
Binary files /dev/null and b/themes/dropdown/images/pdf.gif differ
diff --git a/themes/dropdown/images/preferences.gif b/themes/dropdown/images/preferences.gif
new file mode 100644 (file)
index 0000000..56c12bc
Binary files /dev/null and b/themes/dropdown/images/preferences.gif differ
diff --git a/themes/dropdown/images/print.png b/themes/dropdown/images/print.png
new file mode 100644 (file)
index 0000000..a350d18
Binary files /dev/null and b/themes/dropdown/images/print.png differ
diff --git a/themes/dropdown/images/progressbar.gif b/themes/dropdown/images/progressbar.gif
new file mode 100644 (file)
index 0000000..269e15a
Binary files /dev/null and b/themes/dropdown/images/progressbar.gif differ
diff --git a/themes/dropdown/images/receive.gif b/themes/dropdown/images/receive.gif
new file mode 100644 (file)
index 0000000..6a92dd2
Binary files /dev/null and b/themes/dropdown/images/receive.gif differ
diff --git a/themes/dropdown/images/remove.png b/themes/dropdown/images/remove.png
new file mode 100644 (file)
index 0000000..08f2493
Binary files /dev/null and b/themes/dropdown/images/remove.png differ
diff --git a/themes/dropdown/images/report.png b/themes/dropdown/images/report.png
new file mode 100644 (file)
index 0000000..779ad58
Binary files /dev/null and b/themes/dropdown/images/report.png differ
diff --git a/themes/dropdown/images/sort_asc.gif b/themes/dropdown/images/sort_asc.gif
new file mode 100644 (file)
index 0000000..61bdf04
Binary files /dev/null and b/themes/dropdown/images/sort_asc.gif differ
diff --git a/themes/dropdown/images/sort_asc2.gif b/themes/dropdown/images/sort_asc2.gif
new file mode 100644 (file)
index 0000000..c381313
Binary files /dev/null and b/themes/dropdown/images/sort_asc2.gif differ
diff --git a/themes/dropdown/images/sort_desc.gif b/themes/dropdown/images/sort_desc.gif
new file mode 100644 (file)
index 0000000..e1395ee
Binary files /dev/null and b/themes/dropdown/images/sort_desc.gif differ
diff --git a/themes/dropdown/images/sort_desc2.gif b/themes/dropdown/images/sort_desc2.gif
new file mode 100644 (file)
index 0000000..bc6ee42
Binary files /dev/null and b/themes/dropdown/images/sort_desc2.gif differ
diff --git a/themes/dropdown/images/sort_none.gif b/themes/dropdown/images/sort_none.gif
new file mode 100644 (file)
index 0000000..9c30bcf
Binary files /dev/null and b/themes/dropdown/images/sort_none.gif differ
diff --git a/themes/dropdown/images/spacer.png b/themes/dropdown/images/spacer.png
new file mode 100644 (file)
index 0000000..88178d1
Binary files /dev/null and b/themes/dropdown/images/spacer.png differ
diff --git a/themes/dropdown/images/test.png b/themes/dropdown/images/test.png
new file mode 100644 (file)
index 0000000..2426e6a
Binary files /dev/null and b/themes/dropdown/images/test.png differ
diff --git a/themes/dropdown/images/test_stock.png b/themes/dropdown/images/test_stock.png
new file mode 100644 (file)
index 0000000..24114c6
Binary files /dev/null and b/themes/dropdown/images/test_stock.png differ
diff --git a/themes/dropdown/images/time.png b/themes/dropdown/images/time.png
new file mode 100644 (file)
index 0000000..911da3f
Binary files /dev/null and b/themes/dropdown/images/time.png differ
diff --git a/themes/dropdown/images/transparent.gif b/themes/dropdown/images/transparent.gif
new file mode 100644 (file)
index 0000000..a7639c7
Binary files /dev/null and b/themes/dropdown/images/transparent.gif differ
diff --git a/themes/dropdown/images/view.gif b/themes/dropdown/images/view.gif
new file mode 100644 (file)
index 0000000..ffa8e41
Binary files /dev/null and b/themes/dropdown/images/view.gif differ
diff --git a/themes/dropdown/images/warning.png b/themes/dropdown/images/warning.png
new file mode 100644 (file)
index 0000000..f373221
Binary files /dev/null and b/themes/dropdown/images/warning.png differ
diff --git a/themes/dropdown/index.php b/themes/dropdown/index.php
new file mode 100644 (file)
index 0000000..763940a
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+header("Location: ../index.php");
+?>
diff --git a/themes/dropdown/renderer.php b/themes/dropdown/renderer.php
new file mode 100644 (file)
index 0000000..8cc0ba9
--- /dev/null
@@ -0,0 +1,228 @@
+<?php
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU General Public License, GPL, 
+       as published by the Free Software Foundation, either version 3 
+       of the License, or (at your option) any later version.
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+    See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
+***********************************************************************/
+// Author: Joe Hunt, 17/11/2015. Upgraded to release 2.4. 10/11/2015.
+
+       class renderer
+       {
+               function wa_get_apps($title, $applications, $sel_app)
+               {
+                       foreach($applications as $app)
+                       {
+                               foreach ($app->modules as $module)
+                               {
+                                       $apps = array();
+                                       foreach ($module->lappfunctions as $appfunction)
+                                               $apps[] = $appfunction;
+                                       foreach ($module->rappfunctions as $appfunction)
+                                               $apps[] = $appfunction;
+                                       $application = array(); 
+                                       foreach ($apps as $application) 
+                                       {
+                                               $url = explode('?', $application->link);
+                                               $app_lnk = $url[0];                                     
+                                               $pos = strrpos($app_lnk, "/");
+                                               if ($pos > 0)
+                                               {
+                                                       $app_lnk = substr($app_lnk, $pos + 1);
+                                                       $lnk = $_SERVER['REQUEST_URI'];
+                                                       $url = explode('?', $lnk);
+                                                       $asset = false;
+                                                       if (isset($url[1]))
+                                                               $asset = strstr($url[1], "FixedAsset");
+                                                       $lnk = $url[0];                                 
+                                                       $pos = strrpos($lnk, "/");
+                                                       $lnk = substr($lnk, $pos + 1);
+                                                       if ($app_lnk == $lnk)  
+                                                       {
+                                                               $acc = access_string($app->name);
+                                                               $app_id = ($asset != false ? "assets" : $app->id);
+                                                               return array($acc[0], $module->name, $application->label, $app_id);
+                                                       }       
+                                               }       
+                                       }
+                               }
+                       }
+                       return array("", "", "", $sel_app);
+               }
+               
+               function wa_header()
+               {
+                       page(_($help_context = "Main Menu"), false, true);
+               }
+
+               function wa_footer()
+               {
+                       end_page(false, true);
+               }
+               function shortcut($url, $label) 
+               {
+                       echo "<li>";
+                       echo menu_link($url, $label);
+                       echo "</li>";
+               }
+               function menu_header($title, $no_menu, $is_index)
+               {
+                       global $path_to_root, $SysPrefs, $version;
+
+                       $sel_app = $_SESSION['sel_app'];
+                       echo "<div class='fa-main'>\n";
+                       if (!$no_menu)
+                       {
+                               $applications = $_SESSION['App']->applications;
+                               $local_path_to_root = $path_to_root;
+                               $pimg = "<img src='$local_path_to_root/themes/".user_theme()."/images/preferences.gif' width='14' height='14' border='0' alt='"._('Preferences')."'>&nbsp;&nbsp;";
+                               $limg = "<img src='$local_path_to_root/themes/".user_theme()."/images/lock.gif' width='14' height='14' border='0' alt='"._('Change Password')."'>&nbsp;&nbsp;";
+                               $img = "<img src='$local_path_to_root/themes/".user_theme()."/images/on_off.png' width='14' height='14' border='0' alt='"._('Logout')."'>&nbsp;&nbsp;";
+                               $himg = "<img src='$local_path_to_root/themes/".user_theme()."/images/help.gif' width='14' height='14' border='0' alt='"._('Help')."'>&nbsp;&nbsp;";
+                               echo "<div id='header'>\n";
+                               echo "<ul>\n";
+                               echo "  <li><a href='$local_path_to_root/admin/display_prefs.php?'>$pimg" . _("Preferences") . "</a></li>\n";
+                               echo "  <li><a href='$local_path_to_root/admin/change_current_user_password.php?selected_id=" . $_SESSION["wa_current_user"]->username . "'>$limg" . _("Change password") . "</a></li>\n";
+                               if ($SysPrefs->help_base_url != null)
+                                       echo "  <li><a target = '_blank' onclick=" .'"'."javascript:openWindow(this.href,this.target); return false;".'" '. "href='". 
+                                               help_url()."'>$himg" . _("Help") . "</a></li>";
+                               echo "  <li><a href='$path_to_root/access/logout.php?'>$img" . _("Logout") . "</a></li>";
+                               echo "</ul>\n";
+                               $indicator = "$path_to_root/themes/".user_theme(). "/images/ajax-loader.gif";
+                               echo "<h1>$SysPrefs->power_by $version<span style='padding-left:300px;'><img id='ajaxmark' src='$indicator' align='center' style='visibility:hidden;'></span></h1>\n";
+                               echo "</div>\n"; // header
+                                                               
+                               echo "<div id='cssmenu'>\n";
+                               echo "<ul>\n";
+                               $i = 0;
+                               $account = $this->wa_get_apps($title, $applications, $sel_app);
+                               foreach($applications as $app)
+                               {
+                    if ($_SESSION["wa_current_user"]->check_application_access($app))
+                    {
+                                               $acc = access_string($app->name);
+                                               $class = ($account[3] == $app->id ? "active" : "");
+                                               $n = count($app->modules);
+                                               if ($n)
+                                                       $class .= " has-sub";
+                                               $dashboard = "";        
+                                           $u_agent = $_SERVER['HTTP_USER_AGENT']; 
+                                       if (preg_match('/android/i', $u_agent) && preg_match('/mobile/i', $u_agent)) {
+                                               $link = "#'";
+                                                       $dashboard = "$local_path_to_root/index.php?application=$app->id";
+                                               }
+                                       else
+                                               $link = "$local_path_to_root/index.php?application=$app->id '$acc[1]";
+                                               echo "  <li class ='$class'><a href='$link><span>" . $acc[0] . "</span></a>\n";
+                                               if (!$n)
+                                               {
+                                                       echo "  </li>\n";
+                                                       continue;
+                                               }       
+                                               echo "    <ul>\n";
+                                               if ($dashboard !="")
+                                                       echo "      <li><a href='$dashboard'><span><font color='red'>"._("Dashboard")."</font></span></a></li>\n";
+                                               foreach ($app->modules as $module)
+                                               {
+                                               if (!$_SESSION["wa_current_user"]->check_module_access($module))
+                                                       continue;
+                                                       echo "      <li class='has-sub'><a href='#'><span>$module->name</span></a>\n"; 
+                                                       $apps2 = array();
+                                                       foreach ($module->lappfunctions as $appfunction)
+                                                               $apps2[] = $appfunction;
+                                                       foreach ($module->rappfunctions as $appfunction)
+                                                               $apps2[] = $appfunction;
+                                                       $application = array(); 
+                                                       $n = count($apps2);
+                                                       $class = "";
+                                                       if ($i > 5)
+                                                               $class = "class='align_right'";
+                                                       if ($n)
+                                                               echo "        <ul $class>\n";
+                                                       else
+                                                       {
+                                                               echo "      </li>\n";
+                                                               continue;
+                                                       }       
+                                                       foreach ($apps2 as $application)        
+                                                       {
+                                                               $lnk = access_string($application->label);
+                                                               if ($_SESSION["wa_current_user"]->can_access_page($application->access))
+                                                               {
+                                                                       if ($application->label != "")
+                                                                       {
+                                                                               echo "          <li><a href='$path_to_root/$application->link'><span>$lnk[0]</span></a></li>\n";
+                                                                       }
+                                                               }
+                                                               elseif (!$_SESSION["wa_current_user"]->hide_inaccessible_menu_items())  
+                                                                       echo "          <li><a href='#'><span><font color='gray'>$lnk[0]</font></span></a></li>\n";
+                                                       }
+                                                       if ($n)
+                                                               echo "        </ul>\n"; 
+                                                       echo "      </li>\n";
+                                               }
+                                               echo "    </ul>\n"; // menu
+                                       }
+                                       echo"  </li>\n";
+                                       $i++;
+                               }       
+                               echo "</ul>\n"; 
+                               echo "</div>\n"; // menu
+                       }
+                       echo "<div class='fa-body'>\n";
+                       if ($no_menu)
+                               echo "<br>";
+                       elseif ($title && !$no_menu && !$is_index)
+                       {
+                               echo "<div class='fa-content'>\n";
+                               echo "<center><table id='title'><tr><td width='100%' class='titletext'>$title</td>"
+                               ."<td align=right>"
+                               .(user_hints() ? "<span id='hints'></span>" : '')
+                               ."</td>"
+                               ."</tr></table></center>";
+                       }
+               }
+
+               function menu_footer($no_menu, $is_index)
+               {
+                       global $path_to_root, $SysPrefs, $version, $db_connections;
+                       include_once($path_to_root . "/includes/date_functions.inc");
+
+                       if (!$no_menu && !$is_index)
+                               echo "</div>\n"; // fa-content
+                       echo "</div>\n"; // fa-body
+                       if (!$no_menu)
+                       {
+                               echo "<script type='text/javascript'>if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))
+                                      {document.getElementById('cssmenu').style.position = 'fixed';}</script>\n";
+                               echo "<div class='fa-footer'>\n";
+                               if (isset($_SESSION['wa_current_user']))
+                               {
+                                       echo "<span class='power'><a target='_blank' href='$SysPrefs->power_url'>$SysPrefs->power_by $version</a></span>\n";
+                                       echo "<span class='date'>".Today() . "&nbsp;" . Now()."</span>\n";
+                                       echo "<span class='date'>" . $db_connections[$_SESSION["wa_current_user"]->company]["name"] . "</span>\n";
+                                       echo "<span class='date'>" . $_SERVER['SERVER_NAME'] . "</span>\n";
+                                       echo "<span class='date'>" . $_SESSION["wa_current_user"]->name . "</span>\n";
+                                       echo "<span class='date'>" . _("Theme:") . " " . user_theme() . "</span>\n";
+                                       echo "<span class='date'>".show_users_online()."</span>\n";
+                               }
+                               echo "</div>\n"; // footer
+                       }
+                       echo "</div>\n"; // fa-main
+               }
+
+               function display_applications(&$waapp)
+               {
+                       global $path_to_root;
+
+                       $sel = $waapp->get_selected_application();
+                       meta_forward("$path_to_root/admin/dashboard.php", "sel_app=$sel->id");  
+               end_page();
+               exit;
+               }       
+       }
+