Make PHPeclipse compile correctly under Eclipse Version: 3.2.0 Build id: I20060519...
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / templates / default-templates.xml
index 924ed00..ee6e1a3 100644 (file)
@@ -369,7 +369,7 @@ ${cursor}
   <template name="&lt;div&gt;" description="div block with id" id="net.sourceforge.phpdt.html.div" context="html" enabled="true">&lt;div id=&quot;${id}&quot;&gt;${cursor}&lt;/div&gt;</template>
   <template name="&lt;strong&gt;" description="&lt;strong&gt;" id="net.sourceforge.phpdt.html.strong" context="html" enabled="true">&lt;strong&gt;${cursor}&lt;/strong&gt;</template>
   <template name="{" description="{* *} (Smarty comment)" id="net.sourceforge.phpdt.html.smarty_comment" context="html" enabled="true">{* ${cursor} *}</template>
-  <template name="{assign" description="{assign var= value= } (Smarty)" id="net.sourceforge.phpdt.html.smarty_assign" context="html" enabled="true">{assign var=&quot;${name}&quot; values=&quot;${value}&quot;}</template>
+  <template name="{assign" description="{assign var= value= } (Smarty)" id="net.sourceforge.phpdt.html.smarty_assign" context="html" enabled="true">{assign var=&quot;${name}&quot; value=&quot;${value}&quot;}</template>
   <template name="{capture" description="{capture }{/capture} (Smarty)" id="net.sourceforge.phpdt.html.smarty_capture" context="html" enabled="true">{capture name=${name}}
 ${cursor}
 {/capture}</template>
@@ -392,17 +392,14 @@ ${cursor}
 <template name="{foreach" description="{foreach}{foreachelse}{/foreach} (Smarty)" id="net.sourceforge.phpdt.html.smarty_foreach4" context="html" enabled="true">{foreach from=$$${from} item=${item}}
 ${cursor}
 {foreachelse}
-${cursor}
 {/foreach}</template>
 <template name="{foreach" description="{foreach}{foreachelse}{/foreach} with key (Smarty)" id="net.sourceforge.phpdt.html.smarty_foreach5" context="html" enabled="true">{foreach from=$$${from} item=${item} key=${key}}
 ${cursor}
 {foreachelse}
-${cursor}
 {/foreach}</template>
 <template name="{foreach" description="{foreach}{foreachelse}{/foreach} with name (Smarty)" id="net.sourceforge.phpdt.html.smarty_foreach6" context="html" enabled="true">{foreach from=$$${from} item=${item} name=${name}}
 ${cursor}
 {foreachelse}
-${cursor}
 {/foreach}</template>
 <template name="{if" description="{if}{/if} (Smarty)" id="net.sourceforge.phpdt.html.smarty_if1" context="html" enabled="true">{if $$${var}}${cursor}{/if}</template><template name="{if" description="{if}{elseif}{/if} (Smarty)" id="net.sourceforge.phpdt.html." context="html" enabled="true">{if $$${var}}
 ${cursor}