hidden("module", "modsettings"); $frm->hidden("mod", "htmlpurifier"); $frm->hidden("migrate-sigs", "1"); $frm->addbreak("Migrate user signatures to HTML"); $frm->addMessage('This operation will migrate your users signatures to HTML. This process is irreversible and must only be performed once. Type in yes in the confirmation field to migrate.'); if (!file_exists(dirname(__FILE__) . '/../migrate.php')) { $frm->addMessage('Migration file does not exist, cannot migrate signatures. Please check migrate.bbcode.php on how to create an appropriate file.'); } else { $frm->addrow('Confirm:', $frm->text_box("confirmation", "")); } $frm->show(); }