diff --git a/admin/docs.php b/admin/docs.php index 0d9141b..2740e48 100644 --- a/admin/docs.php +++ b/admin/docs.php @@ -182,6 +182,12 @@ } break; + case 'revisions_delete': + if (check_permission_acp('document_view')) { + $AVE_Document->documentRevissionsDelete((int) $_REQUEST['doc_id'], (int) $_REQUEST['revission'], (int) $_REQUEST['rubric_id']); + } + break; + case 'remark': if (check_permission_acp('remark_view')) { @@ -260,8 +266,8 @@ exit; case 'checkurl': - echo($AVE_Document->documentAliasCheck()); - exit; + $AVE_Document->documentAliasCheck(); + break; case 'aliases': if (check_permission_acp('document_view')) diff --git a/admin/templates/documents/doc_search.tpl b/admin/templates/documents/doc_search.tpl index f38911d..8f7c258 100644 --- a/admin/templates/documents/doc_search.tpl +++ b/admin/templates/documents/doc_search.tpl @@ -159,15 +159,4 @@ - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/admin/templates/documents/docs.tpl b/admin/templates/documents/docs.tpl index 5b7be46..6cfc1a2 100644 --- a/admin/templates/documents/docs.tpl +++ b/admin/templates/documents/docs.tpl @@ -470,9 +470,9 @@ {if $page_nav}