From 010a89449eebb5fb0884ed3f2f958e46dc41539c Mon Sep 17 00:00:00 2001 From: e3betht Date: Sun, 26 Apr 2015 20:19:50 -0500 Subject: [PATCH] removing more closing PHP tags --- include/database.inc.php | 2 -- include/lib/Michelf/Markdown.php | 1 - include/lib/Michelf/MarkdownExtra.php | 3 --- include/lib/recaptchalib.php | 3 --- include/lib/scrypt.php | 2 -- include/lib/smarty_plugins/function.acl.php | 1 - include/pages/about.inc.php | 1 - include/pages/about/pplns.inc.php | 1 - include/pages/admin.inc.php | 1 - include/pages/admin/earnings.inc.php | 1 - include/pages/admin/invitations.inc.php | 1 - include/pages/admin/monitoring.inc.php | 1 - include/pages/admin/news.inc.php | 1 - include/pages/api.inc.php | 1 - include/pages/api/getblockcount.inc.php | 1 - include/pages/api/getblocksfound.inc.php | 1 - include/pages/api/getblockstats.inc.php | 1 - include/pages/api/getcronjobstatus.inc.php | 2 -- include/pages/api/getcurrentworkers.inc.php | 1 - include/pages/api/getdashboarddata.inc.php | 1 - include/pages/api/getdifficulty.inc.php | 1 - include/pages/api/getestimatedtime.inc.php | 1 - include/pages/api/gethourlyhashrates.inc.php | 1 - include/pages/api/getpoolhashrate.inc.php | 1 - include/pages/api/getpoolinfo.inc.php | 1 - include/pages/api/getpoolsharerate.inc.php | 1 - include/pages/api/getpoolstatus.inc.php | 1 - include/pages/dashboard.inc.php | 2 -- include/pages/error.inc.php | 1 - 29 files changed, 37 deletions(-) diff --git a/include/database.inc.php b/include/database.inc.php index a65e708b..c8db0cca 100644 --- a/include/database.inc.php +++ b/include/database.inc.php @@ -17,5 +17,3 @@ if ($mysqli->query('/* MYSQLND_MS_MASTER_SWITCH */SELECT @@global.read_only AS r if (mysqli_connect_errno()) { die("Failed to connect to database"); } - -?> diff --git a/include/lib/Michelf/Markdown.php b/include/lib/Michelf/Markdown.php index ba45246c..d951aae1 100644 --- a/include/lib/Michelf/Markdown.php +++ b/include/lib/Michelf/Markdown.php @@ -3091,4 +3091,3 @@ class _MarkdownExtra_TmpImpl extends \Michelf\Markdown { } } -?> diff --git a/include/lib/Michelf/MarkdownExtra.php b/include/lib/Michelf/MarkdownExtra.php index 267bf16d..ee433ae0 100644 --- a/include/lib/Michelf/MarkdownExtra.php +++ b/include/lib/Michelf/MarkdownExtra.php @@ -35,6 +35,3 @@ class MarkdownExtra extends \Michelf\_MarkdownExtra_TmpImpl { # See note above. } - - -?> \ No newline at end of file diff --git a/include/lib/recaptchalib.php b/include/lib/recaptchalib.php index 32c4f4d7..6d7619e4 100644 --- a/include/lib/recaptchalib.php +++ b/include/lib/recaptchalib.php @@ -272,6 +272,3 @@ function recaptcha_mailhide_html($pubkey, $privkey, $email) { "' onclick=\"window.open('" . htmlentities ($url) . "', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;\" title=\"Reveal this e-mail address\">...@" . htmlentities ($emailparts [1]); } - - -?> diff --git a/include/lib/scrypt.php b/include/lib/scrypt.php index 3d501b7d..17e723a3 100644 --- a/include/lib/scrypt.php +++ b/include/lib/scrypt.php @@ -532,5 +532,3 @@ function word_reverse($str) { } return $ret; } - -?> diff --git a/include/lib/smarty_plugins/function.acl.php b/include/lib/smarty_plugins/function.acl.php index 6a358f15..7f43ba43 100644 --- a/include/lib/smarty_plugins/function.acl.php +++ b/include/lib/smarty_plugins/function.acl.php @@ -31,4 +31,3 @@ function check_acl_access($params, $smarty) break; } } -?> diff --git a/include/pages/about.inc.php b/include/pages/about.inc.php index ac4117c0..957a62c6 100644 --- a/include/pages/about.inc.php +++ b/include/pages/about.inc.php @@ -3,4 +3,3 @@ $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/about/pplns.inc.php b/include/pages/about/pplns.inc.php index ac4117c0..957a62c6 100644 --- a/include/pages/about/pplns.inc.php +++ b/include/pages/about/pplns.inc.php @@ -3,4 +3,3 @@ $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/admin.inc.php b/include/pages/admin.inc.php index b5067a9f..529adb57 100644 --- a/include/pages/admin.inc.php +++ b/include/pages/admin.inc.php @@ -9,4 +9,3 @@ if (!$user->isAuthenticated() || !$user->isAdmin($_SESSION['USERDATA']['id'])) { // Tempalte specifics $smarty->assign("CONTENT", ""); -?> diff --git a/include/pages/admin/earnings.inc.php b/include/pages/admin/earnings.inc.php index c4fe7015..5adfc967 100644 --- a/include/pages/admin/earnings.inc.php +++ b/include/pages/admin/earnings.inc.php @@ -18,4 +18,3 @@ if ($user->isAuthenticated()) { } $smarty->assign('CONTENT', 'default.tpl'); -?> diff --git a/include/pages/admin/invitations.inc.php b/include/pages/admin/invitations.inc.php index 8d8fda7c..890b713d 100644 --- a/include/pages/admin/invitations.inc.php +++ b/include/pages/admin/invitations.inc.php @@ -21,4 +21,3 @@ if (!$setting->getValue('disable_invitations')) { // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/admin/monitoring.inc.php b/include/pages/admin/monitoring.inc.php index ffb9483c..08d42c5d 100644 --- a/include/pages/admin/monitoring.inc.php +++ b/include/pages/admin/monitoring.inc.php @@ -26,4 +26,3 @@ $smarty->assign("CRONSTATUS", $aCronStatus); // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/admin/news.inc.php b/include/pages/admin/news.inc.php index 9d39146e..666d1a26 100644 --- a/include/pages/admin/news.inc.php +++ b/include/pages/admin/news.inc.php @@ -46,4 +46,3 @@ foreach ($aNews as $key => $aData) { } $smarty->assign("NEWS", $aNews); $smarty->assign("CONTENT", "default.tpl"); -?> \ No newline at end of file diff --git a/include/pages/api.inc.php b/include/pages/api.inc.php index 32fd0a34..8a0b0770 100644 --- a/include/pages/api.inc.php +++ b/include/pages/api.inc.php @@ -9,4 +9,3 @@ $id = $user->checkApiKey(@$_REQUEST['api_key']); header('HTTP/1.1 400 Bad Request'); die('400 Bad Request'); -?> diff --git a/include/pages/api/getblockcount.inc.php b/include/pages/api/getblockcount.inc.php index 5000afdd..7ee823f9 100644 --- a/include/pages/api/getblockcount.inc.php +++ b/include/pages/api/getblockcount.inc.php @@ -18,4 +18,3 @@ echo $api->get_json($iBlock); // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getblocksfound.inc.php b/include/pages/api/getblocksfound.inc.php index d280b266..c3ce1fcb 100644 --- a/include/pages/api/getblocksfound.inc.php +++ b/include/pages/api/getblocksfound.inc.php @@ -24,4 +24,3 @@ echo $api->get_json($aBlocks); // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getblockstats.inc.php b/include/pages/api/getblockstats.inc.php index 725ad628..c1c53c1c 100644 --- a/include/pages/api/getblockstats.inc.php +++ b/include/pages/api/getblockstats.inc.php @@ -14,4 +14,3 @@ echo $api->get_json($blocks); // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getcronjobstatus.inc.php b/include/pages/api/getcronjobstatus.inc.php index b932b8dd..186ec1d4 100644 --- a/include/pages/api/getcronjobstatus.inc.php +++ b/include/pages/api/getcronjobstatus.inc.php @@ -43,5 +43,3 @@ echo $api->get_json($aCronStatus); // Supress master template $supress_master = 1; - -?> diff --git a/include/pages/api/getcurrentworkers.inc.php b/include/pages/api/getcurrentworkers.inc.php index 4b142822..50d634cb 100644 --- a/include/pages/api/getcurrentworkers.inc.php +++ b/include/pages/api/getcurrentworkers.inc.php @@ -12,4 +12,3 @@ echo $api->get_json($worker->getCountAllActiveWorkers()); // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getdashboarddata.inc.php b/include/pages/api/getdashboarddata.inc.php index ccd8a645..6f57927b 100644 --- a/include/pages/api/getdashboarddata.inc.php +++ b/include/pages/api/getdashboarddata.inc.php @@ -119,4 +119,3 @@ $data = array( ); echo $api->get_json($data); -?> diff --git a/include/pages/api/getdifficulty.inc.php b/include/pages/api/getdifficulty.inc.php index 7cc88766..192e7f9d 100644 --- a/include/pages/api/getdifficulty.inc.php +++ b/include/pages/api/getdifficulty.inc.php @@ -15,4 +15,3 @@ echo $api->get_json($dDifficulty); // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getestimatedtime.inc.php b/include/pages/api/getestimatedtime.inc.php index 5d529545..4303b7ff 100644 --- a/include/pages/api/getestimatedtime.inc.php +++ b/include/pages/api/getestimatedtime.inc.php @@ -16,4 +16,3 @@ echo $api->get_json($dEstimatedTime); // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/gethourlyhashrates.inc.php b/include/pages/api/gethourlyhashrates.inc.php index c6c7f670..81179dfa 100644 --- a/include/pages/api/gethourlyhashrates.inc.php +++ b/include/pages/api/gethourlyhashrates.inc.php @@ -18,4 +18,3 @@ echo $api->get_json($data); // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getpoolhashrate.inc.php b/include/pages/api/getpoolhashrate.inc.php index bb6fe8ea..bbe476c1 100644 --- a/include/pages/api/getpoolhashrate.inc.php +++ b/include/pages/api/getpoolhashrate.inc.php @@ -19,4 +19,3 @@ echo $api->get_json($dPoolHashrate); // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getpoolinfo.inc.php b/include/pages/api/getpoolinfo.inc.php index 7d08ceb5..82843c2c 100644 --- a/include/pages/api/getpoolinfo.inc.php +++ b/include/pages/api/getpoolinfo.inc.php @@ -36,4 +36,3 @@ echo $api->get_json($data); // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getpoolsharerate.inc.php b/include/pages/api/getpoolsharerate.inc.php index 8b8977e5..1bd79179 100644 --- a/include/pages/api/getpoolsharerate.inc.php +++ b/include/pages/api/getpoolsharerate.inc.php @@ -15,4 +15,3 @@ echo json_encode(array('getpoolsharerate' => $statistics->getCurrentShareRate()) // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getpoolstatus.inc.php b/include/pages/api/getpoolstatus.inc.php index 26abc851..915132e0 100644 --- a/include/pages/api/getpoolstatus.inc.php +++ b/include/pages/api/getpoolstatus.inc.php @@ -66,4 +66,3 @@ echo $api->get_json($data); // Supress master template $supress_master = 1; -?> diff --git a/include/pages/dashboard.inc.php b/include/pages/dashboard.inc.php index 01598da6..2b28d4dc 100644 --- a/include/pages/dashboard.inc.php +++ b/include/pages/dashboard.inc.php @@ -59,5 +59,3 @@ if ($user->isAuthenticated()) { $smarty->assign('INTERVAL', $interval / 60); $smarty->assign('CONTENT', 'default.tpl'); } - -?> diff --git a/include/pages/error.inc.php b/include/pages/error.inc.php index ac4117c0..957a62c6 100644 --- a/include/pages/error.inc.php +++ b/include/pages/error.inc.php @@ -3,4 +3,3 @@ $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?>