only use the PHP opening tag once per file
authorDenis Ovsienko <denis@ovsienko.info>
Fri, 14 Jul 2017 15:01:02 +0000 (16:01 +0100)
committerDenis Ovsienko <denis@ovsienko.info>
Fri, 14 Jul 2017 15:01:02 +0000 (16:01 +0100)
commit1cfcac1b31489bd2394c97294586bc9b900da740
tree9736fbe736cfdea427f6f8cfb3343018f3c0e0e6
parent2864fb8d49abac7dc4e3da5f5e391024f4f86fe6
only use the PHP opening tag once per file

There used to be a few code blocks that switched PHP interpreting on and
off with PHP tags, convert those to use either heredoc or plain echo as
that is the usual syntax for this purpose elsewhere in the code. Fixup
some indentation while at it.

* renderInstallerHTML()
* renderInterfaceHTML()
* renderIndex()
* dragon()
* renderSNMPPortFinder()
* renderPopupHTML()
* printStatic404()
* renderUpgraderHTML()
wwwroot/inc/install.php
wwwroot/inc/interface.php
wwwroot/inc/popup.php
wwwroot/inc/secret.php.off [new file with mode: 0644]
wwwroot/inc/solutions.php
wwwroot/inc/upgrade.php