Skip to content

Commit

Permalink
Item12103: Document hiding action buttons in css
Browse files Browse the repository at this point in the history
And simplify the CSS.   This documents a feature that has been in the
css for quite some time.  Creates a cookbook and example CSS files for
activating the feature.
  • Loading branch information
gac410 committed Feb 23, 2015
1 parent ee9a500 commit add5167
Show file tree
Hide file tree
Showing 12 changed files with 107 additions and 37 deletions.
30 changes: 15 additions & 15 deletions FamFamFamContrib/templates/view.famfamfam.tmpl
@@ -1,12 +1,12 @@
%TMPL:INCLUDE{"view"}%
%TMPL:DEF{"top:toolbarbutton_edit"}%<span>
<a href="%SCRIPTURL{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$epoch"}%" title="%MAKETEXT{"Edit this topic text (e)"}%">
<img alt="%MAKETEXT{"Edit this topic text (e)"}%" src="%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/pencil.png" width="16" height="16" />
<a class='foswikiRequiresChangePermission' href='%SCRIPTURL{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$epoch"}%' title='%MAKETEXT{"Edit this topic text (e)"}%'>
<img alt='%MAKETEXT{"Edit this topic text (e)"}%' src='%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/pencil.png' width='16' height='16' />
</a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_attach"}%<span>
<a href="%SCRIPTURL{"attach"}%/%WEB%/%TOPIC%" title="%MAKETEXT{"Attach an image or document to this topic; manage existing attachments (a)"}%">
<img alt="%MAKETEXT{"Attach an image or document to this topic; manage existing attachments (a)"}%" src="%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/attach.png" width="16" height="16" />
<a class='foswikiRequiresChangePermission' href='%SCRIPTURL{"attach"}%/%WEB%/%TOPIC%' title='%MAKETEXT{"Attach an image or document to this topic; manage existing attachments (a)"}%'>
<img alt='%MAKETEXT{"Attach an image or document to this topic; manage existing attachments (a)"}%' src='%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/attach.png' width='16' height='16' />
</a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_subscribe"}%<span>
Expand All @@ -17,28 +17,28 @@
</a>"}%</span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_rdiff"}%<span>
<a href="%SCRIPTURL{"rdiff"}%/%WEB%/%TOPIC%?type=history" title="%MAKETEXT{"View sequential topic history"}%">
<img alt="%MAKETEXT{"View sequential topic history"}%" src="%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/page_white_stack.png" width="16" height="16" />
<a href='%SCRIPTURL{"rdiff"}%/%WEB%/%TOPIC%?type=history' title='%MAKETEXT{"View sequential topic history"}%'>
<img alt='%MAKETEXT{"View sequential topic history"}%' src='%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/page_white_stack.png' 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="%MAKETEXT{"View without formatting (v)"}%">
<img alt="%MAKETEXT{"View without formatting (v)"}%" src="%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/text_align_left.png" width="16" height="16" />
<a href='%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?raw=on&rev=%REVINFO{"$rev"}%' title='%MAKETEXT{"View without formatting (v)"}%'>
<img alt='%MAKETEXT{"View without formatting (v)"}%' src='%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/text_align_left.png' width='16' height='16' />
</a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_create"}%<span>
<a href="%SCRIPTURL{"view"}%/%WEB%/WebCreateNewTopic?topicparent=%TOPIC%" title="%MAKETEXT{"Create new topic"}%">
<img alt="%MAKETEXT{"Create new topic"}%" src="%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/page_white_add.png" width="16" height="16" />
<a class='foswikiRequiresChangePermission' href='%SCRIPTURL{"view"}%/%WEB%/WebCreateNewTopic?topicparent=%TOPIC%' title='%MAKETEXT{"Create new topic"}%'>
<img alt='%MAKETEXT{"Create new topic"}%' src='%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/page_white_add.png' width='16' height='16' />
</a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_print"}%<span>
<a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?cover=print;%QUERYSTRING%" title="%MAKETEXT{"Printable version of this topic (p)"}%">
<img alt="%MAKETEXT{"Printable version of this topic (p)"}%" src="%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/printer.png" width="16" height="16" />
<a href='%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?cover=print;%QUERYSTRING%' title='%MAKETEXT{"Printable version of this topic (p)"}%'>
<img alt='%MAKETEXT{"Printable version of this topic (p)"}%' src='%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/printer.png' width='16' height='16' />
</a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_more"}%<span>
<a href="%SCRIPTURL{"oops"}%/%WEB%/%TOPIC%?template=more&maxrev=%REVINFO{"$rev"}%&currrev=%REVINFO{"$rev"}%" title="%MAKETEXT{"More: delete or rename this topic; set parent topic; view and compare revisions (m)"}%">
<img alt="%MAKETEXT{"More: delete or rename this topic; set parent topic; view and compare revisions (m)"}%" src="%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/wrench.png" width="16" height="16" />
<a href='%SCRIPTURL{"oops"/%/%WEB%/%TOPIC%?template=more&maxrev=%REVINFO{"$rev"}%&currrev=%REVINFO{"$rev"}%' title='%MAKETEXT{"More: delete or rename this topic; set parent topic; view and compare revisions (m)"}%'>
<img alt='%MAKETEXT{"More: delete or rename this topic; set parent topic; view and compare revisions (m)"}%' src='%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/wrench.png' width='16' height='16' />
</a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbuttons_inner"}% %TMPL:P{
Expand All @@ -62,6 +62,6 @@
%TMPL:DEF{"authenticatedClass"}% foswikiAuthenticated%TMPL:END%
%TMPL:DEF{"unauthenticatedClass"}% foswikiUnauthenticated%TMPL:END%

