navigation  interaction  search

 other resources

root/trunk/phpbms/header.php

Revision 384 (checked in by brieb, 7 months ago)

Pre v0.96 check in:

  • Added support for multiple addresses
  • Added link to google maps for addresses on client and sales order screens.
  • Added obfuscation ability to sensitive payment information when voiding/deleting or posting receipts and sales orders.
  • Replaced autofill fields with new smartsearch technologies
  • Fixed recurring invoice bug
  • Switched several sales order AJAX calls to use JSON
  • Reorganized quickView screens

Left to do:

  • Finish BMS update/install scripts with address and addressto record tabledef/table support information
  • Re-code delete prospect code
  • Finish BMS update/install scripts with new client/client dup tabledef/table support information.
Line 
1 <?php
2     if(!isset($pageTitle)) $pageTitle = APPLICATION_NAME;
3 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
6 <title><?php echo $pageTitle ?></title>
7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
8 <?php
9     $phpbms->cssIncludes = array_merge(array("base.css"),$phpbms->cssIncludes);
10     $phpbms->showCssIncludes();
11     
12     $tempjsarray[] = "common/javascript/common.js";
13     $tempjsarray[] = "common/javascript/menu.js";
14     $tempjsarray[] = "include/jstransport.php";
15     $tempjsarray[] = "common/javascript/moo/prototype.lite.js";
16     $tempjsarray[] = "common/javascript/moo/moo.fx.js";
17     $tempjsarray[] = "common/javascript/moo/moo.fx.pack.js";
18     
19     $phpbms->jsIncludes = array_merge($tempjsarray,$phpbms->jsIncludes);
20     $phpbms->showJsIncludes();
21     
22     if(PERSISTENT_LOGIN && isset($_SESSION["userinfo"]["id"]))
23         $phpbms->topJS[]="setLoginRefresh();";
24         
25     $phpbms->showExtraJs($phpbms->topJS);
26     
27     if($phpbms->onload) {
28         ?><script language="JavaScript" type="text/javascript">
29             connect(window,"onload",function() {       
30             <?php
31                     foreach($phpbms->onload as $theextra)
32                         echo $theextra."\n";
33             ?>
34             })
35         </script><?php
36     }//end if onload
37 ?>
38 </head>
39 <body>
40 <?php
41
42 if($phpbms->showMenu){
43     include("include/menu_class.php");
44     
45     $topMenu = new topMenu($db);
46     $topMenu->display();
47
48     //See if the statusmessage is set
49     if (isset($statusmessage)) {?>
50     <div id="statusmessage">
51         <div id="SMLeft">
52             <div id="SMText">
53                 <?php echo $statusmessage ?>
54             </div>
55         </div>
56     </div><?php
57         $phpbms->bottomJS[]='var statusM=getObjectFromID("statusmessage");
58     var SMAni=new fx.Combo(statusM,{opacity:false,duration:500});
59     SMAni.hide();
60     statusM.style.display="block";
61     SMAni.toggle();';
62     } // end if
63     
64     ?>
65     <noscript>
66         <div class="bodyline">
67             <h1>JavaScript Disabled</h1>
68             <p>phpBMS requires JavaScript to be enabled.</p>
69         </div>
70     </noscript><?php   
71     
72 }//end if showMenu
73 ?>
Note: See TracBrowser for help on using the browser.
Copyright © 2006-2007 Kreotek, LLC. All Rights reserved.