Code

Updated fon plugin.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Jul 2008 10:49:39 +0000 (10:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Jul 2008 10:49:39 +0000 (10:49 +0000)
-Added several plguin images

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

gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc
gosa-plugins/gofon/gofon/conference/main.inc
gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc
gosa-plugins/gofon/gofon/fonreports/main.inc
gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc
gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc
gosa-plugins/gofon/gofon/phoneaccount/main.inc
gosa-plugins/gofon/html/images/conference.png [new file with mode: 0644]
gosa-plugins/gofon/html/images/macros.png [new file with mode: 0644]
gosa-plugins/gofon/html/images/phoneAccount.png [new file with mode: 0644]
gosa-plugins/gofon/html/images/phonereport.png [new file with mode: 0644]

index f41ea11ad8db91a30bece3cff8bff8ac8af3b81c..1532bbeffe31a0b12cdc90d20407eb127840702c 100644 (file)
@@ -23,6 +23,7 @@ class phoneConferenceManagment extends plugin
   /* Definitions */
   var $plHeadline                                = "Phone conferences";
   var $plDescription                   = "Management";
+  var $plIcon             = "plugins/gofon/images/conference.png";
 
   /* attribute list for save action */
   var $attributes                                = array();
index d8f7626127f5f4cd5e8c71723bb7ee8c545ae957..3a10ee38347c6668da3bb44ff47b849aadb7b9d1 100644 (file)
@@ -35,9 +35,9 @@ if ($remove_lock){
 
        /* Page header*/
        if (session::is_set('objectinfo')){
-               $display= print_header(get_template_path('images/conference.png'), _("Conference management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/locked.png')."\"> ".@LDAP::fix(session::get('objectinfo')));
+               $display= print_header(get_template_path('plugins/gofon/images/conference.png'), _("Conference 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/conference.png'), _("Conference management"));
+               $display= print_header(get_template_path('plugins/gofon/images/conference.png'), _("Conference management"));
        }
 
        /* Reset requested? */
index 488567efd3c0e91c4f125ff4370763ef7cd9ce76..ce9530421bd017ba5a80e0df4fae4e6dea1ff1d7 100644 (file)
@@ -5,6 +5,8 @@ class fonreport extends plugin
   /* Definitions */
   var $plHeadline= "Phone Reports";
   var $plDescription= "This does something";
+  var $plIcon       = "plugins/gofon/images/phonereport.png";
+
 
   /* For internal use */
   var $start                             = 0;
index 0b3d25f5e99ae0d40201a0b5670705a15307d2fb..4f85de2de9d3a29995454e7632516d78e2704a09 100644 (file)
@@ -13,7 +13,7 @@ if (!$remove_lock){
        $display.= "<input type=\"hidden\" name=\"ignore\">\n";
 
        /* Page header*/
-       $display= print_header(get_template_path('images/phonereport.png'), _("Phone reports")).$display;
+       $display= print_header(get_template_path('plugins/gofon/images/phonereport.png'), _("Phone reports")).$display;
 
        /* Store changes  in session */
        session::set('fonreport',$fonreport);
index 640665faf7fb983a6fbf523228bd8d02196223bf..4f6df42f4508c65f12a2be9ef0c1a9717228d904 100644 (file)
@@ -9,10 +9,9 @@
 */
 class macro extends plugin
 {
-
   /*! Macro attributes,  */
   var $generate_error= "";
-  
+    
   /*! The name of the Macro in the openldap drirectory */
   var $cn               = ""; 
  
index e5e7f3934a0a8b213c355257ae91f9a0d5067db4..2ac2700fc544dedff9aa204e56c575040ee7b9ee 100644 (file)
@@ -23,6 +23,8 @@ class goFonMacro extends plugin
   /* Definitions */
   var $plHeadline                  = "Phone macros";
   var $plDescription     = "This does something";
+  var $plIcon           = "plugins/gofon/images/macros.png";
+
 
   /* Dialog attributes */
   var $macrotabs                   = NULL;
index 7f8687c5534fd3d999125a298e5af67a531542f9..b82e07a33b30b79b31d1e984d34e38879f804cc8 100644 (file)
@@ -120,7 +120,7 @@ if (!$remove_lock){
        }
 
        /* Page header*/
-       $display= print_header(get_template_path('plugins/gofon/plugin.png'), _("Phone settings"), $info).$display;
+       $display= print_header(get_template_path('plugins/gofon/images/phoneAccount.png'), _("Phone settings"), $info).$display;
 
 }
 ?>
diff --git a/gosa-plugins/gofon/html/images/conference.png b/gosa-plugins/gofon/html/images/conference.png
new file mode 100644 (file)
index 0000000..db3e2bc
Binary files /dev/null and b/gosa-plugins/gofon/html/images/conference.png differ
diff --git a/gosa-plugins/gofon/html/images/macros.png b/gosa-plugins/gofon/html/images/macros.png
new file mode 100644 (file)
index 0000000..3d2f1f3
Binary files /dev/null and b/gosa-plugins/gofon/html/images/macros.png differ
diff --git a/gosa-plugins/gofon/html/images/phoneAccount.png b/gosa-plugins/gofon/html/images/phoneAccount.png
new file mode 100644 (file)
index 0000000..638ede9
Binary files /dev/null and b/gosa-plugins/gofon/html/images/phoneAccount.png differ
diff --git a/gosa-plugins/gofon/html/images/phonereport.png b/gosa-plugins/gofon/html/images/phonereport.png
new file mode 100644 (file)
index 0000000..6842f44
Binary files /dev/null and b/gosa-plugins/gofon/html/images/phonereport.png differ