%TMPL:DEF{"top:toolbarbuttons"}%<span class="foswikiToolBar foswikiRight%TMPL:P{context="authenticated" then="authenticatedClass" else="unauthenticatedClass"}%">
%TMPL:DEF{"top:toolbarbuttons"}%<span class='foswikiToolBar foswikiRight%TMPL:P{context="authenticated" then="authenticatedClass" else="unauthenticatedClass"}%'>
%TMPL:P{"top:toolbarbuttons_inner"}%
</span>%TMPL:END%
6 changes: 5 additions & 1 deletion PatternSkin/data/System/PatternSkinCssCookbook.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1421599902" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1424660268" format="1.1" version="1"}%
%META:TOPICPARENT{name="PatternSkin"}%
---+!! %SYSTEMWEB%.PatternSkin CSS Cookbook

Expand Down Expand Up @@ -103,6 +103,10 @@ Note: If using %<nop>WEBHEADERART% to customize the top bar, some =#patternTopBa

[[PatternSkinCssCookbookEditTableStyle][See example]]

---+++ Hide Edit action buttons for unauthorized and/or guest users

[[PatternSkinCssCookbookHideActions][See example]]

---++ Style sheet documentation
* See %SYSTEMWEB%.PatternSkinCss for documentation of !PatternSkin CSS classes
* See %SYSTEMWEB%.AppendixCascadingStyleSheets for documentation of Foswiki CSS classes
Expand Down
64 changes: 64 additions & 0 deletions PatternSkin/data/System/PatternSkinCssCookbookHideActions.txt
@@ -0,0 +1,64 @@
%META:TOPICINFO{author="ProjectContributor" date="1424657010" format="1.1" version="1"}%
%META:TOPICPARENT{name="PatternSkinCssCookbook"}%
---+!! PatternSkinCssCookbook Recipe: Hide action buttons

*This recipe shows how to hide the action buttons for unauthorised and/or guest users:*
(Edit, Attach ...)

Note that the solutions in thic cookbook do not hide links to missing topics and unknown
!WikiWords.

%TOC{title="There are two options:"}%

---++ Hide buttons for logged in, but unauthorized users

This is the recommended approach. Edit buttons will be visible for guests,
and will be hidden if a logged in user does not have access. This is the
most "friendly" approach in that a guest can click any button (for ex. edit or
attach) and will be prompted to log in.

This line loads the extra style definition:
<!--%JQREQUIRE{"chili"}%--><verbatim class="tml">
* Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookHideActions/hideunauthaction.css
</verbatim>

---++ Hide buttons for guests, and for unauthorized users

