Deprecated variables for templates removed, mor EL-rewrites, getMessage() rewritten:
[mailer.git] / inc / modules / admin / what-guest_add.php
index 1728bdd49809636cb9b9bb9f6b49c96aefed4e8c..423415b7bb8d1d9cb3c3756527066c5bdca5980a 100644 (file)
@@ -18,6 +18,7 @@
  * 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 *
@@ -174,8 +175,8 @@ ORDER BY `sort` ASC",
 
        // 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);
@@ -201,10 +202,10 @@ ORDER BY `sort` ASC",
                                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]