Revision: 10779
http://sourceforge.net/p/phpwiki/code/10779
Author: vargenau
Date: 2021-12-15 09:52:44 +0000 (Wed, 15 Dec 2021)
Log Message:
-----------
themes/default/templates/head.tmpl: simpler charset syntax, add ATOM link
Modified Paths:
--------------
trunk/themes/default/templates/head.tmpl
Modified: trunk/themes/default/templates/head.tmpl
===================================================================
--- trunk/themes/default/templates/head.tmpl 2021-12-15 09:28:33 UTC (rev 10778)
+++ trunk/themes/default/templates/head.tmpl 2021-12-15 09:52:44 UTC (rev 10779)
@@ -1,5 +1,5 @@
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta charset="UTF-8" />
<?php $ROBOTS_CONTENT = isset($ROBOTS_META) ? $ROBOTS_META : "noindex,nofollow"; ?>
<meta name="robots" content="<?php echo $ROBOTS_CONTENT ?>" />
<?php if (!empty($PAGE_DESCRIPTION)) { ?>
@@ -14,14 +14,10 @@
<link rel="stylesheet" type="text/css" href="<?php echo DATA_PATH ?>/themes/default/highlight.js/styles/github.css"/>
<?php /* The next few lines are wrapped in an odd manner to allow gettext string extraction: cd locale;make */ ?>
<link rel="home" title="<?php echo HOME_PAGE?>" href="<?php echo WikiURL(HOME_PAGE)?>" />
-<link rel="help" title="<?php echo
-_("Help")."/"._("HowToUseWiki")?>" href="<?php echo WikiURL(
-_("Help")."/"._("HowToUseWiki"))?>" />
+<link rel="help" title="<?php echo _("Help")."/"._("HowToUseWiki")?>" href="<?php echo WikiURL(_("Help")."/"._("HowToUseWiki"))?>" />
<link rel="license" title="<?php echo COPYRIGHTPAGE_TITLE?>" href="<?php echo COPYRIGHTPAGE_URL?>" />
<link rel="author" title="<?php echo AUTHORPAGE_TITLE?>" href="<?php echo AUTHORPAGE_URL?>" />
-<link rel="search" title="<?php echo
-_("FindPage")?>" href="<?php echo WikiURL(
-_("FindPage"))?>" />
+<link rel="search" title="<?php echo _("FindPage")?>" href="<?php echo WikiURL(_("FindPage"))?>" />
<?php /**
* Provide alternate variations of the page content:
* 'viewsource' and 'browse'.
@@ -46,10 +42,8 @@
* http://www.oreillynet.com/cs/weblog/view/wlg/1475
*/
?>
-<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo WikiURL(
-_("RecentChanges"), array('format' => 'rss'))?>" />
-<link rel="alternate" type="application/atom+xml" title="ATOM" href="<?php echo WikiURL(
-_("RecentChanges"), array('format' => 'atom'))?>" />
+<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo WikiURL(_("RecentChanges"), array('format' => 'rss'))?>" />
+<link rel="alternate" type="application/atom+xml" title="ATOM" href="<?php echo WikiURL(_("RecentChanges"), array('format' => 'atom'))?>" />
<?php /**
* Add some user-specific links.
*/ ?>
@@ -76,7 +70,8 @@
?>
<?php } ?>
<?php } //end of links for signed-in user ?>
-<?php echo $WikiTheme->getCSS() ?><?php
+<?php echo $WikiTheme->getCSS() ?>
+<?php
// avoid redundant bookmark title for custom home page
if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME)
$pagetitle = "";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|