Skip to content

Commit

Permalink
adds html5 form fallback if unimplemented in browser; also fixes seve…
Browse files Browse the repository at this point in the history
…ral forms controls issues, pattern param now saved/recalled correctly, adds option to change control type in edit. [#885]
  • Loading branch information
dleffler committed Apr 9, 2013
1 parent 02299ab commit 9d36917
Show file tree
Hide file tree
Showing 24 changed files with 4,382 additions and 101 deletions.
13 changes: 0 additions & 13 deletions exponent_php_setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
BASE.'framework/core/models',
BASE.'framework/core/forms',
BASE.'framework/core/forms/controls',
// BASE.'framework/core/models-1', // old 1.0 datatypes
BASE.'framework/modules/ecommerce/billingcalculators',
BASE.'framework/modules/ecommerce/shippingcalculators',
BASE.'framework/modules/ecommerce/products/controllers', //FIXME does NOT exist
Expand Down Expand Up @@ -114,18 +113,6 @@ function expLoadClasses($class) {
}
}
}

// autoload the old school modules instead of using exponent_modules_initialize()
// if (is_readable(BASE.'framework/modules-1')) {
// $dh = opendir(BASE.'framework/modules-1');
// while (($file = readdir($dh)) !== false) {
// if ($file == $class && is_dir(BASE.'framework/modules-1/'.$file) && is_readable(BASE.'framework/modules-1/'.$file.'/class.php')) {
// include_once(BASE.'framework/modules-1/'.$file.'/class.php');
// return;
// }
// }
// }

}

spl_autoload_register('expLoadClasses');
Expand Down
Loading

0 comments on commit 9d36917

Please sign in to comment.