main/inc/lib/userportal.lib.php 1 location
|
@@ 354-356 (lines=3) @@
|
| 351 |
|
// TODO: deprecate this useless feature - this includes removing system variable |
| 352 |
|
if (empty($htmlTitre)) { |
| 353 |
|
$htmlTitre = '<p>'; |
| 354 |
|
if (api_get_setting('show_back_link_on_top_of_tree') == 'true') { |
| 355 |
|
$htmlTitre .= '<a href="'.api_get_self().'"><< '.get_lang('BackToHomePage').'</a>'; |
| 356 |
|
} |
| 357 |
|
$htmlTitre .= "</p>"; |
| 358 |
|
} |
| 359 |
|
} |
src/Chamilo/CoreBundle/Framework/PageController.php 1 location
|
@@ 447-449 (lines=3) @@
|
| 444 |
|
} // Else don't set thereIsSubCat to true to avoid printing things if not requested. |
| 445 |
|
} else { |
| 446 |
|
$htmlTitre = '<p>'; |
| 447 |
|
if (api_get_setting('show_back_link_on_top_of_tree') == 'true') { |
| 448 |
|
$htmlTitre .= '<a href="'.api_get_self().'"><< '.get_lang('BackToHomePage').'</a>'; |
| 449 |
|
} |
| 450 |
|
if (!is_null($catLine['parent_id']) || |
| 451 |
|
(api_get_setting('show_back_link_on_top_of_tree') != 'true' && |
| 452 |
|
!is_null($catLine['code'])) |