Code Duplication    Length = 5-9 lines in 2 locations

web/admin/edit_profile.php 1 location

@@ 262-266 (lines=5) @@
259
        <h3><?php echo _("Realm Options"); ?></h3>
260
261
        <?php
262
        if ($wizardStyle) {
263
            echo "<p>" . sprintf(_("Some installers support a feature called 'Anonymous outer identity'. If you don't know what this is, please read <a href='%s'>this article</a>."), "https://confluence.terena.org/display/H2eduroam/eap-types") . "</p>";
264
            echo "<p>" . _("On some platforms, the installers can suggest username endings and/or verify the user input to contain the realm suffix.") . "</p>";
265
            echo "<p>" . _("The realm check feature needs to know an outer ID which actually gets a chance to authenticate. If your RADIUS server lets only select usernames pass, it is useful to supply the inforamtion which of those (outer ID) username we can use for testing.") . "</p>";
266
        }
267
        ?>
268
        <p>
269

web/admin/edit_idp.php 1 location

@@ 116-124 (lines=9) @@
113
    <fieldset class="option_container">
114
        <legend><strong><?php echo _("General Information"); ?></strong></legend>
115
        <?php
116
        if ($wizardStyle) {
117
            echo "<p>" .
118
            sprintf(_("This is the place where you can describe your %s in a fine-grained way. The solicited information is used as follows:"), $uiElements->nomenclature_inst) . "</p>
119
                      <ul>
120
                         <li>" . _("<strong>Logo</strong>: When you submit a logo, we will embed this logo into all installers where a custom logo is possible. We accept any image format, but for best results, we suggest SVG. If you don't upload a logo, we will use the generic logo instead (see top-right corner of this page).") . "</li>
121
                         <li>" . _("<strong>Terms of Use</strong>: Some installers support displaying text to the user during installation time. If so, we will make that happen if you upload an RTF file or plain text file to display.") . "</li>";
122
123
            echo "</ul>";
124
        }
125
        echo $optionDisplay->prefilledOptionTable("general");
126
        ?>
127
        <button type='button' class='newoption' onclick='getXML("general")'><?php echo _("Add new option"); ?></button>