source: trunk/admin/template/goto/site_manager.tpl @ 3283

Last change on this file since 3283 was 3283, checked in by plg, 15 years ago

complement to r3282, remove all $Id$ in source code.

  • Property svn:eol-style set to LF
File size: 2.9 KB
Line 
1<div class="titrePage">
2  <h2>{'Site manager'|@translate}</h2>
3</div>
4
5{if not empty($remote_output)}
6<div class="remoteOutput">
7  <ul>
8    {foreach from=$remote_output item=remote_line}
9    <li class="{$remote_line.CLASS}">{$remote_line.CONTENT}</li>
10    {/foreach}
11  </ul>
12</div>
13{/if}
14
15{if isset($local_listing)}
16{'remote_site_local_found'|@translate} {$local_listing.URL}
17{if isset($local_listing.CREATE)}
18<form action="{$F_ACTION}" method="post">
19  <p>
20    {'remote_site_local_create'|@translate}:
21    <input type="hidden" name="no_check" value="1">
22    <input type="hidden" name="galleries_url" value="{$local_listing.URL}">
23    <input type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}>
24  </p>
25</form>
26{/if}
27{if isset($local_listing.U_SYNCHRONIZE)}
28&nbsp;<a href="{$local_listing.U_SYNCHRONIZE}" title="{'remote_site_local_update'|@translate}">{'site_synchronize'|@translate}</a>
29<br><br>
30{/if}
31{/if}
32
33{if not empty($sites)}
34<table class="table2">
35        <tr class="throw">
36                <td>{'site_local'|@translate} / {'site_remote'|@translate}</td>
37                <td>{'Actions'|@translate}</td>
38        </tr>
39  {foreach from=$sites item=site name=site}
40  <tr style="text-align:left" class="{if $smarty.foreach.site.index is odd}row1{else}row2{/if}"><td>
41    <a href="{$site.NAME}">{$site.NAME}</a><br>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)})
42  </td><td>
43    [<a href="{$site.U_SYNCHRONIZE}" title="{'site_synchronize_hint'|@translate}">{'site_synchronize'|@translate}</a>]
44    {if isset($site.U_DELETE)}
45      [<a href="{$site.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|escape:'javascript'}');"
46                title="{'site_delete_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'site_delete'|@translate}</a>]
47    {/if}
48    {if isset($site.remote)}
49      <br>
50      [<a href="{$site.remote.U_TEST}" title="{'remote_site_test_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_test'|@translate}</a>]
51      [<a href="{$site.remote.U_GENERATE}" title="{'remote_site_generate_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_generate'|@translate}</a>]
52      [<a href="{$site.remote.U_CLEAN}" title="{'remote_site_clean_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_clean'|@translate}</a>]
53    {/if}
54    {if not empty($site.plugin_links)}
55        <br>
56      {foreach from=$site.plugin_links item=plugin_link}
57        [<a href="{$plugin_link.U_HREF}" title='{$plugin_link.U_HINT}' {$TAG_INPUT_ENABLED}>{$plugin_link.U_CAPTION}</a>]
58      {/foreach}
59    {/if}
60  </td></tr>
61  {/foreach}
62</table>
63{/if}
64
65<form action="{$F_ACTION}" method="post">
66  <p>
67    <label for="galleries_url" >{'site_create'|@translate}</label>
68    <input type="text" name="galleries_url" id="galleries_url">
69  </p>
70  <p>
71    <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}>
72  </p>
73</form>
Note: See TracBrowser for help on using the repository browser.