phpBMS

Show
Ignore:
Timestamp:
05/05/09 12:26:06 (3 years ago)
Author:
nate
Message:
  • removed widget's default import
  • For new tabledefs, the import command is disabled by default
  • Products should now use the general import page.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/base/general_import.php

    r485 r515  
    9191        $pageTitle = ($therecord["title"])?$therecord["title"]:"General Table Import"; 
    9292 
    93         // Next, we set up to include any 
    94         // additional css or javascript files we will be using 
    95         //  This does nto include any field-type specific js (like datepicker) 
    96         // as they are automatically icluded when you define the special fields you 
    97         // will be using below. 
    9893        $phpbms->cssIncludes[] = "pages/imports.css"; 
    9994        //$phpbms->jsIncludes[] = "modules/[modulename]/javascript/[tablename].js"; 
    10095 
    101         // if you need to define a body onlload function, do so with the phpbms property 
    102  
    103         //              $phpbms->onload[] = "initializePage()"; 
    104  
    105  
    106         // Next we need to define any special fields that will be used in the form 
    107         // A list of field objects (with documentation)is available in the /include/fields.php 
    108         // file. 
    109  
    110         // We need to define them here in the head 
    111         // so that any necessay javascript is loaded appropriately. 
    11296 
    11397                //Form Elements 
     
    117101                $theform = new importForm(); 
    118102                $theform->enctype = "multipart/form-data"; 
    119                 //if you need to set specific form vaiables (like enctype, or extra onsubmit 
    120                 // you can set those form properties here. 
    121  
    122103 
    123104                // lastly, use the jsMerge method to create the final Javascript formatting 
     
    153134                                </p> 
    154135 
     136 
    155137                                <div id="info0" class="info"> 
    156138                                        <p> 
     
    172154                                                (e.g. use English, US style dates if that is what the bms is configured to). 
    173155                                        </p> 
     156 
    174157                                </div> 
    175158                        </div> 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.