$row is passed with the id
* property set to 0. Note that the section property must be defined
* even for a new record.
* @param JTableCategory The category object
* @param string The html for the image list select list
* @param string The html for the image position select list
* @param string The html for the ordering list
* @param string The html for the groups select list
*/
function edit( &$row, $option, &$lists )
{
JRequest::setVar( 'hidemainmenu', 1 );
global $mainframe;
$editor =& JFactory::getEditor();
if ( $row->name != '' ) {
$name = $row->name;
} else {
$name = JText::_( 'New Section' );
}
if ($row->image == '') {
$row->image = 'blank.png';
}
JFilterOutput::objectHTMLSafe( $row, ENT_QUOTES, 'description' );
?>