ADD_DESCR('admin', __FILE__);
// Check if the admin has entered title and what-php file name...
-if (((!REQUEST_ISSET_POST(('title'))) || (!REQUEST_ISSET_POST(('menu')))) && (IS_FORM_SENT())) {
+if (((!REQUEST_ISSET_POST(('title'))) || (!REQUEST_ISSET_POST(('menu')))) && (isFormSent())) {
// Abort adding the menu entry
REQUEST_UNSET_POST('ok');
}
-if (!IS_FORM_SENT()) {
+if (!isFormSent()) {
// Create arrays
$menus = array(); $titles = array(); $below = array();