$content = '{--CATEGORY_ADDED--}';
} else {
// Category does already exists
- $content = '<span class="admin_failed">{--CATEGORY_ALREADY_EXISTS--}</span>';
+ $content = '<span class="notice">{--CATEGORY_ALREADY_EXISTS--}</span>';
}
// Free memory
SQL_FREERESULT($result);
// Prepare data for the row template
- $content['visible_selection'] = addSelectionBox('yn', $content['visible'], 'visible', $content['id'])
+ $content['visible_selection'] = addSelectionBox('yn', $content['visible'], 'visible', $content['id']);
// Load row template and switch colors
$OUT .= loadTemplate('admin_edit_cats_row', true, $content);