Umfragen
edit.label.php
Go to the documentation of this file.
1 <?php
2 /*
3  * edit.label.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 
27 echo "<h2>Einstellungen</h2>";
28 echo "<form action='edit.handle.php' method='POST'>";
29 
30  //echo "<p>Der sichtbare Name (folgendes Feld) ist nur zur eigenen Orientierung als Ersteller einer Umfrage. Er wird nirgens angezeigt, auch nicht als Titel.</p>";
31  //$widget->display_dispName_edit();
32 
33  echo "<hr style='width:80%;margin-top:1em;margin-bottom:2em'/>";
34 
35  echo "<p>
36  Der folgende Text wird als Textparagraph erscheinen.
37  Ideal für Fragestellungen, Erklärungen und Informationen.
38  </p>";
39 
40 
41  echo "<div style='margin-left:-30px'>";
42  $widget->display_label_edit();
43  echo "</div>";
44 
45  echo "<br/><br/>";
46  echo "<p>Es ist möglich Text auf eine andere Seite auszulagern. Dazu muss ein Textobjekt (s.u.) angelegt werden und dieses über einen Link in den Text eingebaut werden.</p>";
47  $widget->display_widget_list_edit();
48 
49  echo "<div class='form_save_container'>";
50  echo "<input type='hidden' name='pollID' value='{$widget->pollID}'/>
51  <input type='hidden' name='wID' value='{$widget->ID}'/>
52  <input type='submit' name='save' value='Speichern'/>
53  <input style='margin-left:1em' type='submit' name='apply' value='Übernehmen'/>
54  <!--<p style='margin-top:.4em'> oder <a href='edit.php?pollID={$widget->pollID}'>zurück</a> Ohne zu speichern!</p>-->";
55  echo "</div>";
56 echo "</form>";
57 
58 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>";
59 
60 ?>