Add enabled/disabled indicator at the top of the shortcuts page.
authorjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 9 Apr 2007 21:03:24 +0000 (21:03 +0000)
committerjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 9 Apr 2007 21:03:24 +0000 (21:03 +0000)
doc/shortcuts.mdwn

index 77d2bc2a736422b37d1056748f8c9981fc3bd23a..c21d9d070762e292d4f4da022bb688cfb1c3e34a 100644 (file)
@@ -1,3 +1,7 @@
+[[if test="enabled(shortcut)"
+     then="This wiki has shortcuts **enabled**."
+     else="This wiki has shortcuts **disabled**."]]
+
 This page controls what shortcut links the wiki supports.
 
 * [[shortcut name=google url="http://www.google.com/search?q=%s"]]