Dotclear


Ignore:
Timestamp:
08/21/13 15:33:12 (11 years ago)
Author:
Dsls
Branch:
twig
Message:

removed superfluous debug log
Added twig function "form_hidden" to display hidden fields where the user wants, instead of just before the end of form
(enables to be hxtml validator-friendly)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/default-templates/layout.html.twig

    r1507 r1517  
    3939                         {% if blogs is not empty %} - <a href="blogs.php">{{__('Change blog')}}</a>{% endif %} 
    4040                    {% endif %} 
    41                     <p class="nomobile"><a href="{{current_blog.url}}" onclick="window.open(this.href);return false;" title="{{__('Go to site')}} ({{__('new window')}})">{{__('Go to site')}} <img src="{{theme_url}}images/outgoing.png" alt="" /></a></p> 
     41                    <p class="nomobile"><a href="{{current_blog.url}}" onclick="window.open(this.href);return false;" title="{{__('Go to site')}} ({{__('new window')}})">{{__('Go to site')}} <img src="{{theme_url}}images/outgoing.png" alt="" /></a>{{form_hidden()}}</p> 
    4242                 {% endform %} 
    4343               </div> 
     
    101101               {% form 'search-menu' with {'id':'search-menu'} %} 
    102102                    <p> {{ form_field('q',{'size':30},{'labelclass':'hidden'}) }}  
    103                          {{ form_field('ok') }} 
     103                         {{ form_field('ok') }}{{form_hidden()}} 
    104104                    </p> 
    105105               {% endform %} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map