main/admin/index.php 1 location
|
@@ 247-249 (lines=3) @@
|
| 244 |
|
} |
| 245 |
|
} |
| 246 |
|
|
| 247 |
|
if (api_get_setting('allow_terms_conditions') == 'true') { |
| 248 |
|
$items[] = array('url' => 'legal_add.php', 'label' => get_lang('TermsAndConditions')); |
| 249 |
|
} |
| 250 |
|
$blocks['platform']['items'] = $items; |
| 251 |
|
$blocks['platform']['extra'] = null; |
| 252 |
|
} |
src/Chamilo/CoreBundle/Controller/Admin/AdminController.php 1 location
|
@@ 307-314 (lines=8) @@
|
| 304 |
|
} |
| 305 |
|
} |
| 306 |
|
|
| 307 |
|
if (api_get_setting('registration.allow_terms_conditions') == |
| 308 |
|
'true' |
| 309 |
|
) { |
| 310 |
|
$items[] = array( |
| 311 |
|
'url' => $adminUrl.'legal_add.php', |
| 312 |
|
'label' => get_lang('TermsAndConditions'), |
| 313 |
|
); |
| 314 |
|
} |
| 315 |
|
$blocks['platform']['items'] = $items; |
| 316 |
|
$blocks['platform']['extra'] = null; |
| 317 |
|
} |