Browse files

Added template files.

  • Loading branch information...
1 parent 7d6bade commit e0cbe0aca7ec1b379e6eaebfe673d91a061305df @karbassi committed Oct 19, 2009
View
10 Templates/HTML — 4_0 Transitional.tmTemplate/index.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html lang="en">
+ <head>
+ <title>${TM_NEW_FILE_BASENAME}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ </head>
+ <body>
+
+ </body>
+</html>
View
21 Templates/HTML — 4_0 Transitional.tmTemplate/info.plist
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>command</key>
+ <string>if [[ ! -f "$TM_NEW_FILE" ]]; then
+ TM_DATE=`date +%Y-%m-%d` \
+ TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
+ perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
+ &lt; index.html &gt; "$TM_NEW_FILE"
+fi</string>
+ <key>extension</key>
+ <string>html</string>
+ <key>name</key>
+ <string>HTML — 4.0 Transitional</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>uuid</key>
+ <string>E6F19171-F664-4B4F-92DA-3E15E6CAD35C</string>
+</dict>
+</plist>
View
10 Templates/HTML — 4_01 Strict.tmTemplate/index.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html lang="en">
+ <head>
+ <title>${TM_NEW_FILE_BASENAME}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ </head>
+ <body>
+
+ </body>
+</html>
View
21 Templates/HTML — 4_01 Strict.tmTemplate/info.plist
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>command</key>
+ <string>if [[ ! -f "$TM_NEW_FILE" ]]; then
+ TM_DATE=`date +%Y-%m-%d` \
+ TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
+ perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
+ &lt; index.html &gt; "$TM_NEW_FILE"
+fi</string>
+ <key>extension</key>
+ <string>html</string>
+ <key>name</key>
+ <string>HTML — 4.01 Strict</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>uuid</key>
+ <string>04332FA8-8157-46C4-9854-8C190FFD96C6</string>
+</dict>
+</plist>
View
10 Templates/XHTML — 1_0 Frameset.tmTemplate/index.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title>${TM_NEW_FILE_BASENAME}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ </head>
+ <frameset>
+
+ </frameset>
+</html>
View
16 Templates/XHTML — 1_0 Frameset.tmTemplate/info.plist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>command</key>
+ <string>[ -f "$TM_NEW_FILE" ] || perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' &lt;index.html &gt;"$TM_NEW_FILE"</string>
+ <key>extension</key>
+ <string>html</string>
+ <key>name</key>
+ <string>XHTML — 1.0 Frameset</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>uuid</key>
+ <string>26068A55-4C84-409D-BA00-162B55AF6961</string>
+</dict>
+</plist>
View
10 Templates/XHTML — 1_0 Strict.tmTemplate/index.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title>${TM_NEW_FILE_BASENAME}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ </head>
+ <body>
+
+ </body>
+</html>
View
21 Templates/XHTML — 1_0 Strict.tmTemplate/info.plist
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>command</key>
+ <string>if [[ ! -f "$TM_NEW_FILE" ]]; then
+ TM_DATE=`date +%Y-%m-%d` \
+ TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
+ perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
+ &lt; index.html &gt; "$TM_NEW_FILE"
+fi</string>
+ <key>extension</key>
+ <string>html</string>
+ <key>name</key>
+ <string>XHTML — 1.0 Strict</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>uuid</key>
+ <string>EBEE6B51-29C7-4362-818F-A190CACD5296</string>
+</dict>
+</plist>
View
10 Templates/XHTML — 1_0 Transitional.tmTemplate/index.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title>${TM_NEW_FILE_BASENAME}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ </head>
+ <body>
+
+ </body>
+</html>
View
16 Templates/XHTML — 1_0 Transitional.tmTemplate/info.plist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>command</key>
+ <string>[ -f "$TM_NEW_FILE" ] || perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' &lt;index.html &gt;"$TM_NEW_FILE"</string>
+ <key>extension</key>
+ <string>html</string>
+ <key>name</key>
+ <string>XHTML — 1.0 Transitional</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>uuid</key>
+ <string>65D38039-6B0A-48E9-9E49-43832ECC4107</string>
+</dict>
+</plist>
View
10 Templates/XHTML — 1_1.tmTemplate/index.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en">
+ <head>
+ <title>${TM_NEW_FILE_BASENAME}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ </head>
+ <body>
+
+ </body>
+</html>
View
16 Templates/XHTML — 1_1.tmTemplate/info.plist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>command</key>
+ <string>[ -f "$TM_NEW_FILE" ] || perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' &lt;index.html &gt;"$TM_NEW_FILE"</string>
+ <key>extension</key>
+ <string>html</string>
+ <key>name</key>
+ <string>XHTML — 1.1</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>uuid</key>
+ <string>CDE8EFD6-9DE2-4E8C-BB6A-52E8CCD2E977</string>
+</dict>
+</plist>

0 comments on commit e0cbe0a

Please sign in to comment.