diff --git a/plugins/admin/applications/class_divListApplication.inc b/plugins/admin/applications/class_divListApplication.inc
index 52c69425ec35b5f294be7e13a3d3ab0e27a457eb..8487f9b4dc55b6b27d1b36583a817f5e2e8efd2b 100755 (executable)
" <input class='center' type='image' src='images/list_reload.png' align='middle' ".
"title='"._("Reload list")."' name='submit_department' alt='"._("Submit")."'> ".
" <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'> ";
-
- if($this->parent->snapshotEnabled()){
- $listhead .= " <input class='center' type='image' align='middle' src='images/restore.png'
- title='"._("Restore snapshopts of already deleted objects")."' alt='"._("Restore")."' name='RestoreDeletedSnapShot'>".
- " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'> ";
- }
-
+ $listhead .= $this->get_snapshot_header($this->selectedBase);
$listhead .= " <input class='center' type='image' align='middle' src='images/list_new_app.png' alt='"._("new").
"' title='"._("Create new application")."' name='appl_new'> ".
$Copy_Paste.
foreach($list as $key => $val){
/* Create action icons */
- $actions = $this->GetSnapShotActions($val['dn']);
+ $actions= "";
if($this->parent->CopyPasteHandler){
$actions.= "<input class='center' type='image'
src='images/editcut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> ";
}
$actions.= "<input class='center' type='image'
src='images/edit.png' alt='"._("edit")."' name='appl_edit_%KEY%' title='"._("Edit this entry")."'>";
+ $actions.= $this->GetSnapShotActions($val['dn']);
$actions.= "<input class='center' type='image'
src='images/edittrash.png' alt='"._("delete")."' name='appl_del_%KEY%' title='"._("Delete this entry")."'>";