diff options
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> |