X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-lock_sponsor.php;h=e1daf83ea37fc365c6556a8987abac945a6525d7;hb=2f0357c7ac9da6c17d361b8e7cb0b1ad09eb85f6;hp=b7d9ca5e8b7e3a7c230a5ea6efbcdf180067334e;hpb=508228c85fba8448d00865b1639cb8cd7a69e457;p=mailer.git
diff --git a/inc/modules/admin/what-lock_sponsor.php b/inc/modules/admin/what-lock_sponsor.php
index b7d9ca5e8b..e1daf83ea3 100644
--- a/inc/modules/admin/what-lock_sponsor.php
+++ b/inc/modules/admin/what-lock_sponsor.php
@@ -10,7 +10,7 @@
* -------------------------------------------------------------------- *
* Kurzbeschreibung : Sponsorenaccount aendern *
* -------------------------------------------------------------------- *
- * $Revision:: 856 $ *
+ * $Revision:: $ *
* $Date:: $ *
* $Tag:: 0.2.1-FINAL $ *
* $Author:: $ *
@@ -38,13 +38,13 @@
// Some security stuff...
if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
require($INC);
}
// Add description as navigation point
-ADD_DESCR("admin", __FILE__);
-$MSG = "";
+ADD_DESCR('admin', __FILE__);
+$message = '';
if (REQUEST_ISSET_GET(('id'))) {
// Check for selected sponsor
@@ -87,10 +87,10 @@ if (REQUEST_ISSET_GET(('id'))) {
array(bigintval(REQUEST_GET('id'))), __FILE__, __LINE__);
} elseif (REQUEST_ISSET_POST(('no'))) {
// No don't lock / unlock now!
- LOAD_URL("modules.php?module=admin&what=list_sponsor&id=".bigintval(REQUEST_GET('id')));
+ LOAD_URL('modules.php?module=admin&what=list_sponsor&id='.bigintval(REQUEST_GET('id')));
} else {
// Create header and text messages
- if ($status == "CONFIRMED") {
+ if ($status == 'CONFIRMED') {
// Messages when sponsor's account is confirmed
define('__HEADER_MESSAGE', getMessage('SPONSOR_LOCK_SPONSOR_HEADER'));
define('__TEXT_MESSAGE' , getMessage('SPONSOR_LOCK_SPONSOR_TEXT'));
@@ -101,27 +101,27 @@ if (REQUEST_ISSET_GET(('id'))) {
}
// Create email link
- define('__EMAIL_LINK', "{!__GENDER!} {!__SURNAME!} {!__FAMILY!}");
+ define('__EMAIL_LINK', '{!__GENDER!} {!__SURNAME!} {!__FAMILY!}');
// Display form
- LOAD_TEMPLATE("admin_lock_sponsor");
+ LOAD_TEMPLATE('admin_lock_sponsor');
}
} else {
// Cannot change status on unconfirmed or pending accounts!
- $MSG = getMessage('ADMIN_SPONSPOR_CANNOT_LOCK_PENDING_UNCINFIRMED_ACCOUNTS');
+ $message = getMessage('ADMIN_SPONSPOR_CANNOT_LOCK_PENDING_UNCINFIRMED_ACCOUNTS');
}
} else {
// Sponsor not found!
- $MSG = sprintf(getMessage('ADMIN_SPONSOR_404'), bigintval(REQUEST_GET('id')));
+ $message = sprintf(getMessage('ADMIN_SPONSOR_404'), bigintval(REQUEST_GET('id')));
}
} else {
// Not called by what-list_sponsor.php
- $MSG = getMessage('ADMIN_CALL_NOT_DIRECTLY');
+ $message = getMessage('ADMIN_CALL_NOT_DIRECTLY');
}
-if (!empty($MSG)) {
+if (!empty($message)) {
// Output message
- LOAD_TEMPLATE("admin_settings_saved", false, $MSG);
+ LOAD_TEMPLATE('admin_settings_saved', false, $message);
}
//