From e3454e1a5d801684b222e709b7075dfa1e1501e9 Mon Sep 17 00:00:00 2001 From: Nikolay N Shmelev Date: Fri, 15 Sep 2017 10:58:07 +0300 Subject: [PATCH] Cosmetics --- admin/admin_cat_manager.php | 2 ++ admin/admin_digest.php | 3 ++- admin/admin_forum_manager.php | 7 ++++++- admin/admin_report.php | 7 ++++--- admin/admin_synchronization.php | 3 ++- admin/admin_type_manager.php | 8 ++++++++ admin/admin_votedata.php | 5 +++-- 7 files changed, 27 insertions(+), 8 deletions(-) diff --git a/admin/admin_cat_manager.php b/admin/admin_cat_manager.php index 0bc4018c..cb3392ca 100644 --- a/admin/admin_cat_manager.php +++ b/admin/admin_cat_manager.php @@ -178,6 +178,7 @@ function editCategory(XoopsObject $categoryObject = null) $adminObject->addItemButton(_AM_NEWBB_CREATENEWCATEGORY, 'admin_cat_manager.php?op=mod', $icon = 'add'); $adminObject->displayButton(); + echo "" . "
"; echo ""; echo ""; echo "'; @@ -197,6 +198,7 @@ function editCategory(XoopsObject $categoryObject = null) echo ''; } echo '
" . _AM_NEWBB_CATEGORY1 . '
'; + echo '
'; break; } diff --git a/admin/admin_digest.php b/admin/admin_digest.php index 6556f66f..b342d1f8 100644 --- a/admin/admin_digest.php +++ b/admin/admin_digest.php @@ -91,6 +91,7 @@ echo '
  • ' . _AM_NEWBB_DIGEST_HELP_2 . '
  • '; echo '
  • ' . _AM_NEWBB_DIGEST_HELP_3 . '
  • '; echo '
  • ' . _AM_NEWBB_DIGEST_HELP_4 . '
  • '; + echo "" . "
    "; echo '
    '; echo ""; echo ""; @@ -117,7 +118,7 @@ echo $hidden->render() . ''; echo '
    '; - + echo '
    '; $nav = new XoopsPageNav($digestHandler->getDigestCount(), $limit, $start, 'start'); echo $nav->renderNav(4); diff --git a/admin/admin_forum_manager.php b/admin/admin_forum_manager.php index c009782f..510d71ab 100644 --- a/admin/admin_forum_manager.php +++ b/admin/admin_forum_manager.php @@ -82,6 +82,7 @@ $box .= newbbForumSelectBox($forum_id, 'all', true, true); $box .= ''; + echo "" . "'; echo ''; echo '
    "; echo '
    '; echo ''; echo ''; @@ -91,6 +92,7 @@ echo '
    ' . $box . '
    '; + echo ''; } break; @@ -129,7 +131,7 @@ $box .= ''; $box .= newbbForumSelectBox($forum_id, 'all'); $box .= ''; - + echo "" . "'; echo ''; echo '
    "; echo '
    '; echo ''; echo ''; @@ -140,6 +142,7 @@ echo '
    ' . $box . '
    '; + echo ''; } break; @@ -238,6 +241,7 @@ } $echo = $adminObject->displayNavigation(basename(__FILE__)); + $echo .= "" . "
    "; $echo .= ""; $echo .= ""; $echo .= "'; @@ -296,6 +300,7 @@ echo $echo; echo '
    " . _AM_NEWBB_NAME . '
    '; + echo '
    '; break; } include_once __DIR__ . '/admin_footer.php'; diff --git a/admin/admin_report.php b/admin/admin_report.php index d3070a6b..79e73d01 100644 --- a/admin/admin_report.php +++ b/admin/admin_report.php @@ -114,11 +114,12 @@ $adminObject->addItemButton($title_other, $item_other, $icon = 'add'); $adminObject->displayButton(); echo _AM_NEWBB_REPORTADMIN_HELP; + echo "" . "
    "; echo '
    '; echo ""; echo ""; - echo "'; - echo "'; + echo "'; + echo "'; echo ''; $reports = $reportHandler->getAllReports('report_id', 'ASC', $limit, $start, $process_result); @@ -175,7 +176,7 @@ echo $hidden->render() . ''; echo '
    " . _AM_NEWBB_REPORTTITLE . '" . $extra . '" . _AM_NEWBB_REPORTTITLE . '" . $extra . '
    '; - + echo '
    '; $nav = new XoopsPageNav($reportHandler->getCount(new Criteria('report_result', $process_result)), $limit, $start, 'start', 'item=' . $item); echo $nav->renderNav(4); break; diff --git a/admin/admin_synchronization.php b/admin/admin_synchronization.php index 171006f7..e6ac1f77 100644 --- a/admin/admin_synchronization.php +++ b/admin/admin_synchronization.php @@ -165,6 +165,7 @@ $form .= ''; $form .= ''; $form .= ''; - +echo "" . "
    "; echo $form; +echo '
    '; include_once __DIR__ . '/admin_footer.php'; diff --git a/admin/admin_type_manager.php b/admin/admin_type_manager.php index edecc572..61028f89 100644 --- a/admin/admin_type_manager.php +++ b/admin/admin_type_manager.php @@ -116,6 +116,7 @@ $adminObject->addItemButton(_AM_NEWBB_TYPE_FORUM, 'admin_type_manager.php?op=forum', $icon = 'add'); $adminObject->displayButton(); echo '' . _AM_NEWBB_TYPE_ORDER_DESC . ''; + echo "" . "
    "; echo "
    "; echo ""; echo ""; @@ -154,6 +155,7 @@ echo ""; echo '
    '; echo '
    '; + echo '
    '; break; case 'save_template': @@ -197,6 +199,7 @@ $adminObject->addItemButton(_AM_NEWBB_TYPE_FORUM, 'admin_type_manager.php?op=forum', $icon = 'add'); $adminObject->displayButton(); + echo "" . "
    "; echo ""; echo ""; echo "'; @@ -219,6 +222,7 @@ unset($typesObject[$key]); } echo '
    " . _AM_NEWBB_TYPE_NAME . '
    '; + echo '
    '; echo '
    '; $fmform->display(); break; @@ -296,6 +300,7 @@ $adminObject->addItemButton(_AM_NEWBB_TYPE_FORUM, 'admin_type_manager.php?op=forum', $icon = 'add'); $adminObject->displayButton(); echo '' . _AM_NEWBB_TYPE_ORDER_DESC . ''; + echo "" . "
    "; echo "
    "; echo ""; echo ""; @@ -339,6 +344,7 @@ echo ""; echo '
    '; echo '
    '; + echo '
    '; break; case 'save_forum': @@ -366,6 +372,7 @@ $adminObject->displayButton(); } echo _AM_NEWBB_TYPE_HELP; + echo "" . "
    "; echo "
    "; echo ""; echo ""; @@ -418,6 +425,7 @@ echo ""; echo '
    '; echo '
    '; + echo '
    '; break; } diff --git a/admin/admin_votedata.php b/admin/admin_votedata.php index f9612301..26173373 100644 --- a/admin/admin_votedata.php +++ b/admin/admin_votedata.php @@ -84,7 +84,7 @@ xoops_cp_header(); $adminObject->displayNavigation(basename(__FILE__)); - + echo "
    \n
    " . _AM_NEWBB_VOTE_USERAVG . ": $useravgrating
    \n
    " . _AM_NEWBB_VOTE_TOTALRATE . ": $uservotes
    \n @@ -92,7 +92,7 @@
    \n
    \n - + " . "
    \n \n \n @@ -124,6 +124,7 @@ \n"; } echo '
    " . _AM_NEWBB_VOTE_ID . "
    '; + echo '
    '; //Include page navigation include_once $GLOBALS['xoops']->path('class/pagenav.php'); $page = ($votes > 10) ? _AM_NEWBB_INDEX_PAGE : '';