aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/site_update.tpl
blob: c739562ba643ff20b7cb0e3d6528c5758022a764 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!-- $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:title_update}: <a href="{SITE_URL}">{SITE_URL}</a></h2>
</div>

<!-- BEGIN update_result -->
<h3>{L_RESULT_UPDATE}</h3>
<ul>
  <li class="update_summary_new">{update_result.NB_NEW_CATEGORIES} {lang:update_nb_new_categories}</li>
  <li class="update_summary_new">{update_result.NB_NEW_ELEMENTS} {lang:update_nb_new_elements}</li>
  <li class="update_summary_del">{update_result.NB_DEL_CATEGORIES} {lang:update_nb_del_categories}</li>
  <li class="update_summary_del">{update_result.NB_DEL_ELEMENTS} {lang:update_nb_del_elements}</li>
  <li>{update_result.NB_UPD_ELEMENTS} {lang:update_nb_upd_elements}</li>
  <li class="update_summary_err">{update_result.NB_ERRORS} {lang:update_nb_errors}</li>
</ul>
<!-- END update_result -->

<!-- BEGIN metadata_result -->
<h3>{L_RESULT_METADATA}</h3>
<ul>
  <li>{metadata_result.NB_ELEMENTS_DONE} {lang:update_nb_elements_metadata_sync}</li>
  <li>{metadata_result.NB_ELEMENTS_CANDIDATES} {lang:update_nb_elements_metadata_available}</li>
  <li>{lang:update_used_metadata} : {METADATA_LIST}</li>
</ul>
<!-- END metadata_result -->


<!-- BEGIN sync_errors -->
<h3>{lang:update_error_list_title}</h3>
<div class="errors">
<ul>
  <!-- BEGIN error -->
  <li>[{sync_errors.error.ELEMENT}] {sync_errors.error.LABEL}</li>
  <!-- END error -->
</ul>
</div>
<h3>{lang:update_errors_caption}</h3>
<ul>
  <!-- BEGIN error_caption -->
  <li><strong>{sync_errors.error_caption.TYPE}</strong>: {sync_errors.error_caption.LABEL}</li>
  <!-- END error_caption -->
</ul>
<!-- END sync_errors -->

<!-- BEGIN sync_infos -->
<h3>{lang:update_infos_title}</h3>
<div class="infos">
<ul>
  <!-- BEGIN info -->
  <li>[{sync_infos.info.ELEMENT}] {sync_infos.info.LABEL}</li>
  <!-- END sync_infos -->
</ul>
</div>
<!-- END infos -->

<!-- BEGIN introduction -->
<h3>{lang:update_default_title}</h3>
<form action="{F_ACTION}" method="post" id="update">

  <fieldset id="syncFiles">
    <legend>{lang:update_sync_files}</legend>
    <ul>
      <li><label><input type="radio" name="sync" value="dirs" {SYNC_DIRS_CHECKED} /> {lang:update_sync_dirs}</label></li>
      <li><label><input type="radio" name="sync" value="files" {SYNC_ALL_CHECKED} /> {lang:update_sync_all}</label></li>
      <li><label><input type="checkbox" name="display_info" value="1" {DISPLAY_INFO_CHECKED} /> {lang:update_display_info}</label></li>
      <li><label><input type="checkbox" name="add_to_caddie" value="1" {ADD_TO_CADDIE_CHECKED} /> {lang:add new elements to caddie}</label></li>
    </ul>
  </fieldset>

  <fieldset id="syncMetadata">
    <legend>{lang:update_sync_metadata}</legend>
    {lang:update_used_metadata} : {METADATA_LIST}.<br/>
    <ul>
      <li><label><input type="radio" name="sync" value="metadata_new" {SYNC_META_NEW_CHECKED} /> {lang:update_sync_metadata_new}</label></li>
      <li><label><input type="radio" name="sync" value="metadata_all" {SYNC_META_ALL_CHECKED} /> {lang:update_sync_metadata_all}</label></li>
    </ul>
  </fieldset>

  <fieldset id="syncSimulate">
    <legend></legend>
    <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" {TAG_INPUT_ENABLED} /> {lang:update_simulate}</label></li></ul>
  </fieldset>

  <fieldset id="catSubset">
    <legend>{lang:update_cats_subset}</legend>
    <ul>
    <li>
    <select class="categoryList" name="cat" size="10">
      <!-- BEGIN category_option -->
      <option {introduction.category_option.SELECTED} value="{introduction.category_option.VALUE}">{introduction.category_option.OPTION}</option>
      <!-- END category_option -->
    </select>
    </li>

    <li><label>
    <img class="button" src="{themeconf:icon_dir}/check.png" alt="checked checkbox">
    <input type="HIDDEN" name="subcats-included" value="1" {SUBCATS_INCLUDED_CHECKED} />
{lang:search_subcats_included}</label>
 / (<strong>Warning</strong>: Locked control, contact our forum if needed).</li>
    </ul>
  </fieldset>

  <p class="bottomButtons">
    <input class="submit" type="submit" value="{lang:submit}" name="submit" />
    <input class="submit" type="reset"  value="{lang:reset}"  name="reset"  />
  </p>
</form>
<!-- END introduction -->

<a href="{U_SITE_MANAGER}">{lang:Site manager}</a>