<?php BigTree::globalizePOSTVars(); $admin->updateModuleEmbedForm(end($bigtree["path"]), $title, $table, $fields, $hooks, $default_position, $default_pending, $css, $redirect_url, $thank_you_message); $admin->growl("Developer", "Updated Embeddable Form"); $form = BigTreeAutoModule::getEmbedForm(end($bigtree["path"])); BigTree::redirect(DEVELOPER_ROOT . "modules/edit/" . $form["module"] . "/");
<?php $form = BigTreeAutoModule::getEmbedForm(end($bigtree["commands"])); BigTree::globalizeArray($form); $module = $admin->getModule($module); if (!BigTree::tableExists($table)) { ?> <div class="container"> <section> <div class="alert"> <span></span> <h3>Error</h3> </div> <p>The table for this form (<?php echo $table; ?> ) no longer exists.</p> </section> <footer> <a href="javascript:history.go(-1);" class="button">Back</a> <a href="<?php echo DEVELOPER_ROOT; ?> modules/embeds/delete/<?php echo $form["id"]; ?> /?module=<?php echo $module["id"]; ?> " class="button red">Delete Form</a> </footer>