1 <html xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal">
3 <title>Metadata form macro widgets</title>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
7 <input metal:define-macro="simpleTextFied" tal:define="field python:here.getXmpField(fieldName)" tal:attributes="value field/value; name field/id"/>
8 <div metal:define-macro="iptc" tal:omit-tag=""
9 tal:define="simpleTextField here/metadata_edit_form_macros/macros/simpleTextFied">
10 <table class="metadata_category" cellspacing="0" cellpadding="0">
18 <td tal:define="fieldName python:'dc:creator'">
19 <input metal:use-macro="simpleTextField"/>
24 <td tal:define="fieldName python:'photoshop:AuthorsPosition'">
25 <input metal:use-macro="simpleTextField"/>
30 <td tal:define="fieldName python:'Iptc4xmpCore:CiAdrExtadr'">
31 <input metal:use-macro="simpleTextField"/>
36 <td tal:define="fieldName python:'Iptc4xmpCore:CiAdrCity'">
37 <input metal:use-macro="simpleTextField"/>
42 <td tal:define="fieldName python:'Iptc4xmpCore:CiAdrRegion'">
43 <input metal:use-macro="simpleTextField"/>
48 <td tal:define="fieldName python:'Iptc4xmpCore:CiAdrPcode'">
49 <input metal:use-macro="simpleTextField"/>
54 <td tal:define="fieldName python:'Iptc4xmpCore:CiAdrCtry'">
55 <input metal:use-macro="simpleTextField"/>
60 <td tal:define="fieldName python:'Iptc4xmpCore:CiTelWork'">
61 <input metal:use-macro="simpleTextField"/>
65 <th>Adresse électronique</th>
66 <td tal:define="fieldName python:'Iptc4xmpCore:CiEmailWork'">
67 <input metal:use-macro="simpleTextField"/>
71 <th>Site internet</th>
72 <td tal:define="fieldName python:'Iptc4xmpCore:CiUrlWork'">
73 <input metal:use-macro="simpleTextField"/>
85 <td tal:define="fieldName python:'photoshop:Headline'">
86 <input metal:use-macro="simpleTextField"/>
91 <td tal:define="field python:here.getXmpField('dc:description')">
92 <textarea tal:attributes="name field/id" tal:content="field/value" cols="35" rows="5"></textarea>
97 <td tal:define="field python:here.getXmpField('dc:subject')">
98 <textarea tal:attributes="name field/id" tal:content="field/value" cols="35" rows="3"></textarea>
102 <th>Code sujet IPTC</th>
103 <td tal:define="fieldName python:'Iptc4xmpCore:SubjectCode'">
104 <input metal:use-macro="simpleTextField"/>
108 <th>Auteur de la description</th>
109 <td tal:define="fieldName python:'photoshop:CaptionWriter'">
110 <input metal:use-macro="simpleTextField"/>
115 <td tal:define="fieldName python:'photoshop:Category'">
116 <input metal:use-macro="simpleTextField"/>
120 <th>Autres catégories</th>
121 <td tal:define="fieldName python:'photoshop:SupplementalCategories'">
122 <input metal:use-macro="simpleTextField"/>
133 <th>Date de création</th>
134 <td tal:define="fieldName python:'photoshop:DateCreated'">
135 <input metal:use-macro="simpleTextField"/>
139 <th>Catégorie intellectuelle</th>
140 <td tal:define="fieldName python:'Iptc4xmpCore:IntellectualGenre'">
141 <input metal:use-macro="simpleTextField"/>
146 <td tal:define="fieldName python:'Iptc4xmpCore:Scene'">
147 <input metal:use-macro="simpleTextField"/>
152 <td tal:define="fieldName python:'Iptc4xmpCore:Location'">
153 <input metal:use-macro="simpleTextField"/>
158 <td tal:define="fieldName python:'photoshop:City'">
159 <input metal:use-macro="simpleTextField"/>
164 <td tal:define="fieldName python:'photoshop:State'">
165 <input metal:use-macro="simpleTextField"/>
170 <td tal:define="fieldName python:'photoshop:Country'">
171 <input metal:use-macro="simpleTextField"/>
175 <th>Code pays ISO</th>
176 <td tal:define="fieldName python:'Iptc4xmpCore:CountryCode'">
177 <input metal:use-macro="simpleTextField"/>
189 <td tal:define="fieldName python:'dc:title'">
190 <input metal:use-macro="simpleTextField"/>
194 <th>Identifiant de la fonction</th>
195 <td tal:define="fieldName python:'photoshop:TransmissionReference'">
196 <input metal:use-macro="simpleTextField"/>
200 <th>Instructions</th>
201 <td tal:define="fieldName python:'photoshop:Instructions'">
202 <input metal:use-macro="simpleTextField"/>
207 <td tal:define="fieldName python:'photoshop:Credit'">
208 <input metal:use-macro="simpleTextField"/>
213 <td tal:define="fieldName python:'photoshop:Source'">
214 <input metal:use-macro="simpleTextField"/>
226 <th>État du copyright</th>
227 <td tal:define="field python:here.getXmpField('xmpRights:Marked')">
228 <select tal:define="marked field/value" tal:attributes="name field/id">
229 <option value="" tal:attributes="selected python:marked==''">Indéterminé</option>
230 <option value="True" tal:attributes="selected python:marked=='True'">Protégé par un copyright</option>
231 <option value="False" tal:attributes="selected python:marked=='False'">Domaine public</option>
237 <td tal:define="fieldName python:'dc:rights'">
238 <input metal:use-macro="simpleTextField"/>
242 <th>Condit. d'utilis.</th>
243 <td tal:define="fieldName python:'xmpRights:UsageTerms'">
244 <input metal:use-macro="simpleTextField"/>
248 <th>URL info copyright</th>
249 <td tal:define="fieldName python:'xmpRights:WebStatement'">
250 <input metal:use-macro="simpleTextField"/>
255 <tr class="name last">
258 <input type="submit" value="Save"
260 i18n:attributes="value"
261 style="background:#f0f0f0;
264 border: 2px #f0f0f0 outset"/>
270 <div metal:define-macro="iptc_ajax_form">