Skip to content

Commit

Permalink
Item12000: import hallojs only if the user has permission to edit
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/Html5EditContrib@16308 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Dec 30, 2012
1 parent efdf22f commit 5408294
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/foswiki.hallojs.tmpl
@@ -0,0 +1,6 @@
%TMPL:INCLUDE{foswiki}%


%TMPL:DEF{"bodystart"}%%IF{"'%BASEWEB%.%BASETOPIC%' allows 'CHANGE'" then="$percntJQREQUIRE{\"hallojs\" warn=\"off\"}$percnt"}%%TMPL:PREV%%TMPL:END%


0 comments on commit 5408294

Please sign in to comment.