More fixes for #138
This commit is contained in:
parent
eb34e1d0c7
commit
ce8df0519e
@ -22,7 +22,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<?= $this->content('html_header') ?>
|
<?= $this->content('html_header') ?>
|
||||||
<?= $this->autoDiscoveryLinkTag('atom', 'post#atom', array('tags' => $this->params()->tags)) ?>
|
<?= $this->autoDiscoveryLinkTag('atom', 'post#atom', array('tags' => $this->h($this->params()->tags))) ?>
|
||||||
<?php
|
<?php
|
||||||
foreach (CONFIG()->asset_stylesheets as $asset) :
|
foreach (CONFIG()->asset_stylesheets as $asset) :
|
||||||
echo $this->stylesheetLinkTag($asset);
|
echo $this->stylesheetLinkTag($asset);
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<?= $this->partial('layouts/news') ?>
|
<?= $this->partial('layouts/news') ?>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<div id="title"><h2 id="site-title"><?= $this->linkTo($this->imageTag('images/logo_small.png', array('alt' => CONFIG()->app_name, 'size' => '484x75', 'id' => 'logo')), CONFIG()->url_base) ?><span><?= $this->tag_header($this->params()->tags) ?></span></h2></div>
|
<div id="title"><h2 id="site-title"><?= $this->linkTo($this->imageTag('images/logo_small.png', array('alt' => CONFIG()->app_name, 'size' => '484x75', 'id' => 'logo')), CONFIG()->url_base) ?><span><?= $this->tag_header($this->h($this->params()->tags)) ?></span></h2></div>
|
||||||
<?= $this->partial('layouts/menu') ?>
|
<?= $this->partial('layouts/menu') ?>
|
||||||
</div>
|
</div>
|
||||||
<?= $this->partial('layouts/login') ?>
|
<?= $this->partial('layouts/login') ?>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?= $this->contentFor('subnavbar', function() { ?>
|
<?= $this->contentFor('subnavbar', function() { ?>
|
||||||
<li><?= $this->linkTo($this->t('.list'), 'post#index') ?></li>
|
<li><?= $this->linkTo($this->t('.list'), 'post#index') ?></li>
|
||||||
<li><?= $this->linkTo($this->t('.browse'), $this->urlFor(['post#browse', 'anchor' => '/']) . str_replace('+', ' ', $this->params()->tags)) ?></li>
|
<li><?= $this->linkTo($this->t('.browse'), $this->urlFor(['post#browse', 'anchor' => '/']) . str_replace('+', ' ', $this->h($this->params()->tags))) ?></li>
|
||||||
<li><?= $this->linkTo($this->t('.upload'), 'post#upload') ?></li>
|
<li><?= $this->linkTo($this->t('.upload'), 'post#upload') ?></li>
|
||||||
<!-- <li id="my-subscriptions-container"><?php //echo $this->linkTo($this->t('.subs'), "/", 'id' => 'my-subscriptions') ?></li> -->
|
<!-- <li id="my-subscriptions-container"><?php //echo $this->linkTo($this->t('.subs'), "/", 'id' => 'my-subscriptions') ?></li> -->
|
||||||
<li><?= $this->linkTo($this->t('.random'), array('post#', 'tags' => 'order:random')) ?></li>
|
<li><?= $this->linkTo($this->t('.random'), array('post#', 'tags' => 'order:random')) ?></li>
|
||||||
|
Reference in New Issue
Block a user