|
|
|
@ -20,7 +20,7 @@ |
|
|
|
/** |
|
|
|
/** |
|
|
|
* @package dokeos.main |
|
|
|
* @package dokeos.main |
|
|
|
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University, Refactoring |
|
|
|
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University, Refactoring |
|
|
|
* @version $Id: index.php 14194 2008-01-29 16:26:45Z elixir_inter $ |
|
|
|
* @version $Id: index.php 14572 2008-03-11 21:40:44Z yannoo $ |
|
|
|
* @todo check the different @todos in this page and really do them |
|
|
|
* @todo check the different @todos in this page and really do them |
|
|
|
* @todo check if the news management works as expected |
|
|
|
* @todo check if the news management works as expected |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -370,7 +370,7 @@ function display_anonymous_right_menu() |
|
|
|
|
|
|
|
|
|
|
|
$platformLanguage = api_get_setting('platformLanguage'); |
|
|
|
$platformLanguage = api_get_setting('platformLanguage'); |
|
|
|
|
|
|
|
|
|
|
|
if ( !($_user['user_id']) ) // only display if the user isn't logged in |
|
|
|
if ( !($_user['user_id']) or api_is_anonymous($_user['user_id']) ) // only display if the user isn't logged in |
|
|
|
{ |
|
|
|
{ |
|
|
|
api_display_language_form(); |
|
|
|
api_display_language_form(); |
|
|
|
echo '<br />'; |
|
|
|
echo '<br />'; |
|
|
|
@ -701,4 +701,4 @@ function display_anonymous_course_list() |
|
|
|
echo "<p>", "<a href=\"".api_get_self()."\"><b><<</b> ", get_lang("BackToHomePage"), "</a>", "</p>\n"; |
|
|
|
echo "<p>", "<a href=\"".api_get_self()."\"><b><<</b> ", get_lang("BackToHomePage"), "</a>", "</p>\n"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
?> |
|
|
|
?> |
|
|
|
|