From 7968412133877a737372a7ae2ae06a7f1a2ab5bc Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Mon, 16 Apr 2012 11:15:12 +0000 Subject: [PATCH] 2012-04-16 Juan Manuel Ramon * extensions/update_license_info.php: Added view to show UM license info. * extensions/update_manager.php extensions/update_manager/settings.php: Added UM license dialog in this view. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 16 +++++++ .../extensions/update_license_info.php | 44 +++++++++++++++++++ pandora_console/extensions/update_manager.php | 12 ++++- .../extensions/update_manager/settings.php | 7 +-- 4 files changed, 75 insertions(+), 4 deletions(-) create mode 100644 pandora_console/extensions/update_license_info.php diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 35ff699fd9..a85c10069b 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2012-04-16 Juan Manuel Ramon + + * extensions/update_license_info.php: Added view to show UM license + info. + + * extensions/update_manager.php + extensions/update_manager/settings.php: Added UM license dialog in + this view. + 2012-04-16 Vanessa Gil * extensions/tree.php: Added policy tab. @@ -79,6 +88,13 @@ extensions/tree/one_closed_.png extensions/tree/one_expanded_.png. Added files to new open tree view. +2012-04-12 Juan Manuel Ramon + + * extensions/update_license_info.php + extensions/update_manager.php + extensions/update_manager/settings.php: Added modal window and view + of UM license information. + 2012-04-12 Juan Manuel Ramon * extensions/update_license_info.php diff --git a/pandora_console/extensions/update_license_info.php b/pandora_console/extensions/update_license_info.php new file mode 100644 index 0000000000..ec9a388092 --- /dev/null +++ b/pandora_console/extensions/update_license_info.php @@ -0,0 +1,44 @@ +data = array (); $table->data[0][0] = ''.__('Customer key').''; $table->data[0][1] = html_print_input_text ('keys[customer_key]', $settings->customer_key, '', 40, 255, true); -$table->data[0][1] .= ' '.html_print_image('images/lock.png', true, array('class' => 'bot', 'title' => __('License info'))).''; -$table->data[0][1] .= ''; - +if (defined('PANDORA_ENTERPRISE')) { + $table->data[0][1] .= ' '.html_print_image('images/lock.png', true, array('class' => 'bot', 'title' => __('License info'))).''; + $table->data[0][1] .= ''; +} $table->data[1][0] = ''.__('Update server host').''; $table->data[1][1] = html_print_input_text ('keys[update_server_host]', $settings->update_server_host, '', 20, 255, true);