root/tags/rel0_61/templates/node_image_fields.tt

Revision 1020, 2.5 kB (checked in by kake, 21 months ago)

Rewrote the HTML of the edit page to use <div>s instead of tables, and to be vaguely more sane in general.

Line 
1<fieldset id="node_image_fields">
2  <legend>Image to illustrate this page</legend>
3
4  <div class="edit_form_group" id="node_image_group">
5    <label for="node_image">
6      [% IF conflict %]
7        Current image:
8      [% ELSE %]
9        URL of image:
10      [% END %]
11    </label>
12    <div class="edit_box">
13      <input type="text" size="50" id="node_image" name="node_image"
14       value="[% node_image %]" />
15      [% INCLUDE node_photo_notes.tt %]
16    </div>
17    [% IF conflict %]
18      <div class="conflict_group">
19        <label>Your image:</label>
20        <div class="conflict_box">
21          [% CGI.escapeHTML(new_node_image) %]
22        </div>
23      </div>
24    [% END %]
25  </div>
26 
27  <div class="edit_form_group" id="node_image_copyright_group">
28    <label for="node_image_copyright">
29      [% IF conflict %]
30        Current copyright holder:
31      [% ELSE %]
32        Name of image copyright holder:
33      [% END %]
34    </label>
35    <div class="edit_box">
36      <input type="text" size="50" id="node_image_copyright"
37       name="node_image_copyright" value="[% node_image_copyright %]" />
38    </div>
39    [% IF conflict %]
40      <div class="conflict_group">
41        <label>Your copyright holder:</label>
42        <div class="conflict_box">
43          [% CGI.escapeHTML(new_node_image_copyright) %]
44        </div>
45      </div>
46    [% END %]
47  </div>
48
49  <div class="edit_form_group" id="node_image_licence_group">
50    <label for="node_image_licence">
51      [% IF conflict %]
52        Current licence:
53      [% ELSE %]
54        URL of image licence:
55      [% END %]
56    </label>
57    <div class="edit_box">
58      <input type="text" size="50" id="node_image_licence"
59       name="node_image_licence" value="[% node_image_licence %]" />
60    </div>
61    [% IF conflict %]
62      <div class="conflict_group">
63        <label>Your licence:</label>
64        <div class="conflict_box">
65          [% CGI.escapeHTML(new_node_image_licence) %]
66        </div>
67      </div>
68    [% END %]
69  </div>
70
71  <div class="edit_form_group" id="node_image_info_group">
72    <label for="node_image_url">
73      [% IF conflict %]
74        Current info page:
75      [% ELSE %]
76        URL of image's info page:
77      [% END %]
78    </label>
79    <div class="edit_box">
80      <input type="text" size="50" id="node_image_url"
81       name="node_image_url" value="[% node_image_url %]" />
82    </div>
83    [% IF conflict %]
84      <div class="conflict_group">
85        <label>Your info page:</label>
86        <div class="conflict_box">
87          [% CGI.escapeHTML(new_node_image_url) %]
88        </div>
89      </div>
90    [% END %]
91  </div>
92</fieldset>
Note: See TracBrowser for help on using the browser.