From bb3db660a4dc9b073ff8b195ac7bd070fc81dc5a Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 13 Jun 2012 20:52:12 +0000 Subject: feature 2652: remote site removal, do not talk about "remote site" on the site manager git-svn-id: http://piwigo.org/svn/trunk@15659 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/site_manager.tpl | 31 ++++++++++++++++++++------ language/en_UK/admin.lang.php | 2 +- language/fr_FR/admin.lang.php | 2 +- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/admin/themes/default/template/site_manager.tpl b/admin/themes/default/template/site_manager.tpl index b881220db..242906027 100644 --- a/admin/themes/default/template/site_manager.tpl +++ b/admin/themes/default/template/site_manager.tpl @@ -1,3 +1,13 @@ +{footer_script}{literal} +jQuery(document).ready(function(){ + jQuery("#showCreateSite a").click(function(){ + jQuery("#showCreateSite").hide(); + jQuery("#createSite").show(); + }); +}); +{/literal}{/footer_script} + +

{'Site manager'|@translate}

@@ -15,7 +25,7 @@ {if not empty($sites)} - + {foreach from=$sites item=site name=site} @@ -38,13 +48,20 @@
{'Local'|@translate} / {'Remote'|@translate}{'Directory'|@translate} {'Actions'|@translate}
{/if} -
-

- - - +

+ {'create a new site'|@translate} +

+ + + +
+ {'create a new site'|@translate} + +

{'Directory'|@translate} +

-

+ +

diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php index 1b349cace..d9e2b1bc3 100644 --- a/language/en_UK/admin.lang.php +++ b/language/en_UK/admin.lang.php @@ -206,7 +206,6 @@ $lang['Correction applied with success'] = "Correction successfully applied"; $lang['Correction the anomaly will cancel the fact that it\'s ignored'] = "Corrected anomaly will no longer be ignored"; $lang['Correction'] = "Correction"; $lang['create a new album'] = 'create a new album'; -$lang['Create a new site : (give its URL to create_listing_file.php)'] = "Create a new site : (give its URL to create_listing_file.php)"; $lang['Create the "%s" directory at the root of your Piwigo installation'] = 'Create the "%s" directory at the root of your Piwigo installation'; $lang['Create this site'] = "Create this site"; $lang['Create'] = 'Create'; @@ -921,4 +920,5 @@ $lang['%d second'] = '%d second'; $lang['%d seconds'] = '%d seconds'; $lang['Sharpen'] = 'Sharpen'; $lang['Edit photo'] = 'Edit photo'; +$lang['create a new site'] = 'create a new site'; ?> \ No newline at end of file diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index 77732b368..55b01ba21 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -311,7 +311,6 @@ $lang['selection'] = "Sélection"; $lang['set to'] = "changer en"; $lang['singly represented'] = "représentant fixe"; $lang['This site already exists'] = "Ce site existe déjà"; -$lang['Create a new site : (give its URL to create_listing_file.php)'] = "Créer un nouveau site distant : (donner son URL vers create_listing_file.php)"; $lang['created'] = "créé"; $lang['delete this site and all its attached elements'] = "supprimer ce site et toutes les informations associées"; $lang['an error happened'] = "une erreur est survenue"; @@ -922,4 +921,5 @@ $lang['%d second'] = '%d seconde'; $lang['%d seconds'] = '%d secondes'; $lang['Sharpen'] = 'Renforcer la netteté'; $lang['Edit photo'] = 'Éditer la photo'; +$lang['create a new site'] = 'créer un nouveau site'; ?> \ No newline at end of file -- cgit v1.2.3