foreach template: two ${cursor} variables aren't allowed
authoraxelcl <axelcl>
Tue, 12 Apr 2005 17:47:05 +0000 (17:47 +0000)
committeraxelcl <axelcl>
Tue, 12 Apr 2005 17:47:05 +0000 (17:47 +0000)
net.sourceforge.phpeclipse.ui/templates/default-templates.xml

index 924ed00..1c8f801 100644 (file)
@@ -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}