X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_doubler.php;h=d9f373aa2fa79bf242c9db9ed432b87e1e6bef31;hp=fe7df7ad8cbbbcff88e780d72f54f515f5ec5184;hb=d18075f375db1b9db40773cdf80a5d6f2c36cd3a;hpb=9beb33ae0c3194b05d172508768a833b1b69af2f diff --git a/inc/modules/admin/what-list_doubler.php b/inc/modules/admin/what-list_doubler.php index fe7df7ad8c..d9f373aa2f 100644 --- a/inc/modules/admin/what-list_doubler.php +++ b/inc/modules/admin/what-list_doubler.php @@ -32,8 +32,7 @@ ************************************************************************/ // Some security stuff... -if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin())) -{ +if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin())) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } @@ -41,13 +40,10 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin())) // Add description as navigation point ADD_DESCR("admin", basename(__FILE__)); -if (empty($_GET['mode'])) -{ +if (empty($_GET['mode'])) { // Chosse the overview page as default $_GET['mode'] = "overview"; -} - else -{ +} else { // Set table title automatically if (empty($_GET['select'])) $_GET['select'] = "all"; $eval = "define('__ADMIN_DOUBLER_LIST_".strtoupper($_GET['mode'])."', ADMIN_DOUBLER_LIST_".strtoupper($_GET['mode'])."_".strtoupper($_GET['select']).");";