Changeset 3462


Ignore:
Timestamp:
04/16/09 18:47:33 (3 years ago)
Author:
WillNorris
Message:

Item1455: Add SubscribePlugin support to FoswikiSiteSkin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FoswikiSiteSkin/templates/view.foswikisite.tmpl

    r3404 r3462  
    1515%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% 
    1616 
     17%TMPL:DEF{"top:toolbarbutton_subscribe"}%<span>%IF{"context SubscribePluginEnabled AND NOT context authenticated" then="" else="%SUBSCRIBE{ topic="%BASEWEB%.%BASETOPIC%" format="<a href='$url' rel='nofollow' title='Subscribe to <nop>%TOPIC%' ><img src='%PUBURL%/%SYSTEMWEB%/DocumentGraphics/notify.gif' width='16' height='16' /></a>" formatunsubscribe="<a href='$url' rel='nofollow' title='Unsubscribe from <nop>%TOPIC%' ><img src='%PUBURL%/%SYSTEMWEB%/DocumentGraphics/notify.gif' width='16' height='16' /></a>" }%" " }%</span>%TMPL:END% 
     18 
    1719%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% 
    1820 
    19 %TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"top:toolbarbutton_edit"}%%TMPL:P{"top:toolbarbutton_attach"}%%TMPL:P{"top:toolbarbutton_rdiff"}% 
    20 %TMPL:P{"top:toolbarbutton_raw"}%%TMPL:P{"top:toolbarbutton_create"}%%TMPL:P{"top:toolbarbutton_print"}%%TMPL:P{"top:toolbarbutton_more"} 
    21 %%TMPL:END% 
     21%TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"top:toolbarbutton_edit"}%%TMPL:P{"top:toolbarbutton_attach"}%%TMPL:P{"top:toolbarbutton_rdiff"}%%TMPL:P{"top:toolbarbutton_raw"}%%TMPL:P{"top:toolbarbutton_create"}%%TMPL:P{"top:toolbarbutton_print"}%%TMPL:P{"top:toolbarbutton_subscribe"}%%TMPL:P{"top:toolbarbutton_more"}%%TMPL:END% 
    2222 
    2323%TMPL:DEF{"breadcrumb"}%%TMPL:P{"breadcrumb:title"}%%TMPL:P{"breadcrumb:currentweb"}%%TMPL:P{"breadcrumb:parents"}%%TMPL:P{"breadcrumb:currenttopic"}%%TMPL:END% 
Note: See TracChangeset for help on using the changeset viewer.