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

File:
1 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> 
Note: See TracChangeset for help on using the changeset viewer.