]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-usage.php
Next wave of lesser getMessage() usage and more EL
[mailer.git] / inc / modules / admin / what-usage.php
index 718ec0adf604ec25707f19886b8ecc41f5e0dc5b..0af9eee3a811c12615a6bc8868c51cbc600e35ad 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 *
@@ -85,7 +86,7 @@ if (isGetRequestParameterSet('image')) {
 
 if ((!empty($FQFN)) && (isFileReadable($FQFN))) {
        // @TODO This code is double, see loadTemplate() and loadEmailTemplate() in functions.php
-       eval("\$content=\"".SQL_ESCAPE(readFromFile($FQFN))."\";");
+       eval('$content="' . SQL_ESCAPE(readFromFile($FQFN)) . '";');
        // Until here...
 
        // Replace URLs
@@ -107,7 +108,7 @@ if ((!empty($FQFN)) && (isFileReadable($FQFN))) {
        outputHtml($content);
 } else {
        // Nothing to load, then we have no directory 'usage'
-       loadTemplate('admin_settings_saved', false, getMessage('ADMIN_USAGE_DIRECTORY_404'));
+       loadTemplate('admin_settings_saved', false, '{--ADMIN_USAGE_DIRECTORY_404--}');
 }
 
 // [EOF]