From 53c2b4bae9cf941a713179fac2b76c9b229fc77e Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Mon, 29 Jun 2015 11:28:48 +0200 Subject: [PATCH] Change visual of plugin registration --- .../extensions/plugin_registration.php | 36 +++++++++++-------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/pandora_console/extensions/plugin_registration.php b/pandora_console/extensions/plugin_registration.php index fa960f510d..67ae8bf31e 100644 --- a/pandora_console/extensions/plugin_registration.php +++ b/pandora_console/extensions/plugin_registration.php @@ -22,14 +22,29 @@ function pluginreg_extension_main () { require ("general/noaccess.php"); return; } - + ui_require_css_file ('firts_task'); ui_print_page_header (__('Plugin registration'), "images/extensions.png", false, "", true, "" ); - echo "
"; - printf(__("This extension makes registration of server plugins more easy. Here you can upload a server plugin in Pandora FMS 3.x zipped format (.pspz). Please refer to documentation on how to obtain and use Pandora FMS Server Plugins.

You can get more plugins in our Public Resource Library") , "http://pandorafms.com/Library/Library/"); - echo "
"; - - echo "

"; + echo '
+
'; + echo html_print_image("images/firts_task/icono_grande_import.png", true, array("title" => __("") )); + echo '
'; + echo '
'; + echo '

' . __("Plugin registration") . '

'; + echo '

' . + __("This extension makes registration of server plugins more easy. + Here you can upload a server plugin in Pandora FMS 3.x zipped format (.pspz). + Please refer to documentation on how to obtain and use Pandora FMS Server Plugins. +

You can get more plugins in our Public Resource Library ") . '

'; + // Upload form + echo "
"; + echo ''; + echo "
"; + echo ""; + echo "
"; + echo '
'; + echo '
'; + $zip = null; $upload = false; @@ -408,15 +423,6 @@ function pluginreg_extension_main () { } } } - - // Upload form - echo "
"; - echo ''; - echo "
"; - echo ""; - echo "
"; - - return; } extensions_add_godmode_menu_option (__('Register plugin'), 'PM','gservers', null, "v1r1");