]> git.mxchange.org Git - mailer.git/blobdiff - inc/module-functions.php
Extension ext-surfbar continued, WHERE statement support added:
[mailer.git] / inc / module-functions.php
index 5b520465b1c6c00b2bbe1445ee1847f0ab686b73..ad6cc2a906f6ccc5b9b9b894e1702413e514de61 100644 (file)
@@ -6,9 +6,9 @@
  * -------------------------------------------------------------------- *
  * File              : module-functions.php                             *
  * -------------------------------------------------------------------- *
- * Short description : All MySQL-related functions                      *
+ * Short description : Module functions                                 *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Alle MySQL-Relevanten Funktionen                 *
+ * Kurzbeschreibung  : Modulfunktionen                                  *
  * -------------------------------------------------------------------- *
  * $Revision::                                                        $ *
  * $Date::                                                            $ *
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -79,10 +79,10 @@ function getModuleTitle ($module) {
                // Is it 'error'?
                if ($module == 'error') {
                        // Error (real module was not found)
-                       $data['title'] = getMessage('MODULE_ERROR_404');
+                       $data['title'] = '{--MODULE_ERROR_404--}';
                }  else {
                        // No name found
-                       $data['title'] = getMaskedMessage('UNKNOWN_MODULE_DETECTED', $module);
+                       $data['title'] = '{%message,UNKNOWN_MODULE_DETECTED_TITLE=' . $module . '%}';
                        if ((is_resource($result)) && (SQL_HASZERONUMS($result))) {
                                // Add module to database
                                $dummy = checkModulePermissions($module);
@@ -154,7 +154,7 @@ function isModuleRegistered ($module) {
                        $found = true;
                } elseif (isDebugModeEnabled()) {
                        // Debug message only in debug-mode...
-                       logDebugMessage(__FUNCTION__, __LINE__, 'Module ' . $module . ' not found!');
+                       logDebugMessage(__FUNCTION__, __LINE__, 'Module ' . $module . ' not found.');
                }
 
                // Free result