Fußball
Verfasst: Di 28. Apr 2015, 20:18
Hallo,
kann mir jemand helfen?
Ich habe hier ein Modul aus der Version 4.8, leider weiß ich nicht wie ich es für 4.9 anpassen kann.
Input
Output
Vielen Dank
kann mir jemand helfen?
Ich habe hier ein Modul aus der Version 4.8, leider weiß ich nicht wie ich es für 4.9 anpassen kann.
Input
Code: Alles auswählen
?><?php
/**
* $RCSfile$
*
* Description: Newslist / ArticleList. Module "Input".
*
* @version 1.0.0
* @author Andreas Lindner
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2005-08-12
* }}
*
* $Id$
*/
#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]" . '" value="' . "CMS_VALUE[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]" . '" value="' . "CMS_VALUE[2]" . '"></td></tr>';
echo '</table>';
?><?php
Code: Alles auswählen
<?php
/**
* $RCSfile$
*
* Description: Newslist / ArticleList. Module "Output".
*
* @version 1.1.0
* @author Andreas Lindner
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2005-08-12
* modified 2009-01-16 Rudi Bieller Added new Contenido_Url for creating URLs
* }}
*
* $Id$
*/
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');
?>