From b57b273d8455a986b8fa907349eebcf2f79d06db Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 12 Sep 2021 22:34:56 +0200 Subject: [PATCH] remove duplicate footer, add title, clean code --- index.php | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/index.php b/index.php index 03a3828..6097217 100644 --- a/index.php +++ b/index.php @@ -469,7 +469,8 @@ if (isset($_REQUEST['part']) && $_REQUEST['part'] == 'feed') { ($feed_id ? __('Edit feed') : __('New feed')) => '' ) ). - dcPage::notices(); + dcPage::notices() . + ($feed_id ? '

' . sprintf(__('Edit feed "%s"'), $feed_name) .'

' : ''); # Feed if ($can_view_page) { @@ -490,7 +491,7 @@ if (isset($_REQUEST['part']) && $_REQUEST['part'] == 'feed') { } echo ' -
+
'. @@ -845,12 +846,4 @@ else { ); } -echo -'

-'.__('Configuration').' - -zoneclearFeedServer - '.$core->plugins->moduleInfo('zoneclearFeedServer', 'version').'  -'.__('zoneclearFeedServer').' -

-'; \ No newline at end of file +echo ''; \ No newline at end of file