i use FireFox and Tidy to see wether my side is ok.

And i get many errors and warnings on the content search.


i use 1.2.2-dev and "Seitenaufbau CSS DIV"
have a look to http://www.bornhaupt.de/CM/index.php?suchen
how is this on 1.2.3

I can not belive this, all my sides are without errors or warnings, except the search sidef I check your Site - I see that the most Error's and Warnings are in your Code and not in the Code wich is generated from phpWCMS
Code: Select all
<div class="search_form"><table ...><form action=...>
If i open your side i get with IE an Error testscript undifinedcheck my Site at http://www.hdk-online.de/ and you will see 0Errors/0Warnings
Code: Select all
</head>
<body onLoad="testscript.js;">
Code: Select all
if(isset($content["search"]["result_per_page"])) {
//build search form
$CNT_TMP .= '<div class="search_form"';
switch($content["search"]["align"]) {
case 1: $CNT_TMP .= ' align="right"'; break;
case 2: $CNT_TMP .= ' align="center"'; break;
}
$CNT_TMP .= '>';
$CNT_TMP .= '<table cellspacing="0" cellpadding="0" border="0">';
$CNT_TMP .= "\n<form action=\"".$_SERVER['REQUEST_URI']."\" method=\"post\">\n<tr>\n";
if($content["search"]["label_input"]) {
$CNT_TMP .= '<td class="formLabel">';
$CNT_TMP .= $content["search"]["label_input"]."</td>\n<td> </td>\n";
}
$CNT_TMP .= '<td class="formSearch">';
$CNT_TMP .= '<input name="search_input_field" type="text" size="20" maxlength="200" value="';
$CNT_TMP .= html_specialchars($_POST["search_input_field"]).'"';
$CNT_TMP .= ($content["search"]["style_input"]) ? (' style="'.$content["search"]["style_input"].'"') : '';
$CNT_TMP .= " /></td>\n<td> </td>\n<td>".'<input name="submit" type="submit" value="';
$CNT_TMP .= ($content["search"]["label_button"]) ? $content["search"]["label_button"] : 'Search';
$CNT_TMP .= ($content["search"]["style_button"]) ? '" style="'.$content["search"]["style_button"].'"' : '"';
$CNT_TMP .= " /></td>\n";
$CNT_TMP .= "</tr>\n</form>\n</table></div>\n";
}
Code: Select all
if(isset($content["search"]["result_per_page"])) {
//build search form
$CNT_TMP .= "\n";
$CNT_TMP .= '<div class="search_form"';
switch($content["search"]["align"]) {
case 1: $CNT_TMP .= ' align="right"'; break;
case 2: $CNT_TMP .= ' align="center"'; break;
}
$CNT_TMP .= ">";
$CNT_TMP .= "\n<form action=\"".$_SERVER['REQUEST_URI']."\" method=\"post\">\n";
$CNT_TMP .= '<table cellspacing="0" cellpadding="0" border="0">';
$CNT_TMP .= "<tr>\n";
if($content["search"]["label_input"]) {
$CNT_TMP .= '<td class="formLabel">';
$CNT_TMP .= $content["search"]["label_input"]."</td>\n<td> </td>\n";
}
$CNT_TMP .= '<td class="formSearch">';
$CNT_TMP .= '<input name="search_input_field" type="text" size="20" maxlength="200" value="';
$CNT_TMP .= html_specialchars($_POST["search_input_field"]).'"';
$CNT_TMP .= ($content["search"]["style_input"]) ? (' style="'.$content["search"]["style_input"].'"') : '';
$CNT_TMP .= " /></td>\n<td> </td>\n<td>".'<input name="submit" type="submit" value="';
$CNT_TMP .= ($content["search"]["label_button"]) ? $content["search"]["label_button"] : 'Search';
$CNT_TMP .= ($content["search"]["style_button"]) ? '" style="'.$content["search"]["style_button"].'"' : '"';
$CNT_TMP .= " /></td>\n";
$CNT_TMP .= "</tr>\n</table>\n";
$CNT_TMP .= "</form></div>\n";
}