2013-10-27 01:06:58 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="action-<?= $this->request()->controller() ?> action-<?= $this->request()->controller() ?>-<?= $this->request()->action() ?> hide-advanced-editing">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
|
|
|
<title><?= $this->html_title() ?></title>
|
|
|
|
<meta name="description" content="<?= CONFIG()->app_name ?>">
|
|
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
|
|
|
<link rel="top" title="<?= CONFIG()->app_name ?>" href="/">
|
|
|
|
<?php # The javascript-hide class is used to hide elements (eg. blacklisted posts) from JavaScript. ?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
var css = ".javascript-hide { display: none !important; }";
|
|
|
|
var style = document.createElement("style"); style.type = "text/css";
|
|
|
|
if(style.styleSheet) // IE
|
|
|
|
style.styleSheet.cssText = css;
|
|
|
|
else
|
|
|
|
style.appendChild(document.createTextNode(css));
|
|
|
|
document.getElementsByTagName("head")[0].appendChild(style);
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<?= $this->content('html_header') ?>
|
2016-01-08 03:53:56 +01:00
|
|
|
<?= $this->autoDiscoveryLinkTag('atom', 'post#atom', array('tags' => $this->h($this->params()->tags))) ?>
|
2013-10-27 01:06:58 +02:00
|
|
|
|
|
|
|
<?php foreach (CONFIG()->asset_stylesheets as $asset) : ?>
|
|
|
|
<?= $this->stylesheetLinkTag($asset) ?>
|
|
|
|
<?php endforeach ?>
|
|
|
|
<?php foreach (CONFIG()->asset_javascripts as $asset) : ?>
|
|
|
|
<?= $this->javascriptIncludeTag($asset) ?>
|
|
|
|
<?php endforeach ?>
|
|
|
|
|
|
|
|
<!--[if lt IE 8]>
|
|
|
|
<script src="/IE8.js" type="text/javascript"></script>
|
|
|
|
<![endif]-->
|
|
|
|
<?php // iTODO: echo $this->tag('link', array('rel' => 'search', 'type' => 'Mime':'OPENSEARCH', 'href' => 'opensearch_path'('xml'), 'title' => 'CONFIG'()->app_name) ?>
|
|
|
|
<?= CONFIG()->custom_html_headers ?>
|
|
|
|
<!--[if lt IE 7]>
|
|
|
|
<style type="text/css">
|
|
|
|
body div#post-view > div#right-col > div > div#note-container > div.note-body {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script src="<?= $this->request()->protocol() ?>ie7-js.googlecode.com/svn/trunk/lib/IE7.js" type="text/javascript"></script>
|
|
|
|
<![endif]-->
|
|
|
|
<?php // echo csrf_meta_tag ?>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<?= $this->partial('layouts/news') ?>
|
|
|
|
<div id="header">
|
2016-09-14 08:22:09 +02:00
|
|
|
<div id="title"><h2 id="site-title"><?= $this->linkTo($this->imageTag('images/logo_small.png', array('alt' => CONFIG()->app_name, 'size' => '389x40', 'id' => 'logo')), CONFIG()->url_base) ?><span><?= $this->tag_header($this->h($this->params()->tags)) ?></span></h2></div>
|
2013-10-27 01:06:58 +02:00
|
|
|
<?= $this->partial('layouts/menu') ?>
|
|
|
|
</div>
|
|
|
|
<?= $this->partial('layouts/login') ?>
|
|
|
|
|
|
|
|
<?php if (CONFIG()->server_host == "yande.re") : ?>
|
|
|
|
<div style="display: none;">Danbooru-based image board with a specialization in high-quality images.</div>
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
<!--[if lt IE 7]>
|
|
|
|
<div style="display: none;" id="old-browser"><?= $this->t('old_browser') ?>
|
|
|
|
<?= $this->t('old_browser2') ?>
|
|
|
|
<a href="http://www.mozilla.com/firefox/">Firefox</a>,
|
|
|
|
<a href="http://www.opera.com/">Opera</a>,
|
|
|
|
<a href="http://www.microsoft.com/windows/internet-explorer/download-ie.aspx">Internet Explorer</a>.
|
|
|
|
<div style="text-align: right;" id="old-browser-hide">
|
|
|
|
<a href="#" onclick='$("old-browser").hide(); Cookie.put("hide-ie-nag", "1");'><?= $this->t('old_browser3') ?></a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<![endif]-->
|
|
|
|
<?= $this->partial('layouts/notice') ?>
|
|
|
|
|
|
|
|
<div class="blocked" id="block-reason" style="display: none;">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
<?= $this->content() ?>
|
|
|
|
<?php if ($this->contentFor('subnavbar')) : ?>
|
|
|
|
<div class="footer">
|
|
|
|
<?= $this->content('above_footer') ?>
|
|
|
|
<ul class="flat-list" id="subnavbar">
|
|
|
|
<?= $this->content('subnavbar') ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<?php endif ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
InitTextAreas();
|
|
|
|
InitAdvancedEditing();
|
|
|
|
Post.InitBrowserLinks();
|
|
|
|
if(TagCompletion)
|
|
|
|
TagCompletion.init(<?= json_encode(Tag::get_summary_version()) ?>);
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<!--[if lt IE 7]>
|
|
|
|
<script type="text/javascript">
|
|
|
|
if(Cookie.get("hide-ie-nag") != "1")
|
|
|
|
$("old-browser").show();
|
|
|
|
</script>
|
|
|
|
<![endif]-->
|
|
|
|
|
|
|
|
<?= $this->content('post_cookie_javascripts') ?>
|
|
|
|
<?php if (CONFIG()->ga_tracking_id) echo $this->partial('layouts/ga') ?>
|
|
|
|
</body>
|
|
|
|
</html>
|