From dd0130670fe3cab4c7e2c1ab4f3bf0d2b2d512b0 Mon Sep 17 00:00:00 2001
From: Denny Bortfeldt <denny@bortfeldt.net>
Date: Mon, 27 Jun 2016 18:02:16 -0400
Subject: [PATCH] When uploading a logo which is smaller than the current ispconfig one, then the logo will be on the left side of the header. In my opinion it will look better when it's centered. You could vote about it ;)
---
interface/web/tools/lib/menu.d/import.menu.php | 34 ++++++++++++++++++++--------------
1 files changed, 20 insertions(+), 14 deletions(-)
diff --git a/interface/web/tools/lib/menu.d/import.menu.php b/interface/web/tools/lib/menu.d/import.menu.php
index cf5f9eb..d4a64ce 100644
--- a/interface/web/tools/lib/menu.d/import.menu.php
+++ b/interface/web/tools/lib/menu.d/import.menu.php
@@ -1,26 +1,32 @@
<?php
-
// Menu
if($app->auth->is_admin()) {
-$items = array();
+ $items = array();
-$items[] = array( 'title' => 'ISPConfig 3 mail',
+ $items[] = array( 'title' => 'ISPConfig 3 mail',
+ 'target' => 'content',
+ 'link' => 'tools/import_ispconfig.php');
+
+ $items[] = array( 'title' => 'PDNS Tupa',
+ 'target' => 'content',
+ 'link' => 'tools/dns_import_tupa.php');
+
+ /* not yet complete
+$items[] = array( 'title' => 'Plesk',
'target' => 'content',
- 'link' => 'tools/import_ispconfig.php');
+ 'link' => 'tools/import_plesk.php');
+*/
-$items[] = array( 'title' => 'PDNS Tupa',
- 'target' => 'content',
- 'link' => 'tools/dns_import_tupa.php');
+ $module['nav'][] = array( 'title' => 'Import',
+ 'open' => 1,
+ 'items' => $items);
-
-$module['nav'][] = array( 'title' => 'Import',
- 'open' => 1,
- 'items' => $items);
-
-unset($items);
+ unset($items);
}
-?>
\ No newline at end of file
+
+
+?>
--
Gitblit v1.9.1