| @@ 713-721 (lines=9) @@ | ||
| 710 | ||
| 711 | $properlyAccessUrl = checkAccessUrl(); |
|
| 712 | ||
| 713 | if (!$properlyAccessUrl) { |
|
| 714 | echo ' |
|
| 715 | <div class="alert alert-danger"> |
|
| 716 | ' . Display::return_icon('error.png', get_lang('Error'), [], ICON_SIZE_MEDIUM, true, false, true). |
|
| 717 | ' '. |
|
| 718 | sprintf(get_lang('InstallMultiURLDetectedNotMainURL'), api_get_configuration_value('root_web')).' |
|
| 719 | </div> |
|
| 720 | '; |
|
| 721 | } |
|
| 722 | ||
| 723 | // SERVER REQUIREMENTS |
|
| 724 | echo '<div class="RequirementHeading"><h4>'.get_lang('ServerRequirements').'</h4>'; |
|
| @@ 3713-3716 (lines=4) @@ | ||
| 3710 | echo '<div class="actions">'.get_lang('AllPages'); |
|
| 3711 | ||
| 3712 | // menu delete all wiki |
|
| 3713 | if (api_is_allowed_to_edit(false, true) || api_is_platform_admin()) { |
|
| 3714 | echo ' <a href="index.php?action=deletewiki&'.api_get_cidreq().'">'. |
|
| 3715 | Display::return_icon('delete.png', get_lang('DeleteWiki'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
| 3716 | } |
|
| 3717 | echo '</div>'; |
|
| 3718 | ||
| 3719 | if (api_is_allowed_to_edit(false, true) || api_is_platform_admin()) { //only by professors if page is hidden |
|