From 7fe908c50c8dbc5cc05f571dbe11d66141caacd4 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Thu, 14 Nov 2013 09:01:22 -0500
Subject: [PATCH] Cleaning up code to match coding guidelines

---
 interface/web/vm/lib/module.conf.php |   52 ++++++++++++++++++++++++++--------------------------
 1 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/interface/web/vm/lib/module.conf.php b/interface/web/vm/lib/module.conf.php
index 6d0ffec..a7e31bb 100644
--- a/interface/web/vm/lib/module.conf.php
+++ b/interface/web/vm/lib/module.conf.php
@@ -1,40 +1,40 @@
 <?php
 
-$module['name'] 		= 'vm';
-$module['title'] 		= 'top_menu_vm';
-$module['template'] 	= 'module.tpl.htm';
-$module['startpage'] 	= 'vm/openvz_vm_list.php';
+$module['name']   = 'vm';
+$module['title']   = 'top_menu_vm';
+$module['template']  = 'module.tpl.htm';
+$module['startpage']  = 'vm/openvz_vm_list.php';
 $module['tab_width']    = '';
 
 //**** Templates menu
 $items = array();
 
-$items[] = array( 'title' 	=> 'Virtual Servers',
-				  'target' 	=> 'content',
-				  'link'	=> 'vm/openvz_vm_list.php',
-				  'html_id' => 'openvz_vm_list');
+$items[] = array( 'title'  => 'Virtual Servers',
+	'target'  => 'content',
+	'link' => 'vm/openvz_vm_list.php',
+	'html_id' => 'openvz_vm_list');
 
 if($_SESSION["s"]["user"]["typ"] == 'admin') {
-$items[] = array( 'title' 	=> 'OS Templates',
-				  'target' 	=> 'content',
-				  'link'	=> 'vm/openvz_ostemplate_list.php',
-				  'html_id' => 'openvz_ostemplate_list');
+	$items[] = array( 'title'  => 'OS Templates',
+		'target'  => 'content',
+		'link' => 'vm/openvz_ostemplate_list.php',
+		'html_id' => 'openvz_ostemplate_list');
 
-$items[] = array( 'title' 	=> 'VM Templates',
-				  'target' 	=> 'content',
-				  'link'	=> 'vm/openvz_template_list.php',
-				  'html_id' => 'openvz_template_list');
-				  
-$items[] = array( 'title' 	=> 'IP addresses',
-				  'target' 	=> 'content',
-				  'link'	=> 'vm/openvz_ip_list.php',
-				  'html_id' => 'openvz_ip_list');
+	$items[] = array( 'title'  => 'VM Templates',
+		'target'  => 'content',
+		'link' => 'vm/openvz_template_list.php',
+		'html_id' => 'openvz_template_list');
+
+	$items[] = array( 'title'  => 'IP addresses',
+		'target'  => 'content',
+		'link' => 'vm/openvz_ip_list.php',
+		'html_id' => 'openvz_ip_list');
 }
 if(count($items))
 {
-	$module['nav'][] = array(	'title'	=> 'OpenVZ',
-								'open' 	=> 1,
-								'items'	=> $items);
+	$module['nav'][] = array( 'title' => 'OpenVZ',
+		'open'  => 1,
+		'items' => $items);
 }
 
 
@@ -51,7 +51,7 @@
 				  'target' 	=> 'content',
 				  'link'	=> 'vm/traffic_stats.php',
 				  'html_id' => 'vm_traffic_stats');
-				  
+
 if(count($items))
 {
 	$module['nav'][] = array(	'title'	=> 'Statistics',
@@ -65,4 +65,4 @@
 
 
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1