HTMLPurifier 4.4.0
|
00001 <?php 00002 00003 function phorum_htmlpurifier_show_migrate_sigs_form() { 00004 00005 $frm = new PhorumInputForm ('', "post", "Migrate"); 00006 $frm->hidden("module", "modsettings"); 00007 $frm->hidden("mod", "htmlpurifier"); 00008 $frm->hidden("migrate-sigs", "1"); 00009 $frm->addbreak("Migrate user signatures to HTML"); 00010 $frm->addMessage('This operation will migrate your users signatures 00011 to HTML. <strong>This process is irreversible and must only be performed once.</strong> 00012 Type in yes in the confirmation field to migrate.'); 00013 if (!file_exists(dirname(__FILE__) . '/../migrate.php')) { 00014 $frm->addMessage('Migration file does not exist, cannot migrate signatures. 00015 Please check <tt>migrate.bbcode.php</tt> on how to create an appropriate file.'); 00016 } else { 00017 $frm->addrow('Confirm:', $frm->text_box("confirmation", "")); 00018 } 00019 $frm->show(); 00020 } 00021 00022 // vim: et sw=4 sts=4