From: hickert Date: Tue, 15 Jul 2008 10:49:39 +0000 (+0000) Subject: Updated fon plugin. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=20478de6254c5d62dfe0d17ba65c6dfda861bac9;p=gosa.git Updated fon plugin. -Added several plguin images git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11660 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc index f41ea11ad..1532bbeff 100644 --- a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc +++ b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc @@ -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(); diff --git a/gosa-plugins/gofon/gofon/conference/main.inc b/gosa-plugins/gofon/gofon/conference/main.inc index d8f762612..3a10ee383 100644 --- a/gosa-plugins/gofon/gofon/conference/main.inc +++ b/gosa-plugins/gofon/gofon/conference/main.inc @@ -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"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); + $display= print_header(get_template_path('plugins/gofon/images/conference.png'), _("Conference management"), "\"\" ".@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? */ diff --git a/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc b/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc index 488567efd..ce9530421 100644 --- a/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc +++ b/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc @@ -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; diff --git a/gosa-plugins/gofon/gofon/fonreports/main.inc b/gosa-plugins/gofon/gofon/fonreports/main.inc index 0b3d25f5e..4f85de2de 100644 --- a/gosa-plugins/gofon/gofon/fonreports/main.inc +++ b/gosa-plugins/gofon/gofon/fonreports/main.inc @@ -13,7 +13,7 @@ if (!$remove_lock){ $display.= "\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); diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc index 640665faf..4f6df42f4 100644 --- a/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc +++ b/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc @@ -9,10 +9,9 @@ */ class macro extends plugin { - /*! Macro attributes, */ var $generate_error= ""; - + /*! The name of the Macro in the openldap drirectory */ var $cn = ""; diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc index e5e7f3934..2ac2700fc 100644 --- a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc +++ b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc @@ -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; diff --git a/gosa-plugins/gofon/gofon/phoneaccount/main.inc b/gosa-plugins/gofon/gofon/phoneaccount/main.inc index 7f8687c55..b82e07a33 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/main.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/main.inc @@ -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 index 000000000..db3e2bc51 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 index 000000000..3d2f1f30c 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 index 000000000..638ede970 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 index 000000000..6842f44b1 Binary files /dev/null and b/gosa-plugins/gofon/html/images/phonereport.png differ