Changeset 515 for trunk/phpbms/modules/base/general_import.php
- Timestamp:
- 05/05/09 12:26:06 (3 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/base/general_import.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/base/general_import.php
r485 r515 91 91 $pageTitle = ($therecord["title"])?$therecord["title"]:"General Table Import"; 92 92 93 // Next, we set up to include any94 // additional css or javascript files we will be using95 // This does nto include any field-type specific js (like datepicker)96 // as they are automatically icluded when you define the special fields you97 // will be using below.98 93 $phpbms->cssIncludes[] = "pages/imports.css"; 99 94 //$phpbms->jsIncludes[] = "modules/[modulename]/javascript/[tablename].js"; 100 95 101 // if you need to define a body onlload function, do so with the phpbms property102 103 // $phpbms->onload[] = "initializePage()";104 105 106 // Next we need to define any special fields that will be used in the form107 // A list of field objects (with documentation)is available in the /include/fields.php108 // file.109 110 // We need to define them here in the head111 // so that any necessay javascript is loaded appropriately.112 96 113 97 //Form Elements … … 117 101 $theform = new importForm(); 118 102 $theform->enctype = "multipart/form-data"; 119 //if you need to set specific form vaiables (like enctype, or extra onsubmit120 // you can set those form properties here.121 122 103 123 104 // lastly, use the jsMerge method to create the final Javascript formatting … … 153 134 </p> 154 135 136 155 137 <div id="info0" class="info"> 156 138 <p> … … 172 154 (e.g. use English, US style dates if that is what the bms is configured to). 173 155 </p> 156 174 157 </div> 175 158 </div>