aboutsummaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-05-13 19:27:22 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-05-13 19:27:22 +0200
commit717a37c6519c7fef1fbc07a0d56f9db4aaf0d1cd (patch)
tree9d8b8f0e9bed7aa8038a65e6a7cc353ec5f2d641 /app/layout/layout.phtml
parentacd7d64e20ba90c49b69474f25c1c80656b6ffd6 (diff)
Fix coding style + title
- Fix spaces before parenthesis - Apple title use the "real" name of the app
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml22
1 files changed, 11 insertions, 11 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index cc7aa9d76..c22288adb 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -3,18 +3,18 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1.0" />
- <?php echo self::headTitle (); ?>
- <?php echo self::headStyle (); ?>
- <?php echo self::headScript (); ?>
+ <?php echo self::headTitle(); ?>
+ <?php echo self::headStyle(); ?>
+ <?php echo self::headScript(); ?>
<script>//<![CDATA[
-<?php $this->renderHelper ('javascript_vars'); ?>
+<?php $this->renderHelper('javascript_vars'); ?>
//]]></script>
<?php
if (!empty($this->nextId)) {
- $params = Minz_Request::params ();
+ $params = Minz_Request::params();
$params['next'] = $this->nextId;
?>
- <link id="prefetch" rel="next prefetch" href="<?php echo Minz_Url::display (array ('c' => Minz_Request::controllerName (), 'a' => Minz_Request::actionName (), 'params' => $params)); ?>" />
+ <link id="prefetch" rel="next prefetch" href="<?php echo Minz_Url::display(array('c' => Minz_Request::controllerName(), 'a' => Minz_Request::actionName(), 'params' => $params)); ?>" />
<?php } ?>
<link rel="shortcut icon" type="image/x-icon" sizes="16x16 64x64" href="<?php echo Minz_Url::display('/favicon.ico'); ?>" />
<link rel="icon msapplication-TileImage apple-touch-icon" type="image/png" sizes="256x256" href="<?php echo Minz_Url::display('/themes/icons/favicon-256.png'); ?>" />
@@ -23,7 +23,7 @@
$rss_url = $this->url;
$rss_url['params']['output'] = 'rss';
?>
- <link rel="alternate" type="application/rss+xml" title="<?php echo $this->rss_title; ?>" href="<?php echo Minz_Url::display ($rss_url); ?>" />
+ <link rel="alternate" type="application/rss+xml" title="<?php echo $this->rss_title; ?>" href="<?php echo Minz_Url::display($rss_url); ?>" />
<?php } ?>
<link rel="prefetch" href="<?php echo FreshRSS_Themes::icon('starred', true); ?>">
<link rel="prefetch" href="<?php echo FreshRSS_Themes::icon('non-starred', true); ?>">
@@ -32,21 +32,21 @@
<link rel="apple-touch-icon" href="<?php echo Minz_Url::display('/themes/icons/apple-touch-icon.png'); ?>">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
- <meta name="apple-mobile-web-app-title" content="FreshRSS">
+ <meta name="apple-mobile-web-app-title" content="<?php echo Minz_Configuration::title(); ?>">
<meta name="msapplication-TileColor" content="#FFF" />
<meta name="robots" content="noindex,nofollow" />
</head>
<body class="<?php echo Minz_Request::param('output', 'normal'); ?>">
-<?php $this->partial ('header'); ?>
+<?php $this->partial('header'); ?>
<div id="global">
- <?php $this->render (); ?>
+ <?php $this->render(); ?>
</div>
<?php
$msg = '';
$status = 'closed';
- if (isset ($this->notification)) {
+ if (isset($this->notification)) {
$msg = $this->notification['content'];
$status = $this->notification['type'];