summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ecc4554)
raw | patch | inline | side by side (parent: ecc4554)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Dec 2005 06:51:35 +0000 (06:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Dec 2005 06:51:35 +0000 (06:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2367 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/plugins/admin/systems/class_servRepositorySetup.inc b/plugins/admin/systems/class_servRepositorySetup.inc
index c4456ec8686cd5c8c13d18e0afe94eb9e7b531f0..b83b68fd98c8272a19bed7bd1c99962130c85d3a 100644 (file)
foreach($_POST as $name => $value){
if(preg_match("/^delete_/",$name)){
- if(isset($this->Sections[$value])){
- unset($this->Sections[$value]);
+
+ $val = preg_replace("/^delete_/","",$name);
+ $val = base64_decode(preg_replace("/_.*$/","",$val));
+
+ if(isset($this->Sections[$val])){
+ unset($this->Sections[$val]);
}
}
}
foreach($this->Sections as $sec){
$divlist->AddEntry(array(
array("string"=>$sec),
- array("string"=>sprintf($dellink,$sec,$sec),"attach"=>"style='border-right:0px;width:20px;'")
+ array("string"=>sprintf($dellink,base64_encode($sec),$sec),"attach"=>"style='border-right:0px;width:20px;'")
));
}
diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc
index a5cfa2063def19c0e042c88d59850b4557337528..06207e5f36e024d33119ad3252e52e26e465b101 100644 (file)
$str_up = " <input type='image' src='images/sort_up.png' name='sort_up_%s' value='%s'>";
$str_down = " <input type='image' src='images/sort_down.png' name='sort_down_%s' value='%s'>";
$str_remove = " <input type='image' src='images/edittrash.png' name='fai_remove_%s' value='%s'>";
- $str_empty = " <img src='images/empty.png'i width='7'>";
+ $str_empty = " <img src='images/empty.png' alt=\"\" width='7'>";
$i = 1;
foreach($this->FAIclass as $class){
index a99333cabbe514c9a06e46aadcd2d1cefb4cd018..4dbdad767514eca64d3ec221a3154f428cddafb8 100644 (file)
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
- document.mainform.gotoTerminalName.focus();
+ document.mainform.cn.focus();
-->
</script>