Umfragen
edit.textExt.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'>Vorschau</h2>";
29 $widget->display();
30 
31 echo "<h2 style='margin-left:-1em'>Einstellungen</h2>";
32 echo "<div style='margin-bottom:.3em'>";
33 $widget->display_add_widget_edit();
34 echo "</div>";
35 
36 $widget->display_widget_list_edit($poll->type);
37 
38 echo "<p>Breiten- und Abstandsangaben werden in <i>anzahl an Zeichen</i> der aktuellen Schriftgröße angegeben.
39 Kommazahlen sind möglich, müssen aber einen Punkt (.) als Trennung haben (ZB. 1.5).
40 <br/> Breite <i>automatisch</i> auswählen: -1<br/>
41 Die angabe \"Rechts\" gieb an ab welchem Element die folgenden Elemente Rechtsbündig angezeigt werden.</p>";
42 
43 
44 echo "<div class='form_save_container'>";
45 echo "<input type='hidden' name='pollID' value='{$widget->pollID}'/>";
46 echo "<input type='hidden' name='wID' value='{$widget->ID}'/>";
47 echo "
48  <input type='submit' name='save' value='Speichern'/> &nbsp;
49  <input type='submit' name='apply' value='Übernehmen'/>";
50 
51 echo "</div>";
52 echo "</form>";
53 
54 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>";
55 
56 
57 echo "<div style='font-style:italic;color:#A6C7EC;margin-top:2em;margin-left:1em'>Bemerkung:</div>";
58 echo "<div style='border:1px solid #A6C7EC;padding:5px;background-color:#FAFAFA;border-radius:1em;font-size:0.8em'>";
59 echo "<p style=''>Folgende html befehle sind in der Textausgabe erlaubt:</p>";
60 echo "<p style='margin-top:-0.8em;margin-left:1em'>abbr, acronym, b, em, i, strike, strong, span, a, img.<br/>
61 Die attribute style und title werden von allen erlaubten Tags erlaubt</p>";
62 echo "<p>Folgende css befehle sind in der Textausgabe erlaubt:</p>";
63 echo "<p style='margin-top:-0.8em;margin-left:1em'>text-decoration, text-align, font-family, font-size, padding, margin, border, border-collapse, border-color, border-style, color, background-color, border-radius, box-shadow</p>";
64 echo "</div>";
65 
66 ?>
67