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
+4
View File
@@ -149,6 +149,10 @@ function add_core_tabs($sheets, $tab_id)
$sheets['pwg'] = array('caption' => l10n('Piwigo Update'), 'url' => $my_base_url);
$sheets['ext'] = array('caption' => l10n('Extensions Update'), 'url' => $my_base_url.'&tab=ext');
break;
case 'site_update':
global $my_base_url;
$sheets['synchronization'] = array('caption' => l10n('Database synchronization with files'), 'url' => $my_base_url.'site_update&site=1');
break;
}
return $sheets;