#18 coloring: A.wikilink should be a A.backlink

1.3.x
closed
Carsten Klapp
None
2
2012-10-11
2001-12-22
Jeremy Avnet
No

The backlink on the edit page used A.wikilink instead
of A.backlinks (so the coloring was wrong).

--- templates/editpage.html Sat Dec 22 12:04:55 2001
+++ templates/editpage.html.old Sat Dec 22 12:04:40 2001
@@ -21,7 +21,7 @@
border="0" alt="${WIKI_NAME}:
$("HomePage")"
align="right" /></a></div>
<!--This hack allows the h1 to be localised. FIXME:
move out of html template into php-->
-<h1><?php printf(
("Edit: %s"),"<a class=\&quot;backlinks\&quot;
href=\&quot;${BROWSE}".("BackLinks")."?page=${PAGE}\&quot;>${PAGE}</a>");
?></h1>
+<h1><?php printf(
("Edit: %s"),"<a class=\&quot;wikilink\&quot;
href=\&quot;${BROWSE}".("BackLinks")."?page=${PAGE}\&quot;>${PAGE}</a>");
?></h1>
<!--=this line=<?php $bl='<plugin-link BackLinks
page="[pagename]" class="backlinks"
linktext="${SPLIT_PAGE}" ?>';printf(
("Edit:
%s"),"$bl"); ?>=doesn't work=-->
<?php if (!empty($PREVIEW_CONTENT)) { ?>
<p><strong>$_("Preview only! Changes not
saved.")</strong></p>

Discussion

  • Jeremy Avnet
    Jeremy Avnet
    2001-12-22

     
    Attachments
  • Carsten Klapp
    Carsten Klapp
    2001-12-27

    Logged In: YES
    user_id=369655

    Thanks for the patch! The fix has been added to the 1.3 CVS.

    There has been some talk on the PhpWiki mailing list about moving the BackLinks function out of the page heading altogether and into the "toolbar". A page was created for more discussion at: http://phpwiki.sourceforge.net/phpwiki/ToolBars

     
  • Carsten Klapp
    Carsten Klapp
    2003-11-09

    Logged In: YES
    user_id=369655

    Closing off. Apparently alreaady added to CVS on 2001-12-
    26 20:26.

     
  • Carsten Klapp
    Carsten Klapp
    2003-11-09

    Logged In: YES
    user_id=369655

    Closing off. Apparently alreaady added to CVS on 2001-12-
    26 20:26.