r2686 - printOpFormIntro(): generate HTML elements only, because extra noise screws...
authorDenis Ovsienko <infrastation@yandex.ru>
Wed, 6 May 2009 11:21:04 +0000 (11:21 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 6 May 2009 11:21:04 +0000 (11:21 +0000)
inc/interface.php

index 35d85070af0558f0471684f6687c0dfcd3ca1090..e00d2cf0b514ae9c6cff946a2903c35ab4465969 100644 (file)
@@ -5612,11 +5612,11 @@ function printOpFormIntro ($opname, $extra = array(), $upload = FALSE)
        echo "<form method=post name=${opname} action='${root}process.php?page=${pageno}&tab=${tabno}&op=${opname}'";
        if ($upload)
                echo " enctype='multipart/form-data'";
-       echo ">\n";
+       echo ">";
        if (isset ($page[$pageno]['bypass']) and isset ($_REQUEST[$page[$pageno]['bypass']]))
                $extra[$page[$pageno]['bypass']] = $_REQUEST[$page[$pageno]['bypass']];
        foreach ($extra as $inputname => $inputvalue)
-               echo "<input type=hidden name=${inputname} value='${inputvalue}'>\n";
+               echo "<input type=hidden name=${inputname} value='${inputvalue}'>";
 }
 
 // This is a dual-purpose formating function: