Fixing links "Add a page (CMS)" when using multple urls see BT#1805

skala
Julio Montoya 15 years ago
parent 3a543c7582
commit 5aadc697fe
  1. 1
      documentation/changelog.html
  2. 8
      index.php

@ -65,6 +65,7 @@
<li>Fixed screen when you try to access a protected course through the url #2026</li>
<li>Fixed sessions and Wiki #1659</li>
<li>Fixed bug deleting course teacher in admin edition #2109</li>
<li>Administration: Fixing links "Add a page (CMS)" when using multple urls see BT#1805</li>
<li>Gradebook: Hiding print icon in Certificates BT#1650</li>
<li>Link Tool: IE icons replaced</li>
<li>Wiki: fix behaviour of plugin wikilink #2217</li>

@ -444,9 +444,9 @@ function display_anonymous_right_menu() {
if (!isset($user_selected_language)) {
$user_selected_language = $platformLanguage;
}
$home_menu = @(string)file_get_contents($sys_path.$home.'home_menu_'.$user_selected_language.'.html');
if (empty($home_menu)) {
$home_menu = @(string)file_get_contents($sys_path.$home.'home_menu_'.$user_selected_language.'.html');
/*if (empty($home_menu)) {
$home_menu = @(string)file_get_contents($sys_path.$home_old.'home_menu_'.$user_selected_language.'.html');
}
if (empty($home_menu)) {
@ -454,7 +454,7 @@ function display_anonymous_right_menu() {
}
if (empty($home_menu)) {
$home_menu = @(string)file_get_contents($sys_path.$home_old.'home_menu.html');
}
}*/
if (!empty($home_menu)) {
echo '<div class="menusection">', '<span class="menusectioncaption">'.get_lang('MenuGeneral').'</span>';
echo '<ul class="menulist">';

Loading…
Cancel
Save