X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmysql-manager.php;h=e6d61fbcbe25e36d0312babafc41704ac8bf3bcf;hp=ebb750ba2754d42b4215eed8f8deb146dac08ec0;hb=f2aeaab0cd313b2eeb151642455ed558f6b186dc;hpb=04b69ac9f33369cbf654396c4a42cb1fff710ff4 diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index ebb750ba27..e6d61fbcbe 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -999,12 +999,12 @@ function getActionFromModuleWhat ($module, $what) { // Get category name back function getCategory ($cid) { // Default is not found - $data['cat'] = getMessage('_CATEGORY_404'); + $data['cat'] = '{--_CATEGORY_404--}'; // Is the category id set? if ($cid == '0') { // No category - $data['cat'] = getMessage('_CATEGORY_NONE'); + $data['cat'] = '{--_CATEGORY_NONE--}'; } elseif ($cid > 0) { // Lookup the category in database $result = SQL_QUERY_ESC("SELECT `cat` FROM `{?_MYSQL_PREFIX?}_cats` WHERE `id`=%s LIMIT 1", @@ -1025,7 +1025,7 @@ function getCategory ($cid) { // Get a string of "mail title" and price back function getPaymentTitlePrice ($pid, $full=false) { // Default is not found - $ret = getMessage('_PAYMENT_404'); + $ret = '{--_PAYMENT_404--}'; // Load payment data $result = SQL_QUERY_ESC("SELECT `mail_title`, `price` FROM `{?_MYSQL_PREFIX?}_payments` WHERE `id`=%s LIMIT 1", @@ -2063,12 +2063,12 @@ ORDER BY } // END - if // Activity is 'active' by default because if autopurge is not installed - $row['activity'] = getMessage('MEMBER_ACTIVITY_ACTIVE'); + $row['activity'] = '{--MEMBER_ACTIVITY_ACTIVE--}'; // Is autopurge installed and the user inactive? if ((isExtensionActive('autopurge')) && ((time() - getConfig('ap_inactive_since')) >= $row['last_online'])) { // Inactive user! - $row['activity'] = getMessage('MEMBER_ACTIVITY_INACTIVE'); + $row['activity'] = '{--MEMBER_ACTIVITY_INACTIVE--}'; } // END - if // Remove some entries