phpBMS

Changeset 700 for trunk/phpbms

Show
Ignore:
Timestamp:
01/01/10 13:45:44 (2 years ago)
Author:
brieb
Message:
  • updated references to FPDI and mailchimp on info page
  • Added notes to ChangeLog?
  • Fixed broken js linking in quickview
  • reformatted old quickview button styles for consistency
Location:
trunk/phpbms
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/ChangeLog

    r513 r700  
    66 * Snapshot is customizable based on user's preference 
    77 * Centralized posting for receipts and invoices 
    8  * Menu system now uses a uuid instead of an id, making module development easier. 
     8 * System now uses UUIDs in addition to the mysql id, making module and API development easier. 
     9 * Formal API system that utilizes JSON to interact with other applications 
     10 * Push technology allows phpBMS to push data to other systems. 
     11 * True payment encryption/obfuscation for credit cards 
     12 * Reports now administratively configurable allowing for flexible report creation/modification without need for customization 
     13 * MailChimp module allows synchronization of clients with MailChimp e-mail marketing and e-mail list manager 
     14 * Easier to use configuration screen 
     15 * Automatically check for updates 
     16 * Increased security and security logging 
    917 
    1018The complete list of closed tickets can be found here: http://phpbms.org/query?status=closed&milestone=0.98 
  • trunk/phpbms/common/stylesheet/mozilla/pages/quickview.css

    r442 r700  
    33 
    44.SBResults A.client{ 
    5         padding-left:30px; 
    6         background-image:url("../image/client.png"); 
     5    padding-left:30px; 
     6    background-image:url("../image/client.png"); 
    77} 
    88 
    99.SBResults A.prospect{ 
    10         padding-left:30px; 
    11         background-image:url("../image/prospect.png"); 
     10    padding-left:30px; 
     11    background-image:url("../image/prospect.png"); 
    1212} 
    1313 
    1414#viewButton, #addButton{ 
    15         width:70px 
     15    width:70px 
    1616} 
    1717 
    1818#clientIDDiv{ 
    19         width:100%; 
    20         margin-right:200px; 
    21         margin-left: 170px; 
    22         background:red; 
    23 } 
     19    width:100%; 
     20    margin-right:200px; 
     21    margin-left: 170px; 
     22    background:red; 
     23} 
     24 
    2425#ds-clientid{ 
    25         width:55%; 
    26 } 
    27  
    28  
    29  
     26    width:55%; 
     27} 
    3028 
    3129#crTile.fsclient{ 
    32         background-image:url("../image/client.png"); 
     30    background-image:url("../image/client.png"); 
    3331} 
    3432 
    3533#crTile.fsprospect{ 
    36         background-image:url("../image/prospect.png"); 
     34    background-image:url("../image/prospect.png"); 
    3735} 
    3836 
    3937#crTile{ 
    40         background:white no-repeat 13px 13px; 
     38    background:white no-repeat 13px 13px; 
    4139} 
    4240 
    4341#crTile H1 { 
    44         background:none; 
    45         padding-left:26px; 
    46         font-weight:bold; 
     42    background:none; 
     43    padding-left:26px; 
     44    font-weight:bold; 
    4745} 
    4846 
    4947#crTile P{ 
    50         margin: 5px 0 5px 42px; 
    51         padding: 0; 
     48    margin: 5px 0 5px 42px; 
     49    padding: 0; 
    5250} 
    5351 
    5452#crName{ 
    55         font-size:14px; 
    56         font-weight:bold; 
    57         margin-top:0; 
     53    font-size:14px; 
     54    font-weight:bold; 
     55    margin-top:0; 
    5856} 
    5957 
    6058#crLocation{ 
    61         font-size:10px; 
     59    font-size:10px; 
    6260} 
    6361 
    6462.RDNames{ 
     63    float:left; 
     64    width:100px; 
     65    text-align:right; 
     66    font-weight:bold; 
     67} 
     68 
     69.RDData{ 
     70    margin-left:120px; 
     71} 
     72 
     73.RDData UL { 
     74    margin:0; 
     75    padding:0; 
     76    padding-left:15px; 
     77} 
     78 
     79.RDData LI { 
     80    margin:0; 
     81    padding:0px 0px 5px 0; 
     82} 
     83 
     84#theclear{ 
     85    clear:both; 
     86} 
     87 
     88 
     89.disabledP{ 
     90    display:none; 
     91} 
     92 
     93#theDetails{ 
     94    margin-top:15px; 
     95} 
     96 
     97#rightSideDiv{ 
     98    float:right; 
     99    width:300px; 
     100    margin-top:0; 
     101} 
     102 
     103#leftSideDiv{ 
     104    margin-right:308px; 
     105    padding-top:1px; 
     106} 
     107 
     108H2{ 
     109    margin-top:5px; 
     110} 
     111 
     112.RDNames{ 
     113    float:left; 
     114    width:100px; 
     115    text-align:right; 
     116} 
     117 
     118.RDData{ 
     119    margin-left:120px; 
     120} 
     121 
     122#editClient{ 
     123    display:block; 
     124    width:75px; 
     125    float:right; 
     126} 
     127 
     128#endClient{ 
     129    clear:both; 
     130} 
     131 
     132.salesNotesButtons{ 
     133    float:right; 
     134    margin-top:4px; 
     135    width:46px; 
     136    text-align:left; 
     137} 
     138 
     139#salesTable{ 
     140    height:140px; 
     141    overflow:auto; 
     142} 
     143 
     144#notesTable{ 
     145    height:140px; 
     146    overflow:auto; 
     147} 
     148 
     149.recordContainers{ 
     150    clear:both; 
     151} 
     152 
     153.recordCommands{ 
     154        background:url("../image/search-toolbar-back.png") repeat-x; 
     155        height:32px; 
    65156        float:left; 
    66         width:100px; 
    67         text-align:right; 
    68         font-weight:bold; 
    69 } 
    70  
    71 .RDData{ 
    72         margin-left:120px; 
    73 } 
    74  
    75 .RDData UL { 
    76         margin:0; 
    77         padding:0; 
    78         padding-left:15px; 
    79 } 
    80  
    81 .RDData LI { 
    82         margin:0; 
    83         padding:0px 0px 5px 0; 
    84 } 
    85  
    86 #theclear{ 
    87         clear:both; 
    88 } 
    89  
    90  
    91 .disabledP{display:none;} 
    92  
    93 #theDetails{margin-top:15px;} 
    94 #rightSideDiv{float:right;width:300px;margin-top:0;} 
    95 #leftSideDiv{margin-right:308px;padding-top:1px;} 
    96  
    97 H2{margin-top:5px;} 
    98  
    99 .RDNames{float:left; width:100px;text-align:right;} 
    100 .RDData{margin-left:120px;} 
    101  
    102 #editClient{display:block;width:75px;float:right;} 
    103  
    104 #endClient{clear:both;} 
    105  
    106 .salesNotesButtons{ 
    107         float:right; 
    108         margin-top:4px; 
    109         width:46px; 
    110         text-align:left; 
    111 } 
    112  
    113 #salesTable{height:140px;overflow:auto;} 
    114 #notesTable{height:140px;overflow:auto;} 
     157        margin:0;padding:0; 
     158} 
     159 
     160    .recordCommands li{ 
     161        float:left; 
     162        list-style-type:none; 
     163        padding:0; 
     164        margin:0; 
     165        background:url("../image/search-toolbar-itemback.png") no-repeat; 
     166        width:32px; 
     167    } 
     168 
     169        .recordCommands li a{ 
     170            display:block; 
     171            margin:2px 0 0 2px; 
     172            width:26px; 
     173            height:26px; 
     174            background-repeat:no-repeat; 
     175        } 
     176 
     177        .recordCommands a span{ 
     178            display:none; 
     179        } 
     180 
     181    .recordCommands .firstToolbarItem{ 
     182        background-image:url("../image/search-toolbar-firstback.png") 
     183    } 
     184 
     185.newRecord{ 
     186    background-image: url("../image/search-toolbar-new.png") 
     187} 
     188 
     189.editRecord{ 
     190    background-image: url("../image/search-toolbar-edit.png") 
     191} 
     192 
     193.editRecordDisabled{ 
     194    background-image: url("../image/search-toolbar-edit-db.png") 
     195} 
     196 
     197.deleteRecord{ 
     198    background-image: url("../image/search-toolbar-delete.png") 
     199} 
     200 
     201.deleteRecordDisabled{ 
     202    background-image: url("../image/search-toolbar-delete-db.png") 
     203} 
     204 
  • trunk/phpbms/common/stylesheet/mozilla/sizes.css

    r526 r700  
    7474} 
    7575 
    76 .big input, .big button{ 
     76.big input, .big button, .big select{ 
    7777    font-size: 15px; 
    7878} 
  • trunk/phpbms/info.php

    r485 r700  
    151151 
    152152                <li> 
    153                         <h3>fpdf (<a href="http://www.fpdf.org">www.fpdf.org</a>)</h3> 
     153                        <h3>fpdf (<a href="http://www.setasign.de/products/pdf-php-solutions/fpdi/">www.setasign.de</a>)</h3> 
    154154                        <p>A PHP class which allows to generate PDF files with pure PHP</p> 
     155                </li> 
     156 
     157                <li> 
     158                        <h3>FPDI (<a href="http://www.fpdf.org">www.fpdf.org</a>)</h3> 
     159                        <p>Extends FPDF to read pages from an existing PDF document and use them as templates in FPDF</p> 
    155160                </li> 
    156161 
     
    169174                        <p>An easy to use PHP class to read and write CSV data properly.</p> 
    170175                </li> 
     176 
     177                <li> 
     178                        <h3>MailChimp API(<a href="http://mailchip.com/">MailChimp.com</a>)</h3> 
     179                        <p>Email Marketing and Email List Manager</p> 
     180                </li> 
    171181        </ul> 
    172182 
  • trunk/phpbms/modules/bms/javascript/quickview.js

    r617 r700  
    4646 
    4747    var clientid = getObjectFromID("theuuid"); 
     48    var clientrealid = getObjectFromID("theid"); 
    4849    var theURL = addeditfile; 
    4950 
     
    6566 
    6667        case "client": 
    67             theid = clientid.value; 
     68            theid = clientrealid.value; 
    6869            break; 
    6970 
     
    7273    theURL += "?backurl=" + encodeURIComponent(currentURL + "?cid=" + clientid.value) 
    7374 
    74     if(newedit == "edit") 
    75         theURL += "&id="  + encodeURIComponent(theid); 
    76     else 
     75    if(newedit == "edit"){ 
     76 
     77        if(!theid) 
     78            return false; 
     79        else 
     80            theURL += "&id="  + encodeURIComponent(theid); 
     81 
     82    } else 
    7783        theURL += "&cid=" + encodeURIComponent(clientid.value); 
    7884 
    79 //console.log(theURL); 
    80 //return false; 
    8185    document.location = theURL; 
    8286 
     87    return false; 
     88 
    8389}//end function addEditRecord 
    8490 
     91 
    8592function selectEdit(thetr,id,noteinvoice){ 
     93 
    8694        var theeditbutton=getObjectFromID(noteinvoice+"edit"); 
    8795        var theSelected; 
     96 
    8897        if(noteinvoice=="note") 
    8998                theSelected=selectedNote; 
     
    91100                theSelected=selectedInvoice; 
    92101 
    93  
    94102        if(theSelected==id){ 
    95                 theeditbutton.className="graphicButtons buttonEditDisabled"; 
    96                 theeditbutton.disabled = true; 
     103 
     104                theeditbutton.className="editRecordDisabled"; 
    97105                theSelected=""; 
    98106                thetr.className="" 
     107 
    99108        } else { 
    100109                for(var i=0; i<thetr.parentNode.childNodes.length;i++){ 
     
    105114                thetr.className="smallQueryTableSelected"; 
    106115                theSelected=id; 
    107                 theeditbutton.className="graphicButtons buttonEdit"; 
    108                 theeditbutton.disabled = false; 
     116                theeditbutton.className="editRecord"; 
    109117        } 
    110118        if(noteinvoice=="note") 
  • trunk/phpbms/modules/bms/quickview.php

    r617 r700  
    4040        require_once("include/fields.php"); 
    4141 
    42         $pagetitle="Quick View"; 
     42        $pagetitle="Search Clients and Prospects"; 
    4343 
    4444        $phpbms->cssIncludes[] = "pages/quickview.css"; 
     
    7575        <h1><?php echo $pagetitle?></h1> 
    7676 
    77         <div class="fauxDiv"> 
    78  
    79                 <label for="lookupby">search by</label><br /> 
     77        <div class="fauxDiv big"> 
    8078 
    8179                <select id="lookupby"> 
  • trunk/phpbms/modules/bms/quickview_ajax.php

    r617 r700  
    141141                            <fieldset> 
    142142                                    <legend>sales</legend> 
    143                                     <p> 
    144                                             <button type="button" class="graphicButtons buttonNew" onclick="addEditRecord('new','invoice','<?php echo getAddEditFile($this->db, "tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883","add")?>')"><span>new</span></button> 
    145                                             <button id="invoiceedit" type="button" disabled="disabled" class="graphicButtons buttonEditDisabled" onclick="addEditRecord('edit','invoice','<?php echo $invoiceEditFile?>')"><span>edit</span></button> 
    146                                     </p> 
    147                                     <div class="fauxP"> 
     143                                    <ul class="recordCommands"> 
     144                                        <li class="firstToolbarItem"><a href="#" class="newRecord" onclick="addEditRecord('new','invoice','<?php echo getAddEditFile($this->db, "tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883","add")?>')" title="new sales order"><span>new</span></a></li> 
     145                                        <li><a href="#" id="invoiceedit" class="editRecordDisabled" onclick="addEditRecord('edit','invoice','<?php echo $invoiceEditFile?>')" title="edit"><span>edit</span></a></li> 
     146                                    </ul> 
     147                                    <div class="recordContainers"> 
    148148                                    <div id="salesTable" class="smallQueryTableHolder"> 
    149149                                            <?php if(!count($clientInfo["invoices"])) {?> 
     
    175175                                    <legend>notes</legend> 
    176176 
    177                                     <div class="fauxP"> 
    178                                     <p> 
    179                                             <button type="button" class="graphicButtons buttonNew" onclick="addEditRecord('new','note','<?php echo getAddEditFile($this->db, "tbld:a4cdd991-cf0a-916f-1240-49428ea1bdd1","add")?>')"><span>new</span></button> 
    180                                             <button id="noteedit" type="button" class="graphicButtons buttonEditDisabled" disabled="disabled" onclick="addEditRecord('edit','note','<?php echo $noteEditFile?>')"><span>edit</span></button> 
    181                                     </p> 
     177 
     178                                    <ul class="recordCommands"> 
     179                                        <li class="firstToolbarItem"><a href="#" title="new note" class="newRecord" onclick="addEditRecord('new','note','<?php echo getAddEditFile($this->db, "tbld:a4cdd991-cf0a-916f-1240-49428ea1bdd1","add")?>')"><span>new</span></a></li> 
     180                                        <li><a href="#" title="edit" id="noteedit" class="editRecordDisabled" onclick="addEditRecord('edit','note','<?php echo $noteEditFile?>')"><span>edit</span></a></li> 
     181                                    </ul> 
     182                                    <div class="recordContainers"> 
     183 
    182184                                    <div id="notesTable"  class="smallQueryTableHolder"> 
    183185                                            <?php if(!count($clientInfo["notes"])) {?> 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.