From: hickert Date: Fri, 19 Mar 2010 10:37:36 +0000 (+0000) Subject: Updated images X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f77521f6389aa3d7e0c796e89ce344872e1e6275;p=gosa.git Updated images git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16948 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index 89c577635..3010cd172 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -281,8 +281,7 @@ class workstartup extends plugin /* Do we represent a valid terminal? */ if (!$this->is_account && $this->parent === NULL){ - $display= "\"\" ". - msgPool::noValidExtension(_("workstation")).""; + $display= image("images/small-error.png")."".msgPool::noValidExtension(_("workstation")).""; return ($display); } @@ -476,7 +475,7 @@ class workstartup extends plugin if(!$this->gotoLdap_inherit && $this->acl_is_writeable("gotoLdapServer")){ foreach($_POST as $name => $value){ if(preg_match("/sort_ldap_up_/",$name)){ - $id = preg_replace("/^sort_ldap_up_([0-9]*)_(x|y)$/","\\1",$name); + $id = preg_replace("/^sort_ldap_up_([0-9]*)$/","\\1",$name); $from = $id; $to = $id -1; $tmp = $this->array_switch_item($this->gotoLdapServers,$from,$to); @@ -486,7 +485,7 @@ class workstartup extends plugin break; } if(preg_match("/sort_ldap_down_/",$name)){ - $id = preg_replace("/^sort_ldap_down_([0-9]*)_(x|y)$/","\\1",$name); + $id = preg_replace("/^sort_ldap_down_([0-9]*)$/","\\1",$name); $from = $id; $to = $id +1; $tmp = $this->array_switch_item($this->gotoLdapServers,$from,$to); @@ -496,7 +495,7 @@ class workstartup extends plugin break; } if(preg_match("/gotoLdapRemove_/",$name)){ - $id = preg_replace("/^gotoLdapRemove_([0-9]*)_(x|y)$/","\\1",$name); + $id = preg_replace("/^gotoLdapRemove_([0-9]*)$/","\\1",$name); $value = $this->gotoLdapServers[$id]; $this->gotoLdapServers = array_remove_entries(array($value),$this->gotoLdapServers); break; @@ -527,10 +526,10 @@ class workstartup extends plugin array( array( "string" => $server), - array("string" => - " ". - " ". - "", + array("string" => + image('images/lists/sort-up.png',"sort_ldap_up_".$key,'',"top"). + image('images/lists/sort-down.png',"sort_ldap_down_".$key,'',"bottom"). + image('images/lists/trash.png',"gotoLdapRemove_".$key), "attach" => "style='text-align:right;width:60px;border-right:0px;'"))); } }