From 4bcf7d7f7b5c1c05c5e57f99363d0c84f52ca2bb Mon Sep 17 00:00:00 2001 From: SvenDowideit Date: Sun, 5 Jul 2009 07:52:04 +0000 Subject: [PATCH] Item8152: add FamFamFamContrib based icons, and login&logout to toolbar git-svn-id: http://svn.foswiki.org/trunk/WidgetsSkin@4438 0b4bb1d4-4e5a-0410-9cc4-b2b747904278 --- templates/view.widgets.tmpl | 66 +++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 templates/view.widgets.tmpl diff --git a/templates/view.widgets.tmpl b/templates/view.widgets.tmpl new file mode 100644 index 0000000..35d9ef1 --- /dev/null +++ b/templates/view.widgets.tmpl @@ -0,0 +1,66 @@ +%TMPL:INCLUDE{"view"}% + +%TMPL:DEF{"top:toolbarbutton_edit"}% + + edit + %TMPL:END% + +%TMPL:DEF{"top:toolbarbutton_attach"}% + + attach + %TMPL:END% + +%TMPL:DEF{"top:toolbarbutton_rdiff"}% + + history + %TMPL:END% + +%TMPL:DEF{"top:toolbarbutton_raw"}% + + raw + %TMPL:END% + +%TMPL:DEF{"top:toolbarbutton_create"}% + + new + %TMPL:END% + +%TMPL:DEF{"top:toolbarbutton_print"}% + + print + %TMPL:END% + +%TMPL:DEF{"top:toolbarbutton_more"}% + + more + %TMPL:END% + +%TMPL:DEF{"top:toolbarbuttons_notauthenticated"}% %INCLUDE{"%TMPL:P{widgetstext}%" section="widget-login" warn="off"}% %TMPL:END% + +%TMPL:DEF{"top:toolbarbuttons_authenticated"}% %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_more" + }% %LOGOUT% %TMPL:END% + +%TMPL:DEF{"top:toolbarbuttons"}% +%TMPL:P{context="authenticated" then="top:toolbarbuttons_authenticated" else="top:toolbarbuttons_notauthenticated"}% + %TMPL:END% + +%TMPL:DEF{"breadcrumb"}%%TMPL:P{"breadcrumb:title"}%%TMPL:P{"breadcrumb:currentweb"}%%TMPL:P{"breadcrumb:parents"}%%TMPL:P{"breadcrumb:currenttopic"}%%TMPL:END% + +%TMPL:DEF{"breadcrumb:currentweb"}%%MAKETEXT{"[_1] Web" args="%WEB%"}%%TMPL:END% + +%TMPL:DEF{"breadcrumb:annotation"}%%IF{"defined rev" then=" %MAKETEXT{"(revision [_1])" args="%URLPARAM{"rev"}%"}%" else=" (%REVINFO{format="$date"}%)"}%%IF{"defined raw" then=" %MAKETEXT{"(raw view)"}%"}%%TMPL:END% + +%TMPL:DEF{"breadcrumb:currenttopic"}%%TMPL:P{"breadcrumb:separator"}%%TMPL:P{"breadcrumb:topic"}%%TMPL:P{"breadcrumb:annotation"}%%TMPL:END%