Changeset 15659


Ignore:
Timestamp:
06/13/12 22:52:12 (7 years ago)
Author:
plg
Message:

feature 2652: remote site removal, do not talk about "remote site" on the site manager

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/site_manager.tpl

    r13488 r15659  
     1{footer_script}{literal} 
     2jQuery(document).ready(function(){ 
     3  jQuery("#showCreateSite a").click(function(){ 
     4    jQuery("#showCreateSite").hide(); 
     5    jQuery("#createSite").show(); 
     6  }); 
     7}); 
     8{/literal}{/footer_script} 
     9 
     10 
    111<div class="titrePage"> 
    212  <h2>{'Site manager'|@translate}</h2> 
     
    1626<table class="table2"> 
    1727        <tr class="throw"> 
    18                 <td>{'Local'|@translate} / {'Remote'|@translate}</td> 
     28                <td>{'Directory'|@translate}</td> 
    1929                <td>{'Actions'|@translate}</td> 
    2030        </tr> 
     
    3949{/if} 
    4050 
    41 <form action="{$F_ACTION}" method="post"> 
    42   <p> 
    43     <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 
    44     <label for="galleries_url" >{'Create a new site : (give its URL to create_listing_file.php)'|@translate}</label> 
    45     <input type="text" name="galleries_url" id="galleries_url"> 
     51<p id="showCreateSite" style="text-align:left;margin-left:1em;"> 
     52  <a href="#">{'create a new site'|@translate}</a> 
     53</p> 
     54 
     55<form action="{$F_ACTION}" method="post" id="createSite" style="display:none"> 
     56  <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 
     57  <fieldset> 
     58    <legend>{'create a new site'|@translate}</legend> 
     59 
     60  <p style="margin-top:0;"><strong>{'Directory'|@translate}</strong> 
     61    <br><input type="text" name="galleries_url" id="galleries_url"> 
    4662  </p> 
    47   <p> 
     63 
     64  <p class="actionButtons"> 
    4865    <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"> 
    4966  </p> 
  • trunk/language/en_UK/admin.lang.php

    r15588 r15659  
    207207$lang['Correction'] = "Correction"; 
    208208$lang['create a new album'] = 'create a new album'; 
    209 $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)"; 
    210209$lang['Create the "%s" directory at the root of your Piwigo installation'] = 'Create the "%s" directory at the root of your Piwigo installation'; 
    211210$lang['Create this site'] = "Create this site"; 
     
    922921$lang['Sharpen'] = 'Sharpen'; 
    923922$lang['Edit photo'] = 'Edit photo'; 
     923$lang['create a new site'] = 'create a new site'; 
    924924?> 
  • trunk/language/fr_FR/admin.lang.php

    r15229 r15659  
    312312$lang['singly represented'] = "représentant fixe"; 
    313313$lang['This site already exists'] = "Ce site existe déjà"; 
    314 $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)"; 
    315314$lang['created'] = "créé"; 
    316315$lang['delete this site and all its attached elements'] = "supprimer ce site et toutes les informations associées"; 
     
    923922$lang['Sharpen'] = 'Renforcer la netteté'; 
    924923$lang['Edit photo'] = 'Éditer la photo'; 
     924$lang['create a new site'] = 'créer un nouveau site'; 
    925925?> 
Note: See TracChangeset for help on using the changeset viewer.