phpBMS

Changeset 485 for trunk/phpbms/common

Show
Ignore:
Timestamp:
04/07/09 11:44:18 (3 years ago)
Author:
nate
Message:
  • Merged Nathan branch back into trunk.
Location:
trunk/phpbms/common
Files:
1 removed
5 modified
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/common/javascript/fields.js

    r285 r485  
    4141        var thereturn=true; 
    4242        var errorMessage=""; 
    43                          
     43 
    4444        //skip validation if cancel 
    4545        if (theform["cancelclick"]){ 
     
    5656                        break; 
    5757                } 
    58         }        
    59                  
     58        } 
     59 
    6060        //validate required fields first 
    6161        for(i=0;i<requiredArray.length;i++){ 
     
    101101                } 
    102102        } 
    103          
     103 
    104104        //next phone numbers 
    105105        for(i=0;i<phoneArray.length;i++){ 
     
    133133        } 
    134134        return thereturn; 
    135          
     135 
    136136} 
    137137 
     
    209209function validateCurrency(theitem){ 
    210210        theitem.value=numberToCurrency(currencyToNumber(theitem.value)); 
    211          
     211 
    212212        //in case the field has an additional onchange code to be run 
    213213        if (theitem.thechange) theitem.thechange(); 
     
    227227                if (thenumber.charAt(i)!="%" && thenumber.charAt(i)!="+" && thenumber.charAt(i)!=",") markupnumber+=thenumber.charAt(i); 
    228228        } 
    229          
     229 
    230230        //get rid of trailing zeros and possibly "." 
    231231        while(markupnumber.charAt(markupnumber.length-1)=="0" && markupnumber.indexOf(".")!=-1) markupnumber=markupnumber.substring(0,markupnumber.length-1); 
     
    238238 
    239239function checkUnique(tabledefid,column,checkvalue,excludeid){ 
    240          
     240 
    241241        var theurl=APP_PATH+"checkunique.php?tdid="+parseInt(tabledefid); 
    242242        theurl=theurl+"&c="+encodeURIComponent(column); 
     
    246246 
    247247        loadXMLDoc(theurl,null,false); 
    248          
     248 
    249249        response = req.responseXML.documentElement; 
    250250        thevalue = response.getElementsByTagName('isunique')[0].firstChild.data; 
    251          
     251 
    252252        if(thevalue==1) return true; else return false; 
    253253} 
  • trunk/phpbms/common/stylesheet/mozilla/menu.css

    r442 r485  
    124124 
    125125/* ------ Help Page  ---- */ 
    126 #helpBox{height:420px; overflow:auto; background:white} 
    127 #helpBox h1{margin-top:20px;} 
    128 #helpClose{width:70px} 
     126#helpBox{background:white} 
     127#helpClose{ 
     128        padding-left: 15px; 
     129        padding-right: 15px; 
     130} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/info.css

    r204 r485  
    11/* $Rev$ | $LastChangedBy$ */ 
    22/* $LastChangedDate$ */ 
    3 #container{width:740px; margin:10px auto} 
     3#container{ 
     4        width:740px; margin:10px auto 
     5} 
     6 
    47#phpBMSLogo{ 
    5         float:right; 
    6         background:white url(../../../image/logo-large.png) 10px 10px no-repeat; 
    7         padding:77px 10px 10px 10px; 
    8         margin-right:20px; 
    9         width:250px; 
    10         text-align:right; 
     8        float: right; 
     9        background: white url("../../../image/logo-large.png") 10px 10px no-repeat; 
     10        padding: 77px 10px 10px 10px; 
     11        width: 250px; 
     12        text-align: right; 
    1113} 
    12 #companyInfo{margin-right:190px;} 
    13 #loginButton{width:100px;} 
     14 
     15#companyInfo{ 
     16        margin-right:260px; 
     17} 
     18 
     19#loginButton{ 
     20        padding-right: 15px; 
     21        padding-left: 15px; 
     22} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/login.css

    r285 r485  
    22/* $LastChangedDate$ */ 
    33 
    4 .bodyline{display:block;padding:5px;width:300px; margin: 0 auto;} 
     4.bodyline{ 
     5        display: block; 
     6        padding: 5px; 
     7        width: 22em; 
     8        margin: 0 auto; 
     9} 
     10 
     11label{ 
     12        line-height: 1.5em; 
     13} 
     14 
    515#loginbox{ 
    616        margin:100px auto 50px; 
    717} 
    818 
    9 #loginbox h1{font-size:21px;font-weight:bold;background-position:6px 6px;padding-left:28px;color:#455372;} 
     19        #loginbox h1{ 
     20                font-size: 21px; 
     21                font-weight: bold; 
     22                background-position: 6px 6px; 
     23                padding-left: 28px; 
     24                color:#455372; 
     25        } 
    1026 
    11 #moreinfoButtonP{text-align:left;padding-bottom:5px;} 
     27        #loginbox .box{ 
     28                margin:10px 8px 10px; 
     29                border-style: none; 
     30                background-color: white; 
     31                text-align: center; 
     32        } 
    1233 
    13 #moreinfo{padding:0;} 
    14 #moreingo p{padding:2px;} 
    15 #moreinfo h2{margin:0;padding:5px;background:none;height:22px;} 
    16 #moreinfo h2 a{display:block;width:85px;height:22px;background:url(../../../image/logo.png);} 
    17 #moreinfo h3{text-align:left;padding:2px 5px 10px;margin:0;border:0;font-weight:normal;font-size:9px; border:0;} 
     34        #loginbox form{ 
     35                padding:10px 5px 0; 
     36                margin:0; 
     37        } 
    1838 
    19 #buttonP{padding-right:18px;text-align:right;} 
    20 #buttonP button{padding-left:15px;padding-right:15px;} 
    21  
    22 #loginbox .box{ 
    23         margin:10px 8px 10px; 
    24         border-style:none; 
    25         background-color:white; 
    26         text-align:center; 
     39#moreinfoButtonP{ 
     40        float: left; 
     41        text-align:left; 
     42        padding-top: 6px; 
    2743} 
    2844 
    29 #loginbox form{padding:10px 5px 0;margin:0;} 
     45#moreinfo{ 
     46        padding:0; 
     47} 
    3048 
    31 #username,#password{width:98%;} 
    32 #command{width:75px;} 
     49        #moreinfo p{ 
     50                padding:2px; 
     51        } 
    3352 
    34 #failed{text-align:center;margin-top:5px;} 
     53        #moreinfo h2{ 
     54                margin: 0; 
     55                padding: 5px; 
     56                background: none; 
     57                height: 22px; 
     58        } 
     59 
     60                #moreinfo h2 a{ 
     61                        display: block; 
     62                        width: 85px; 
     63                        height: 22px; 
     64                        background: url("../../../image/logo.png"); 
     65                } 
     66 
     67        #moreinfo h3{ 
     68                text-align: left; 
     69                padding: 2px 5px 10px; 
     70                margin: 0; 
     71                border: 0; 
     72                font-weight: normal; 
     73                font-size: 9px; 
     74                border: 0; 
     75        } 
     76 
     77#buttonP{ 
     78        text-align:right; 
     79} 
     80 
     81        #buttonP button{ 
     82                padding-left: 15px; 
     83                padding-right: 15px; 
     84                font-size: 13px; 
     85        } 
    3586 
    3687 
    3788 
    38 #demobox{ margin:0 auto;} 
    39 #demobox h2{margin-top:0;} 
    40 #demobox dt{font-weight:bold; padding:2px 10px;} 
    41 #demobox dd{padding-bottom:10px;} 
     89#username, #password{ 
     90        width:99%; 
     91        font-size: 15px; 
     92} 
     93 
     94#command{ 
     95        width:75px; 
     96} 
     97 
     98#failed{ 
     99        text-align: center; 
     100        margin-top: 5px; 
     101} 
     102 
     103 
     104#demobox{ 
     105        margin: 0 auto; 
     106} 
     107 
     108        #demobox h2{ 
     109                margin-top:0; 
     110        } 
     111 
     112        #demobox dt{ 
     113                font-weight:bold; 
     114                padding:2px 10px; 
     115        } 
     116 
     117        #demobox dd{ 
     118                padding-bottom: 10px; 
     119        } 
  • trunk/phpbms/common/stylesheet/mozilla/pages/requirements.css

    r204 r485  
    11/* $Rev$ | $LastChangedBy$ */ 
    22/* $LastChangedDate$ */ 
    3 #container{width:740px; margin:10px auto;} 
    4 #cba{margin-top:45px;} 
    5 #logo{ 
    6         float:right;background:white url(../../../image/logo-large.png) 8px 12px no-repeat; 
    7         width:260px;height:67px; 
     3#container{ 
     4        width:740px; 
     5        margin:10px auto; 
    86} 
    9 #logo span{display:none;} 
    10 #browserTable{margin:20px;} 
    11 #loginButton{width:100px;} 
     7 
     8#browserTable{ 
     9        width: 100% 
     10} 
     11 
     12#loginButton{ 
     13        padding-left: 10px; 
     14        padding-right: 10px; 
     15} 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.