Fixes for wrong tewmplate names, new network added:
[mailer.git] / inc / modules / admin / what-config_cats.php
index feffa1cfb374d03037e8ce0f7677cbf2c6ae69ac..1649e42a4247a45d862424da736ee65a1a0003cc 100644 (file)
@@ -64,7 +64,7 @@ if (isFormSent('add')) {
                $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
@@ -134,7 +134,7 @@ if (isFormSent('add')) {
                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);