aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/site_manager.tpl
blob: 88b77a362b1e26e23237adc51c3f0fd0ad6dfd2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!-- $Id$ -->
<div class="titrePage">
  <ul class="categoryActions">
    <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>
  </ul>
  <h2>{lang:Site manager}</h2>
</div>

<!-- BEGIN remote_output -->
<div class="remoteOutput">
  <ul>
    <!-- BEGIN remote_line -->
    <li class="{remote_output.remote_line.CLASS}">{remote_output.remote_line.CONTENT}</li>
    <!-- END remote_line -->
  </ul>
</div>
<!-- END remote_output -->

<!-- BEGIN local_listing -->
{lang:remote_site_local_found} {local_listing.URL}
<!-- BEGIN create -->
<form action="" method="post">
  <p>
    {lang:remote_site_local_create}:
    <input type="hidden" name="no_check" value="1"/>
    <input type="hidden" name="galleries_url" value="{local_listing.URL}" />
    <input type="submit" name="submit" value="{lang:submit}"/>
  </p>
</form>
<!-- END create -->
<!-- BEGIN update -->
<a href="{local_listing.update.U_SYNCHRONIZE}" title="{lang:remote_site_local_update}">{lang:site_synchronize}</a>
<!-- END update -->
<!-- END local_listing -->

<!-- BEGIN sites -->
<table border="1" cellpadding="0" cellspacing="0">
  <!-- BEGIN site -->
  <tr align="left"><td>
    <a href="{sites.site.NAME}">{sites.site.NAME}</a><br>({sites.site.TYPE}, {sites.site.CATEGORIES} {lang:Categories}, {sites.site.IMAGES} {lang:picture}s)
  </td><td>
    [<a href="{sites.site.U_SYNCHRONIZE}" title="{lang:site_synchronize_hint}">{lang:site_synchronize}</a>]
    <!-- BEGIN delete -->
      [<a href="{sites.site.delete.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"
                title="{lang:site_delete_hint}">{lang:site_delete}</a>]
    <!-- END delete -->
    <!-- BEGIN remote -->
      <br>
      [<a href="{sites.site.remote.U_TEST}" title="{lang:remote_site_test_hint}">{lang:remote_site_test}</a>]
      [<a href="{sites.site.remote.U_GENERATE}" title="{lang:remote_site_generate_hint}">{lang:remote_site_generate}</a>]
      [<a href="{sites.site.remote.U_CLEAN}" title="{lang:remote_site_clean_hint}">{lang:remote_site_clean}</a>]
    <!-- END remote -->
  </td></tr>
  <!-- END site -->
</table>
<!-- END sites -->

<form action="{F_ACTION}" method="post">
  <p>
    <label for="galleries_url" >{lang:site_create}</label>
    <input type="text" name="galleries_url" id="galleries_url" />
  </p>
  <p>
    <input type="submit" name="submit" value="{lang:submit}" {TAG_INPUT_ENABLED} />
  </p>
</form>