Umfragen
edit.schedule.php
Go to the documentation of this file.
1 <?php
2 /*
3  * edit.matrix.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 
25 
26 echo "<form action='edit.handle.php' method='POST'>";
27 
28 echo "<h2 style='margin-left:-1em'>Terminvorschläge</h2>";
29 $widget->display_date_list_edit( $poll->type );
30 echo "<p><span style='color:#E25C57'>* </span> Diese Felder sind Optional</p>";
31 
32 echo "<h2 style='margin-left:-1em'>Sonstige Einstellungen</h2>";
33 $widget->display_other_participants_edit();
34 echo "<br/>";
35 $widget->display_participation_statistics_edit();
36 echo "<br/><br/>";
37 $widget->display_username_edit();
38 echo "<br/>";
39 
40 if( $poll->type == POLLTYPE_ADVANCED ){
41  echo "<br/>";
42  echo "<p style='margin-bottom:.5em;'>Hier können die Antworten festgelegt werden. Dieser Wert steht in der Auswahlbox beim Beantworten und in der Datenbank nach dem Beantworten der Umfrage.</p>";
43  $widget->display_value_edit();
44  echo "<br/>";
45 }
46 
47 echo "<div class='form_save_container'>";
48 echo "<input type='hidden' name='pollID' value='{$widget->pollID}'/>";
49 echo "<input type='hidden' name='wID' value='{$widget->ID}'/>";
50 echo "
51  <input type='submit' name='save' value='Speichern'/> &nbsp;
52  <input type='submit' name='apply' value='Übernehmen'/>";
53 
54 echo "</div>";
55 echo "</form>";
56 
57 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>";
58 
59 
60 ?>
61