From: hickert Date: Wed, 23 Jul 2008 09:08:59 +0000 (+0000) Subject: Updated gofax images X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=38ca2631487481af3e9bf720136b041cb48078b1;p=gosa.git Updated gofax images -Added blocklist images -Added report images git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11776 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc b/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc index 649ae89f9..5903800e9 100644 --- a/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc +++ b/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc @@ -4,6 +4,7 @@ class blocklist extends plugin /* Definitions */ var $plHeadline= "FAX blocklists"; var $plDescription= "This does something"; + var $plIcon = "plugins/gofax/images/blocklists.png"; var $blocklists = array(); var $DivListBlocklist = NULL; diff --git a/gosa-plugins/gofax/gofax/blocklists/main.inc b/gosa-plugins/gofax/gofax/blocklists/main.inc index 745800383..2bee86e45 100644 --- a/gosa-plugins/gofax/gofax/blocklists/main.inc +++ b/gosa-plugins/gofax/gofax/blocklists/main.inc @@ -24,9 +24,9 @@ if ($remove_lock){ /* Page header*/ if (session::is_set('objectinfo')){ - $display= print_header(get_template_path('images/blocklists.png'), _("Blocklist management"), "\"\"align=\"middle\" ".@LDAP::fix(session::get('objectinfo'))); + $display= print_header(get_template_path($blocklist->plIcon), _("Blocklist management"), "\"\"align=\"middle\" ".@LDAP::fix(session::get('objectinfo'))); } else { - $display= print_header(get_template_path('images/blocklists.png'), _("Blocklist management")); + $display= print_header(get_template_path($blocklist->plIcon), _("Blocklist management")); } $display.= $output; diff --git a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc index 006a1ad77..9c16f15f4 100644 --- a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc +++ b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc @@ -5,6 +5,7 @@ class faxreport extends plugin /* Definitions */ var $plHeadline = "FAX Reports"; var $plDescription = "This does something"; + var $plIcon = "plugins/gofax/images/reports.png"; /* For internal use */ var $start = 0; diff --git a/gosa-plugins/gofax/gofax/faxreports/main.inc b/gosa-plugins/gofax/gofax/faxreports/main.inc index 03bf95b41..0f1b4d7bf 100644 --- a/gosa-plugins/gofax/gofax/faxreports/main.inc +++ b/gosa-plugins/gofax/gofax/faxreports/main.inc @@ -11,7 +11,7 @@ if (!$remove_lock){ $faxreport->save_object(); $display= $faxreport->execute (); $display.= "\n"; - $display= print_header(get_template_path('images/reports.png'), _("FAX reports")).$display; + $display= print_header(get_template_path($faxreport->plIcon), _("FAX reports")).$display; /* Store changes in session */ session::set('faxreport',$faxreport); diff --git a/gosa-plugins/gofax/html/images/blocklists.png b/gosa-plugins/gofax/html/images/blocklists.png new file mode 100644 index 000000000..13f03f746 Binary files /dev/null and b/gosa-plugins/gofax/html/images/blocklists.png differ diff --git a/gosa-plugins/gofax/html/images/reports.png b/gosa-plugins/gofax/html/images/reports.png new file mode 100644 index 000000000..aeb715a81 Binary files /dev/null and b/gosa-plugins/gofax/html/images/reports.png differ