From: hickert Date: Wed, 23 Jul 2008 08:36:41 +0000 (+0000) Subject: Updated goto plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=eb6e72995ca9ff5a66040f2ad97b6d5f15038bce;p=gosa.git Updated goto plugin -Added images for applications and devices git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11767 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc index b7f040d78..1790fe29d 100644 --- a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc +++ b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc @@ -23,6 +23,7 @@ class applicationManagement extends plugin /* Definitions */ var $plHeadline = "Applications"; var $plDescription = "This does something"; + var $plIcon = "plugins/goto/images/application.png"; /* Dialog attributes */ var $apptabs = NULL; diff --git a/gosa-plugins/goto/admin/applications/main.inc b/gosa-plugins/goto/admin/applications/main.inc index 8167bd8fd..e48883bab 100644 --- a/gosa-plugins/goto/admin/applications/main.inc +++ b/gosa-plugins/goto/admin/applications/main.inc @@ -35,9 +35,9 @@ if ($remove_lock){ /* Page header*/ if (session::is_set('objectinfo')){ - $display= print_header(get_template_path('images/application.png'), _("Application management"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); + $display= print_header(get_template_path($applicationManagement->plIcon), _("Application management"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); } else { - $display= print_header(get_template_path('images/application.png'), _("Application management")); + $display= print_header(get_template_path($applicationManagement->plIcon), _("Application management")); } /* Reset requested? */ diff --git a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc index 7b3f750f6..3b1c63754 100644 --- a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc +++ b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc @@ -6,6 +6,7 @@ class deviceManagement extends plugin /* Definitions */ var $plHeadline = "Hotplug devices"; var $plDescription = "Manage hotplug devices"; + var $plIcon = "plugins/goto/images/devices.png"; /* Dialog attributes */ var $ui = NULL; diff --git a/gosa-plugins/goto/admin/devices/main.inc b/gosa-plugins/goto/admin/devices/main.inc index 549a6b3cc..4dc8c7dee 100644 --- a/gosa-plugins/goto/admin/devices/main.inc +++ b/gosa-plugins/goto/admin/devices/main.inc @@ -38,9 +38,9 @@ if ($remove_lock){ /* Page header*/ if (session::is_set('objectinfo')){ - $display= print_header(get_template_path('images/devices.png'), _("Hotplug device management"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); + $display= print_header(get_template_path($DeviceManagement->plIcon), _("Hotplug device management"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); } else { - $display= print_header(get_template_path('images/devices.png'), _("Hotplug device management")); + $display= print_header(get_template_path($DeviceManagement->plIcon), _("Hotplug device management")); } /* Reset requested? */ diff --git a/gosa-plugins/goto/html/images/application.png b/gosa-plugins/goto/html/images/application.png new file mode 100644 index 000000000..671fc7db7 Binary files /dev/null and b/gosa-plugins/goto/html/images/application.png differ diff --git a/gosa-plugins/goto/html/images/devices.png b/gosa-plugins/goto/html/images/devices.png new file mode 100644 index 000000000..b4bfa286f Binary files /dev/null and b/gosa-plugins/goto/html/images/devices.png differ