Form new Form module profiles section notepad POST Language name input

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
$Form = new Form("?module=profiles&section=notepad", "POST", $Language[7], "", "", " name=\"inputform\"", FALSE);
$Form->AddCustomCode(GetButtons());
$Form->AddField("text", "title", 30, null, $Item['title'], "<b>".$Language[8]." : </b><br>");
$Form->AddCustomCode("<br><br>");
$Form->AddTextarea("text", 10, 50, "", '', $Item['text'], " style=\"width: 100%;\"");
$Form->AddCustomCode("<br><br>");
$Form->AddCustomCode(SubmitButton("images/modules/files.png", $Language[7]));
$Form->AddCustomCode(GetButtons(2));
$Form->AddField("hidden", "id", null, null, SecureQuery($_GET['id']));
$Form->Display();