mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
<div class="titrePage">
|
||||
<h2>{'Site manager'|@translate}</h2>
|
||||
</div>
|
||||
@@ -15,7 +25,7 @@
|
||||
{if not empty($sites)}
|
||||
<table class="table2">
|
||||
<tr class="throw">
|
||||
<td>{'Local'|@translate} / {'Remote'|@translate}</td>
|
||||
<td>{'Directory'|@translate}</td>
|
||||
<td>{'Actions'|@translate}</td>
|
||||
</tr>
|
||||
{foreach from=$sites item=site name=site}
|
||||
@@ -38,13 +48,20 @@
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
<form action="{$F_ACTION}" method="post">
|
||||
<p>
|
||||
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
|
||||
<label for="galleries_url" >{'Create a new site : (give its URL to create_listing_file.php)'|@translate}</label>
|
||||
<input type="text" name="galleries_url" id="galleries_url">
|
||||
<p id="showCreateSite" style="text-align:left;margin-left:1em;">
|
||||
<a href="#">{'create a new site'|@translate}</a>
|
||||
</p>
|
||||
|
||||
<form action="{$F_ACTION}" method="post" id="createSite" style="display:none">
|
||||
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
|
||||
<fieldset>
|
||||
<legend>{'create a new site'|@translate}</legend>
|
||||
|
||||
<p style="margin-top:0;"><strong>{'Directory'|@translate}</strong>
|
||||
<br><input type="text" name="galleries_url" id="galleries_url">
|
||||
</p>
|
||||
<p>
|
||||
|
||||
<p class="actionButtons">
|
||||
<input class="submit" type="submit" name="submit" value="{'Submit'|@translate}">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
@@ -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';
|
||||
?>
|
||||
@@ -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';
|
||||
?>
|
||||
Reference in New Issue
Block a user