synchronize in tabsheet

added tab to be like other pages so added a tabsheet in the backend, also only show files + directories options when it is selected
This commit is contained in:
Louis
2020-11-12 15:08:42 +01:00
parent 8736e8c25d
commit 471b301e99
3 changed files with 29 additions and 2 deletions
+12
View File
@@ -72,6 +72,18 @@ if (isset($page['no_md5sum_number']))
$page['messages'][] = '<a href="admin.php?page=batch_manager&amp;filter=prefilter-no_sync_md5sum">'.l10n('Some checksums are missing.').'<i class="icon-right"></i></a>';
}
// +-----------------------------------------------------------------------+
// | tabs |
// +-----------------------------------------------------------------------+
include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
$my_base_url = get_root_url().'admin.php?page=';
$tabsheet = new tabsheet();
$tabsheet->set_id('site_update');
$tabsheet->select('synchronization');
$tabsheet->assign();
// +-----------------------------------------------------------------------+
// | Quick sync |
// +-----------------------------------------------------------------------+