1
Ich kann die Fehler irgendwie nich beheben!
Ich such schon Stunden lang in google!
Ich habe in einem Forum gelesen, dass man das form element immer über das table machen muss! So jetzt habe ich dies gemacht und jetzt kommen folgende Fehlermeldungen!
was soll diese fehlermeldung document type does not allow element "input" here.??
Kann mir noch jemand an Hand des Auschnitt aus dem Quellcode die Fehler erklären/beheben?
Ich such schon Stunden lang in google!
Ich habe in einem Forum gelesen, dass man das form element immer über das table machen muss! So jetzt habe ich dies gemacht und jetzt kommen folgende Fehlermeldungen!
was soll diese fehlermeldung document type does not allow element "input" here.??
Kann mir noch jemand an Hand des Auschnitt aus dem Quellcode die Fehler erklären/beheben?
Error Line 120 column 1727: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
...r='0' cellspacing='1' cellpadding='4'><tr><td class='sectiontableheader'>Comm
Error Line 121 column 4119: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag.
...ndex.php' target='_top' method='post'><table align='center' width='100%' cell
Error Line 121 column 4327: document type does not allow element "input" here.
...ame='option' value='com_akocomment' /><input type='hidden' name='acitemid' va
Error Line 121 column 4376: document type does not allow element "input" here.
...='hidden' name='acitemid' value='0' /><input type='hidden' name='contentid' v
Error Line 121 column 4475: document type does not allow element "input" here.
...='hidden' name='func' value='entry' /><tr class='sectiontableentry1'><td>Name
Hier ein Ausschnitt aus der index.php: $akoinputforum .= "<form name='akocommentform' action='index.php' target='_top' method='post'>";
$akoinputforum .= "<table align='center' width='100%' cellpadding='4' cellspacing='1' border='0'>";
$akoinputforum .= "<tr><td colspan='2' class='sectiontableheader'>"._AKOCOMMENT_WRITECOMMENT."</td></tr>";
$akoinputforum .= "<input type='hidden' name='option' value='com_akocomment' />";
$akoinputforum .= "<input type='hidden' name='acitemid' value='$Itemid' />";
$akoinputforum .= "<input type='hidden' name='contentid' value='$row->id' />";
$akoinputforum .= "<input type='hidden' name='func' value='entry' />";
$akoinputforum .= "<tr class='sectiontableentry1'><td>"._AKOCOMMENT_ENTERNAME."</td><td>";
if ($my->username) {
$akoinputforum .= "$my->username<input type='hidden' name='acname' value='$my->username' />";
} else {
$akoinputforum .= _AKOCOMMENT_GUESTNAME."<input type='hidden' name='acname' value='"._AKOCOMMENT_GUESTNAME."' />";
}
$akoinputforum .= "</td></tr>";
$akoinputforum .= "<tr class='sectiontableentry1'><td>"._AKOCOMMENT_ENTERTITLE."</td><td><input type='text' name='title' style='width:75%;' class='inputbox' /></td></tr>";
# Switch for BB Code support
if ($ac_bbcodesupport) {
$akoinputforum .= "<tr class='sectiontableentry1'><td width='130'>BBCode:</td><td>";
$akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"url\");'><img src='components/com_akocomment/images/bburl.gif' hspace='1' border='0' alt='Web Address' /></a>";
$akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"email\");'><img src='components/com_akocomment/images/bbemail.gif' hspace='1' border='0' alt='Email Address' /></a>";
if ($ac_picsupport) $akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"image\");'><img src='components/com_akocomment/images/bbimgsrc.gif' hspace='1' border='0' alt='Load Image from Web' /></a>";
$akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"bold\");'><img src='components/com_akocomment/images/bbbold.gif' hspace='1' border='0' alt='Bold Text' /></a>";
$akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"italic\");'><img src='components/com_akocomment/images/bbitalic.gif' hspace='1' border='0' alt='Italic Text' /></a>";
$akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"underline\");'><img src='components/com_akocomment/images/bbunderline.gif' hspace='1' border='0' alt='Underlined Text' /></a>";
$akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"quote\");'><img src='components/com_akocomment/images/bbquote.gif' hspace='1' border='0' alt='Quote' /></a>";
$akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"code\");'><img src='components/com_akocomment/images/bbcode.gif' hspace='1' border='0' alt='Code' /></a>";
$akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"listopen\");'><img src='components/com_akocomment/images/bblistopen.gif' hspace='1' border='0' alt='Open List' /></a>";
$akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"listitem\");'><img src='components/com_akocomment/images/bblistitem.gif' hspace='1' border='0' alt='List Item' /></a>";
$akoinputforum .= "<a href='javascript: x()' onclick='DoPrompt(\"listclose\");'><img src='components/com_akocomment/images/bblistclose.gif' hspace='1' border='0' alt='Close List' /></a>";
$akoinputforum .= "</td></tr>";
}
$akoinputforum .= "<tr class='sectiontableentry1'><td valign='top'>"._AKOCOMMENT_ENTERTEXT."<br /><br />";
# Switch for Smilie Support
if ($ac_smiliesupport) {
$count=1;
foreach ($smiley as $i=>$sm) {
$akoinputforum .= "<a href=\"javascript:ac_smilie('$i')\" title='$i'><img src='$mosConfig_live_site/components/com_akocomment/images/$sm' border='0' alt='$i'/></a> ";
if ($count%5==0) $akoinputforum .= "<br />";
$count++;
}
}
$akoinputforum .= "</td><td valign='top'><textarea style='width:75%;' rows='8' name='comment' class='inputbox' cols='40'></textarea></td></tr>";
$akoinputforum .= "<tr class='sectiontableentry1'><td> </td><td align='left'><input type='button' name='send' value='"._AKOCOMMENT_SENDFORM."' class='button' onclick='validate()' /></td></tr></table></form>";
$akoinputforum .= "</p>";
}