source: branches/branch-1_6/template/yoga/admin/site_manager.tpl @ 1238

Last change on this file since 1238 was 1107, checked in by rvelices, 18 years ago

fix: php 5 errors and warnings

improve: put back update remote site from local listing.xml functionality
(allow_url_fopen is false on several ISPs)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1<!-- $Id: site_manager.tpl 1107 2006-03-28 01:26:37Z rvelices $ -->
2<div class="titrePage">
3  <ul class="categoryActions">
4    <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
5  </ul>
6  <h2>{lang:Site manager}</h2>
7</div>
8
9<!-- BEGIN remote_output -->
10<div class="remoteOutput">
11  <ul>
12    <!-- BEGIN remote_line -->
13    <li class="{remote_output.remote_line.CLASS}">{remote_output.remote_line.CONTENT}</li>
14    <!-- END remote_line -->
15  </ul>
16</div>
17<!-- END remote_output -->
18
19<!-- BEGIN local_listing -->
20{lang:remote_site_local_found} {local_listing.URL}
21<!-- BEGIN create -->
22<form action="" method="post">
23  <p>
24    {lang:remote_site_local_create}:
25    <input type="hidden" name="no_check" value="1"/>
26    <input type="hidden" name="galleries_url" value="{local_listing.URL}" />
27    <input type="submit" name="submit" value="{lang:submit}"/>
28  </p>
29</form>
30<!-- END create -->
31<!-- BEGIN update -->
32<a href="{local_listing.update.U_SYNCHRONIZE}" title="{lang:remote_site_local_update}">{lang:site_synchronize}</a>
33<!-- END update -->
34<!-- END local_listing -->
35
36<!-- BEGIN sites -->
37<table border="1" cellpadding="0" cellspacing="0">
38  <!-- BEGIN site -->
39  <tr align="left"><td>
40    <a href="{sites.site.NAME}" target="_blank">{sites.site.NAME}</a><br>({sites.site.TYPE}, {sites.site.CATEGORIES} {lang:Categories}, {sites.site.IMAGES} {lang:picture}s)
41  </td><td>
42    [<a href="{sites.site.U_SYNCHRONIZE}" title="{lang:site_synchronize_hint}">{lang:site_synchronize}</a>]
43    <!-- BEGIN delete -->
44      [<a href="{sites.site.delete.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"
45                title="{lang:site_delete_hint}">{lang:site_delete}</a>]
46    <!-- END delete -->
47    <!-- BEGIN remote -->
48      <br>
49      [<a href="{sites.site.remote.U_TEST}" title="{lang:remote_site_test_hint}">{lang:remote_site_test}</a>]
50      [<a href="{sites.site.remote.U_GENERATE}" title="{lang:remote_site_generate_hint}">{lang:remote_site_generate}</a>]
51      [<a href="{sites.site.remote.U_CLEAN}" title="{lang:remote_site_clean_hint}">{lang:remote_site_clean}</a>]
52    <!-- END remote -->
53  </td></tr>
54  <!-- END site -->
55</table>
56<!-- END sites -->
57
58<form action="{F_ACTION}" method="post">
59  <p>
60    <label for="galleries_url" >{lang:site_create}</label>
61    <input type="text" name="galleries_url" id="galleries_url" />
62  </p>
63  <p>
64    <input type="submit" name="submit" value="{lang:submit}" {TAG_INPUT_ENABLED} />
65  </p>
66</form>
Note: See TracBrowser for help on using the repository browser.