Code Duplication    Length = 4-4 lines in 5 locations

admin/department.php 1 location

@@ 886-889 (lines=4) @@
883
                             
884
                          "._AM_XHELP_TEXT_NUMBER_PER_PAGE."
885
                          <select name='limit'>";
886
            foreach($aLimitBy as $value=>$text){
887
                ($limit == $value) ? $selected = "selected='selected'" : $selected = '';
888
                echo "<option value='$value' $selected>$text</option>";
889
            }
890
            echo "</select>
891
                          <input type='submit' name='dept_sort' id='dept_sort' value='"._AM_XHELP_BUTTON_SUBMIT."' />
892
                      </td>

admin/file.php 1 location

@@ 199-202 (lines=4) @@
196
                  &nbsp;&nbsp;&nbsp;
197
                  "._AM_XHELP_TEXT_NUMBER_PER_PAGE."
198
                  <select name='limit'>";
199
    foreach($aLimitBy as $value=>$text){
200
        ($limit == $value) ? $selected = "selected='selected'" : $selected = '';
201
        echo "<option value='$value' $selected>$text</option>";
202
    }
203
    echo "</select>
204
                  <input type='submit' name='file_sort' id='file_sort' value='"._AM_XHELP_BUTTON_SUBMIT."' />
205
              </td>

admin/mimetypes.php 2 locations

@@ 451-454 (lines=4) @@
448
                  &nbsp;&nbsp;&nbsp;
449
                  "._AM_XHELP_TEXT_NUMBER_PER_PAGE."
450
                  <select name='limit'>";
451
    foreach($aLimitBy as $value=>$text){
452
        ($limit == $value) ? $selected = "selected='selected'" : $selected = '';
453
        echo "<option value='$value' $selected>$text</option>";
454
    }
455
    echo "</select>
456
                  <input type='submit' name='mime_sort' id='mime_sort' value='"._AM_XHELP_BUTTON_SUBMIT."' />
457
              </td>
@@ 616-619 (lines=4) @@
613
                  &nbsp;&nbsp;&nbsp;
614
                  "._AM_XHELP_TEXT_NUMBER_PER_PAGE."
615
                  <select name='limit'>";
616
        foreach($aLimitBy as $value=>$text){
617
            ($limit == $value) ? $selected = "selected='selected'" : $selected = '';
618
            echo "<option value='$value' $selected>$text</option>";
619
        }
620
        echo "</select>
621
                  <input type='submit' name='mime_sort' id='mime_sort' value='"._AM_XHELP_BUTTON_SUBMIT."' />
622
                  <input type='hidden' name='mime_search' id='mime_search' value='1' />

admin/status.php 1 location

@@ 242-245 (lines=4) @@
239
                  &nbsp;&nbsp;&nbsp;
240
                  "._AM_XHELP_TEXT_NUMBER_PER_PAGE."
241
                  <select name='limit'>";
242
    foreach($aLimitBy as $value=>$text){
243
        ($limit == $value) ? $selected = "selected='selected'" : $selected = '';
244
        echo "<option value='$value' $selected>$text</option>";
245
    }
246
    echo "</select>
247
                  <input type='submit' name='status_sort' id='status_sort' value='"._AM_XHELP_BUTTON_SUBMIT."' />
248
              </td>