From: Joe Hunt Date: Mon, 14 Dec 2015 23:18:16 +0000 (+0100) Subject: New standard themes, default, canvas and dropdown. X-Git-Tag: v2.4.2~19^2~92 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=853d5c37aa7d18bbb86f25ac38a42a130d6acde8;p=fa-stable.git New standard themes, default, canvas and dropdown. --- diff --git a/themes/aqua/default.css b/themes/aqua/default.css deleted file mode 100644 index e558bfcd..00000000 --- a/themes/aqua/default.css +++ /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 index 6332fefe..00000000 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 index 3d185fe9..00000000 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 index 526fb845..00000000 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 index 2f734caa..00000000 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 index 14c7ae14..00000000 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 index 2541d2bc..00000000 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 index 624c9edf..00000000 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 index 4627583e..00000000 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 index 327af2a5..00000000 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 index 67823e9c..00000000 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 index 21a68c63..00000000 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 index 4d84554d..00000000 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 index 7d863f94..00000000 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 index 58c0ffef..00000000 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 index aef0be2a..00000000 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 index 3df04db3..00000000 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 index 92a51e29..00000000 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 index ef03a4de..00000000 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 index 91d54518..00000000 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 index 4c3efdd6..00000000 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 index ab940462..00000000 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 index 188e1c12..00000000 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 index d1d9e7c1..00000000 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 index 24588a3a..00000000 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 index 9460dfc7..00000000 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 index 6cf6443a..00000000 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 index 58f19c68..00000000 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 index 42c52d05..00000000 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 index c566bb80..00000000 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 index 071bb35d..00000000 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 index 56c12bc8..00000000 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 index a350d187..00000000 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 index 7c07f694..00000000 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 index 6a92dd27..00000000 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 index 08f24936..00000000 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 index 779ad58e..00000000 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 index eed11946..00000000 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 index 8055b425..00000000 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 index e0f93f79..00000000 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 index 19cc2a2d..00000000 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 index ffa8e414..00000000 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 index 06ef4e0b..00000000 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 index e88dc9ed..00000000 --- a/themes/aqua/index.php +++ /dev/null @@ -1,2 +0,0 @@ -. -***********************************************************************/ - 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 "  "; - } - - 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 "\n"; - echo "\n"; - echo "
\n"; - - echo "\n"; - echo "\n"; - echo "
\n"; - echo "\n"; - echo "\n"; - echo "
\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 "
"; - echo "
"; - foreach($applications as $app) - { - if ($_SESSION["wa_current_user"]->check_application_access($app)) - { - $acc = access_string($app->name); - echo "" .$acc[0] . ""; - } - } - echo "
"; - echo "
"; - // top status bar - $pimg = ""._(  "; - $limg = ""._(  "; - $img = ""._(  "; - $himg = ""._(  "; - - echo ""; - echo ""; - echo ""; - echo "
" . $db_connections[user_company()]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . "$pimg" . _("Preferences") . "   \n"; - echo " $limg" . _("Change password") . "   \n"; - - if ($SysPrefs->help_base_url != null) - { - echo "$himg" . _("Help") . "   "; - } - echo "$img" . _("Logout") . "   "; - echo "
"; - } - echo "
"; - if ($no_menu) - { - echo "
" - ."" - ."
"; - } elseif ($title && !$is_index) - { - echo "
" - ."" - ."
$title" - .(user_hints() ? "" : '') - ."
"; - } - } - - 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 "
\n"; // 'main_page' - if ($no_menu == false) // bottom status line - { - if ($is_index) - echo "\n"; - else - echo "
\n"; - echo ""; - if (isset($_SESSION['wa_current_user'])) { - $phelp = implode('; ', $Pagehelp); - echo "\n"; - $Ajax->addUpdate(true, 'hotkeyshelp', $phelp); - echo ""; - } - echo "
" . Today() . " | " . Now() . "".$phelp."
\n"; - } - echo "
\n"; // 'callout_main' - if ($no_menu == false) - { - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - if ($SysPrefs->allow_demo_mode) - { - echo "\n"; - //echo "\n"; - echo "\n"; - } - echo "

\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 ""; - foreach ($selected_app->modules as $module) - { - if (!$_SESSION["wa_current_user"]->check_module_access($module)) - continue; - // image - echo ""; - // values - echo ""; - } - echo "
"; - } - } diff --git a/themes/canvas/default.css b/themes/canvas/default.css new file mode 100644 index 00000000..88f93458 --- /dev/null +++ b/themes/canvas/default.css @@ -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 index 00000000..6332fefe 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 index 00000000..269e15a9 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 index 00000000..452e0520 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 index 00000000..2f734caa 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 index 00000000..56eb6e6f 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 index 00000000..9006cd71 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 index 00000000..72790e15 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 index 00000000..8526cf5d 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 index 00000000..2541d2bc 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 index 00000000..c9461954 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 index 00000000..4627583e 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 index 00000000..327af2a5 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 index 00000000..67823e9c 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 index 00000000..21a68c63 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 index 00000000..45fd4d47 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 index 00000000..4d84554d 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 index 00000000..0888abf8 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 index 00000000..1917b3a3 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 index 00000000..7d863f94 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 index 00000000..58c0ffef 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 index 00000000..aef0be2a 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 index 00000000..30970e1e 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 index 00000000..c14484dc 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 index 00000000..92a51e29 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 index 00000000..91d54518 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 index 00000000..130a31dd 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 index 00000000..85150e2b 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 index 00000000..95d2d425 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 index 00000000..42c52d05 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 index 00000000..072e3038 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 index 00000000..c566bb80 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 index 00000000..046811ed 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 index 00000000..071bb35d 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 index 00000000..56c12bc8 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 index 00000000..a350d187 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 index 00000000..269e15a9 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 index 00000000..6a92dd27 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 index 00000000..08f24936 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 index 00000000..779ad58e 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 index 00000000..61bdf04d 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 index 00000000..c3813136 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 index 00000000..e1395eeb 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 index 00000000..bc6ee421 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 index 00000000..9c30bcf7 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 index 00000000..88178d15 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 index 00000000..ffa8e414 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 index 00000000..f3732215 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 index 00000000..763940a7 --- /dev/null +++ b/themes/canvas/index.php @@ -0,0 +1,3 @@ + diff --git a/themes/canvas/renderer.php b/themes/canvas/renderer.php new file mode 100644 index 00000000..14a4cc8a --- /dev/null +++ b/themes/canvas/renderer.php @@ -0,0 +1,249 @@ +. +***********************************************************************/ + + class renderer + { + function wa_header() + { + page(_($help_context = "Main Menu"), false, true); + } + + function wa_footer() + { + end_page(false, true); + } + function shortcut($url, $label) + { + echo "
  • "; + $pars = access_string($label); + echo "$pars[0]"; + echo "
  • "; + } + + function menu_header($title, $no_menu, $is_index) + { + global $path_to_root, $SysPrefs, $version; + + $sel_app = $_SESSION['sel_app']; + echo "
    \n"; + if (!$no_menu) + { + $applications = $_SESSION['App']->applications; + $local_path_to_root = $path_to_root; + $img = ""._(  "; + $pimg = ""._(  "; + $limg = ""._(  "; + $himg = ""._(  "; + echo "\n"; // header + echo "
    "; + echo "
      \n"; + foreach($applications as $app) + { + if ($_SESSION["wa_current_user"]->check_application_access($app)) + { + $acc = access_string($app->name); + echo "
    • id ? "class='active' " : "") . ">" . $acc[0] . "
    • \n"; + } + } + echo "
    \n"; + echo "
    \n"; // menu + echo "
    \n"; + + } + echo "
    \n"; + if (!$no_menu) + { + echo "
    \n"; + echo "
      \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 "
    \n"; + echo "
    \n"; // fa-submenu + echo "
    \n"; + echo "
    \n"; + } + if ($no_menu) + echo "
    "; + elseif ($title && !$no_menu && !$is_index) + { + echo "
    " + ."" + ."
    $title" + .(user_hints() ? "" : '') + ."
    "; + } + } + + 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 "
    \n"; // fa-content + echo "
    \n"; // fa-body + if (!$no_menu) + { + echo "\n"; // footer + } + echo "
    \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 ""; + echo "
    \n"; + $i++; + } + } + } + \ No newline at end of file diff --git a/themes/cool/default.css b/themes/cool/default.css deleted file mode 100644 index c37e539b..00000000 --- a/themes/cool/default.css +++ /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 index 6332fefe..00000000 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 index 28aabec1..00000000 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 index 526fb845..00000000 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 index 2f734caa..00000000 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 index 97aea83e..00000000 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 index 2541d2bc..00000000 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 index 624c9edf..00000000 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 index 4627583e..00000000 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 index 327af2a5..00000000 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 index 67823e9c..00000000 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 index 21a68c63..00000000 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 index 4d84554d..00000000 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 index 7d863f94..00000000 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 index 58c0ffef..00000000 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 index aef0be2a..00000000 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 index 0fb7d7cd..00000000 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 index 92a51e29..00000000 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 index ef03a4de..00000000 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 index 91d54518..00000000 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 index 4c3efdd6..00000000 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 index ab940462..00000000 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 index 188e1c12..00000000 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 index d1d9e7c1..00000000 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 index 24588a3a..00000000 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 index 9460dfc7..00000000 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 index 6cf6443a..00000000 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 index 58f19c68..00000000 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 index 42c52d05..00000000 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 index c566bb80..00000000 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 index 071bb35d..00000000 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 index 56c12bc8..00000000 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 index a350d187..00000000 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 index 7c07f694..00000000 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 index 6a92dd27..00000000 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 index 08f24936..00000000 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 index 779ad58e..00000000 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 index eed11946..00000000 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 index 61bdf04d..00000000 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 index e1395eeb..00000000 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 index 19cc2a2d..00000000 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 index ffa8e414..00000000 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 index 06ef4e0b..00000000 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 index e88dc9ed..00000000 --- a/themes/cool/index.php +++ /dev/null @@ -1,2 +0,0 @@ -. -***********************************************************************/ - 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 "  "; - } - - 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 "\n"; - echo "\n"; - echo "
    \n"; - - echo "\n"; - echo "\n"; - echo "
    \n"; - echo "\n"; - echo "\n"; - echo "
    \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 "
    "; - echo "
    "; - foreach($applications as $app) - { - if ($_SESSION["wa_current_user"]->check_application_access($app)) - { - $acc = access_string($app->name); - echo "" .$acc[0] . ""; - } - } - echo "
    "; - echo "
    "; - // top status bar - $pimg = ""._(  "; - $limg = ""._(  "; - $img = ""._(  "; - $himg = ""._(  "; - - echo ""; - echo ""; - echo ""; - echo "
    " . $db_connections[user_company()]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . "$pimg" . _("Preferences") . "   \n"; - echo " $limg" . _("Change password") . "   \n"; - - if ($SysPrefs->help_base_url != null) - { - echo "$himg" . _("Help") . "   "; - } - echo "$img" . _("Logout") . "   "; - echo "
    "; - } - echo "
    "; - - if ($no_menu) - { - echo "
    " - ."" - ."
    "; - } elseif ($title && !$is_index) - { - echo "
    " - ."" - ."
    $title" - .(user_hints() ? "" : '') - ."
    "; - } - } - - 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 "
    \n"; // 'main_page' - if ($no_menu == false) // bottom status line - { - if ($is_index) - echo "\n"; - else - echo "
    \n"; - echo ""; - if (isset($_SESSION['wa_current_user'])) { - $phelp = implode('; ', $Pagehelp); - echo "\n"; - $Ajax->addUpdate(true, 'hotkeyshelp', $phelp); - echo ""; - } - echo "
    " . Today() . " | " . Now() . "".$phelp."
    \n"; - } - echo "
    \n"; // 'callout_main' - if ($no_menu == false) - { - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - if ($SysPrefs->allow_demo_mode) - { - echo "\n"; - //echo "\n"; - echo "\n"; - } - echo "

    \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 ""; - foreach ($selected_app->modules as $module) - { - if (!$_SESSION["wa_current_user"]->check_module_access($module)) - continue; - // image - echo ""; - // values - echo ""; - } - echo "
    "; - } - } diff --git a/themes/default/renderer.php b/themes/default/renderer.php index 09e2df6e..32e1590c 100644 --- a/themes/default/renderer.php +++ b/themes/default/renderer.php @@ -67,6 +67,7 @@ echo ""; echo ""; // top status bar + $rimg = ""._(  "; $pimg = ""._(  "; $limg = ""._(  "; $img = ""._(  "; @@ -74,7 +75,9 @@ echo ""; echo ""; echo ""; - echo "
    " . $db_connections[user_company()]["name"] . " | " . $_SERVER['SERVER_NAME'] . " | " . $_SESSION["wa_current_user"]->name . "$pimg" . _("Preferences") . "   \n"; + echo "$rimg" . _("Dashboard") . "   \n"; + + echo "$pimg" . _("Preferences") . "   \n"; echo " $limg" . _("Change password") . "   \n"; if ($SysPrefs->help_base_url != null) diff --git a/themes/dropdown/default.css b/themes/dropdown/default.css new file mode 100644 index 00000000..8a7cdd50 --- /dev/null +++ b/themes/dropdown/default.css @@ -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 index 00000000..6332fefe 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 index 00000000..269e15a9 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 index 00000000..452e0520 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 index 00000000..56eb6e6f 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 index 00000000..b0686d78 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 index 00000000..9006cd71 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 index 00000000..ba4b51ed 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 index 00000000..72790e15 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 index 00000000..8526cf5d 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 index 00000000..2541d2bc 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 index 00000000..67de2c6c 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 index 00000000..c9461954 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 index 00000000..5cf76ed0 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 index 00000000..4627583e 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 index 00000000..327af2a5 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 index 00000000..9216fd5c 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 index 00000000..21a68c63 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 index 00000000..45fd4d47 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 index 00000000..4d84554d 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 index 00000000..0888abf8 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 index 00000000..1917b3a3 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 index 00000000..7d863f94 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 index 00000000..58c0ffef 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 index 00000000..aef0be2a 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 index 00000000..30970e1e 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 index 00000000..c14484dc 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 index 00000000..92a51e29 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 index 00000000..bd3f47c5 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 index 00000000..130a31dd 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 index 00000000..85150e2b 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 index 00000000..95d2d425 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 index 00000000..42c52d05 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 index 00000000..072e3038 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 index 00000000..c566bb80 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 index 00000000..bde7dbf7 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 index 00000000..046811ed 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 index 00000000..071bb35d 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 index 00000000..56c12bc8 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 index 00000000..a350d187 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 index 00000000..269e15a9 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 index 00000000..6a92dd27 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 index 00000000..08f24936 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 index 00000000..779ad58e 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 index 00000000..61bdf04d 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 index 00000000..c3813136 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 index 00000000..e1395eeb 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 index 00000000..bc6ee421 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 index 00000000..9c30bcf7 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 index 00000000..88178d15 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 index 00000000..2426e6a4 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 index 00000000..24114c60 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 index 00000000..911da3f1 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 index 00000000..a7639c70 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 index 00000000..ffa8e414 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 index 00000000..f3732215 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 index 00000000..763940a7 --- /dev/null +++ b/themes/dropdown/index.php @@ -0,0 +1,3 @@ + diff --git a/themes/dropdown/renderer.php b/themes/dropdown/renderer.php new file mode 100644 index 00000000..8cc0ba9b --- /dev/null +++ b/themes/dropdown/renderer.php @@ -0,0 +1,228 @@ +. +***********************************************************************/ +// 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 "
  • "; + echo menu_link($url, $label); + echo "
  • "; + } + function menu_header($title, $no_menu, $is_index) + { + global $path_to_root, $SysPrefs, $version; + + $sel_app = $_SESSION['sel_app']; + echo "
    \n"; + if (!$no_menu) + { + $applications = $_SESSION['App']->applications; + $local_path_to_root = $path_to_root; + $pimg = ""._(  "; + $limg = ""._(  "; + $img = ""._(  "; + $himg = ""._(  "; + echo "\n"; // header + + echo "
    \n"; + echo "
      \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 "
    • "._("Dashboard")."
    • \n"; + foreach ($app->modules as $module) + { + if (!$_SESSION["wa_current_user"]->check_module_access($module)) + continue; + echo "
    • $module->name\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 "
        \n"; + else + { + echo " \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 "
      • $lnk[0]
      • \n"; + } + } + elseif (!$_SESSION["wa_current_user"]->hide_inaccessible_menu_items()) + echo "
      • $lnk[0]
      • \n"; + } + if ($n) + echo "
      \n"; + echo "
    • \n"; + } + echo "
    \n"; // menu + } + echo" \n"; + $i++; + } + echo "\n"; + echo "
    \n"; // menu + } + echo "
    \n"; + if ($no_menu) + echo "
    "; + elseif ($title && !$no_menu && !$is_index) + { + echo "
    \n"; + echo "
    " + ."" + ."
    $title" + .(user_hints() ? "" : '') + ."
    "; + } + } + + 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 "
    \n"; // fa-content + echo "
    \n"; // fa-body + if (!$no_menu) + { + echo "\n"; + echo "\n"; // footer + } + echo "
    \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; + } + } +