More double-quotes to single-quotes
authorRoland Häder <roland@mxchange.org>
Sat, 22 Jun 2013 03:19:47 +0000 (03:19 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 22 Jun 2013 03:19:47 +0000 (03:19 +0000)
62 files changed:
inc/classes/cachesystem.class.php
inc/db/lib.php
inc/email-functions.php
inc/extensions-functions.php
inc/libs/country_functions.php
inc/libs/sponsor_functions.php
inc/modules/admin/action-
inc/modules/admin/action-admins.php
inc/modules/admin/action-bank.php
inc/modules/admin/action-country.php
inc/modules/admin/action-coupon.php
inc/modules/admin/action-doubler.php
inc/modules/admin/action-email.php
inc/modules/admin/action-forced.php
inc/modules/admin/action-grade.php
inc/modules/admin/action-holiday.php
inc/modules/admin/action-login.php
inc/modules/admin/action-menu.php
inc/modules/admin/action-misc.php
inc/modules/admin/action-mods.php
inc/modules/admin/action-network.php
inc/modules/admin/action-newsletter.php
inc/modules/admin/action-payouts.php
inc/modules/admin/action-rallye.php
inc/modules/admin/action-repair.php
inc/modules/admin/action-setup.php
inc/modules/admin/action-sponsor.php
inc/modules/admin/action-stats.php
inc/modules/admin/action-surfbar.php
inc/modules/admin/action-task.php
inc/modules/admin/action-theme.php
inc/modules/admin/action-transfer.php
inc/modules/admin/action-user.php
inc/modules/admin/action-wernis.php
inc/modules/admin/admin-inc.php
inc/modules/admin/what-list_user_subid.php
inc/modules/admin/what-logs.php
inc/modules/admin/what-repair_lang.php
inc/modules/admin/what-usage.php
inc/modules/guest/action-
inc/modules/guest/action-admin.php
inc/modules/guest/action-main.php
inc/modules/guest/action-members.php
inc/modules/guest/action-sponsor.php
inc/modules/index.php
inc/modules/login.php
inc/modules/member/action-
inc/modules/member/action-account.php
inc/modules/member/action-bank.php
inc/modules/member/action-coupon.php
inc/modules/member/action-earn.php
inc/modules/member/action-extras.php
inc/modules/member/action-logout.php
inc/modules/member/action-main.php
inc/modules/member/action-order.php
inc/modules/member/action-rals.php
inc/modules/member/action-stats.php
inc/modules/member/action-surfbar.php
inc/modules/member/what-subids.php
inc/modules/member/what-transfer.php
inc/mysql-manager.php
inc/phpmailer/class.phpmailer.php

index 2da5803..73ef671 100644 (file)
@@ -318,7 +318,7 @@ class CacheSystem {
                $this->resetCacheReadStatus();
 
                // Debug message
-               //* DEBUG: */ logDebugMessage(__METHOD__, __LINE__, sprintf("%s should be removed.", $this->name));
+               //* DEBUG: */ logDebugMessage(__METHOD__, __LINE__, sprintf('%s should be removed.', $this->name));
 
                // Is the cache file not yet rebuilt?
                if ((!isset($this->rebuilt[$this->name])) && ($this->isCacheReadable())) {
index 9b243e6..3f0f24e 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Create include file name
-$inc = sprintf("inc/db/lib-%s.php", getConfig('_DB_TYPE'));
+$inc = sprintf('inc/db/lib-%s.php', getConfig('_DB_TYPE'));
 
 // Is the database library available?
 if (!isIncludeReadable($inc)) {
index 3663ca4..90ec544 100644 (file)
@@ -143,7 +143,7 @@ function sendRawEmail ($toEmail, $subject, $message, $headers) {
                $mail->CharSet = 'UTF-8';
 
                // Path for PHPMailer
-               $mail->PluginDir  = sprintf("%sinc/phpmailer/", getPath());
+               $mail->PluginDir  = sprintf('%sinc/phpmailer/', getPath());
 
                $mail->IsSMTP();
                $mail->SMTPAuth   = TRUE;
index 58127d2..d842ddc 100644 (file)
@@ -957,7 +957,7 @@ function isExtensionNameValid ($ext_name) {
        // Is there cache?
        if (!isset($GLOBALS['ext_name_valid'][$ext_name])) {
                // Generate include file name
-               $INC = sprintf("inc/extensions/ext-%s.php", $ext_name);
+               $INC = sprintf('inc/extensions/ext-%s.php', $ext_name);
 
                // Is there a file in inc/extensions/ ?
                $GLOBALS['ext_name_valid'][$ext_name] = isIncludeReadable($INC);
@@ -1822,7 +1822,7 @@ function loadCurrentExtensionInclude () {
        } // END - if
 
        // Generate INC name
-       $INC = sprintf("inc/extensions/ext-%s.php", getCurrentExtensionName());
+       $INC = sprintf('inc/extensions/ext-%s.php', getCurrentExtensionName());
 
        // Load it
        loadInclude($INC);
@@ -1831,7 +1831,7 @@ function loadCurrentExtensionInclude () {
 // Load current extension's mode include file
 function loadCurrentExtensionModeInclude () {
        // Generate INC name
-       $INC = sprintf("inc/extensions/%s/mode-%s.php", getCurrentExtensionName(), getExtensionMode());
+       $INC = sprintf('inc/extensions/%s/mode-%s.php', getCurrentExtensionName(), getExtensionMode());
 
        // Is the include readable?
        if (isIncludeReadable($INC)) {
@@ -1850,7 +1850,7 @@ function isExtensionIncludeReadable ($ext_name = '') {
        // Array found?
        if (!isset($GLOBALS['ext_inc_readable'][$ext_name])) {
                // Generate INC name
-               $INC = sprintf("inc/extensions/ext-%s.php", getCurrentExtensionName());
+               $INC = sprintf('inc/extensions/ext-%s.php', getCurrentExtensionName());
 
                // Is it readable?
                $GLOBALS['ext_inc_readable'][$ext_name] = isIncludeReadable($INC);
@@ -1871,7 +1871,7 @@ function isExtensionFunctionFileReadable ($ext_name) {
                incrementStatsEntry('cache_hits');
        } else {
                // Construct IFN for functions file
-               $funcsInclude = sprintf("inc/libs/%s_functions.php", $ext_name);
+               $funcsInclude = sprintf('inc/libs/%s_functions.php', $ext_name);
 
                // Is this include there?
                $isIncludeFound = ((isFileReadable($funcsInclude)) && (!isExtensionLibraryLoaded($ext_name)) && (getExtensionMode() == 'test'));
index 7254ff1..80a4c1e 100644 (file)
@@ -63,7 +63,7 @@ LIMIT 1",
                //* DEBUG: */ print($id.'=<pre>'.print_r($content, TRUE).'</pre>');
 
                // Construct human-readable description
-               $ret = sprintf("%s (%s)", $content['descr'], $content['code']);
+               $ret = sprintf('%s (%s)', $content['descr'], $content['code']);
        } // END - if
 
        // Free the result
index 0edbbec..81fd04d 100644 (file)
@@ -341,7 +341,7 @@ function addSponsorContent ($what) {
        $GLOBALS['sponsor_output'] = '';
 
        // Generate IFN (Include FileName)
-       $INC = sprintf("inc/modules/sponsor/%s.php", $what);
+       $INC = sprintf('inc/modules/sponsor/%s.php', $what);
        if (isIncludeReadable($INC)) {
                // Every sponsor action will output nothing directly. It will be written into $GLOBALS['sponsor_output']!
                loadIncludeOnce($INC);
index 4ffdb87..e8f0ce1 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) { 
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index ff6ff45..bcdb985 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 5aa6eff..42c4a1e 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index d715b9a..61167e8 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 032d467..e5c21f5 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 4807bed..cbbcec7 100644 (file)
@@ -44,12 +44,12 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
 } else {
-       // "what file" not found
+       // 'what file' not found
        addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}');
 }
 
index d660bdf..73dabb3 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 3235e85..173da32 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 567e10d..2c2a6b4 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 0529f70..0f081b2 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 3d57369..1c68fa2 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index ecabbd2..381204d 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index ae75164..609d94c 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 437c823..50e2454 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index eed0cbc..55adf06 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 47da2b6..0de6c40 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 8b81372..b83b153 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index a2b4f6e..9640721 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index d571fa2..0cc1d77 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index ef89f58..af9ac00 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 8fb6020..50810d0 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 9e6eab6..c91f7e5 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index f70a9e9..c4c6800 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index f2fae63..106ade1 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 03817e2..685257b 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 1f738be..38c7f9c 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index c41dea3..0dc6d57 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index eb19986..3a1e172 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
        loadIncludeOnce($inc);
index 078108d..33c5428 100644 (file)
@@ -217,7 +217,7 @@ LIMIT 1",
        // Is there an entry?
        if (sqlNumRows($result_action) == 1) {
                // Is valid but does the inlcude file exists?
-               $inc = sprintf("inc/modules/admin/action-%s.php", $action);
+               $inc = sprintf('inc/modules/admin/action-%s.php', $action);
                if ((isIncludeReadable($inc)) && (isMenuActionValid('admin', $action, $what)) && ($GLOBALS['acl_allow'] === TRUE)) {
                        // Ok, we finally load the admin action module
                        loadInclude($inc);
@@ -286,7 +286,7 @@ ORDER BY
                // Load all 'action' menus
                while ($mainContent = sqlFetchArray($result_main)) {
                        // Filename
-                       $inc = sprintf("inc/modules/admin/action-%s.php", $mainContent['main_action']);
+                       $inc = sprintf('inc/modules/admin/action-%s.php', $mainContent['main_action']);
 
                        // Is the current admin allowed to access this 'action' menu?
                        if (isAdminAllowedAccessMenu($mainContent['main_action'])) {
@@ -381,7 +381,7 @@ ORDER BY
                        // Load all entries
                        while ($subContent = sqlFetchArray($result_what)) {
                                // Filename
-                               $inc = sprintf("inc/modules/admin/what-%s.php", $subContent['sub_what']);
+                               $inc = sprintf('inc/modules/admin/what-%s.php', $subContent['sub_what']);
 
                                // Is the current admin allowed to access this 'what' menu?
                                if (isAdminAllowedAccessMenu(NULL, $subContent['sub_what'])) {
index 111bb44..f60c63f 100644 (file)
@@ -89,7 +89,7 @@ if (isFormSent('edit')) {
        ));
 } elseif ((isGetRequestElementSet('do')) && (isGetRequestElementSet('id'))) {
        // Construct module name
-       $incFile = sprintf("inc/modules/admin/subid-%s.php", sqlEscapeString(getRequestElement('do')));
+       $incFile = sprintf('inc/modules/admin/subid-%s.php', sqlEscapeString(getRequestElement('do')));
 
        // Is the include readable and is the sub id assigned to current admin?
        if (!isUserSubIdAssignedToMember(getRequestElement('id'), getRequestElement('userid'))) {
index 23c1071..1d3782e 100644 (file)
@@ -46,7 +46,7 @@ addYouAreHereLink('admin', __FILE__);
 if (isGetRequestElementSet('access')) {
        // Secure input and construct FQFN
        $access = sqlEscapeString(getRequestElement('access'));
-       $target = sprintf("%slogs/%s", getPath(), $access);
+       $target = sprintf('%slogs/%s', getPath(), $access);
 
        // Is the file valid and readable?
        if (isFileReadable($target)) {
index eaedd39..ee6ab11 100644 (file)
@@ -70,7 +70,7 @@ foreach ($validLanguages as $lang) {
                }
 
                // Construct english include filename
-               $INC = sprintf("inc/language/%s%s.php", $prefix, $lang);
+               $INC = sprintf('inc/language/%s%s.php', $prefix, $lang);
 
                // Is the file readable?
                if (isIncludeReadable($INC)) {
index cda9129..fc006e5 100644 (file)
@@ -47,14 +47,14 @@ addYouAreHereLink('admin', __FILE__);
 $usage = getConfig('usage_base') . '/';
 
 // Init FQFN
-$FQFN = sprintf("%s%s/index.html",
+$FQFN = sprintf('%s%s/index.html',
        getPath(),
        getConfig('usage_base')
 );
 
 if (isGetRequestElementSet('image')) {
        if (getRequestElement('type') == 'usage') {
-               $FQFN = sprintf("%s%s/usage.png",
+               $FQFN = sprintf('%s%s/usage.png',
                        getPath(),
                        getConfig('usage_base')
                );
@@ -62,7 +62,7 @@ if (isGetRequestElementSet('image')) {
                if (strpos(getRequestElement('image'), chr(92)) > 0) {
                        setGetRequestElement('image', substr(getRequestElement('image'), 0, strpos(getRequestElement('image'), chr(92))));
                } // END - if
-               $FQFN = sprintf("%s%s/%s_usage_%s.png",
+               $FQFN = sprintf('%s%s/%s_usage_%s.png',
                        getPath(),
                        getConfig('usage_base'),
                        getRequestElement('type'),
@@ -78,7 +78,7 @@ if (isGetRequestElementSet('image')) {
        } // END - if
        doShutdown();
 } elseif (isGetRequestElementSet('usage')) {
-       $FQFN = sprintf("%s%s/usage_%s.html",
+       $FQFN = sprintf('%s%s/usage_%s.html',
                getPath(),
                getConfig('usage_base'),
                getRequestElement('usage')
index dde138f..a1219a9 100644 (file)
@@ -52,7 +52,7 @@ if ((!isExtensionActive('')) && (!isAdmin())) {
 } // END - if
 
 // Load the include file
-$inc = sprintf("inc/modules/guest/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/guest/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the guest action module
        loadIncludeOnce($inc);
index 1d85aba..dfc7a90 100644 (file)
@@ -47,7 +47,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('guest', __FILE__);
 
 // Only when one admin link is clicked...
-$inc = sprintf("inc/modules/guest/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/guest/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the guest action module
        loadIncludeOnce($inc);
index 320ca5b..e7a3e95 100644 (file)
@@ -47,7 +47,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('guest', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/guest/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/guest/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the guest action module
        loadIncludeOnce($inc);
index 2c2acf3..da2dcd8 100644 (file)
@@ -47,7 +47,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('guest', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/guest/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/guest/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the guest action module
        loadIncludeOnce($inc);
index 3997d55..a1097fa 100644 (file)
@@ -51,7 +51,7 @@ if ((!isExtensionActive('sponsor')) && (!isAdmin())) {
 } // END - if
 
 // Load the include file
-$inc = sprintf("inc/modules/guest/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/guest/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the guest action module
        loadIncludeOnce($inc);
index 7720430..8d4f0d8 100644 (file)
@@ -65,7 +65,7 @@ loadTemplate('guest_menu_content');
 enableBlockMode(FALSE);
 
 // Construct FQFN
-$inc = sprintf("inc/modules/guest/action-%s.php", getAction());
+$inc = sprintf('inc/modules/guest/action-%s.php', getAction());
 
 // Is the file there?
 if ((isIncludeReadable($inc)) && (isMenuActionValid('guest', getAction(), getWhat()))) {
index 3cb50ad..0ca8ddc 100644 (file)
@@ -76,7 +76,7 @@ enableBlockMode(FALSE);
 outputHtml('   </td>
   <td valign="top" align="center" rowspan="3" class="member_content">');
 
-$inc = sprintf("inc/modules/member/action-%s.php", $action);
+$inc = sprintf('inc/modules/member/action-%s.php', $action);
 if ((isIncludeReadable($inc)) && (isMenuActionValid('member', getAction(), getWhat()))) {
        // Requested module is available so we load it
        loadInclude($inc);
index f63cc91..5c078f5 100644 (file)
@@ -54,7 +54,7 @@ if ((!isExtensionActive('')) && (!isAdmin())) {
 } // END - if
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index dc75a76..349132b 100644 (file)
@@ -49,7 +49,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('member', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index 9458b55..d8d2a1d 100644 (file)
@@ -54,7 +54,7 @@ if ((!isExtensionActive('bank')) && (!isAdmin())) {
 } // END - if
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index 8a31683..74a2f25 100644 (file)
@@ -54,7 +54,7 @@ if ((!isExtensionActive('coupon')) && (!isAdmin())) {
 } // END - if
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index cd893fd..f7df431 100644 (file)
@@ -49,7 +49,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('member', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index 65b0b12..678d527 100644 (file)
@@ -49,7 +49,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('member', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index bfcea1f..7c131b3 100644 (file)
@@ -49,7 +49,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('member', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index 80a25ba..b75ddc4 100644 (file)
@@ -49,7 +49,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('member', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index 83c5125..37ad2d0 100644 (file)
@@ -54,7 +54,7 @@ if ((!isExtensionActive('order')) && (!isAdmin())) {
 } // END - if
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index 8171e9d..4fc9a5d 100644 (file)
@@ -49,7 +49,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('member', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index 92c79fe..f48093b 100644 (file)
@@ -49,7 +49,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('member', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index 2da109b..086a107 100644 (file)
@@ -54,7 +54,7 @@ if ((!isExtensionActive('surfbar')) && (!isAdmin())) {
 } // END - if
 
 // Load the include file
-$inc = sprintf("inc/modules/member/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/member/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
        loadIncludeOnce($inc);
index 166e3b0..13daec5 100644 (file)
@@ -91,7 +91,7 @@ if (isFormSent('add_subid')) {
        doGenericXmlTemplateCallback('member_delete_do_user_subid');
 } elseif ((isGetRequestElementSet('do')) && (isGetRequestElementSet('id'))) {
        // Construct module name
-       $incFile = sprintf("inc/modules/member/subid-%s.php", sqlEscapeString(getRequestElement('do')));
+       $incFile = sprintf('inc/modules/member/subid-%s.php', sqlEscapeString(getRequestElement('do')));
 
        // Is the include readable and is the sub id assigned to current member?
        if (!isUserSubIdAssignedToMember(getRequestElement('id'))) {
index cea8fc2..6dea4dd 100644 (file)
@@ -176,7 +176,7 @@ switch ($mode) {
                                sendEmail($content['sender']['userid'], '{--TRANSFER_MEMBER_SENDER_SUBJECT--}' . ': ' . $RECIPIENT, $message);
 
                                // At last send admin mail(s)
-                               $adminSubject = sprintf("%s (%s->%s)", '{--ADMIN_TRANSFER_SUBJECT--}', $SENDER, $RECIPIENT);
+                               $adminSubject = sprintf('%s (%s->%s)', '{--ADMIN_TRANSFER_SUBJECT--}', $SENDER, $RECIPIENT);
                                sendAdminNotification($adminSubject, 'admin_transfer_points', $content);
 
                                // Transfer is completed
index 0583c16..c26a12b 100644 (file)
@@ -273,7 +273,7 @@ ORDER BY
 
                                        // Full file name for checking menu
                                        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'sub_what=' . $content['sub_what']);
-                                       $inc = sprintf("inc/modules/%s/what-%s.php", $mode, $content['sub_what']);
+                                       $inc = sprintf('inc/modules/%s/what-%s.php', $mode, $content['sub_what']);
                                        if (isIncludeReadable($inc)) {
                                                // Mark currently selected menu - open
                                                if ((!empty($what)) && (($what == $content['sub_what']))) {
@@ -331,7 +331,7 @@ ORDER BY
                                enableBlockMode();
 
                                // Load menu block
-                               $INC = sprintf("inc/modules/%s/action-%s.php", $mode, $content['action']);
+                               $INC = sprintf('inc/modules/%s/action-%s.php', $mode, $content['action']);
                                if (isFileReadable($INC)) {
                                        // Load include file
                                        if ((!isExtensionActive($content['action'])) || ($content['action'] == 'online')) $GLOBALS['rows'] .= loadTemplate('menu_what_begin', TRUE, $mode);
index effe75e..59f4066 100644 (file)
@@ -1906,4 +1906,4 @@ class PHPMailer {
 
 }
 
-?>
\ No newline at end of file
+?>