* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
(`what`='' OR `what` IS NULL)
ORDER BY
`sort` ASC", __FILE__, __LINE__);
- if (SQL_NUMROWS($result) > 0) {
+ if (!SQL_HASZERONUMS($result)) {
// Read menu structure
// @TODO Cant this be rewritten?
while ($content = SQL_FETCHARRAY($result)) {
`what` IS NOT NULL
ORDER BY `sort` ASC",
array($value_main), __FILE__, __LINE__);
- if (SQL_NUMROWS($result) > 0) {
+ if (!SQL_HASZERONUMS($result)) {
// Initialize arrays
$menus[$value_main] = array();
$titles[$value_main] = array();
// Prepare selections for template
$content['below_selection'] = $OUT;
- $content['what_selection'] = adminAddMenuSelectionBox('member', 'what' , 'name');
- $content['action_selection'] = adminAddMenuSelectionBox('member', 'action', 'menu');
+ $content['what_selection'] = adminAddMenuSelectionBox('guest', 'what' , 'name');
+ $content['action_selection'] = adminAddMenuSelectionBox('guest', 'action', 'menu');
// Display form
loadTemplate('admin_guest_add', false, $content);
postRequestParameter('active'),
), __FILE__, __LINE__);
}
- loadTemplate('admin_settings_saved', false, getMessage('SETTINGS_SAVED'));
+ loadTemplate('admin_settings_saved', false, '{--SETTINGS_SAVED--}');
} else {
// Demo mode!
- loadTemplate('admin_settings_saved', false, getMessage('SETTINGS_NOT_SAVED'));
+ loadTemplate('admin_settings_saved', false, '{--SETTINGS_NOT_SAVED--}');
}
// [EOF]