diff options
author | rojaro <> | 2009-11-02 06:28:17 +0000 |
---|---|---|
committer | rojaro <> | 2009-11-02 06:28:17 +0000 |
commit | c9abae64d4ccc54570d5cf51e9b3a6f54877e5c3 (patch) | |
tree | c49bf764f4075b48e87978341a92ecc6690b4b07 /editors/Textmate/Prado.tmbundle/Snippets/TConditional.tmSnippet | |
parent | b916a00d0016119c3f0c140ac679e0ad242115ad (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.tmSnippet | 22 |
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><com:TConditional Condition="${1:\$this->User->IsGuest}" > + <prop:TrueTemplate> + $0 + </prop:TrueTemplate> + <prop:FalseTemplate> + </prop:FalseTemplate> +</com:TConditional></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> |