source: trunk/template/yoga/admin/element_set_unit.tpl @ 1780

Last change on this file since 1780 was 1780, checked in by vdigital, 17 years ago

Yoga has input[type="submit"] style addressability restored.
(Since Javascript/Rating it was not possible to change button without loosing rating stars).
p0w0 is fix for a new button display.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1<h2>{lang:Batch management}</h2>
2
3<h3>{CATEGORIES_NAV}</h3>
4
5<p style="text-align:center;">
6  <a href="{U_GLOBAL_MODE}">{lang:global mode}</a>
7  | {lang:unit mode}
8</p>
9
10<form action="{F_ACTION}" method="POST">
11<fieldset>
12
13  <legend>{lang:Display options}</legend>
14  <input type="hidden" name="list" value="{IDS_LIST}" />
15  <p>{lang:elements per page} :
16      <a href="{U_ELEMENTS_PAGE}&amp;display=5">5</a>
17    | <a href="{U_ELEMENTS_PAGE}&amp;display=10">10</a>
18    | <a href="{U_ELEMENTS_PAGE}&amp;display=50">50</a>
19    | <a href="{U_ELEMENTS_PAGE}&amp;display=all">{lang:all}</a>
20  </p>
21
22</fieldset>
23
24<div class="navigationBar">{NAV_BAR}</div>
25
26<!-- BEGIN element -->
27<fieldset class="elementEdit">
28  <legend>{element.LEGEND}</legend>
29
30  <a href="{element.U_EDIT}"><img src="{element.TN_SRC}" alt="" class="miniature" title="{lang:Edit all picture informations}" /></a>
31
32  <table>
33
34    <tr>
35      <td><strong>{lang:Name}</strong></td>
36      <td><input type="text" name="name-{element.ID}" value="{element.NAME}" /></td>
37    </tr>
38
39    <tr>
40      <td><strong>{lang:Author}</strong></td>
41      <td><input type="text" name="author-{element.ID}" value="{element.AUTHOR}" /></td>
42    </tr>
43
44    <tr>
45      <td><strong>{lang:Creation date}</strong></td>
46      <td>
47        <label><input type="radio" name="date_creation_action-{element.ID}" value="unset" /> {lang:unset}</label>
48        <input type="radio" name="date_creation_action-{element.ID}" value="set" id="date_creation_action_set-{element.ID}" /> {lang:set to}
49        <select onmousedown="document.getElementById('date_creation_action_set-{element.ID}').checked = true;" name="date_creation_day-{element.ID}">
50          <!-- BEGIN date_creation_day -->
51          <option {element.date_creation_day.SELECTED} value="{element.date_creation_day.VALUE}">{element.date_creation_day.OPTION}</option>
52          <!-- END date_creation_day -->
53        </select>
54        <select onmousedown="document.getElementById('date_creation_action_set-{element.ID}').checked = true;" name="date_creation_month-{element.ID}">
55          <!-- BEGIN date_creation_month -->
56          <option {element.date_creation_month.SELECTED} value="{element.date_creation_month.VALUE}">{element.date_creation_month.OPTION}</option>
57          <!-- END date_creation_month -->
58        </select>
59        <input onmousedown="document.getElementById('date_creation_action_set-{element.ID}').checked = true;"
60               name="date_creation_year-{element.ID}"
61               type="text"
62               size="4"
63               maxlength="4"
64               value="{element.DATE_CREATION_YEAR}" />
65      </td>
66    </tr>
67
68    <tr>
69      <td><strong>{lang:Tags}</strong></td>
70      <td>{element.TAG_SELECTION}</td>
71    </tr>
72
73    <tr>
74      <td><strong>{lang:Description}</strong></td>
75      <td><textarea name="description-{element.ID}" class="description">{element.DESCRIPTION}</textarea></td>
76    </tr>
77
78  </table>
79
80</fieldset>
81<!-- END element -->
82
83<p>
84  <input class="submit" type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/>
85  <input class="submit" type="reset" value="{lang:Reset}" />
86</p>
87
88
89</form>
Note: See TracBrowser for help on using the repository browser.