[1056] | 1 | {% import "js_helpers.html.twig" as js %} |
---|
[993] | 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
[1060] | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{current_user.lang}}" lang="{{current_user.lang}}"> |
---|
[993] | 4 | <head> |
---|
| 5 | {% block header %} |
---|
| 6 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
---|
[1060] | 7 | <title>{% block title %}{{page_title}} - {% if current_blog.name is not empty %}{{current_blog.name}} - {% endif %}{{vendor_name}} - {{version}}{% endblock %}</title> |
---|
[993] | 8 | <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" /> |
---|
| 9 | <meta name="GOOGLEBOT" content="NOSNIPPET" /> |
---|
[1056] | 10 | <link rel="stylesheet" href="{{theme_url}}style/default.css" type="text/css" media="screen" /> |
---|
| 11 | {% if rtl is not empty %} |
---|
| 12 | <link rel="stylesheet" href="{{theme_url}}style/default-rtl.css" type="text/css" media="screen" /> |
---|
| 13 | {% endif %} |
---|
| 14 | {{ js.load_IE7 }} |
---|
| 15 | {{ js.common }} |
---|
[993] | 16 | {% endblock %} |
---|
[1056] | 17 | {% block more_header %}{% endblock %} |
---|
[993] | 18 | </head> |
---|
| 19 | |
---|
| 20 | <body id="dotclear-admin"> |
---|
| 21 | <div id="header"> |
---|
| 22 | <ul id="prelude"> |
---|
| 23 | <li><a href="#content">{{__('To content')}}</a></li> |
---|
| 24 | <li><a href="#main-menu">{{__('To menu')}}</a></li> |
---|
| 25 | </ul> |
---|
[1056] | 26 | <div id="top"><h1><a href="index.php">{{vendor_name}}</a></h1></div> |
---|
[993] | 27 | <div id="info-boxes"> |
---|
| 28 | <div id="info-box1"> |
---|
[1060] | 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 %} |
---|
[993] | 39 | </div> |
---|
| 40 | <div id="info-box2"> |
---|
[1060] | 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> |
---|
[993] | 44 | </div> |
---|
| 45 | </div> |
---|
| 46 | </div> |
---|
| 47 | <div id="wrapper"> |
---|
| 48 | <div id="main"> |
---|
| 49 | <div id="content"> |
---|
| 50 | {% block content %} |
---|
[1060] | 51 | <h2>{{current_blog.name}} › <span class="page-title">{{page_title}}</span></h2> |
---|
[1053] | 52 | {% if page_message is not empty %} |
---|
| 53 | <p class="message">{{page_message}}</p> |
---|
| 54 | {% endif %} |
---|
| 55 | {% if page_errors is not empty %} |
---|
| 56 | <div class="error"> |
---|
| 57 | <p><strong>Errors :</strong></p> |
---|
| 58 | <ul> |
---|
| 59 | {% for error in page_errors %} |
---|
| 60 | <li>{{error}}</li> |
---|
| 61 | {% endfor %} |
---|
| 62 | </ul> |
---|
| 63 | </div> |
---|
| 64 | {% endif %} |
---|
| 65 | {% endblock %} |
---|
| 66 | |
---|
[993] | 67 | </div> |
---|
| 68 | </div> |
---|
| 69 | <div id="main-menu"> |
---|
| 70 | {{ page_menu() }} |
---|
| 71 | </div> |
---|
| 72 | <div id="footer"> |
---|
| 73 | {% block footer %} |
---|
[1056] | 74 | <p>{{ __('Thank you for using %s.')|format(vendor_name) }}</p> |
---|
[993] | 75 | {% endblock %} |
---|
| 76 | </div> |
---|
| 77 | </div> |
---|
| 78 | </body> |
---|
| 79 | </html> |
---|