This requires guests to find and click the login button to authenticate before
the buttons become visible.

<div class='foswikiHelp'>%T% *Note:* This is not a good way to prevent search
engines from following edit links. The buttons are present, but are hidden
using CSS.</div>

This line loads the extra style definition:
<!--%JQREQUIRE{"chili"}%--><verbatim class="tml">
* Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookHideActions/hideguestaction.css
</verbatim>


<div class='foswikiHelp'>
You can write this line in %SYSTEMWEB%.%WIKIPREFSTOPIC%, in %LOCALSITEPREFS%, in %WEBPREFSTOPIC%, in your user topic or on a single page.
</div>

---++ Alternative CSS

Another option is to leave the buttons present, but disabled. The following
CSS sets the opacity to 50%, and disables the button.
<verbatim>
/* Hide action buttons for guests, and for logged in users without change permission */
.foswikiHasNoChangePermission.foswikiLoggedIn .foswikiRequiresChangePermission {
pointer-events: none;
cursor: default;
opacity: 0.5;
}
.foswikiHasNoChangePermission.foswikiGuest .foswikiRequiresChangePermission {
pointer-events: none;
cursor: default;
opacity: 0.5;
}
</verbatim>


%META:FILEATTACHMENT{name="hideunauthaction.css" attachment="hideunauthaction.css" attr="" comment="" date="1424657010" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="hideguestaction.css" attachment="hideguestaction.css" attr="" comment="" date="1424657010" user="ProjectContributor" version="1"}%
3 changes: 3 additions & 0 deletions PatternSkin/lib/Foswiki/Contrib/PatternSkin/MANIFEST
Expand Up @@ -10,6 +10,7 @@ data/System/PatternSkinCssCookbookCenterPage.txt 0644
data/System/PatternSkinCssCookbookCenterPageBorder.txt 0644
data/System/PatternSkinCssCookbookEditTableStyle.txt 0644
data/System/PatternSkinCssCookbookFonts.txt 0644
data/System/PatternSkinCssCookbookHideActions.txt 0644
data/System/PatternSkinCssCookbookNoLeftBar.txt 0644
data/System/PatternSkinCssCookbookNoTopBar.txt 0644
data/System/PatternSkinCssCookbookSidebarBackground.txt 0644
Expand Down Expand Up @@ -56,6 +57,8 @@ pub/System/PatternSkinCssCookbookCenterPageBorder/gradient_page.gif 0644
pub/System/PatternSkinCssCookbookCenterPageBorder/striped_pageshadow.gif 0644
pub/System/PatternSkinCssCookbookEditTableStyle/edittable.css 0644
pub/System/PatternSkinCssCookbookFonts/fonts.css 0644
pub/System/PatternSkinCssCookbookHideActions/hideguestaction.css 0644
pub/System/PatternSkinCssCookbookHideActions/hideunauthaction.css 0644
pub/System/PatternSkinCssCookbookNoLeftBar/hideleftbar.css 0644
pub/System/PatternSkinCssCookbookNoTopBar/notopbar.css 0644
pub/System/PatternSkinCssCookbookSidebarBackground/sidebar.css 0644
Expand Down
@@ -0,0 +1,5 @@
/* CSS Cookbook: PatternSkinCssCookbookHideActions */

/* Hide action buttons for guests, and for logged in users without change permission */
.foswikiHasNoChangePermission.foswikiLoggedIn .foswikiRequiresChangePermission { display: none; }
.foswikiHasNoChangePermission.foswikiGuest .foswikiRequiresChangePermission { display: none; }
@@ -0,0 +1,4 @@
/* CSS Cookbook: PatternSkinCssCookbookHideActions */

