- Timestamp:
- 12/10/12 05:32:40 (13 years ago)
- Branch:
- twig
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/default-templates/layout.html.twig
r1056 r1060 1 1 {% import "js_helpers.html.twig" as js %} 2 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang=" en" lang="en">3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{current_user.lang}}" lang="{{current_user.lang}}"> 4 4 <head> 5 5 {% block header %} 6 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 7 <title>{% block title %}{{page_title}} - {% if blog.name is not empty %}{{blog.name}} - {% endif %}{{vendor_name}} - {{version}}{% endblock %}</title>7 <title>{% block title %}{{page_title}} - {% if current_blog.name is not empty %}{{current_blog.name}} - {% endif %}{{vendor_name}} - {{version}}{% endblock %}</title> 8 8 <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" /> 9 9 <meta name="GOOGLEBOT" content="NOSNIPPET" /> … … 18 18 </head> 19 19 20 21 20 <body id="dotclear-admin"> 22 21 <div id="header"> … … 28 27 <div id="info-boxes"> 29 28 <div id="info-box1"> 30 <form action="index.php" method="post"> 31 Blog : <strong title="http://localhost/dc23/index.php?">Mon premier blog</strong> 32 <a href="http://localhost/dc23/index.php?" onclick="window.open(this.href);return false;" 33 title="{{ __('Go to site') }} ({{__('new window')}})">{{__('Go to site')}}<img src="images/outgoing.png" alt="" /></a> 34 </form> 29 {% form switchblog_menu %} 30 {% if blog_count > 1 and blog_count < 20 %} 31 {{ form_field('switchblog') }} 32 <noscript><div>{{ form_field('switchblog_submit') }}</div></noscript> 33 {% else %} 34 {{__('Blog:')}} <strong title="{{current_blog.url}}">{{current_blog.name}}</strong> 35 {% if blogs is not empty %} - <a href="blogs.php">{{__('Change blog')}}</a>{% endif %} 36 {% endif %} 37 <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> 38 {% endform %} 35 39 </div> 36 40 <div id="info-box2"> 37 <a class="active"href="index.php">{{__('My dashboard')}}</a><span> | </span>38 <a href="preferences.php">{{__('My preferences')}}</a><span> | </span>39 <a href="index.php?logout=1" class="logout"> Déconnecter dsls<img src="images/logout.png" alt="" /></a>41 <a {%if current_page == 'index' %}class="active" {% endif %}href="index.php">{{__('My dashboard')}}</a><span> | </span> 42 <a {%if current_page == 'preferences' %}class="active" {% endif %}href="preferences.php">{{__('My preferences')}}</a><span> | </span> 43 <a href="index.php?logout=1" class="logout">{{__('Logout %s')|format(current_user.id)}} <img src="images/logout.png" alt="" /></a> 40 44 </div> 41 45 </div> … … 45 49 <div id="content"> 46 50 {% block content %} 47 <h2>{{ blog.name}} › <span class="page-title">{{page_title}}</span></h2>51 <h2>{{current_blog.name}} › <span class="page-title">{{page_title}}</span></h2> 48 52 {% if page_message is not empty %} 49 53 <p class="message">{{page_message}}</p>
Note: See TracChangeset
for help on using the changeset viewer.