Code Duplication    Length = 4-9 lines in 2 locations

main/install/install.lib.php 1 location

@@ 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>';

main/wiki/wiki.inc.php 1 location

@@ 4003-4006 (lines=4) @@
4000
        echo '<div class="actions">'.get_lang('AllPages');
4001
4002
        // menu delete all wiki
4003
        if (api_is_allowed_to_edit(false, true) || api_is_platform_admin()) {
4004
            echo ' <a href="index.php?action=deletewiki&'.api_get_cidreq().'">'.
4005
                Display::return_icon(
4006
                    'delete.png',
4007
                    get_lang('DeleteWiki'),
4008
                    '',
4009
                    ICON_SIZE_MEDIUM