summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-18 15:44:02 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-18 15:44:02 +0000
commit0ec5405705b1cf34fa8e7295f49aa15e5211aa35 (patch)
tree7fa015e1c49464971d1dd21ce2dac3537ca740a5
parent0ba8f441692c0e0e3aea99994e6bd7ee485383df (diff)
downloadbrdo-0ec5405705b1cf34fa8e7295f49aa15e5211aa35.tar.gz
brdo-0ec5405705b1cf34fa8e7295f49aa15e5211aa35.tar.bz2
- Patch #386462 by mgifford, Frando: fixed XHTML validation errors.
-rw-r--r--modules/system/page.tpl.php2
-rw-r--r--themes/garland/page.tpl.php2
-rw-r--r--themes/seven/page.tpl.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/page.tpl.php b/modules/system/page.tpl.php
index 3f7440b14..da5219774 100644
--- a/modules/system/page.tpl.php
+++ b/modules/system/page.tpl.php
@@ -112,7 +112,7 @@
<div id="content" class="column"><div class="section">
<?php if ($page['highlight']): ?><div id="highlight"><?php print render($page['highlight']); ?></div><?php endif; ?>
- <a name="main-content" id="main-content"></a>
+ <a id="main-content"></a>
<?php if ($title): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
<?php if ($tabs): ?><div class="tabs"><?php print render($tabs); ?></div><?php endif; ?>
<?php print render($page['help']); ?>
diff --git a/themes/garland/page.tpl.php b/themes/garland/page.tpl.php
index bcee882d7..11f18f631 100644
--- a/themes/garland/page.tpl.php
+++ b/themes/garland/page.tpl.php
@@ -40,7 +40,7 @@
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
<?php print $breadcrumb; ?>
<?php if ($page['highlight']): ?><div id="highlight"><?php render($page['highlight']); ?></div><?php endif; ?>
- <a name="main-content" id="main-content"></a>
+ <a id="main-content"></a>
<?php if ($tabs): ?><div id="tabs-wrapper" class="clearfix"><?php endif; ?>
<?php if ($title): ?><h1<?php print $tabs ? ' class="with-tabs"' : '' ?>><?php print $title ?></h1><?php endif; ?>
<?php if ($tabs): ?><ul class="tabs primary"><?php print render($tabs) ?></ul></div><?php endif; ?>
diff --git a/themes/seven/page.tpl.php b/themes/seven/page.tpl.php
index df2f53bfd..c66eb00d4 100644
--- a/themes/seven/page.tpl.php
+++ b/themes/seven/page.tpl.php
@@ -1,7 +1,7 @@
<?php
// $Id$
?>
- <a name="main-content" id="main-content"></a>
+ <p class="element-invisible"><a id="main-content"></a></p>
<div id="branding" class="clearfix">
<?php print $breadcrumb; ?>
<?php if ($title): ?><h1 class="page-title"><?php print $title; ?></h1><?php endif; ?>