- case "edit": // Change entries
- SQL_QUERY_ESC("UPDATE `{!MYSQL_PREFIX!}_max_receive` SET value='%s', comment='%s' WHERE id=%s LIMIT 1",
- array(bigintval($_POST['val'][$id]), $_POST['comm'][$id], $id),__FILE__, __LINE__);
- $TEXT = MRECEIVE_SAVED;
- break;
-
- case "del":
- SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{!MYSQL_PREFIX!}_max_receive` WHERE id=%s LIMIT 1",
- array($id), __FILE__, __LINE__);
- $TEXT = MRECEIVE_DELETED;
- break;
+ case 'edit': // Change entries
+ SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_max_receive` SET value='%s', comment='%s' WHERE `id`=%s LIMIT 1",
+ array(
+ bigintval(postRequestParameter('val', $id)),
+ postRequestParameter('comm', $id),
+ $id
+ ),__FILE__, __LINE__);
+ $TEXT = '{--ADMIN_MAX_RECEIVE_SAVED--}';
+ break;
+
+ case 'delete':
+ SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_max_receive` WHERE `id`=%s LIMIT 1",
+ array($id), __FILE__, __LINE__);
+ $TEXT = '{--ADMIN_MAX_RECEIVE_DELETED--}';
+ break;