Leider bin ich nicht so gut darin, daher habe ich eine Frage.
Im Imput habe ich zwei eingabe Felder, leider bleiben die Daten dort nicht gespeichert.
Hat jemand einen Tipp ?
Input
Code: Alles auswählen
?><?php
$this->Saison = "CMS_VALUE[1]";
#Headline
echo '<table>
<tr><td class="text_medium" style="padding:5px;">'.mi18n("Saison").': </td>
<td style="padding:5px;"><input type="text" name="CMS_VAR[1]"></td></tr>
<tr><td class="text_medium" style="padding:5px;">'.mi18n("Wettbewerb").': </td>
<td style="padding:5px;"><input type="text" name="CMS_VAR[2]"></td></tr>';
echo '</table>';
?><?php
Code: Alles auswählen
<?php
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
$tpl->reset();
$saison = "CMS_VALUE[1]";
$wettbewerb = "CMS_VALUE[2]";
$tpl->set('s', 'SAISON', $saison);
$tpl->set('s', 'WETTBEWERB', $wettbewerb);
$tpl->generate('templates/fussball_de.html');
?>