From: Roland Häder Date: Sat, 25 Jun 2011 18:42:53 +0000 (+0000) Subject: Double question mark fixed X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=ec9f020e34a9f2029a2ea0969564dda015beca8a Double question mark fixed --- diff --git a/autoreg.php b/autoreg.php index 6deabf125c..fbd0cc7902 100644 --- a/autoreg.php +++ b/autoreg.php @@ -43,7 +43,7 @@ $GLOBALS['startTime'] = microtime(true); // Set module $GLOBALS['module'] = 'autoreg'; -$GLOBALS['output_mode'] = '1'; +$GLOBALS['output_mode'] = 1; $GLOBALS['header_sent'] = 3; // Load the required file(s) diff --git a/css.php b/css.php index 4e581e8ed1..3c0e236a26 100644 --- a/css.php +++ b/css.php @@ -39,7 +39,7 @@ require('inc/libs/security_functions.php'); // Footer is disabled in CSS mode -$GLOBALS['footer_sent'] = '-1'; +$GLOBALS['footer_sent'] = -1; // This is a CSS file loader! $GLOBALS['output_mode'] = 1; diff --git a/inc/libs/admins_functions.php b/inc/libs/admins_functions.php index 18d2d5c715..7c6b73078f 100644 --- a/inc/libs/admins_functions.php +++ b/inc/libs/admins_functions.php @@ -560,7 +560,7 @@ function getAdminLoginFailures ($adminId) { } // END - if // By default no admin is found - $data['login_failures'] = '-1'; + $data['login_failures'] = -1; // Check cache if (isset($GLOBALS['cache_array']['admin']['login_failures'][$adminId])) { @@ -596,7 +596,7 @@ function getAdminLastFailure ($adminId) { } // END - if // By default no admin is found - $data['last_failure'] = '-1'; + $data['last_failure'] = -1; // Check cache if (isset($GLOBALS['cache_array']['admin']['last_failure'][$adminId])) { diff --git a/inc/libs/jackpot_functions.php b/inc/libs/jackpot_functions.php index 5d2ee6ef09..6bf2816c4c 100644 --- a/inc/libs/jackpot_functions.php +++ b/inc/libs/jackpot_functions.php @@ -78,7 +78,7 @@ function addPointsToJackpot ($points) { // Subtracts points from the jackpot function subtractPointsFromJackpot ($points) { // First failed - $ret = '-1'; + $ret = -1; // Get jackpot points for dummy $jackpot = getJackpotPoints(); diff --git a/inc/modules/admin/what-list_unconfirmed.php b/inc/modules/admin/what-list_unconfirmed.php index 5370e111dd..52037dd5c9 100644 --- a/inc/modules/admin/what-list_unconfirmed.php +++ b/inc/modules/admin/what-list_unconfirmed.php @@ -72,10 +72,14 @@ LIMIT 1", ); // Column, type and id for member's mail - $col = 'stats_id'; $type = 'NORMAL'; $ID = '-1'; + $col = 'stats_id'; + $type = 'NORMAL'; + $ID = -1; // Load admin_list_unconfirmed template - $listed = true; $DATA = getRequestParameter('mid'); $mailType = 'mailid'; + $listed = true; + $DATA = getRequestParameter('mid'); + $mailType = 'mailid'; } elseif ((isGetRequestParameterSet('bid')) && (isExtensionActive('bonus'))) { // @TODO This constant might be unused? define('__LIST_UNCON_TITLE', '{--ADMIN_LIST_UNCONFIRMED_BONUS_LINKS--}'); @@ -91,10 +95,14 @@ LIMIT 1", ); // Column, type and id for member's mail - $col = 'bonus_id'; $type = 'BONUS'; $ID = getRequestParameter('bid'); + $col = 'bonus_id'; + $type = 'BONUS'; + $ID = getRequestParameter('bid'); // Load admin_list_unconfirmed template - $listed = true; $DATA = $ID; $mailType = 'bonusid'; + $listed = true; + $DATA = $ID; + $mailType = 'bonusid'; } else { // @TODO "Please do not call me directly." Should be rewritten to a nice selection depending on ext-bonus displayMessage('{--ADMIN_CALL_NOT_DIRECTLY--}'); diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 6285dd3c61..dfea280de9 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -839,7 +839,7 @@ function getPaymentTitlePrice ($pid, $full=false) { // Get (basicly) the price of given payment id function getPaymentPoints ($pid, $lookFor = 'price') { // Default value... - $data[$lookFor] = '-1'; + $data[$lookFor] = -1; // Search for it in database $result = SQL_QUERY_ESC("SELECT `%s` FROM `{?_MYSQL_PREFIX?}_payments` WHERE `id`=%s LIMIT 1", @@ -1230,7 +1230,7 @@ function sendAdminEmails ($subj, $message) { // Get id number from administrator's login name function getAdminId ($adminLogin) { // By default no admin is found - $data['id'] = '-1'; + $data['id'] = -1; // Check cache if (isset($GLOBALS['cache_array']['admin']['admin_id'][$adminLogin])) { @@ -1285,7 +1285,7 @@ function setCurrentAdminId ($currentAdminId) { // Get password hash from administrator's login name function getAdminHash ($adminId) { // By default an invalid hash is returned - $data['password'] = '-1'; + $data['password'] = -1; if (isAdminHashSet($adminId)) { // Check cache diff --git a/templates/de/html/menu/menu_guest_advert_end.tpl b/templates/de/html/menu/menu_guest_advert_end.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_guest_advert_end.tpl +++ b/templates/de/html/menu/menu_guest_advert_end.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_guest_advert_main.tpl b/templates/de/html/menu/menu_guest_advert_main.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_guest_advert_main.tpl +++ b/templates/de/html/menu/menu_guest_advert_main.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_guest_advert_members.tpl b/templates/de/html/menu/menu_guest_advert_members.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_guest_advert_members.tpl +++ b/templates/de/html/menu/menu_guest_advert_members.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_guest_advert_online.tpl b/templates/de/html/menu/menu_guest_advert_online.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_guest_advert_online.tpl +++ b/templates/de/html/menu/menu_guest_advert_online.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_guest_advert_sponsor.tpl b/templates/de/html/menu/menu_guest_advert_sponsor.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_guest_advert_sponsor.tpl +++ b/templates/de/html/menu/menu_guest_advert_sponsor.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_account.tpl b/templates/de/html/menu/menu_member_advert_account.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_account.tpl +++ b/templates/de/html/menu/menu_member_advert_account.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_bank.tpl b/templates/de/html/menu/menu_member_advert_bank.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_bank.tpl +++ b/templates/de/html/menu/menu_member_advert_bank.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_earn.tpl b/templates/de/html/menu/menu_member_advert_earn.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_earn.tpl +++ b/templates/de/html/menu/menu_member_advert_earn.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_end.tpl b/templates/de/html/menu/menu_member_advert_end.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_end.tpl +++ b/templates/de/html/menu/menu_member_advert_end.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_extras.tpl b/templates/de/html/menu/menu_member_advert_extras.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_extras.tpl +++ b/templates/de/html/menu/menu_member_advert_extras.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_logout.tpl b/templates/de/html/menu/menu_member_advert_logout.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_logout.tpl +++ b/templates/de/html/menu/menu_member_advert_logout.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_main.tpl b/templates/de/html/menu/menu_member_advert_main.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_main.tpl +++ b/templates/de/html/menu/menu_member_advert_main.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_order.tpl b/templates/de/html/menu/menu_member_advert_order.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_order.tpl +++ b/templates/de/html/menu/menu_member_advert_order.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_rals.tpl b/templates/de/html/menu/menu_member_advert_rals.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_rals.tpl +++ b/templates/de/html/menu/menu_member_advert_rals.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_stats.tpl b/templates/de/html/menu/menu_member_advert_stats.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_stats.tpl +++ b/templates/de/html/menu/menu_member_advert_stats.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_surfbar.tpl b/templates/de/html/menu/menu_member_advert_surfbar.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_surfbar.tpl +++ b/templates/de/html/menu/menu_member_advert_surfbar.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen! diff --git a/templates/de/html/menu/menu_member_advert_themes.tpl b/templates/de/html/menu/menu_member_advert_themes.tpl index 355d158e96..e15f630496 100644 --- a/templates/de/html/menu/menu_member_advert_themes.tpl +++ b/templates/de/html/menu/menu_member_advert_themes.tpl @@ -1,6 +1,6 @@ - Hier könnte Ihre Werbung stehen! + Hier könnte Ihre Werbung stehen!