Code

Updated images
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 12:29:28 +0000 (12:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 12:29:28 +0000 (12:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11840 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/images/fai_script.png [deleted file]
gosa-core/html/images/fai_small.png [deleted file]
gosa-core/html/images/fai_template.png [deleted file]
gosa-core/html/plugins/users/images/fax_small.png [new file with mode: 0644]
gosa-core/plugins/admin/users/class_divListUsers.inc
gosa-core/plugins/generic/references/class_reference.inc

diff --git a/gosa-core/html/images/fai_script.png b/gosa-core/html/images/fai_script.png
deleted file mode 100644 (file)
index f8aaba2..0000000
Binary files a/gosa-core/html/images/fai_script.png and /dev/null differ
diff --git a/gosa-core/html/images/fai_small.png b/gosa-core/html/images/fai_small.png
deleted file mode 100644 (file)
index fc716d0..0000000
Binary files a/gosa-core/html/images/fai_small.png and /dev/null differ
diff --git a/gosa-core/html/images/fai_template.png b/gosa-core/html/images/fai_template.png
deleted file mode 100644 (file)
index 7ef47b3..0000000
Binary files a/gosa-core/html/images/fai_template.png and /dev/null differ
diff --git a/gosa-core/html/plugins/users/images/fax_small.png b/gosa-core/html/plugins/users/images/fax_small.png
new file mode 100644 (file)
index 0000000..bb676f8
Binary files /dev/null and b/gosa-core/html/plugins/users/images/fax_small.png differ
index 22f7757fe011e38cb96871b266f245f679e60def..b613055430f128a01e4dc804958b53d8639293c4 100644 (file)
@@ -207,7 +207,7 @@ class divListUsers extends MultiSelectWindow
                     name='user_edit_%KEY%-mailAccount' title='"._("Edit mail properties")."'>";
     $fonimg   = "<input class='center' type='image' src='images/%image%' alt='"._("Phone")."'
                     name='user_edit_%KEY%-phoneAccount' title='"._("Edit phone properties")."%title%'>";
-    $faximg   = "<input class='center' type='image' src='images/fax_small.png' alt='"._("Fax")."'
+    $faximg   = "<input class='center' type='image' src='plugins/users/images/fax_small.png' alt='"._("Fax")."'
                     name='user_edit_%KEY%-gofaxAccount' title='"._("Edit fax properies")."'>";
     $sambaimg = "<input class='center' type='image' src='images/select_winstation.png' alt='"._("Samba")."'
                     name='user_edit_%KEY%-sambaAccount' title='"._("Edit samba properties")."'>";
index eb39838d9c429bcb0d579af7ffd8cd86fc88b2ad..8afc40f0d2491a5bdd0edcfc1d22c993e6467b87 100644 (file)
@@ -39,39 +39,39 @@ class reference extends plugin
         /* Fill translation array */
         $this->obtypes= array(  
                                "gosaAccount" => array(    "text" => _("Generic"),
-                                       "image" => "penguin.png"),
+                                       "image" => "images/penguin.png"),
                                "posixAccount" => array(   "text" =>_("UNIX"),
-                                       "image" => "select_user.png"),
+                                       "image" => "images/select_user.png"),
                                "gosaMailAccount" => array("text" => _("Mail"),
-                                       "image" => "mailto.png"),
+                                       "image" => "images/mailto.png"),
                                "sambaSamAccount" => array("text" => _("Samba"),
-                                       "image" => "select_winstation.png"),
+                                       "image" => "images/select_winstation.png"),
                                "sambaAccount" => array(   "text" => _("Samba"),
-                                       "image" => "select_winstation.png"),
+                                       "image" => "images/select_winstation.png"),
                                "goFaxAccount" => array(   "text" => _("FAX"),
-                                       "image" => "fax_small.png"),
+                                       "image" => "plugins/gofax/images/fax_small.png"),
                                "gosaProxyAccount" => array("text" => _("Proxy"),
-                                       "image" => "select_proxy.png"),
+                                       "image" => "images/select_proxy.png"),
                                "PureFTPdUser" => array(   "text" => _("FTP"),
-                                       "image" => "select_proxy.png"),
+                                       "image" => "images/select_proxy.png"),
                                "posixGroup" => array(     "text" => _("Group"),
-                                       "image" => "select_groups.png"),
+                                       "image" => "images/select_groups.png"),
                                "gosaDepartment" => array( "text" => _("Department"),
-                                       "image" => "select_department.png"),
+                                       "image" => "images/select_department.png"),
                                "goFonHardware" => array(   "text" => _("Phone"),
-                                       "image" => "select_phone.png"),
+                                       "image" => "images/select_phone.png"),
                                "gosaApplication" => array("text" => _("Application"),
-                                               "image" => "select_application.png"),
+                                               "image" => "images/select_application.png"),
                                "goServer" => array(       "text" => _("Server"),
-                                               "image" => "select_server.png"),
+                                               "image" => "images/select_server.png"),
                                "gotoTerminal" => array(   "text" => _("Thin Client"),
-                                               "image" => "select_terminal.png"),
+                                               "image" => "images/select_terminal.png"),
                                "gotoWorkstation" => array("text" => _("Workstation"),
-                                               "image" => "select_workstation.png"),
+                                               "image" => "images/select_workstation.png"),
                                "gosaGroupOfNames" => array("text" => _("Object group"),
-                                               "image" => "select_ogroup.png"),
+                                               "image" => "images/select_ogroup.png"),
                                "gotoPrinter" => array(    "text" => _("Printer"),
-                                               "image" => "select_printer.png"));
+                                               "image" => "images/select_printer.png"));
   }
 
   function execute()
@@ -191,7 +191,7 @@ class reference extends plugin
        if(!is_null($classes)) {
                foreach ($classes as $class){
                        if (isset($this->obtypes[$class])){
-                               $result.= "<a><img alt=\"\" border=0 src='images/".$this->obtypes[$class]['image']."'>&nbsp;".$this->obtypes[$class]['text']."</a> ";
+                               $result.= "<a><img alt=\"\" border=0 src='".$this->obtypes[$class]['image']."'>&nbsp;".$this->obtypes[$class]['text']."</a> ";
                        }
                }
        }