[svn r18024] Minor - User's online link modified - FS#2974

skala
Julio Montoya 17 years ago
parent 166e3a68d0
commit 970b8246a0
  1. 11
      main/inc/banner.inc.php

@ -22,7 +22,6 @@
echo '-&nbsp;<a href="'.$iurl.'" target="_top">'.$iname.'</a>'; echo '-&nbsp;<a href="'.$iurl.'" target="_top">'.$iname.'</a>';
} }
?> ?>
</div> </div>
<?php <?php
/* /*
@ -72,7 +71,6 @@ echo ' <div class="clear">&nbsp;</div>';
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
*/ */
api_plugin('header'); api_plugin('header');
$web_course_path = api_get_path(WEB_COURSE_PATH); $web_course_path = api_get_path(WEB_COURSE_PATH);
/* /*
@ -92,10 +90,7 @@ if (isset($_course['extLink']) && $_course['extLink']['name'] != "") {
} }
?> ?>
</div> </div>
<div id="header2"> <div id="header2">
<div id="Header2Right"> <div id="Header2Right">
<ul> <ul>
@ -113,11 +108,12 @@ if ((api_get_setting('showonline','world') == "true" AND !$_user['user_id']) OR
} else { } else {
$number_online_in_course = 0; $number_online_in_course = 0;
} }
echo "<li>".get_lang('UsersOnline').": ";
echo "<li>";
// Display the who's online of the platform // Display the who's online of the platform
if ((api_get_setting('showonline','world') == "true" AND !$_user['user_id']) OR (api_get_setting('showonline','users') == "true" AND $_user['user_id'])) { if ((api_get_setting('showonline','world') == "true" AND !$_user['user_id']) OR (api_get_setting('showonline','users') == "true" AND $_user['user_id'])) {
echo '<a href="'.api_get_path(WEB_PATH).'whoisonline.php" target="_top">'.$number.'</a>'; //echo '<a href="'.api_get_path(WEB_PATH).'whoisonline.php" target="_top">'.$number.'</a>';
echo '<a href="'.api_get_path(WEB_PATH).'whoisonline.php" target="_top">'.get_lang('UsersOnline').': '.$number.'</a>';
} }
// Display the who's online for the course // Display the who's online for the course
@ -258,7 +254,6 @@ foreach($navigation as $section => $navigation_info) {
<div style="clear: both;" class="clear"> </div> <div style="clear: both;" class="clear"> </div>
</div> </div>
<div id="header4"> <div id="header4">
<?php <?php
/* /*

Loading…
Cancel
Save