* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
$content = '{--CATEGORY_ADDED--}';
} else {
// Category does already exists
- $content = '<span class="notice">{--CATEGORY_ALREADY_EXISTS--}</span>';
+ $content = '<span class="bad">{--CATEGORY_ALREADY_EXISTS--}</span>';
}
// Free memory
if (!empty($cat)) {
switch (getRequestElement('do')) {
case 'edit': // Change categories
- SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_cats` SET `cat`='%s', `visible`='%s', `sort`=%s WHERE `id`=%s LIMIT 1",
+ SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_cats` SET `cat`='%s',`visible`='%s',`sort`=%s WHERE `id`=%s LIMIT 1",
array(
$cat,
postRequestElement('visible', $id),