require_once, not include. And shift some HTML to the right

This commit is contained in:
Mark Schouten
2015-09-01 10:01:39 +02:00
parent 73e4dd178f
commit bcca44b08e

View File

@@ -1,6 +1,6 @@
<?php <?php
include('includes/application/proxmox.inc.php'); require_once('includes/application/proxmox.inc.php');
$graphs['proxmox'] = array( $graphs['proxmox'] = array(
'netif' 'netif'
); );
@@ -34,6 +34,8 @@ foreach ($pmxcl as $pmxc) {
print_optionbar_end(); print_optionbar_end();
echo '<div class="container"><div class="row"><div class="col-md-12">';
if (!isset($vars['instance'])) { if (!isset($vars['instance'])) {
echo 'Select a cluster:'; echo 'Select a cluster:';
echo '<ul>'; echo '<ul>';
@@ -53,4 +55,6 @@ else {
include("pages/apps/proxmox/vm.inc.php"); include("pages/apps/proxmox/vm.inc.php");
} }
echo '</div></div></div>';
$pagetitle[] = 'Proxmox'; $pagetitle[] = 'Proxmox';