1) Fixed issue #844: Short form of ternary operator (since PHP 5.3).
[phpeclipse.git] / net.sourceforge.phpeclipse / templates / default-codetemplates.xml
index 1bfbcc9..5943bce 100644 (file)
@@ -14,6 +14,8 @@
 -->
 
 <templates>
+
+<!--
 <template name="gettercomment" id="net.sourceforge.phpdt.ui.text.codetemplates.gettercomment" description="%CodeTemplates.gettercomment" context="php_gettercomment_context" enabled="true">/**
  * @return %CodeTemplates.gettercomment.returntagcontent
  */</template>
@@ -44,7 +46,7 @@
 <template name="overridecomment" id="net.sourceforge.phpdt.ui.text.codetemplates.overridecomment" description="%CodeTemplates.overridecomment" context="php_overridecomment_context" enabled="true">/* %CodeTemplates.overridecomment.nonjd
  * ${see_to_overridden}
  */</template>
-
+-->
 <template name="newtype" id="net.sourceforge.phpdt.ui.text.codetemplates.newtype" description="%CodeTemplates.newfile" context="php_newtype_context" enabled="true">&lt;?php
 /*
  * %CodeTemplates.newfile.content1
 ?&gt;
 </template>
 
+<template name="newhtml" id="net.sourceforge.phpdt.ui.text.codetemplates.newhtml" description="%CodeTemplates.newhtml" context="php_newhtml_context" enabled="true">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
+          &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
+
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en_US&quot; xml:lang=&quot;en_US&quot;&gt;
+&lt;!--
+ * %CodeTemplates.newhtml.content1
+ *
+ * %CodeTemplates.newhtml.content2
+ * %CodeTemplates.newhtml.content3
+--&gt;
+ &lt;head&gt;
+  &lt;title&gt; &lt;/title&gt;
+ &lt;/head>
+ &lt;body>
+ &lt;/body&gt;
+&lt;/html>
+</template>
+
+<!--
 <template name="catchblock" id="net.sourceforge.phpdt.ui.text.codetemplates.catchblock" description="%CodeTemplates.catchblock" context="php_catchblock_context" enabled="true">// ${todo} %CodeTemplates.catchblock.tododesc
 ${exception_var}.printStackTrace();</template>
 
@@ -67,5 +89,6 @@ ${body_statement}</template>
 <template name="getterbody" id="net.sourceforge.phpdt.ui.text.codetemplates.getterbody" description="%CodeTemplates.getterstub" context="php_getterbody_context" enabled="true">return ${field};</template>
 
 <template name="setterbody" id="net.sourceforge.phpdt.ui.text.codetemplates.setterbody" description="%CodeTemplates.setterstub" context="php_setterbody_context" enabled="true">${field} = ${param};</template>
+-->
 
 </templates>
\ No newline at end of file