Umfragen
edit.longtext.php
Go to the documentation of this file.
1 <?php
2 /*
3  * edit.longtext.php
4  *
5  * Copyright 2012 Johannes <jojo@jojo-42>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20  * MA 02110-1301, USA.
21  *
22  *
23  */
24 echo "<form action='edit.handle.php' method='POST'>";
25 
26 echo "<p>Einstellungen des langen Textfeldes. Mit einem langen Textfeld kann einen belibig langen Text abfragen.</p>";
27 $widget->display_dispName_edit();
28 echo "<br/>";
29 if( $poll->type == POLLTYPE_ADVANCED ){
30  $widget->display_name_edit();
31  echo "<br/>";
32 }
33 $widget->display_required_edit();
34 echo "<br/>";
35 
36 echo "<div class='form_save_container'>";
37 echo "<input type='hidden' name='pollID' value='{$widget->pollID}'/>";
38 echo "<input type='hidden' name='wID' value='{$widget->ID}'/>";
39 echo "
40  <input type='submit' name='save' value='Speichern'/> &nbsp;
41  <input type='submit' name='apply' value='Übernehmen'/>";
42 
43 echo "</div>";
44 
45 echo "</form>";
46 echo "<div class='export_widget_box'>Frage <a href='action.widget.php?pollID={$poll->ID}&amp;widgetID={$widget->ID}&amp;action=export_XML_widget'>exportieren</a></div>";
47 
48 ?>