main/inc/lib/userportal.lib.php 1 location
|
@@ 170-174 (lines=5) @@
|
| 167 |
|
$home_notice = @(string)file_get_contents($this->home.'home_notice.html'); |
| 168 |
|
} |
| 169 |
|
|
| 170 |
|
if (!empty($home_notice)) { |
| 171 |
|
$home_notice = api_to_system_encoding($home_notice, api_detect_encoding(strip_tags($home_notice))); |
| 172 |
|
$html = self::show_right_block( |
| 173 |
|
get_lang('Notice'), |
| 174 |
|
$home_notice, |
| 175 |
|
'notice_block', |
| 176 |
|
null, |
| 177 |
|
'notices', |
src/Chamilo/CoreBundle/Framework/PageController.php 1 location
|
@@ 45-53 (lines=9) @@
|
| 42 |
|
$user_selected_language = $platformLanguage; |
| 43 |
|
} |
| 44 |
|
$home_menu = @(string)file_get_contents($sys_path.$home.'home_menu_'.$user_selected_language.'.html'); |
| 45 |
|
if (!empty($home_menu)) { |
| 46 |
|
$home_menu_content = api_to_system_encoding($home_menu, api_detect_encoding(strip_tags($home_menu))); |
| 47 |
|
$this->show_right_block( |
| 48 |
|
get_lang('MenuGeneral'), |
| 49 |
|
null, |
| 50 |
|
'help_block', |
| 51 |
|
array('content' => $home_menu_content) |
| 52 |
|
); |
| 53 |
|
} |
| 54 |
|
} |
| 55 |
|
|
| 56 |
|
/** |