From c6e87a3e1e69b79ad4be0052682d75c62fc6ef89 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Fri, 30 May 2025 10:49:55 +0800 Subject: [PATCH] * [bug#62751] Hidden the button of restore in template view page. --- module/doc/ui/templatelist.html.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/doc/ui/templatelist.html.php b/module/doc/ui/templatelist.html.php index 0121419dcb..af81afcc9e 100644 --- a/module/doc/ui/templatelist.html.php +++ b/module/doc/ui/templatelist.html.php @@ -27,6 +27,7 @@ $privs['deleteModule'] = hasPriv('doc', 'deleteTemplateType'); $privs['moveDoc'] = hasPriv('doc', 'moveTemplate'); $privs['sortDoc'] = hasPriv('doc', 'sortTemplate'); $privs['collect'] = 'no'; +$privs['restoreDoc'] = false; $filterTypes = $lang->docTemplate->filterTypes; if(!hasPriv('doc', 'editTemplate')) $filterTypes = array_values(array_filter($filterTypes, function($item){ return $item[0] != 'draft'; }));