summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet
diff options
context:
space:
mode:
authorrojaro <>2009-11-02 06:28:17 +0000
committerrojaro <>2009-11-02 06:28:17 +0000
commitc9abae64d4ccc54570d5cf51e9b3a6f54877e5c3 (patch)
treec49bf764f4075b48e87978341a92ecc6690b4b07 /editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet
parentb916a00d0016119c3f0c140ac679e0ad242115ad (diff)
added a few new snippets to the textmate bundle
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>