ich trage ein:
"Name:"
Code: Alles auswählen
Bild (5) mit verlinktem Linktext
Code: Alles auswählen
Bild mit Linktext
Code: Alles auswählen
Code: Alles auswählen
<?php
if (\"CMS_IMG[5]\" != \"\") {
$img = \'<img src=\"CMS_IMG[5]\" border=\"0\">\';
if (\"CMS_LINK[5]\" != \"http://\") {
$img = sprintf(\'<a href=\"%s\"
target=\"%s\">%s</a>\',\"CMS_LINK[5]\", \"CMS_LINKTARGET[5]\", $img);
$txtli = sprintf(\'<a href=\"%s\"
target=\"%s\">%s</a>\',\"CMS_LINK[5]\", \"CMS_LINKTARGET[5]\",
\"CMS_LINKDESCR[5]\");
}
echo $img;
}
echo \"<br>\";
echo \"CMS_IMGDESCR[5]\";
echo \"<br>\";
echo $txtli;
echo \"<br>\";
?>
Im "Contenido Error Log" steht dann:
Code: Alles auswählen
[18-Mai-2004 16:16:06] Invalid SQL: INSERT INTO DJW_Contenido__mod (idmod,name, description, deletable, input, output, template, idclient, author, created, lastmodified) VALUES ('27','Bild (5) mit verlinktem Linktext', 'Das Standard-Bildmodul mit verlinktem Linkbeschreibungstext
', '1', '', '/***********************************************
* CONTENIDO MODUL - OUTPUT
*
* Modulname : Bild (5) mit verlinktem Linktext
* Author : modified by J. Matern
* Copyright : Contenido - four for business
* Created : 04-07-2003
* Modified :
************************************************/
<?php
if (\"CMS_IMG[5]\" != \"\") {
$img = \'<img src=\"CMS_IMG[5]\" border=\"0\">\';
if (\"CMS_LINK[5]\" != \"http://\") {
$img = sprintf(\'<a href=\"%s\"
target=\"%s\">%s</a>\',\"CMS_LINK[5]\", \"CMS_LINKTARGET[5]\", $img);
$txtli = sprintf(\'<a href=\"%s\"
target=\"%s\">%s</a>\',\"CMS_LINK[5]\", \"CMS_LINKTARGET[5]\",
\"CMS_LINKDESCR[5]\");
}
echo $img;
}
echo \"<br>\";
echo \"CMS_IMGDESCR[5]\";
echo \"<br>\";
echo $txtli;
echo \"<br>\";
?>
', '', '6', 'sysadmin', '2004-05-18 16:16:06', '2004-05-18 16:16:06')<br><br>
Contenido Version 4.4.3
Habe das auch schon mit anderen Modulen probiert - ging auch nicht[/b]