Code

Updated gofax images
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 09:08:59 +0000 (09:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 09:08:59 +0000 (09:08 +0000)
-Added blocklist images
-Added report images

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11776 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc
gosa-plugins/gofax/gofax/blocklists/main.inc
gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc
gosa-plugins/gofax/gofax/faxreports/main.inc
gosa-plugins/gofax/html/images/blocklists.png [new file with mode: 0644]
gosa-plugins/gofax/html/images/reports.png [new file with mode: 0644]

index 649ae89f923b6c81f2ca41634e46aaefff1a443e..5903800e9021b620b6718922725ff37a08b7904b 100644 (file)
@@ -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;
index 745800383f71860102cbe1679f5725644b3d2c75..2bee86e454695397f5f5b0cbb7e5d5eb7716baf1 100644 (file)
@@ -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"), "<img alt=\"\"align=\"middle\" src=\"".get_template_path('images/lists/locked.png')."\"> ".@LDAP::fix(session::get('objectinfo')));
+               $display= print_header(get_template_path($blocklist->plIcon), _("Blocklist management"), "<img alt=\"\"align=\"middle\" src=\"".get_template_path('images/lists/locked.png')."\"> ".@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;
 
index 006a1ad77324f3570f81ffe64a830b3f87469c99..9c16f15f4addcfd0462222001d7514e559d42e44 100644 (file)
@@ -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;
index 03bf95b41acdbc4e42607daa68b54e5d04299b76..0f1b4d7bffbb1ff69c3496dfb7e06d00f383fb48 100644 (file)
@@ -11,7 +11,7 @@ if (!$remove_lock){
        $faxreport->save_object();
        $display= $faxreport->execute ();
        $display.= "<input type=\"hidden\" name=\"ignore\">\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 (file)
index 0000000..13f03f7
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 (file)
index 0000000..aeb715a
Binary files /dev/null and b/gosa-plugins/gofax/html/images/reports.png differ