From 0d342f0aee3f2f800e486c0051dabe718a7b2841 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 23 Mar 2011 11:14:27 +0100 Subject: I don't like nxhtml --- emacs.d/nxhtml/tests/in/bug-290364.php | 66 ---------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 emacs.d/nxhtml/tests/in/bug-290364.php (limited to 'emacs.d/nxhtml/tests/in/bug-290364.php') diff --git a/emacs.d/nxhtml/tests/in/bug-290364.php b/emacs.d/nxhtml/tests/in/bug-290364.php deleted file mode 100644 index 190b230..0000000 --- a/emacs.d/nxhtml/tests/in/bug-290364.php +++ /dev/null @@ -1,66 +0,0 @@ -'; -echo ''; -echo ''; - - - -echo ' Test image'; - -echo ' '; - -echo '

Cropper votre image v0.1

'; - -$label = 'file_default'; - -$form = new HTML_QuickForm ('cropper_form', "", "img-cropped.php", '', 'enctype=multipart/form-data'); - -$form->addElement ('file', 'file_0', $label); -$form->addElement ('hidden', 'hidden_0'); -$form->addElement ('button', 'button_0'); -$form->updateElementAttr(array('button_0'), array ('id' => 'button_0')); -$form->addElement ('submit', 'submit_0', 'Envoyer!'); -$form->updateElementAttr(array('file_0'), array ('id' => 'file_0')); -$form->updateElementAttr(array('hidden_0'), array ('id' => 'hidden_0')); -echo $form->toHtml (); - -if (isset ($_POST['file_0'])): -$image = $_POST['file_0']; -tmpfile ($image); -echo $_POST['file_0']; -endif; -echo sys_get_temp_dir (); -var_dump ($_POST); -?> \ No newline at end of file -- cgit v1.2.3-54-g00ecf