aboutsummaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-13 21:14:36 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-13 21:14:36 +0200
commit967dff535defd2c95bf1be9b48e0b18e3fe6025d (patch)
tree8d06dbedc7635e96ba722b9cadfa2ee5fb7cda69 /app/layout/layout.phtml
parentbee833bf524e58ea9cf5309fb89f6f8b30005720 (diff)
parentcda414ff0f142d180c616eca1e08204e7c9c6ef9 (diff)
Merge branch 'FreshRSS/dev' into PostgreSQL
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 6906fa05f..189d93fbe 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -23,7 +23,7 @@
<?php
flush();
if (isset($this->callbackBeforeContent)) {
- call_user_func($this->callbackBeforeContent);
+ call_user_func($this->callbackBeforeContent, $this);
}
?>
<?php echo self::headTitle(); ?>
@@ -41,6 +41,8 @@
$url_rss['a'] = 'rss';
?>
<link rel="alternate" type="application/rss+xml" title="<?php echo $this->rss_title; ?>" href="<?php echo Minz_Url::display($url_rss); ?>" />
+<?php } if (!FreshRSS_Context::$system_conf->allow_referrer) { ?>
+ <meta name="referrer" content="never" />
<?php } if (FreshRSS_Context::$system_conf->allow_robots) { ?>
<meta name="description" content="<?php echo htmlspecialchars(FreshRSS_Context::$name . ' | ' . FreshRSS_Context::$description, ENT_COMPAT, 'UTF-8'); ?>" />
<?php } else { ?>