5
*BUMP* Come on guys & girls, I'm 99.9% sure that this is just a little php code error around line 1076, but I'm not sure how to correct it. Im pretty sure it should be in php and not html as it's being shown but where do I add the php tags to it at the right points??????
Blah Blah Blah Ok Code Before Line 1076 ?>
} else { // create category/product info
$heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');
$contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);
}
break;
}
if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {
echo ' ' . "n";
$box = new box;
echo $box->infoBox($heading, $contents);
echo ' ' . "n";
// Add neccessary JS for WYSIWYG editor of category image
if($action=='edit_category'){
if (HTML_AREA_WYSIWYG_DISABLE != 'Disable'){
echo '
<script language="JavaScript1.2" defer>
var config = new Object(); // create new config object
config.width = "250px";
config.height = "35px";
config.bodyStyle = "background-color: white; font-family: Arial; color: black; font-size: 12px;";
config.debug = ' . HTML_AREA_WYSIWYG_DEBUG . ';
config.toolbar = [ ["InsertImageURL"] ];
config.OscImageRoot = "' . trim(HTTP_SERVER . DIR_WS_CATALOG_IMAGES) . '";
editor_generate("categories_image",config);
</script>
';
}
}
}
</tr>
</table></td>
</tr>
</table>
<?php Blah Blah Blah Ok Code After where I think the problem lies