The story_tags Artemus function returns a foreach()-compatible list.
[gruta.git] / templates / artemus / es / EDIT_STORY
blobb9f6c55631c8ba32d4223ace68d9d04535061c31
1 {-assert_topic_editor|{-var|topic}}
2 {-header}
4 <div class = 'main'>
6 {-box_title|Datos del Art&iacute;culo}
8 <form method = 'post'>
10         <input type = 'hidden' name = 't' value = 'SAVE_STORY'>
11         <input type = 'hidden' name = 'topic' value = '{-var|topic}'>
13         <p>Fecha de publicaci&oacute;n: <small>(Vac&iacute;o, hoy)</small><br>
15         <input type = 'text' size = '2' name = 'day'
16                 value = '{-story_date|%d|{-var|topic}|{-var|id}}'> /
17         <input type = 'text' size = '2' name = 'month'
18                 value = '{-story_date|%m|{-var|topic}|{-var|id}}'> /
19         <input type = 'text' size = '4' name = 'year'
20                 value = '{-story_date|%y|{-var|topic}|{-var|id}}'>
22         <p>Fecha de liberaci&oacute;n a los no suscriptores: <small>(Vac&iacute;o, la misma)</small><br>
24         <input type = 'text' size = '2' name = 'day2'
25                 value = '{-story_date2|%d|{-var|topic}|{-var|id}}'> /
26         <input type = 'text' size = '2' name = 'month2'
27                 value = '{-story_date2|%m|{-var|topic}|{-var|id}}'> /
28         <input type = 'text' size = '4' name = 'year2'
29                 value = '{-story_date2|%y|{-var|topic}|{-var|id}}'>
31         <p>Formato: (valores posibles: <b>{-foreach|{-renderers}|\$0|, }</b>)<br>
32         <input type = 'text' name = 'format'
33                 value = '{-story_format|{-var|topic}|{-var|id}}'>
35         {-ifelse|{-eq|{-var|id}|[]}|
36         <p>Id de la historia:
37         <small>(Opcional; si no sabe lo que significa, d&eacute;jelo en blanco)</small><br>
38         <input type = 'text' size = '32' name = 'id' value = ''>
39         |
40         <input type = 'hidden' name = 'id' value = '{-var|id}'>
41         }
43         <p>Etiquetas: <small>(separadas por comas)</small><br>
44         <input type = 'text' size = '60' name = 'tags'
45                 value = '{-foreach|{-story_tags|{-var|topic}|{-var|id}}|\$0|, }'>
47         <p>Contenido:<br>
49         <textarea name = 'content' cols = '80' rows = '30' wrap = 'virtual'>{-story_content|{-var|topic}|{-var|id}}</textarea>
51         <input type = 'submit' class = 'button' value = 'OK'>
52 </form>
54 <form method = 'post'>
55         <input type = 'hidden' name = 't'       value = 'DELETE_STORY'>
56         <input type = 'hidden' name = 'topic'   value = '{-var|topic}'>
57         <input type = 'hidden' name = 'id'      value = '{-var|id}'>
58         <input type = 'submit' class = 'button' value = 'BORRAR'>
59 </form>
61 {-box_end}
63 </div>
65 {-footer}