diff --git a/module/backup/view/index.html.php b/module/backup/view/index.html.php index 86436f8703..952581f3fd 100644 --- a/module/backup/view/index.html.php +++ b/module/backup/view/index.html.php @@ -47,8 +47,8 @@ 1) echo "rowspan='$rowspan'"?>> name", '', 'list', 'repeat', 'hiddenwin', 'restore'); - common::printIcon('backup', 'delete', "file=$backupFile->name", '', 'list', '', 'hiddenwin'); + if(common::hasPriv('backup', 'restore')) echo html::a(inlink('restore', "file=$backupFile->name"), $lang->backup->backup, 'hiddenwin', "class='restore'"); + if(common::hasPriv('backup', 'delete')) echo html::a(inlink('delete', "file=$backupFile->name"), $lang->delete, 'hiddenwin'); ?>