Skip to content

Commit

Permalink
Item1436: put rel="nofollow" on the href links, not the images
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/FoswikiSiteSkin@3403 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
WillNorris authored and WillNorris committed Apr 11, 2009
1 parent 92ec623 commit 13fa8a7
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions templates/view.foswikisite.tmpl
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
%TMPL:INCLUDE{"view"}%

%TMPL:DEF{"top:toolbarbutton_edit"}%<span><a href="%SCRIPTURL{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$epoch"}%" title="Edit this topic"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/pencil.gif" width="16" height="16" rel="nofollow" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_edit"}%<span><a href="%SCRIPTURL{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$epoch"}%" title="Edit this topic" rel="nofollow" ><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/pencil.gif" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_attach"}%<span><a href="%SCRIPTURL{"attach"}%/%WEB%/%TOPIC%" title="Attach files and manage existing attachments"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/attach.gif" width="16" height="16" rel="nofollow" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_attach"}%<span><a href="%SCRIPTURL{"attach"}%/%WEB%/%TOPIC%" title="Attach files and manage existing attachments" rel="nofollow" ><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/attach.gif" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_rdiff"}%<span><a href="%SCRIPTURL{"rdiff"}%/%WEB%/%TOPIC%?type=history" title="View topic history"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/page_white_stack.gif" width="16" height="16" rel="nofollow" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_rdiff"}%<span><a href="%SCRIPTURL{"rdiff"}%/%WEB%/%TOPIC%?type=history" title="View topic history" rel="nofollow" ><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/page_white_stack.gif" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_raw"}%<span><a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?raw=on&rev=%REVINFO{"$rev"}%" title="View raw topic text"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/text_align_left.gif" width="16" height="16" rel="nofollow" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_raw"}%<span><a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?raw=on&rev=%REVINFO{"$rev"}%" title="View raw topic text" rel="nofollow" ><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/text_align_left.gif" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_view"}%<span><a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%" title="View topic"><img src="%PUBURL%/%SYSTEMWEB%/DocumentGraphics/viewtopic.gif" width="16" height="16" rel="nofollow" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_view"}%<span><a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%" title="View topic" rel="nofollow" ><img src="%PUBURL%/%SYSTEMWEB%/DocumentGraphics/viewtopic.gif" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_create"}%<span><a href="%SCRIPTURL{"view"}%/%WEB%/WebCreateNewTopic?topicparent=%TOPIC%" title="Create new topic"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/page_white_add.gif" width="16" height="16" rel="nofollow" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_create"}%<span><a href="%SCRIPTURL{"view"}%/%WEB%/WebCreateNewTopic?topicparent=%TOPIC%" title="Create new topic" rel="nofollow" ><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/page_white_add.gif" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_print"}%<span><a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?cover=print" title="Print this topic"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/printer.gif" width="16" height="16" rel="nofollow" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_print"}%<span><a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?cover=print" title="Print this topic" rel="nofollow" ><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/printer.gif" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_more"}%<span><a href="%SCRIPTURL{"oops"}%/%WEB%/%TOPIC%?template=oopsmore" title="More actions"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/wrench.gif" width="16" height="16" rel="nofollow" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_more"}%<span><a href="%SCRIPTURL{"oops"}%/%WEB%/%TOPIC%?template=oopsmore" title="More actions" rel="nofollow" ><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/wrench.gif" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"top:toolbarbutton_edit"}%%TMPL:P{"top:toolbarbutton_attach"}%%TMPL:P{"top:toolbarbutton_rdiff"}%
%IF{"defined raw" then='%TMPL:P{"top:toolbarbutton_view"}%' else='%TMPL:P{"top:toolbarbutton_raw"}'}%%TMPL:P{"top:toolbarbutton_create"}%%TMPL:P{"top:toolbarbutton_print"}%%TMPL:P{"top:toolbarbutton_more"}%%TMPL:END%
%TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"top:toolbarbutton_edit"}%%TMPL:P{"top:toolbarbutton_attach"}%%TMPL:P{"top:toolbarbutton_rdiff"}%%IF{"defined raw" then='%TMPL:P{"top:toolbarbutton_view"}%' else='%TMPL:P{"top:toolbarbutton_raw"}'}%%TMPL:P{"top:toolbarbutton_create"}%%TMPL:P{"top:toolbarbutton_print"}%%TMPL:P{"top:toolbarbutton_more"}%%TMPL:END%

%TMPL:DEF{"breadcrumb"}%%TMPL:P{"breadcrumb:title"}%%TMPL:P{"breadcrumb:currentweb"}%%TMPL:P{"breadcrumb:parents"}%%TMPL:P{"breadcrumb:currenttopic"}%%TMPL:END%

Expand Down

0 comments on commit 13fa8a7

Please sign in to comment.