Code Duplication    Length = 3-3 lines in 7 locations

src/controllers/DataexportController.php 1 location

@@ 268-270 (lines=3) @@
265
        $this->prtrace('$_REQUEST[query]', $_REQUEST['query'], htmlspecialchars(urlencode($_REQUEST['query'])));
266
        $this->prtrace('$_SESSION[sqlquery]', $_SESSION['sqlquery'], htmlspecialchars(urlencode($_SESSION['sqlquery'])));
267
        echo '<input type="hidden" name="query" value="', htmlspecialchars(urlencode($_REQUEST['query'])), '" />'.PHP_EOL;
268
        if (isset($_REQUEST['search_path'])) {
269
            echo '<input type="hidden" name="search_path" value="', htmlspecialchars($_REQUEST['search_path']), '" />'.PHP_EOL;
270
        }
271
        echo $this->misc->form;
272
        echo "<input type=\"submit\" value=\"{$this->lang['strexport']}\" /></p>".PHP_EOL;
273
        echo '</form>'.PHP_EOL;

src/controllers/DisplayController.php 5 locations

@@ 937-939 (lines=3) @@
934
                echo "<p>{$this->lang['strinvalidparam']}</p>".PHP_EOL;
935
                echo "<input type=\"submit\" name=\"cancel\" value=\"{$this->lang['strcancel']}\" />".PHP_EOL;
936
            }
937
            if (isset($_REQUEST['table'])) {
938
                echo '<input type="hidden" name="table" value="', htmlspecialchars($_REQUEST['table']), '" />'.PHP_EOL;
939
            }
940
941
            if (isset($_REQUEST['subject'])) {
942
                echo '<input type="hidden" name="subject" value="', htmlspecialchars($_REQUEST['subject']), '" />'.PHP_EOL;
@@ 941-943 (lines=3) @@
938
                echo '<input type="hidden" name="table" value="', htmlspecialchars($_REQUEST['table']), '" />'.PHP_EOL;
939
            }
940
941
            if (isset($_REQUEST['subject'])) {
942
                echo '<input type="hidden" name="subject" value="', htmlspecialchars($_REQUEST['subject']), '" />'.PHP_EOL;
943
            }
944
945
            if (isset($_REQUEST['query'])) {
946
                echo '<input type="hidden" name="query" value="', htmlspecialchars($_REQUEST['query']), '" />'.PHP_EOL;
@@ 945-947 (lines=3) @@
942
                echo '<input type="hidden" name="subject" value="', htmlspecialchars($_REQUEST['subject']), '" />'.PHP_EOL;
943
            }
944
945
            if (isset($_REQUEST['query'])) {
946
                echo '<input type="hidden" name="query" value="', htmlspecialchars($_REQUEST['query']), '" />'.PHP_EOL;
947
            }
948
949
            if (isset($_REQUEST['count'])) {
950
                echo '<input type="hidden" name="count" value="', htmlspecialchars($_REQUEST['count']), '" />'.PHP_EOL;
@@ 949-951 (lines=3) @@
946
                echo '<input type="hidden" name="query" value="', htmlspecialchars($_REQUEST['query']), '" />'.PHP_EOL;
947
            }
948
949
            if (isset($_REQUEST['count'])) {
950
                echo '<input type="hidden" name="count" value="', htmlspecialchars($_REQUEST['count']), '" />'.PHP_EOL;
951
            }
952
953
            if (isset($_REQUEST['return'])) {
954
                echo '<input type="hidden" name="return" value="', htmlspecialchars($_REQUEST['return']), '" />'.PHP_EOL;
@@ 953-955 (lines=3) @@
950
                echo '<input type="hidden" name="count" value="', htmlspecialchars($_REQUEST['count']), '" />'.PHP_EOL;
951
            }
952
953
            if (isset($_REQUEST['return'])) {
954
                echo '<input type="hidden" name="return" value="', htmlspecialchars($_REQUEST['return']), '" />'.PHP_EOL;
955
            }
956
957
            echo '<input type="hidden" name="page" value="', htmlspecialchars($_REQUEST['page']), '" />'.PHP_EOL;
958
            echo '<input type="hidden" name="sortkey" value="', htmlspecialchars($_REQUEST['sortkey']), '" />'.PHP_EOL;

src/controllers/TablesController.php 1 location

@@ 630-632 (lines=3) @@
627
                    echo '<input type="hidden" name="withoutoids" value="true" />'.PHP_EOL;
628
                }
629
                echo '<input type="hidden" name="tblcomment" value="', htmlspecialchars($_REQUEST['tblcomment']), '" />'.PHP_EOL;
630
                if (isset($_REQUEST['spcname'])) {
631
                    echo '<input type="hidden" name="spcname" value="', htmlspecialchars($_REQUEST['spcname']), '" />'.PHP_EOL;
632
                }
633
                echo "<input type=\"submit\" value=\"{$this->lang['strcreate']}\" />".PHP_EOL;
634
                echo "<input type=\"submit\" name=\"cancel\" value=\"{$this->lang['strcancel']}\" /></p>".PHP_EOL;
635
                echo '</form>'.PHP_EOL;