index 6ca5c31ae9db4990472894146897bbc2fa60b7d7..9f5c8c6b90c12e58f9850260eb981651faf9699a 100644 (file)
isset($config['sortType'])) {
$this->sortAttribute= $config['sortAttribute'];
$this->sortType= $config['sortType'];
- $sorter= " ".image("images/lists/sort-".($this->sortDirection[$index]?"up":"down").".png", null, $this->sortDirection[$index]?_("Up"):_("Down"), "text-top");
+ $sorter= " ".image("images/lists/sort-".($this->sortDirection[$index]?"up":"down").".png", null, $this->sortDirection[$index]?_("Sort ascending"):_("Sort descending"), "text-top");
}
$sortable= (isset($config['sortAttribute']));
if (preg_match('/Konqueror/i', $_SERVER['HTTP_USER_AGENT'])){
$width= "28px";
}
- $result.= "<td class='listheader' style='text-align:center;padding:0;width:$width;'><input type='checkbox' id='select_all' name='select_all' title='"._("Select all")."' onClick='toggle_all_(\"listing_selected_[0-9]*$\",\"select_all\");' ></td>\n";
+ $result.= "<td class='listheader' style='text-align:center;padding:0;width:$width;'>";
+ if($this->multiSelect){
+ $result.= "<input type='checkbox' id='select_all' name='select_all'
+ title='"._("Select all")."' onClick='toggle_all_(\"listing_selected_[0-9]*$\",\"select_all\");' >";
+ }else{
+ $result.= " ";
+ }
+ $result.="</td>\n";
}
foreach ($this->header as $header) {
$result.= $header;
/* Draw back button */
if($enableBack){
- $result["BACK"]= image('images/lists/back.png', 'BACK', _("Go up one department"));
+ $result["BACK"]= image('images/lists/back.png', 'BACK', _("Go to preceding level"));
}else{
- $result["BACK"]= image('images/lists/back-grey.png', null, _("Go up one department"));
+ $result["BACK"]= image('images/lists/back-grey.png', null, _("Go to preceding level"));
}
/* Draw home button */
/* Draw home button */
if($enableHome){
- $result["HOME"]= image('images/lists/home.png', 'HOME', _("Go to users department"));
+ $result["HOME"]= image('images/lists/home.png', 'HOME', _("Go to current users level"));
}else{
- $result["HOME"]= image('images/lists/home-grey.png', null, _("Go to users department"));
+ $result["HOME"]= image('images/lists/home-grey.png', null, _("Go to current users level"));
}
// Draw snapshot button
if($ui->allow_snapshot_create($dn, $category)){
- $result.= image('images/snapshot.png', "listing_snapshot_$row", _("Create a new snapshot from this object"));
+ $result.= image('images/snapshot.png', "listing_snapshot_$row", _("Create new snapshot for this object"));
}else{
$result.= image('images/empty.png');
}