Added option to disable footer in web interface

This commit is contained in:
Neil Lathwood 2015-01-02 23:15:35 +00:00
parent cbaf3cacec
commit 864cbe9a1a
2 changed files with 7 additions and 0 deletions

View File

@ -291,6 +291,10 @@ if (is_array($pagetitle))
echo("<script type=\"text/javascript\">\ndocument.title = '$title';\n</script>");
}
?>
<?php
if($config['enable_footer'] == 1) {
?>
<footer>
<div class="container">
<div class="row">
@ -307,6 +311,7 @@ echo(' Copyright &copy; 2006-2012 by Adam Armstrong.');
</div>
</footer>
<?php
}
if(is_array($msg_box)) {
echo("<script>

View File

@ -585,4 +585,6 @@ $config['dateformat']['time'] = "H:i:s";
$config['enable_clear_discovery'] = 1;// Set this to 0 if you want to disable the web option to rediscover devices
$config['enable_footer'] = 1;// Set this to 0 if you want to disable the footer copyright in the web interface
?>