Commit da36662d authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Use pieforms in admin plugin config

parent 0f4d98d2
......@@ -27,7 +27,7 @@
define('INTERNAL', 1);
define('ADMIN', 1);
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
require_once('form.php');
require_once('pieforms/pieform.php');
$plugintype = param_alpha('plugintype');
$pluginname = param_alpha('pluginname');
......@@ -71,7 +71,7 @@ $form['elements']['type'] = array(
);
$smarty = smarty();
$smarty->assign('form', form($form));
$smarty->assign('form', pieform($form));
$smarty->assign('plugintype', $plugintype);
$smarty->assign('pluginname', $pluginname);
$smarty->assign('type', $type);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment