mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
related to #1455 Site manager put in a tab, useless title removed and tab title shortened
This commit is contained in:
@@ -157,7 +157,8 @@ function add_core_tabs($sheets, $tab_id)
|
||||
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');
|
||||
$sheets['synchronization'] = array('caption' => l10n('Synchronization settings'), 'url' => $my_base_url.'site_update&site=1');
|
||||
$sheets['site_maager'] = array('caption' => l10n('Site manager'), 'url' => $my_base_url.'site_manager');
|
||||
break;
|
||||
case 'maintenance':
|
||||
global $my_base_url;
|
||||
|
||||
@@ -34,6 +34,18 @@ if (!empty($_POST) or isset($_GET['action']))
|
||||
// +-----------------------------------------------------------------------+
|
||||
$template->set_filenames(array('site_manager'=>'site_manager.tpl'));
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | 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('site_maager');
|
||||
$tabsheet->assign();
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | new site creation form |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
@@ -64,7 +64,6 @@ $('#syncFiles label').click(function () {
|
||||
{/if}
|
||||
|
||||
{if isset($introduction)}
|
||||
<h4>{'Choose an option'|@translate}</h4>
|
||||
<form action="" method="post" id="update">
|
||||
|
||||
<fieldset id="syncFiles">
|
||||
@@ -119,5 +118,3 @@ $('#syncFiles label').click(function () {
|
||||
</p>
|
||||
</form>
|
||||
{/if}{*isset $introduction*}
|
||||
|
||||
<p><a href="{$U_SITE_MANAGER}">{'Site manager'|@translate}</a></p>
|
||||
|
||||
@@ -1230,4 +1230,5 @@ $lang['Deactivated'] = 'Deactivated';
|
||||
$lang['Restored'] = 'Restored';
|
||||
$lang['right now'] = 'right now';
|
||||
$lang['never calculated'] = 'never calculated';
|
||||
$lang['Filters'] = 'Filters';
|
||||
$lang['Filters'] = 'Filters';
|
||||
$lang['Synchronization settings'] = 'Synchronization settings';
|
||||
@@ -1232,4 +1232,5 @@ $lang['Deactivated'] = 'Désactivé';
|
||||
$lang['Restored'] = 'Restoré';
|
||||
$lang['right now'] = 'à l\'instant';
|
||||
$lang['never calculated'] = 'jamais calculé';
|
||||
$lang['Filters'] = 'Filtres';
|
||||
$lang['Filters'] = 'Filtres';
|
||||
$lang['Synchronization settings'] = 'Paramètres de synchronisation';
|
||||
Reference in New Issue
Block a user