ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
migrate-sigs-form.php File Reference

Go to the source code of this file.

Functions

 phorum_htmlpurifier_show_migrate_sigs_form ()
 

Function Documentation

◆ phorum_htmlpurifier_show_migrate_sigs_form()

phorum_htmlpurifier_show_migrate_sigs_form ( )

Definition at line 3 of file migrate-sigs-form.php.

4 {
5  $frm = new PhorumInputForm ('', "post", "Migrate");
6  $frm->hidden("module", "modsettings");
7  $frm->hidden("mod", "htmlpurifier");
8  $frm->hidden("migrate-sigs", "1");
9  $frm->addbreak("Migrate user signatures to HTML");
10  $frm->addMessage('This operation will migrate your users signatures
11  to HTML. <strong>This process is irreversible and must only be performed once.</strong>
12  Type in yes in the confirmation field to migrate.');
13  if (!file_exists(dirname(__FILE__) . '/../migrate.php')) {
14  $frm->addMessage('Migration file does not exist, cannot migrate signatures.
15  Please check <tt>migrate.bbcode.php</tt> on how to create an appropriate file.');
16  } else {
17  $frm->addrow('Confirm:', $frm->text_box("confirmation", ""));
18  }
19  $frm->show();
20 }