summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet
diff options
context:
space:
mode:
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet')
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet22
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet
new file mode 100644
index 00000000..5e74690e
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;com:TConditional Condition="${1:\$this->User->IsGuest}" &gt;
+ &lt;prop:TrueTemplate&gt;
+ $0
+ &lt;/prop:TrueTemplate&gt;
+ &lt;prop:FalseTemplate&gt;
+ &lt;/prop:FalseTemplate&gt;
+&lt;/com:TConditional&gt;</string>
+ <key>name</key>
+ <string>TConditional</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TConditional</string>
+ <key>uuid</key>
+ <string>EB4E1513-2FB7-4111-9430-2606178EA859</string>
+</dict>
+</plist>