/* Hide action button logged in users without change permission */
.foswikiHasNoChangePermission.foswikiLoggedIn .foswikiRequiresChangePermission { display: none; }
12 changes: 0 additions & 12 deletions PatternSkin/pub/System/PatternSkinTheme/style_src.css
Expand Up @@ -1384,10 +1384,6 @@ pre ul:last-child,
.foswikiButtonSmall.foswikiActive,
.foswikiButtonLarge.foswikiActive,
.foswikiButtonMini.foswikiActive,
.foswikiButton > .foswikiRequiresChangePermission a:hover,
.foswikiButtonSmall > .foswikiRequiresChangePermission a:hover,
.foswikiButtonLarge > .foswikiRequiresChangePermission a:hover,
.foswikiButtonMini > .foswikiRequiresChangePermission a:hover {
color: #484848;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
background-color: #e6e6e6;
Expand Down Expand Up @@ -1415,10 +1411,6 @@ pre ul:last-child,
.foswikiButtonSmall.foswikiActive .foswikiIcon,
.foswikiButtonLarge.foswikiActive .foswikiIcon,
.foswikiButtonMini.foswikiActive .foswikiIcon,
.foswikiButton > .foswikiRequiresChangePermission a:hover .foswikiIcon,
.foswikiButtonSmall > .foswikiRequiresChangePermission a:hover .foswikiIcon,
.foswikiButtonLarge > .foswikiRequiresChangePermission a:hover .foswikiIcon,
.foswikiButtonMini > .foswikiRequiresChangePermission a:hover .foswikiIcon {
color: #484848;
}
.foswikiButton:hover .foswikiCaret,
Expand All @@ -1429,10 +1421,6 @@ pre ul:last-child,
.foswikiButtonSmall.foswikiActive .foswikiCaret,
.foswikiButtonLarge.foswikiActive .foswikiCaret,
.foswikiButtonMini.foswikiActive .foswikiCaret,
.foswikiButton > .foswikiRequiresChangePermission a:hover .foswikiCaret,
.foswikiButtonSmall > .foswikiRequiresChangePermission a:hover .foswikiCaret,
.foswikiButtonLarge > .foswikiRequiresChangePermission a:hover .foswikiCaret,
.foswikiButtonMini > .foswikiRequiresChangePermission a:hover .foswikiCaret {
border-top-color: rgba(72, 72, 72, 0.4);
}
.foswikiButton .foswikiAccessKey,
Expand Down
2 changes: 1 addition & 1 deletion PatternSkin/templates/view.pattern.tmpl
Expand Up @@ -4,7 +4,7 @@
%TMPL:INCLUDE{"viewsidebar"}%
%TMPL:DEF{"logo"}%%TMPL:END%%{
---------------------------------------------------
}%%TMPL:DEF{"bodyclassname"}%patternViewPage%IF{"defined raw" then=" patternRawViewPage"}%%TMPL:END%%{
}%%TMPL:DEF{"bodyclassname"}%patternViewPage%IF{"'%TOPIC%' allows 'CHANGE'" then=" foswikiHasChangePermission" else=" foswikiHasNoChangePermission"}%%IF{"context authenticated" then=" foswikiLoggedIn" else=" foswikiGuest"}%%IF{"defined raw" then=" patternRawViewPage"}%%TMPL:END%%{
---------------------------------------------------
}%%TMPL:DEF{"script:skintemplate"}%%IF{"defined raw" then="$percntTMPL:P{$quotscript:skintemplate:viewraw$quot}$percnt"}%%TMPL:END%%{
---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion PreferencesPlugin/lib/Foswiki/Plugins/PreferencesPlugin.pm
Expand Up @@ -240,7 +240,7 @@ sub _generateEditButton {
$text .= CGI::submit(
-name => 'edit',
-value => 'Edit Preferences',
-class => 'foswikiButton'
-class => 'foswikiRequiresChangePermission foswikiButton'
);
$text .= CGI::end_form();
$text =~ s/\n//sg;
Expand Down
2 changes: 2 additions & 0 deletions core/pub/System/SkinTemplates/base_src.css
Expand Up @@ -13,6 +13,8 @@
.foswikiMakeVisible {
display:inline;
}

a.foswikiMakeVisible,
p.foswikiMakeVisible,
h1.foswikiMakeVisible,
h2.foswikiMakeVisible,
Expand Down
2 changes: 1 addition & 1 deletion core/templates/foswiki.tmpl
Expand Up @@ -85,7 +85,7 @@ JQUERYPLUGIN is not a hard requirement, but it must sort earlier.
---------------------------------------------------
}%%TMPL:DEF{"webaction"}%%TMPL:END%%{
---------------------------------------------------
}%%TMPL:DEF{"bodyclassname"}%%TMPL:END%%{
}%%TMPL:DEF{"bodyclassname"}%%IF{"'%TOPIC%' allows 'CHANGE'" then=" foswikiHasChangePermission" else=" foswikiHasNoChangePermission"}%%IF{"context authenticated" then=" foswikiLoggedIn" else=" foswikiGuest"}%%TMPL:END%%{
---------------------------------------------------
}%%TMPL:DEF{"bodystart"}%<body class="foswikiNoJs %TMPL:P{"bodyclassname"}%"><div class="foswikiPage">
#PageTop %TMPL:END%%{
Expand Down
12 changes: 6 additions & 6 deletions core/templates/viewtopicactionbuttons.tmpl
Expand Up @@ -2,17 +2,17 @@

%TMPL:DEF{nowysiwyg}%;nowysiwyg=1%TMPL:END%

%TMPL:DEF{"create_topic_link"}%<span class="foswikiRequiresChangePermission"><a href='%SCRIPTURL{"edit"}%/%BASEWEB%/%BASETOPIC%?t=%GMTIME{"$epoch"}%%TMPL:P{"url_param_editaction"}%%TMPL:P{context="TinyMCEPluginEnabled" else="nowysiwyg"}%' rel='nofollow' %MAKETEXT{"title='Create new topic' accesskey='c'>&Create"}%</a></span>%TMPL:END%
%TMPL:DEF{"create_topic_link"}%<a class='foswikiRequiresChangePermission' href='%SCRIPTURL{"edit"}%/%BASEWEB%/%BASETOPIC%?t=%GMTIME{"$epoch"}%%TMPL:P{"url_param_editaction"}%%TMPL:P{context="TinyMCEPluginEnabled" else="nowysiwyg"}%' rel='nofollow' %MAKETEXT{"title='Create new topic' accesskey='c'>&Create"}%</a>%TMPL:END%


%TMPL:DEF{"edit_topic_link"}%<span class="foswikiRequiresChangePermission"><a href='%SCRIPTURL{"edit"}%/%BASEWEB%/%BASETOPIC%?t=%GMTIME{"$epoch"}%%TMPL:P{"url_param_editaction"}%%TMPL:P{context="TinyMCEPluginEnabled" else="nowysiwyg"}%' rel='nofollow' %IF{"context footer_text" then="%MAKETEXT{"title='Edit this topic text' accesskey='e'>&Edit"}%" else="%MAKETEXT{"title='Edit this topic text' >Edit"}%" }% </a></span>%TMPL:END%
%TMPL:DEF{"edit_topic_link"}%<a class='foswikiRequiresChangePermission' href='%SCRIPTURL{"edit"}%/%BASEWEB%/%BASETOPIC%?t=%GMTIME{"$epoch"}%%TMPL:P{"url_param_editaction"}%%TMPL:P{context="TinyMCEPluginEnabled" else="nowysiwyg"}%' rel='nofollow' %IF{"context footer_text" then="%MAKETEXT{"title='Edit this topic text' accesskey='e'>&Edit"}%" else="%MAKETEXT{"title='Edit this topic text' >Edit"}%" }% </a>%TMPL:END%

%TMPL:DEF{"raw_edit_link"}%<span class="foswikiRequiresChangePermission"><a href='%SCRIPTURL{"edit"}%/%BASEWEB%/%BASETOPIC%?t=%GMTIME{"$epoch"}%%TMPL:P{"url_param_editaction"}%;nowysiwyg=1' rel='nofollow' %MAKETEXT{"title='Edit Wiki text' accesskey='w'>Edit &wiki text"}%</a></span>%TMPL:END%
%TMPL:DEF{"raw_edit_link"}%<a class='foswikiRequiresChangePermission' href='%SCRIPTURL{"edit"}%/%BASEWEB%/%BASETOPIC%?t=%GMTIME{"$epoch"}%%TMPL:P{"url_param_editaction"}%;nowysiwyg=1' rel='nofollow' %MAKETEXT{"title='Edit Wiki text' accesskey='w'>Edit &wiki text"}%</a>%TMPL:END%

%TMPL:DEF{"view_topic_link"}%<span><a href='%SCRIPTURL{"view"}%/%BASEWEB%/%BASETOPIC%' rel='nofollow' %MAKETEXT{"title='View topic' accesskey='v'>&View topic"}%</a></span>%TMPL:END%


%TMPL:DEF{"attach_link"}%<span class="foswikiRequiresChangePermission"><a href='%SCRIPTURLPATH{"attach"}%/%BASEWEB%/%BASETOPIC%' rel='nofollow' %IF{"context footer_text" then="%MAKETEXT{"title='Attach an image or document to this topic' accesskey='a'>&Attach"}%" else="%MAKETEXT{"title='Attach an image or document to this topic'>Attach"}%" }%</a></span>%TMPL:END%
%TMPL:DEF{"attach_link"}%<a class='foswikiRequiresChangePermission' href='%SCRIPTURLPATH{"attach"}%/%BASEWEB%/%BASETOPIC%' rel='nofollow' %IF{"context footer_text" then="%MAKETEXT{"title='Attach an image or document to this topic' accesskey='a'>&Attach"}%" else="%MAKETEXT{"title='Attach an image or document to this topic'>Attach"}%" }%</a>%TMPL:END%

%TMPL:DEF{"subscribe_link"}%<span>%SUBSCRIBE{format="<a href='$url' class='subscribe_link' data-subscribe='{\"validation_key\":\"%NONCE%\"}' rel='nofollow' %MAKETEXT{"title='Subscribe to this topic' accesskey='s'>&Subscribe"}%</a>" formatunsubscribe="<a href='$url' class='subscribe_link' data-subscribe='$restparams' rel='nofollow' %MAKETEXT{"title='Unsubscribe from this topic' accesskey='s'>Un&subscribe"}%</a>"}%</span>%TMPL:END%

Expand All @@ -32,9 +32,9 @@
%TMPL:DEF{"backlinks_link"}%<span><a href='%SCRIPTURLPATH{"view"}%/%BASEWEB%/%BASETOPIC%?template=backlinksweb' rel='nofollow' %MAKETEXT{"title='Search the [_1] Web for topics that link to here' accesskey='b'>&Backlinks" args="<nop>%BASEWEB%"}%</a></span>%TMPL:END%


%TMPL:DEF{"history_rdiff_link"}%<span class="foswikiRequiresChangePermission"><a href='%SCRIPTURLPATH{"rdiff"}%/%BASEWEB%/%BASETOPIC%?type=history' rel='nofollow' %MAKETEXT{"title='View complete topic history' accesskey='h'>&History"}%</a></span>%TMPL:END%
%TMPL:DEF{"history_rdiff_link"}%<a class='foswikiRequiresChangePermission' href='%SCRIPTURLPATH{"rdiff"}%/%BASEWEB%/%BASETOPIC%?type=history' rel='nofollow' %MAKETEXT{"title='View complete topic history' accesskey='h'>&History"}%</a>%TMPL:END%

%TMPL:DEF{"history_history_link"}%<span class="foswikiRequiresChangePermission"><a href='%SCRIPTURLPATH{"oops"}%/%BASEWEB%/%BASETOPIC%?template=oopshistory' rel='nofollow' %MAKETEXT{"title='View complete topic history' accesskey='h'>&History"}%</a></span>%TMPL:END%
%TMPL:DEF{"history_history_link"}%<a class='foswikiRequiresChangePermission' href='%SCRIPTURLPATH{"oops"}%/%BASEWEB%/%BASETOPIC%?template=oopshistory' rel='nofollow' %MAKETEXT{"title='View complete topic history' accesskey='h'>&History"}%</a>%TMPL:END%


%TMPL:DEF{"raw_link"}%<span><a href='%SCRIPTURLPATH{"view"}%/%BASEWEB%/%BASETOPIC%?raw=on%REVARG%' rel='nofollow' %MAKETEXT{"title='View without formatting' accesskey='v'>&View wiki text"}%</a></span>%TMPL:END%
Expand Down

0 comments on commit add5167

Please sign in to comment.