Code: Alles auswählen
<?php
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
if ("CMS_IMG[1]" != "") {
$img = '<img src="CMS_IMG[1]" border="0" alt="CMS_IMGTITLE[1]" width="730" height="90">';
}
$tpl->reset();
$tpl->set('s', 'IMAGE', $img);
$tpl->generate('templates/horizontales_bild.html');
echo "CMS_IMGEDIT[1]";
?>
Wie bekomme ich es hin, dass im Adminbereich dort ein Bild wählbar ist, aber auf der Ausgabeseite der Bildwahlbutton (CMS_IMGEDIT) keine Ausgabe erzeugt? (Also die 1 verschwindet.