diff --git a/user_portal.php b/user_portal.php index 3725b492e1..6a3996ee6e 100644 --- a/user_portal.php +++ b/user_portal.php @@ -1,8 +1,7 @@ -'; /* ------------------------------------------------------------ Table definitions ------------------------------------------------------------ */ //Database table definitions $main_user_table = Database :: get_main_table(TABLE_MAIN_USER); @@ -81,9 +72,7 @@ $main_course_user_table = Database :: get_main_table(TABLE_MAIN_COURSE_USER); $main_category_table = Database :: get_main_table(TABLE_MAIN_CATEGORY); /* ------------------------------------------------------------ Constants and CONFIGURATION parameters ------------------------------------------------------------ */ // ---- Course list options ---- define('CONFVAL_showCourseLangIfNotSameThatPlatform', true); @@ -137,9 +126,7 @@ $nameTools = get_lang('MyCourses'); $this_section = SECTION_COURSES; /* ------------------------------------------------------------ Check configuration parameters integrity ------------------------------------------------------------ */ if (CONFVAL_showExtractInfo != SCRIPTVAL_UnderCourseList and $orderKey[0] != "keyCourse") { // CONFVAL_showExtractInfo must be SCRIPTVAL_UnderCourseList to accept $orderKey[0] !="keyCourse" @@ -175,7 +162,6 @@ Display :: display_header($nameTools); /* -============================================================================== FUNCTIONS display_admin_links() @@ -187,13 +173,10 @@ Display :: display_header($nameTools); get_personal_course_list($user_id) get_logged_user_course_html($my_course) get_user_course_categories() -============================================================================== */ /* ------------------------------------------------------------ Database functions some of these can go to database layer. ------------------------------------------------------------ */ /** @@ -532,9 +515,7 @@ function display_courses_in_category($user_category_id) { } /* ------------------------------------------------------------ Display functions ------------------------------------------------------------ */ /** diff --git a/webchatdeny.php b/webchatdeny.php index 3ce89a1d13..4dec944759 100755 --- a/webchatdeny.php +++ b/webchatdeny.php @@ -1,14 +1,12 @@
'.get_lang('Back').''; Display::display_normal_message($message); -/* -============================================================================== - FOOTER -============================================================================== -*/ +/* FOOTER */ Display::display_footer(); diff --git a/whoisonline.php b/whoisonline.php index 6ea4381322..212f27a010 100755 --- a/whoisonline.php +++ b/whoisonline.php @@ -1,10 +1,8 @@ -'; - } - - + } + /* if ($_GET['id'] == '') { - //echo '

'.get_lang('Refresh').'

'; - } /*else { - if (0) { - // if ($_user['user_id'] && $_GET["id"] != $_user['user_id']) { - echo ''.get_lang('SendChatRequest').''; - } + echo '

'.get_lang('Refresh').'

'; }*/ + } else { echo '
'; echo get_lang('UsersOnLineList'); @@ -182,8 +176,6 @@ if ((api_get_setting('showonline', 'world') == 'true' && !$_user['user_id']) || $referer = empty($_GET['referer']) ? 'index.php' : api_htmlentities(strip_tags($_GET['referer']), ENT_QUOTES); /* -============================================================================== FOOTER -============================================================================== */ Display::display_footer(); \ No newline at end of file