pluginsid_inputs_error("Event type {$sid} already exists"); } elseif ($sid < 1) { echo "<p align=\"center\"> " . gettext("Sid must be a valid number higher than 0") . " </p>"; echo "<p align=\"center\"><a href=\"pluginsid.php?id={$plugin}\"> " . gettext("Back") . " </a></p>"; exit; } else { // if ($category == 'NULL') { $category = NULL; $subCategory = NULL; } else { if ($subCategory == 'NULL') { $subCategory = NULL; } } Plugin_sid::insert($conn, $plugin, $name, $sid, $reliability, $priority, $category, $subCategory); ?> <p><?php echo _("Event type succesfully updated"); ?> </p> <script type="text/javascript"> //<![CDATA[ document.location.href='plugin.php'; //]]> </script> <?php } } ?>