summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b88b5f)
raw | patch | inline | side by side (parent: 2b88b5f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Sep 2007 13:32:23 +0000 (13:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Sep 2007 13:32:23 +0000 (13:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7299 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiScript.inc | patch | blob | history |
index 4c8110e9c47850784f354627f76f20ec5aff1ad8..bb0477613aa67d5a411d09cd696f6c5b2151bf3e 100644 (file)
Containing FAIscripts
*/
$divlist = new divlist("FAIscripts");
-# $divlist->SetEntriesPerPage(0);
- $divlist->SetPluginMode();
+ $divlist->SetEntriesPerPage(0);
$plug = $_GET['plug'];
if($this->sort_order == "up"){
}
$divlist->SetHeader(array( array("string"=>"<a href='?plug=".$plug."&sort=name'>"._("Name").$sort_name."</a>"),
- array("string"=>"<a href='?plug=".$plug."&sort=priority'>".$sort_prio._("Priority")."</a>"),
- array("string"=>_("Download")),
- array("string"=>_("Action"))));
+ array("string"=>"<a href='?plug=".$plug."&sort=priority'>".$sort_prio._("Priority")."</a>",
+ "attach"=>"style='width:100px;'"),
+ array("string"=>_("Download"),
+ "attach"=>"style='width:100px;'"),
+ array("string"=>_("Action"),
+ "attach"=>"style='border-right: 0px;width:100px;text-align:right;'")));
$divlist->SetHeight(300);
$divlist->SetWidth("100%");
foreach($this->getList(true) as $key => $name){
$s_acl = $this->ui->get_permissions($dn,"fai/faiScriptEntry","cn") ;
if(preg_match("/r/",$s_acl)){
$divlist->AddEntry(array( array("string"=>"<a href='?plug=".$_GET['plug']."&act=edit&id=".$key."'>".$name['name']."</a>"),
- array("string"=>$name['FAIpriority'] , "attach" => "style='width:20px;'"),
- array("string"=>$down , "attach" => "style='width:20px;'"),
+ array("string"=>$name['FAIpriority'] , "attach" => "style='width:100px;'"),
+ array("string"=>$down , "attach" => "style='width:100px;'"),
array("string"=>str_replace("%s",base64_encode($key),$act),
- "attach"=>"style='border-right: 0px;width:50px;text-align:right;'")));
+ "attach"=>"style='border-right: 0px;width:100px;text-align:right;'")));
}
}
$smarty->assign("Entry_divlist",$divlist->DrawList());