Code

Moved remaining list buttons
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Apr 2008 12:20:48 +0000 (12:20 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Apr 2008 12:20:48 +0000 (12:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10471 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZone.inc
gosa-plugins/fai/admin/fai/class_faiProfile.inc
gosa-plugins/fai/admin/fai/class_faiScript.inc
gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc
gosa-plugins/goto/addons/goto/class_gotomasses.inc
gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc
gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc
gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
gosa-plugins/log/addons/logview/class_gosa_logview.inc
gosa-plugins/mail/addons/mailqueue/class_mailqueue.inc
gosa-plugins/mail/admin/systems/services/mail/class_goMailServer.inc

index 1a37e952fe84dde944e97eaef87ae8d6db0f3c95..2123d3cda4bbe04a41a27b9e89678f59276114b2 100644 (file)
@@ -333,8 +333,8 @@ class servdnseditZone extends plugin
     $div->setHeight(120);
     $recs = $this->mXRecords;
 
-    $oneup    = "<input name='MXup_%s'    type='image' src='images/sort_up.png'    title='"._("Up")."'      class='center'>&nbsp;"; 
-    $onedown  = "<input name='MXdown_%s'  type='image' src='images/sort_down.png'  title='"._("Down")."'    class='center'>&nbsp;"; 
+    $oneup    = "<input name='MXup_%s'    type='image' src='images/lists/sort-up.png'    title='"._("Up")."'      class='center'>&nbsp;"; 
+    $onedown  = "<input name='MXdown_%s'  type='image' src='images/lists/sort-down.png'  title='"._("Down")."'    class='center'>&nbsp;"; 
     $onedel   = "<img src='images/empty.png' width='20' class='center'>
                  <input name='MXdel_%s'   type='image' src='images/lists/trash.png'  title='"._("Delete")."'  class='center'>"; 
 
index 481ff79f8a84478a632f02748e44971ec49b705e..b7792ca1004cdbafab82373cb82e1faed394ff9e 100644 (file)
@@ -302,8 +302,8 @@ class faiProfile extends plugin
     $actions = "<input type='image' src='images/lists/trash.png' title='"._("Remove class from profile")."' name='DEL_%KEY%'>"; 
     
     /* Up down buttons */
-    $linkupdown = "&nbsp;<input type='image' name='sortup_%s'   alt='up'    title='"._("Up")."'   src='images/sort_up.png' align='top' >";
-    $linkupdown.= "<input type='image' name='sortdown_%s' alt='down'  title='"._("Down")."' src='images/sort_down.png' >";
+    $linkupdown = "&nbsp;<input type='image' name='sortup_%s'   alt='up'    title='"._("Up")."'   src='images/lists/sort-up.png' align='top' >";
+    $linkupdown.= "<input type='image' name='sortdown_%s' alt='down'  title='"._("Down")."' src='images/lists/sort-down.png' >";
 
     /* Append fai classes to divlist */
     if($this->acl_is_readable("FAIclass")){
index 199b8d178e18a2f699d0b55fd7313b3bdc49244b..9e33a5d884ad6a59b2ded89a30e04b7126a1262e 100644 (file)
@@ -331,9 +331,9 @@ class faiScript extends plugin
     $plug = $_GET['plug'];
    
     if($this->sort_order == "up"){
-      $dir = "<img src='images/sort_up.png' title='"._("Sort direction")."' alt='\/' border=0>";
+      $dir = "<img src='images/lists/sort-up.png' title='"._("Sort direction")."' alt='\/' border=0>";
     }else{
-      $dir = "<img src='images/sort_down.png' title='"._("Sort direction")."' alt='/\' border=0>";
+      $dir = "<img src='images/lists/sort-down.png' title='"._("Sort direction")."' alt='/\' border=0>";
     }
  
     if($this->sort_by == "name"){
index 65410ab76e51c60b546d77a4a254e557aca12525..130efb441edfbabde0def4c71ed3bfa96b3a821d 100644 (file)
@@ -228,13 +228,13 @@ class faiSummaryTab extends plugin{
         $str .= "<tr>
                   <td colspan=2>
                    <a href='?plug=".$_GET['plug']."&amp;expand&amp;id=".$key."'>
-                    <img border=0 class='center' src='images/expand.png' alt='"._("Open")."'>&nbsp;";
+                    <img border=0 class='center' src='images/lists/expand.png' alt='"._("Open")."'>&nbsp;";
         $str .=     $image."&nbsp;";
         $str .= "   <b>".$this->objs[$key]['Name']."</b></a></td></tr>";
       }else{
         $str .= "<tr><td colspan=2>
                     <a href='?plug=".$_GET['plug']."&amp;compress&amp;id=".$key."'>
-                   <img border=0 class='center' src='images/sort_down.png' alt='"._("Close")."'>&nbsp;";
+                   <img border=0 class='center' src='images/lists/sort-down.png' alt='"._("Close")."'>&nbsp;";
         $str .= $image."&nbsp;";
         $str .= "<b>".$this->objs[$key]['Name']."</b></a></td></tr>";
    
index 3504573b909bdb1d3d468a0c7cca6fdfddde4742..059d41895d598b7ae34af6dc7a5c5b146b4eeabb 100644 (file)
@@ -313,9 +313,9 @@ class gotomasses extends plugin
     $divlist->SetDropDownHeaderMenu($s);
 
     if($this->sort_dir == "up"){
-      $sort_img = "<img src='images/sort_up.png' alt='/\' border=0>";
+      $sort_img = "<img src='images/lists/sort-up.png' alt='/\' border=0>";
     }else{
-      $sort_img = "<img src='images/sort_down.png' alt='\/' border=0>";
+      $sort_img = "<img src='images/lists/sort-down.png' alt='\/' border=0>";
     }
 
     if($this->sort_by == "TargetName"){ $sort_img_1 = $sort_img; } else { $sort_img_1 = "" ;}
index 366dd01b2fe03785d9c4410a658c5036d7d837cb..4bd6e9d0bb3f66d12a6ba48699782a20554d497f 100644 (file)
@@ -299,24 +299,24 @@ class mimetype extends plugin
 
 
     if($this->acl_is_writeable("gotoMimeFilePattern")){
-      $Pattern_Actions= " <input type='image' src='images/sort_up.png'         class='center'  name='Pattern_SortUp_%s' >&nbsp;
-      <input type='image' src='images/sort_down.png'   class='center'  name='Pattern_SortDown_%s'>&nbsp;
+      $Pattern_Actions= " <input type='image' src='images/lists/sort-up.png'   class='center'  name='Pattern_SortUp_%s' >&nbsp;
+      <input type='image' src='images/lists/sort-down.png'     class='center'  name='Pattern_SortDown_%s'>&nbsp;
       <input type='image' src='images/lists/trash.png' class='center'  name='Pattern_Remove_%s'>";
     }else{
       $Pattern_Actions= "";    
     }
 
     if($this->acl_is_writeable("gotoMimeApplication")){
-      $Apps_Actions    = " <input type='image' src='images/sort_up.png'        class='center'  name='Apps_SortUp_%s' >&nbsp;
-      <input type='image' src='images/sort_down.png'   class='center'  name='Apps_SortDown_%s'>&nbsp;
+      $Apps_Actions    = " <input type='image' src='images/lists/sort-up.png'  class='center'  name='Apps_SortUp_%s' >&nbsp;
+      <input type='image' src='images/lists/sort-down.png'     class='center'  name='Apps_SortDown_%s'>&nbsp;
       <input type='image' src='images/lists/trash.png' class='center'  name='Apps_Remove_%s'>";
     }else{
       $Apps_Actions= "";       
     }
 
     if($this->acl_is_writeable("gotoMimeEmbeddedApplication")){
-      $EApps_Actions   = " <input type='image' src='images/sort_up.png'        class='center'  name='EApps_SortUp_%s' >&nbsp;
-      <input type='image' src='images/sort_down.png'   class='center'  name='EApps_SortDown_%s'>&nbsp;
+      $EApps_Actions   = " <input type='image' src='images/lists/sort-up.png'  class='center'  name='EApps_SortUp_%s' >&nbsp;
+      <input type='image' src='images/lists/sort-down.png'     class='center'  name='EApps_SortDown_%s'>&nbsp;
       <input type='image' src='images/lists/trash.png' class='center'  name='EApps_Remove_%s'>";
     }else{
       $EApps_Actions= "";      
index e8d18072655d02a6dda9cb06184c32a3f01b8e85..369029488cc15181af042f5248ba10e6c614d8ff 100644 (file)
@@ -280,8 +280,8 @@ class termstartup extends plugin
       $SelectBoxLdapServer->AddEntry(
           array(array("string" => $server),
             array("string" =>
-              "<input class='center' type='image' src='images/sort_up.png' name='sort_ldap_up_".$key."'>&nbsp;".
-              "<input class='center' type='image' src='images/sort_down.png' name='sort_ldap_down_".$key."'>&nbsp;".
+              "<input class='center' type='image' src='images/lists/sort-up.png' name='sort_ldap_up_".$key."'>&nbsp;".
+              "<input class='center' type='image' src='images/lists/sort-down.png' name='sort_ldap_down_".$key."'>&nbsp;".
               "<input class='center' type='image' src='images/lists/trash.png' name='gotoLdapRemove_".$key."'>",
               "attach" => "style='text-align:right;width:40px;border-right:0px;'")));
     }
index 299e5e9c9596a2bd72277fa5240dddf13d4eae5d..9ce6197b745e2e457789485a42bf2e9c0adcee77 100644 (file)
@@ -567,8 +567,8 @@ class workstartup extends plugin
       $SelectBoxLdapServer->AddEntry(
           array(array("string" => $server),
             array("string" => 
-              "<input class='center' type='image' src='images/sort_up.png' name='sort_ldap_up_".$key."'>&nbsp;".
-              "<input class='center' type='image' src='images/sort_down.png' name='sort_ldap_down_".$key."'>&nbsp;".
+              "<input class='center' type='image' src='images/lists/sort-up.png' name='sort_ldap_up_".$key."'>&nbsp;".
+              "<input class='center' type='image' src='images/lists/sort-down.png' name='sort_ldap_down_".$key."'>&nbsp;".
               "<input class='center' type='image' src='images/lists/trash.png' name='gotoLdapRemove_".$key."'>",
               "attach" => "style='text-align:right;width:40px;border-right:0px;'")));
     }    
@@ -637,8 +637,8 @@ class workstartup extends plugin
 
       $div = new divSelectBox("WSFAIscriptClasses");
       $div -> SetHeight("110");
-      $str_up     = " &nbsp;<input type='image' src='images/sort_up.png'    name='sort_up_%s'    value='%s'>";
-      $str_down   = " &nbsp;<input type='image' src='images/sort_down.png'  name='sort_down_%s'  value='%s'>";
+      $str_up     = " &nbsp;<input type='image' src='images/lists/sort-up.png'    name='sort_up_%s'    value='%s'>";
+      $str_down   = " &nbsp;<input type='image' src='images/lists/sort-down.png'  name='sort_down_%s'  value='%s'>";
       $str_remove = " &nbsp;<input type='image' src='images/lists/trash.png'  name='fai_remove_%s' value='%s'>";
       $str_empty  = " &nbsp;<img src='images/empty.png' alt=\"\" width='7'>"; 
 
index daef071be2bcbef11609f523611904fd1c4ee67e..296082f131ed6d3b4ba2737c90e9719090b90e1c 100644 (file)
@@ -210,10 +210,10 @@ class gosa_logview extends plugin
     /* Prepare order setting */
     if ($this->sort_direction == "down"){
       $desc= "DESC";
-      $sort_sign = "<img src='images/sort_down.png' alt='\/' class='center' title='down' border=0>";
+      $sort_sign = "<img src='images/lists/sort-down.png' alt='\/' class='center' title='down' border=0>";
     } else {
       $desc= "";
-      $sort_sign = "<img src='images/sort_up.png' alt='/\' class='center' title='up' border=0>";
+      $sort_sign = "<img src='images/lists/sort-up.png' alt='/\' class='center' title='up' border=0>";
     }
 
     /****
index b7d9577b6a25c16af03fce6e76af814ef86e0fba..813c0541eebd445d0547eff188e05dabbfa592ac 100644 (file)
@@ -289,9 +289,9 @@ class mailqueue extends plugin
 
         /* Display sort arrow */
         if($this->SortType == "up"){
-          $smarty->assign("SortType","<img src='images/sort_up.png' alt='"._("up")."' border='0'>");
+          $smarty->assign("SortType","<img src='images/lists/sort-up.png' alt='"._("up")."' border='0'>");
         }else{
-          $smarty->assign("SortType","<img src='images/sort_down.png' alt='"._("down")."' border='0'>");
+          $smarty->assign("SortType","<img src='images/lists/sort-down.png' alt='"._("down")."' border='0'>");
         }
       }
     }
index dd3a3140d7e12b51489720ce6745b05f2f05f1b3..1417d1e192242dddfe5ce611e837b469884589bc 100644 (file)
@@ -370,12 +370,12 @@ class goMailServer extends goService{
       $img = "";
 
       if($key != 0 && $this->acl_is_writeable("postfixTransportTable")){
-        $img.= "<input type='image' src='images/sort_up.png' name='TranslationUp_".$key."' class='center'>&nbsp;";      
+        $img.= "<input type='image' src='images/lists/sort-up.png' name='TranslationUp_".$key."' class='center'>&nbsp;";      
       }else{
         $img.= "<img src='images/empty.png' style='width:10px;'>";
       }
       if(($key+1) < count($this->postfixTransportTable) && $this->acl_is_writeable("postfixTransportTable")){
-        $img.= "<input type='image' src='images/sort_down.png' name='TranslationDown_".$key."' class='center'>&nbsp;";      
+        $img.= "<input type='image' src='images/lists/sort-down.png' name='TranslationDown_".$key."' class='center'>&nbsp;";      
       }else{
         $img.= "<img src='images/empty.png' style='width:10px;'>";
       }
@@ -399,12 +399,12 @@ class goMailServer extends goService{
       $img ="";
 
       if($key != 0 && $this->acl_is_writeable("postfixSenderRestrictions")){
-        $img.= "<input type='image' src='images/sort_up.png' name='SenderRestrictUp_".$key."' class='center'>&nbsp;";      
+        $img.= "<input type='image' src='images/lists/sort-up.png' name='SenderRestrictUp_".$key."' class='center'>&nbsp;";      
       }else{
         $img.= "<img src='images/empty.png' style='width:10px;'>";
       }
       if(($key+1) < count($this->postfixSenderRestrictions) && $this->acl_is_writeable("postfixSenderRestrictions")){
-        $img.= "<input type='image' src='images/sort_down.png' name='SenderRestrictDown_".$key."' class='center'>&nbsp;";      
+        $img.= "<input type='image' src='images/lists/sort-down.png' name='SenderRestrictDown_".$key."' class='center'>&nbsp;";      
       }else{
         $img.= "<img src='images/empty.png' style='width:10px;'>";
       }
@@ -429,12 +429,12 @@ class goMailServer extends goService{
     foreach($this->postfixRecipientRestrictions as $key => $entry){
       $img = "";
       if($key != 0 && $this->acl_is_writeable("postfixRecipientRestrictions")){
-        $img.= "<input type='image' src='images/sort_up.png' name='RecipientRestrictUp_".$key."' class='center'>&nbsp;";      
+        $img.= "<input type='image' src='images/lists/sort-up.png' name='RecipientRestrictUp_".$key."' class='center'>&nbsp;";      
       }else{
         $img.= "<img src='images/empty.png' style='width:10px;'>";
       }
       if(($key+1) < count($this->postfixRecipientRestrictions) && $this->acl_is_writeable("postfixRecipientRestrictions")){
-        $img.= "<input type='image' src='images/sort_down.png' name='RecipientRestrictDown_".$key."' class='center'>&nbsp;";      
+        $img.= "<input type='image' src='images/lists/sort-down.png' name='RecipientRestrictDown_".$key."' class='center'>&nbsp;";      
       }else{
         $img.= "<img src='images/empty.png' style='width:10px;'>";
       }