Changeset 1319:32528cac0405 for inc/admin/default-templates/post.html.twig
- Timestamp:
- 08/09/13 15:19:11 (12 years ago)
- Branch:
- twig
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/default-templates/post.html.twig
r1147 r1319 24 24 <p class="area" id="content-area">{{ form_field('post_content',{'rows':current_user.options.edit_size,'cols':5}) }}</p> 25 25 <p class="area" id="notes-area">{{ form_field('post_notes',{'rows':5,'cols':50}) }}</p> 26 <p>{{ form_field('save')}} {{form_field('delete',{'class':'delete'})}}</p> 26 <p>{{ form_field('save')}} 27 {% if preview_url is defined %} 28 <a id="post-preview" href="{{ preview_url}}" class="button" accesskey="p">{{__('Preview')}} (p)</a> 29 {% endif %} 30 31 {{form_field('delete',{'class':'delete'})}}</p> 32 27 33 </div> 28 34 </div> … … 36 42 <p>{{ form_field('post_open_tb')}}</p> 37 43 <p>{{ form_field('post_selected')}}</p> 38 <p>{{ form_field('post_lang')}}</p> 44 <p>{{ form_field('post_lang',{"class":"maximal"},{'nestedlabel':true})}}</p> 45 <p>{{ form_field('post_password',{"size":10, "class":"maximal"},{'nestedlabel':true})}}</p> 46 <div class="lockable"> 47 <p>{{ form_field('post_url',{"size":10, "class":"maximal"})}} </p> 48 <p class="form-note warn"> 49 {{ __('Warning: If you set the URL manually, it may conflict with another entry.') }} 50 </p> 51 </div> 39 52 </div> 40 53 {% endform %} 41 54 </div> 55 {% if post_id is defined %} 56 <p><a href="trackbacks.php?id={{ post_id }}" class="multi-part">{{__('Ping blogs')}}</a></p> 57 <div class="multi-part" id="comments" title="{{__('Comments')}}"> 58 <!-- to be completed --> 59 </div> 60 <div class="multi-part" id="add-comment" title="{{__('Add a comment')}}"> 61 <h3>{{__('Add a comment')}}</h3> 62 {% form 'add-comment' %} 63 <div class="constrained"> 64 <p>{{ form_field('comment_author',{'size': 30}) }}</p> 65 <p>{{ form_field('comment_email',{'size': 30})}}</p> 66 <p>{{ form_field('comment_site',{'size': 30})}}</p> 67 <p class="area">{{ form_field('comment_content',{'cols': 50,'rows':8})}}</p> 68 <p>{{ form_field('add') }}</p> 69 </div> 70 71 {% endform %} 72 </div> 73 74 {% endif %} 42 75 {% endblock %} 43 76
Note: See TracChangeset
for help on using the changeset viewer.