alternativtext beim bildmodul
Verfasst: Mi 26. Jul 2006, 09:00
wie gebe ich den einen alternativtext für bilder an, die ich über das Standart Bildmodul einfüge?
danke
danke
Das Diskussionsforum zum Open Source Content Management System
https://www.forum.contenido.org/
Code: Alles auswählen
<?php
if ("CMS_IMG[2]" != "") {
$img = '<img src="CMS_IMG[2]" border="0">';
if ("CMS_LINK[2]" != "http://") {
$img = sprintf('<a href="%s" target="%s">%s</a>',"CMS_LINK[2]", "CMS_LINKTARGET[2]", $img);
}
echo $img;
}
echo "CMS_IMGDESCR[2]";
echo "CMS_LINKDESCR[2]";
?>