summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20512dd)
raw | patch | inline | side by side (parent: 20512dd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Mar 2010 10:37:36 +0000 (10:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Mar 2010 10:37:36 +0000 (10:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16948 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index 89c57763528fbb1394267328bec3deea9f0110eb..3010cd172419afa101b81f5347c2d2049ecefea6 100644 (file)
/* Do we represent a valid terminal? */
if (!$this->is_account && $this->parent === NULL){
- $display= "<img alt=\"\" src=\"images/small-error.png\" align=middle> <b>".
- msgPool::noValidExtension(_("workstation"))."</b>";
+ $display= image("images/small-error.png")."<b>".msgPool::noValidExtension(_("workstation"))."</b>";
return ($display);
}
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);
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);
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;
array(
array(
"string" => $server),
- array("string" =>
- "<input class='center' type='image' src='images/lists/sort-up.png' name='sort_ldap_up_".$key."'> ".
- "<input class='center' type='image' src='images/lists/sort-down.png' name='sort_ldap_down_".$key."'> ".
- "<input class='center' type='image' src='images/lists/trash.png' name='gotoLdapRemove_".$key."'>",
+ 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;'")));
}
}