Code

Updated group generic - copy & paste
[gosa.git] / gosa-core / plugins / admin / groups / class_divListGroup.inc
index 7122fa21204513ae50932e1ecb13804243d7726a..4c4fa2c906ae27bc849a9e3d7566a8a3c0aa72a3 100644 (file)
@@ -98,7 +98,7 @@ class divListGroup extends MultiSelectWindow
 
     /*                  Name                 ,Text                              ,Default  , Connect with alphabet  */
     $this->AddRegex   ("Regex",     _("Regular expression for matching group names"), "*" , true);
-    $this->AddRegex   ("UserRegex", _("User name of which groups are shown"),         "*" , false, "images/search_user.png");
+    $this->AddRegex   ("UserRegex", _("User name of which groups are shown"),         "*" , false, "images/lists/search-user.png");
   }
 
 
@@ -173,25 +173,25 @@ class divListGroup extends MultiSelectWindow
     
     /* Add department selection */
     $listhead .= _("Base")."&nbsp;<select name='CurrentMainBase' onChange='mainform.submit()' class='center'>$options</select>".
-      " <input type='image' class='center' src='images/list_submit.png' title='"._("Submit department")."' name='submit_department' alt='"._("Submit").
+      " <input type='image' class='center' src='images/lists/submit.png' title='"._("Submit department")."' name='submit_department' alt='"._("Submit").
       "'>&nbsp;";
 
 
         /* Create Layers menu */
     $s  = ".|"._("Actions")."|\n";
-    $s .= "..|<img src='images/list_new.png' alt='' border='0' class='center'>".
+    $s .= "..|<img src='images/lists/new.png' alt='' border='0' class='center'>".
       "&nbsp;"._("Create")."|\n";
 
 
     /* Append create options */
     if(preg_match("/c/",$acl_all)) {
-      $s.= "...|<input class='center' type='image' src='images/list_new_group.png' alt=''>".
+      $s.= "...|<input class='center' type='image' src='plugins/groups/images/new.png' alt=''>".
         "&nbsp;"._("Group")."|group_new|\n";
     }
 
     /* Multiple options */
     $s.= "..|---|\n";
-    $s.= "..|<img src='images/edit.png' alt='' border='0' class='center'>".
+    $s.= "..|<img src='images/lists/edit.png' alt='' border='0' class='center'>".
       "&nbsp;"._("Edit")."|"."multiple_edit|\n";
     $s.= "..|<img src='images/lists/trash.png' alt='' border='0' class='center'>".
       "&nbsp;"._("Remove")."|"."remove_multiple|\n";
@@ -248,7 +248,7 @@ class divListGroup extends MultiSelectWindow
 
     // image Buttons
     $editlink = "<a href='?plug=".$_GET['plug']."&amp;id=%s&amp;act=edit_entry'>%s</a>";
-    $userimg  = "<img class='center' src='images/select_groups.png' alt='User'    title='%s'>";
+    $userimg  = "<img class='center' src='plugins/groups/images/groups.png' alt='User'    title='%s'>";
 
     /* Dynamic action col, depending on snapshot icons */
     $action_col_size = 80;
@@ -257,17 +257,17 @@ class divListGroup extends MultiSelectWindow
     }
 
     /* Assign extension images */
-    $posiximg = "<input type='image' class='center' src='images/select_groups.png'
+    $posiximg = "<input type='image' class='center' src='plugins/groups/images/groups.png'
                  name='group_group_edit_%KEY%' alt='P'  title='"._("Posix")  ."'>";
-    $mailimg  = "<input type='image' class='center' src='images/mailto.png'
+    $mailimg  = "<input type='image' class='center' src='plugins/groups/images/mail.png'
                  name='mailgroup_group_edit_%KEY%' alt='M'  title='"._("Mail")   ."'>";
-    $sambaimg = "<input type='image'  class='center' src='images/select_winstation.png'
+    $sambaimg = "<input type='image'  class='center' src='plugins/groups/images/samba.png'
                  name='group_group_edit_%KEY%' alt='S'  title='"._("Samba")  ."'>";
-    $applimg  = "<input type='image'  class='center' src='images/select_application.png'
+    $applimg  = "<input type='image'  class='center' src='plugins/groups/images/menu.png'
                  name='appgroup_group_edit_%KEY%' alt='A'  title='"._("Application")."'>";
-    $phoneimg = "<input type='image'  class='center' src='images/select_phone.png'
+    $phoneimg = "<input type='image'  class='center' src='plugins/groups/images/asterisk.png'
                  name='group_group_edit_%KEY%' alt='Ph' title='"._("Phone")  ."'>";
-    $envimg   = "<input type='image'  class='center' src='images/smallenv.png'
+    $envimg   = "<input type='image'  class='center' src='plugins/groups/images/environment.png'
                  name='environment_group_edit_%KEY%' alt='E' title='"._("Environment")  ."'>";
 
     // Space
@@ -295,7 +295,7 @@ class divListGroup extends MultiSelectWindow
 
       /* Add edit icon */
       $actions.= "<input class='center' type='image'
-        src='images/edit.png' alt='"._("edit")."' name='group_edit_%KEY%' title='"._("Edit this entry")."'>";
+        src='images/lists/edit.png' alt='"._("edit")."' name='group_edit_%KEY%' title='"._("Edit this entry")."'>";
 
       /* Add snapshot functionality */
       if(preg_match("/(c.*w|w.*c)/", $acl_all)){
@@ -364,9 +364,9 @@ class divListGroup extends MultiSelectWindow
     $num_grp_str = _("Number of listed groups");
     $num_dep_str = _("Number of listed departments");
 
-    $str = "<img class='center' src='images/select_groups.png'
+    $str = "<img class='center' src='plugins/groups/images/groups.png'
               title='".$num_grp_str."' alt='".$num_grp_str."'>&nbsp;".$num_grps."&nbsp;&nbsp;&nbsp;&nbsp;";
-    $str.= "<img class='center' src='images/lists/lists/folder.png'
+    $str.= "<img class='center' src='images/lists/folder.png'
               title='".$num_dep_str."' alt='".$num_dep_str."'>&nbsp;".$num_deps."&nbsp;&nbsp;&nbsp;&nbsp;";
 
     $this->set_List_Bottom_Info($str);