From: <var...@us...> - 2010-06-24 16:31:14
|
Revision: 7571 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7571&view=rev Author: vargenau Date: 2010-06-24 16:31:07 +0000 (Thu, 24 Jun 2010) Log Message: ----------- Use "id" instead of "name" for <a> Modified Paths: -------------- trunk/lib/plugin/CreateToc.php trunk/themes/Crao/templates/editpage.tmpl trunk/themes/MonoBook/templates/top.tmpl trunk/themes/Portland/templates/editpage.tmpl trunk/themes/Sidebar/templates/signin.tmpl trunk/themes/Sidebar/templates/top.tmpl trunk/themes/Wordpress/templates/editpage.tmpl trunk/themes/blog/templates/blogform.tmpl trunk/themes/default/templates/blogform.tmpl trunk/themes/default/templates/editpage.tmpl trunk/themes/gforge/templates/blogform.tmpl trunk/themes/gforge/templates/body.tmpl trunk/themes/gforge/templates/editpage.tmpl Modified: trunk/lib/plugin/CreateToc.php =================================================================== --- trunk/lib/plugin/CreateToc.php 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/lib/plugin/CreateToc.php 2010-06-24 16:31:07 UTC (rev 7571) @@ -315,7 +315,7 @@ else $anchorString = "<a href=\"$url\" name=\"$manchor\">\$2</a>"; } else { - $anchorString = "<a name=\"$manchor\"></a>"; + $anchorString = "<a id=\"$manchor\"></a>"; if ($counter) $anchorString .= "$counterString - "; } @@ -338,11 +338,11 @@ } else { /* Not possible to make a backlink on a * title with a WikiWord */ - $anchorString = "\$1<a name=\"$manchor\"></a>"; + $anchorString = "\$1<a id=\"$manchor\"></a>"; } } else { - $anchorString = "\$1<a name=\"$manchor\"></a>"; + $anchorString = "\$1<a id=\"$manchor\"></a>"; if ($counter) $anchorString .= "$counterString - "; } Modified: trunk/themes/Crao/templates/editpage.tmpl =================================================================== --- trunk/themes/Crao/templates/editpage.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/Crao/templates/editpage.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -42,7 +42,7 @@ </div></td></tr></table> <fieldset class="editarea"> <legend><?=_("Page Content: ")?></legend> - <a name="editarea"></a><?=$EDIT_TEXTAREA?> + <a id="editarea"></a><?=$EDIT_TEXTAREA?> </fieldset> <!-- FIXME: fix layout, move CSS to CSS --> <fieldset class="editarea"> Modified: trunk/themes/MonoBook/templates/top.tmpl =================================================================== --- trunk/themes/MonoBook/templates/top.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/MonoBook/templates/top.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -2,5 +2,5 @@ // rcs_id('$Id$'); ?> <!-- Page title --> -<a name="top"></a> +<a id="top"></a> <h1 class="firstHeading"><?= $HEADER ?></h1> Modified: trunk/themes/Portland/templates/editpage.tmpl =================================================================== --- trunk/themes/Portland/templates/editpage.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/Portland/templates/editpage.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -32,7 +32,7 @@ </td> </tr> </table> -<a name="editarea" id="editarea"><?=$EDIT_TEXTAREA?></a> +<a id="editarea"><?=$EDIT_TEXTAREA?></a> <br /> <?=_("Summary")?>: <?= $SUMMARY_INPUT ?> <br /> Modified: trunk/themes/Sidebar/templates/signin.tmpl =================================================================== --- trunk/themes/Sidebar/templates/signin.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/Sidebar/templates/signin.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -16,7 +16,7 @@ <!-- Login --> <li id="pt-login"><?= HTML::a(array('href'=>'?auth[login]=1'),$sp,_("Login"),$sp) ?></li> <?php } else { ?> - <li id="pt-login"><a name="login"><?= _("Login required...") ?></a></li> + <li id="pt-login"><a id="login"><?= _("Login required...") ?></a></li> <?php } ?> </ul> </div> Modified: trunk/themes/Sidebar/templates/top.tmpl =================================================================== --- trunk/themes/Sidebar/templates/top.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/Sidebar/templates/top.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -13,7 +13,7 @@ $rating = 0; ?> <!-- Page title --> -<a name="top" id="contentTop"></a> +<a id="contentTop"></a> <?php if ($page->_pagename != "HomePage") { ?> <h1 class="firstHeading<?= $rating ? '-rating' : '' ?><?= $public ? '-public' : '' ?>"><?= $HEADER ?></h1> <?php } ?> @@ -25,4 +25,4 @@ $loader = new WikiPluginLoader(); printXML($loader->expandPI("<"."?plugin RateIt show=text ?".">", $request, $dbi->_markup)); ?></div> -<?php } ?> \ No newline at end of file +<?php } ?> Modified: trunk/themes/Wordpress/templates/editpage.tmpl =================================================================== --- trunk/themes/Wordpress/templates/editpage.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/Wordpress/templates/editpage.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -42,7 +42,7 @@ <noscript><?=Button("submit:", _("Adjust"), 'wikiaction')?></noscript> </div></td></tr></table> </p> -<a name="editarea" id="editarea"><?=$EDIT_TEXTAREA?></a> +<a id="editarea"><?=$EDIT_TEXTAREA?></a> <br /><small> <?=_("Summary")?>: <?= $SUMMARY_INPUT ?> <br /> Modified: trunk/themes/blog/templates/blogform.tmpl =================================================================== --- trunk/themes/blog/templates/blogform.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/blog/templates/blogform.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -11,7 +11,7 @@ <input id="wikiblog-summary" class="wikitext" type="text" style="width:540px" size="60" maxlength="256" name="edit[summary]" value="" /> <?= $EDIT_TOOLBAR ?> - <a name="editarea"></a> + <a id="editarea"></a> <textarea id="edit-content" class="edit-content" rows="8" style="width:540px" name="edit[content]"></textarea> <br /> Modified: trunk/themes/default/templates/blogform.tmpl =================================================================== --- trunk/themes/default/templates/blogform.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/default/templates/blogform.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -11,7 +11,7 @@ <input id="wikiblog-summary" class="wikitext" type="text" style="width:540px" size="60" maxlength="256" name="edit[summary]" value="" /> <?= $EDIT_TOOLBAR ?> - <a name="editarea"></a> + <a id="editarea"></a> <textarea id="edit-content" class="edit-content" rows="8" cols="68" style="width:540px" name="edit[content]"></textarea> <br /> Modified: trunk/themes/default/templates/editpage.tmpl =================================================================== --- trunk/themes/default/templates/editpage.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/default/templates/editpage.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -45,7 +45,7 @@ <?php if (!empty($WYSIWYG_B)) { ?> <br /><div class="hint"><strong>Warning:</strong> Switching to the Wysiwyg editor will not keep your changes.</div> <?php } ?> - <a name="editarea"></a><?=$EDIT_TEXTAREA?> + <a id="editarea"></a><?=$EDIT_TEXTAREA?> <!-- FIXME: fix layout, move CSS to CSS --> <div class="toolbar" style="text-align: center;"> <label for="edit-summary"><?=_("Summary").':'?></label> <?=$SUMMARY_INPUT?> Modified: trunk/themes/gforge/templates/blogform.tmpl =================================================================== --- trunk/themes/gforge/templates/blogform.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/gforge/templates/blogform.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -11,7 +11,7 @@ <input id="wikiblog-summary" class="wikitext" type="text" style="width:540px" size="60" maxlength="256" name="edit[summary]" value="" /> <?= $EDIT_TOOLBAR ?> - <a name="editarea"></a> + <a id="editarea"></a> <textarea id="edit-content" class="edit-content" rows="8" cols="68" style="width:540px" name="edit[content]"></textarea> <br /> Modified: trunk/themes/gforge/templates/body.tmpl =================================================================== --- trunk/themes/gforge/templates/body.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/gforge/templates/body.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -21,7 +21,7 @@ else $rating = 0; ?> -<a name="top" id="contentTop"></a> +<a id="contentTop"></a> <h1> <span class="firstHeading<?= $rating ? '-rating' : '' ?>"> <span style="float: left;"><?= $HEADER ?></span> Modified: trunk/themes/gforge/templates/editpage.tmpl =================================================================== --- trunk/themes/gforge/templates/editpage.tmpl 2010-06-24 15:49:00 UTC (rev 7570) +++ trunk/themes/gforge/templates/editpage.tmpl 2010-06-24 16:31:07 UTC (rev 7571) @@ -37,7 +37,7 @@ <label for="pref-editWidth"><b><?=_("W")?></b></label> <?=$WIDTH_PREF?> <noscript><?=Button("submit:", _("Adjust"), 'wikiaction')?></noscript> </div></td></tr></table> - <a name="editarea"></a><?=$EDIT_TEXTAREA?> + <a id="editarea"></a><?=$EDIT_TEXTAREA?> <div class="toolbar" style="text-align: center;"> <label for="edit-summary"><?=_("Summary").':'?></label> <?=$SUMMARY_INPUT?> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |