src/Chamilo/CoreBundle/Framework/PageController.php 1 location
|
@@ 221-229 (lines=9) @@
|
| 218 |
|
$user_selected_language = $platformLanguage; |
| 219 |
|
} |
| 220 |
|
$home_menu = @(string)file_get_contents($sys_path.$home.'home_menu_'.$user_selected_language.'.html'); |
| 221 |
|
if (!empty($home_menu)) { |
| 222 |
|
$home_menu_content = api_to_system_encoding($home_menu, api_detect_encoding(strip_tags($home_menu))); |
| 223 |
|
$this->show_right_block( |
| 224 |
|
get_lang('MenuGeneral'), |
| 225 |
|
null, |
| 226 |
|
'help_block', |
| 227 |
|
array('content' => $home_menu_content) |
| 228 |
|
); |
| 229 |
|
} |
| 230 |
|
} |
| 231 |
|
|
| 232 |
|
/** |
main/inc/lib/userportal.lib.php 1 location
|
@@ 317-321 (lines=5) @@
|
| 314 |
|
$home_notice = @(string)file_get_contents($this->home.'home_notice.html'); |
| 315 |
|
} |
| 316 |
|
|
| 317 |
|
if (!empty($home_notice)) { |
| 318 |
|
$home_notice = api_to_system_encoding($home_notice, api_detect_encoding(strip_tags($home_notice))); |
| 319 |
|
$html = self::show_right_block( |
| 320 |
|
get_lang('Notice'), |
| 321 |
|
$home_notice, |
| 322 |
|
'notice_block', |
| 323 |
|
null, |
| 324 |
|
'notices', |