X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_listing.inc;h=ef7e038c30b9a64fa145bdd5306112e639047671;hb=ed2e61f01da6d459cbfc9bda3aaeaa61db00eac8;hp=7b2cab1807c9923965c06e46a7888a3ddfddac02;hpb=5de75f2bcaedeb2b3153e0291ada31e05d244c2f;p=gosa.git
diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc
index 7b2cab180..ef7e038c3 100644
--- a/gosa-core/include/class_listing.inc
+++ b/gosa-core/include/class_listing.inc
@@ -238,7 +238,7 @@ class listing {
isset($config['sortType'])) {
$this->sortAttribute= $config['sortAttribute'];
$this->sortType= $config['sortType'];
- $sorter= "
";
+ $sorter= " ".image("images/lists/sort-".($this->sortDirection[$index]?"up":"down").".png", null, null, $this->sortDirection[$index]?_("Up"):_("Down"), "text-top");
}
$sortable= (isset($config['sortAttribute']));
@@ -1102,8 +1102,7 @@ class listing {
// Load shortcut
$actions= &$this->xmlData['actionmenu']['action'];
$result= "
".
- "- "._("Actions")."
";
+ "- "._("Actions")." ".image("images/lists/sort-down.png")."";
// Build ul/li list
$result.= $this->recurseActions($actions);
@@ -1139,7 +1138,7 @@ class listing {
// Fill image if set
$img= "";
if (isset($action['image'])){
- $img= "
";
+ $img= image($action['image'])." ";
}
if ($action['type'] == "separator"){
@@ -1151,7 +1150,7 @@ class listing {
if ($action['type'] == "sub" && isset($action['action'])) {
$level++;
if (isset($action['label'])){
- $result.= " - $img"._($action['label'])."
";
+ $result.= " - $img"._($action['label'])." ".image('images/forward-arrow.png')."";
}
// Ensure we've an array of actions, this enables sub menus with only one action.
@@ -1373,13 +1372,13 @@ class listing {
// Copy entry
if($copy){
- $result.= "
"._("Copy")." ";
+ $result.= "- ".image('images/lists/copy.png')." "._("Copy")."
";
$separator= "";
}
// Cut entry
if($cut){
- $result.= "
"._("Cut")." ";
+ $result.= "- ".image("images/lists/cut.png")." "._("Cut")."
";
$separator= "";
}
}
@@ -1387,9 +1386,9 @@ class listing {
// Draw entries that allow pasting entries
if($paste){
if($this->copyPasteHandler->entries_queued()){
- $result.= "
"._("Paste")." ";
+ $result.= "- ".image("images/lists/paste.png")." "._("Paste")."
";
}else{
- $result.= "
"._("Paste")." ";
+ $result.= "- ".image('images/lists/paste-grey.png')." "._("Paste")."
";
}
}
@@ -1453,9 +1452,9 @@ class listing {
// Draw icons according to the restore flag
if($restore){
- $result.= "
"._("Restore snapshots")." ";
+ $result.= "- ".image('images/lists/restore.png')." "._("Restore snapshots")."
";
}else{
- $result.= "
"._("Restore snapshots")." ";
+ $result.= "- ".image('images/lists/restore_grey.png')." "._("Restore snapshots")."
";
}
}
@@ -1469,11 +1468,11 @@ class listing {
$result = "";
// Draw entries
- $result.= "
"._("Export list")." ![](images/forward-arrow.png)