summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 43b49db)
raw | patch | inline | side by side (parent: 43b49db)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Aug 2007 08:43:52 +0000 (08:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Aug 2007 08:43:52 +0000 (08:43 +0000) |
Added sorting direction image.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6965 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6965 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiScript.inc | patch | blob | history | |
plugins/admin/fai/faiScript.tpl | patch | blob | history |
index cdefc192922144b83ae456ebf663c3feae93d540..4c23a59d6be7ac76bdec7b1a85891013f004754e 100644 (file)
*/
$divlist = new divlist("FAIscripts");
$plug = $_GET['plug'];
-
- $divlist->SetHeader(array( array("string"=>"<a href='?plug=".$plug."&sort=name'>"._("Name")."</a>"),
- array("string"=>"<a href='?plug=".$plug."&sort=priority'>"._("Priority")."</a>"),
+
+ if($this->sort_order == "up"){
+ $dir = "<img src='images/sort_up.png' title='"._("Sort direction")."' alt='\/' border=0>";
+ }else{
+ $dir = "<img src='images/sort_down.png' title='"._("Sort direction")."' alt='/\' border=0>";
+ }
+
+ if($this->sort_by == "name"){
+ $sort_name = $dir;
+ $sort_prio = "";
+ }else{
+ $sort_name = "";
+ $sort_prio = $dir;
+ }
+
+ $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"))));
$divlist->SetHeight(300);
index 093e8b5f76df2132bca228a5478c32ba47fabc9b..c0ff247b5e5153092bcdf42882e24ec914ff7f99 100644 (file)
<h2><img class="center" alt="" src="images/fai_script.png" align="middle" title="{t}Objects{/t}">
{t}List of scripts{/t}
</h2>
- <table width="100%" summary="">
+ <table width="100%" summary="" style="border:1px solid #B0B0B0; " cellspacing=0 cellpadding=0>
<tr>
<td>
{$Entry_divlist}