<?xml version="1.0" encoding="UTF-8"?>
<templates>
-<template name="for" description="for array" id="net.sourceforge.phpdt.html.for_array" context="javascript" enabled="true">for (var ${index} = 0, ${index2} = ${array}.length; ${index} < ${index2}; ${index}++) {
+<template name="for" description="for array" id="net.sourceforge.phpdt.html.for_array" context="javascript" enabled="true"
+>for (var ${index} = 0, ${index2} = ${array}.length; ${index} < ${index2}; ${index}++) {
${line_selection}${cursor}
}</template>
<template name="xml" description="html page with head,title,body"
- id="net.sourceforge.phpdt.xml.templates.xml" context="xml" enabled="true"><?xml ?></template>
+ id="net.sourceforge.phpdt.xml.templates.xml" context="xml" enabled="true"
+ ><?xml version="1.0" encoding="UTF-8" ?></template>
<template name="<html" description="html page with head,title,body"
- id="net.sourceforge.phpdt.html.html" context="html" enabled="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ id="net.sourceforge.phpdt.html.html" context="html" enabled="true"
+ ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</body>
</html></template>
<template name="<html" description="xhtml page with doctype, head, title and body"
- id="net.sourceforge.phpdt.html.xhtml" context="html" enabled="true"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ id="net.sourceforge.phpdt.html.xhtml" context="html" enabled="true"
+ ><!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" lang="en_US" xml:lang="en_US">
<head>
${cursor}
</body>
</html></template>
- <template name="<title" description="title" id="net.sourceforge.phpdt.html.title" context="html" enabled="true"><title>${cursor}</title></template>
+ <template name="<title" description="title" id="net.sourceforge.phpdt.html.title" context="html" enabled="true"
+ ><title>${title}</title></template>
- <template name="<table" description="3x3 table" id="net.sourceforge.phpdt.html.table" context="html" enabled="true"><table>
+ <template name="<table" description="3x3 table" id="net.sourceforge.phpdt.html.table" context="html" enabled="true"
+ ><table>
<tr>
<td>${t00}</td>
<td>${t01}</td>
</tr>
</table>
${cursor}</template>
- <template name="<table" description="3x3 table with header" id="net.sourceforge.phpdt.html.table_header" context="html" enabled="true"><table>
+ <template name="<table" description="3x3 table with header" id="net.sourceforge.phpdt.html.table_header" context="html" enabled="true"
+ ><table>
<tr>
<th>${header0}</th>
<th>${header1}</th>
</table>
${cursor}</template>
- <template name="<a" description="hyperlink (href)" id="net.sourceforge.phpdt.html.a" context="html" enabled="true"><a href="${link}">${description}</a>${cursor}</template>
- <template name="<a" description="hyperlink image" id="net.sourceforge.phpdt.html.a_image" context="html" enabled="true"><a href="${link}"><img src="${image}" alt="${alt}" /></a>${cursor}</template>
- <template name="<p" description="paragraph" id="net.sourceforge.phpdt.html.p" context="html" enabled="true"><p>${cursor}</p></template>
- <template name="<h1" description="heading 1" id="net.sourceforge.phpdt.html.h1" context="html" enabled="true"><h1>${cursor}</h1></template>
- <template name="<h2" description="heading 2" id="net.sourceforge.phpdt.html.h2" context="html" enabled="true"><h2>${cursor}</h2></template>
- <template name="<h3" description="heading 3" id="net.sourceforge.phpdt.html.h3" context="html" enabled="true"><h3>${cursor}</h3></template>
- <template name="<h4" description="heading 4" id="net.sourceforge.phpdt.html.h4" context="html" enabled="true"><h4>${cursor}</h4></template>
- <template name="<h5" description="heading 5" id="net.sourceforge.phpdt.html.h5" context="html" enabled="true"><h5>${cursor}</h5></template>
- <template name="<h6" description="heading 6" id="net.sourceforge.phpdt.html.h6" context="html" enabled="true"><h6>${cursor}</h6></template>
- <template name="<address" description="address" id="net.sourceforge.phpdt.html.address" context="html" enabled="true"><address>${cursor}</address></template>
- <template name="<pre" description="preformat" id="net.sourceforge.phpdt.html.pre" context="html" enabled="true"><pre>${cursor}</pre></template>
- <template name="<code" description="code block" id="net.sourceforge.phpdt.html.code" context="html" enabled="true"><code>${cursor}</code></template>
- <template name="<blockquote" description="blockquote" id="net.sourceforge.phpdt.html.blockquote" context="html" enabled="true"><blockquote>
+ <template name="<a" description="hyperlink (href)" id="net.sourceforge.phpdt.html.a" context="html" enabled="true"
+ ><a href="${link}">${description}</a>${cursor}</template>
+ <template name="<a" description="hyperlink image" id="net.sourceforge.phpdt.html.a_image" context="html" enabled="true"
+ ><a href="${link}"><img src="${image}" alt="${alt}" /></a>${cursor}</template>
+ <template name="<p" description="paragraph" id="net.sourceforge.phpdt.html.p" context="html" enabled="true"
+ ><p>${cursor}</p></template>
+ <template name="<h1" description="heading 1" id="net.sourceforge.phpdt.html.h1" context="html" enabled="true"
+ ><h1>${cursor}</h1></template>
+ <template name="<h2" description="heading 2" id="net.sourceforge.phpdt.html.h2" context="html" enabled="true"
+ ><h2>${cursor}</h2></template>
+ <template name="<h3" description="heading 3" id="net.sourceforge.phpdt.html.h3" context="html" enabled="true"
+ ><h3>${cursor}</h3></template>
+ <template name="<h4" description="heading 4" id="net.sourceforge.phpdt.html.h4" context="html" enabled="true"
+ ><h4>${cursor}</h4></template>
+ <template name="<h5" description="heading 5" id="net.sourceforge.phpdt.html.h5" context="html" enabled="true"
+ ><h5>${cursor}</h5></template>
+ <template name="<h6" description="heading 6" id="net.sourceforge.phpdt.html.h6" context="html" enabled="true"
+ ><h6>${cursor}</h6></template>
+ <template name="<address" description="address" id="net.sourceforge.phpdt.html.address" context="html" enabled="true"
+ ><address>${cursor}</address></template>
+ <template name="<pre" description="preformat" id="net.sourceforge.phpdt.html.pre" context="html" enabled="true"
+ ><pre>${cursor}</pre></template>
+ <template name="<code" description="code block" id="net.sourceforge.phpdt.html.code" context="html" enabled="true"
+ ><code>${cursor}</code></template>
+ <template name="<blockquote" description="blockquote" id="net.sourceforge.phpdt.html.blockquote" context="html" enabled="true"
+ ><blockquote>
<p>${cursor}</p>
</blockquote></template>
- <template name="<hr" description="horizontal line" id="net.sourceforge.phpdt.html.hr" context="html" enabled="true"><hr />${cursor}</template>
- <template name="<ul" description="bulleted list" id="net.sourceforge.phpdt.html.ul" context="html" enabled="true"><ul>
+ <template name="<hr" description="horizontal line" id="net.sourceforge.phpdt.html.hr" context="html" enabled="true"
+ ><hr /></template>
+ <template name="<ul" description="bulleted list" id="net.sourceforge.phpdt.html.ul" context="html" enabled="true"
+ ><ul>
<li>${item1}</li>
<li>${item2}</li>
</ul></template>
- <template name="<ol" description="numbered list" id="net.sourceforge.phpdt.html.ol" context="html" enabled="true"><ol>
+ <template name="<ol" description="numbered list" id="net.sourceforge.phpdt.html.ol" context="html" enabled="true"
+ ><ol>
<li>${item1}</li>
<li>${item2}</li>
</ol></template>
- <template name="<dl" description="term list" id="net.sourceforge.phpdt.html.dl_term" context="html" enabled="true"><dl>
- <dt>${item1}</dt>
- <dt>${item2}</dt>
+ <template name="<dl" description="term list" id="net.sourceforge.phpdt.html.dl_term" context="html" enabled="true"
+ ><dl>
+ <dt>${term1}</dt>
+ <dt>${term2}</dt>
</dl></template>
- <template name="<dl" description="definition list" id="net.sourceforge.phpdt.html.dl_list" context="html" enabled="true"><dl>
- <dd>${item1}</dd>
- <dd>${item2}</dd>
+ <template name="<dl" description="definition list" id="net.sourceforge.phpdt.html.dl_list" context="html" enabled="true"
+ ><dl>
+ <dt>${term1}</dt>
+ <dd>${definition1}</dd>
+ <dt>${term2}</dt>
+ <dd>${definition2}</dd>
</dl></template>
- <template name="<form" description="form get" id="net.sourceforge.phpdt.html.form_get" context="html" enabled="true"><form action="${link}" method="get">
-${cursor}
+ <template name="<form" description="form get" id="net.sourceforge.phpdt.html.form_get" context="html" enabled="true"
+ ><form action="${link}" method="get">
+ ${cursor}
</form></template>
- <template name="<form" description="form post" id="net.sourceforge.phpdt.html.form_post" context="html" enabled="true"><form action="${link}" method="post" enctype="text/plain">
-${cursor}
+ <template name="<form" description="form post" id="net.sourceforge.phpdt.html.form_post1" context="html" enabled="true"
+ ><form action="${link}" method="post">
+ ${cursor}
</form></template>
- <template name="<form" description="form upload file" id="net.sourceforge.phpdt.html.form_upload" context="html" enabled="true"><form action="${link}" method="post" enctype="multipart/form-data">
-<label for="${name}">${text}</label>
-<input type="file" id="${name}" name="${name}" size="50" maxlength="100000" accept="text/*" />
-${cursor}
-<input type="submit" value="${value}" />
+ <template name="<form" description="form post with enctype" id="net.sourceforge.phpdt.html.form_post2" context="html" enabled="true"
+ ><form action="${link}" method="post" enctype="application/x-www-form-urlencoded">
+ ${cursor}
</form></template>
- <template name="<input" description="input type=text (form)" id="net.sourceforge.phpdt.html.form_input_text" context="html" enabled="true"><input type="text" class="text" name="${name}" value="${value}" size="40" maxlength="40" />
-${cursor}</template>
- <template name="<input" description="input type=password (form)" id="net.sourceforge.phpdt.html.form_input_password" context="html" enabled="true"><input type="password" class="password" name="${name}" size="40" maxlength="40" />
-${cursor}</template>
- <template name="<input" description="input type=radio (form)" id="net.sourceforge.phpdt.html.form_input_radio" context="html" enabled="true"><input type="radio" class="radio" name="${name}" value="${value}" />
-${cursor}</template>
- <template name="<input" description="input type=checkbox (form)" id="net.sourceforge.phpdt.html.form_input_checkbox" context="html" enabled="true"><input type="checkbox" class="checkbox" name="${name}" value="${value}" />
-${cursor}</template>
- <template name="<input" description="input type=button (form button)" id="net.sourceforge.phpdt.html.form_input_button" context="html" enabled="true"><input type="button" class="button" name="${name}" value="${value}" />
-${cursor}</template>
- <template name="<input" description="input type=submit (form button)" id="net.sourceforge.phpdt.html.form_input_submit" context="html" enabled="true"><input type="submit" class="submit" name="${name}" value="${value}" />
-${cursor}</template>
- <template name="<input" description="input type=reset (form button)" id="net.sourceforge.phpdt.html.form_input_reset" context="html" enabled="true"><input type="reset" class="reset" name="${name}" value="${value}" />
-${cursor}</template>
- <template name="<textarea" description="textarea (form)" id="net.sourceforge.phpdt.html.form_input_textarea" context="html" enabled="true"><textarea name="${name}" rows="10" cols="50" wrap="off">${text}</textarea>
-${cursor}</template>
- <template name="<select" description="select option (form)" id="net.sourceforge.phpdt.html.form_input_select" context="html" enabled="true"><select name="${name}" size="3">
+ <template name="<form" description="form upload file" id="net.sourceforge.phpdt.html.form_upload" context="html" enabled="true"
+ ><form action="${link}" method="post" enctype="multipart/form-data">
+ <label for="${name}">${text}</label>
+ <input type="file" id="${name}" name="${name}" size="50" maxlength="100000" accept="text/*" />
+ ${cursor}
+ <input type="submit" value="${value}" />
+</form></template>
+ <template name="<input" description="input type=text (form)" id="net.sourceforge.phpdt.html.form_input_text" context="html" enabled="true"
+ ><input type="text" class="text" name="${name}" value="${value}" size="${size}" maxlength="${size}" /></template>
+ <template name="<input" description="input type=text (form) with id" id="net.sourceforge.phpdt.html.form_input_text2" context="html" enabled="true"
+ ><input type="text" class="text" name="${name}" id="${name}" value="${value}" size="${size}" maxlength="${size}" /></template>
+ <template name="<input" description="input type=password (form)" id="net.sourceforge.phpdt.html.form_input_password" context="html" enabled="true"
+ ><input type="password" class="password" name="${name}" size="${size}" maxlength="${size}" /></template>
+ <template name="<input" description="input type=password (form) with id" id="net.sourceforge.phpdt.html.form_input_password2" context="html" enabled="true"
+ ><input type="password" class="password" name="${name}" id="${name}" size="${size}" maxlength="${size}" /></template>
+ <template name="<input" description="input type=radio (form)" id="net.sourceforge.phpdt.html.form_input_radio" context="html" enabled="true"
+ ><input type="radio" class="radio" name="${name}" value="${value}" /></template>
+ <template name="<input" description="input type=checkbox (form)" id="net.sourceforge.phpdt.html.form_input_checkbox" context="html" enabled="true"
+ ><input type="checkbox" class="checkbox" name="${name}" value="${value}" /></template>
+ <template name="<input" description="input type=button (form button)" id="net.sourceforge.phpdt.html.form_input_button" context="html" enabled="true"
+ ><input type="button" class="button" name="${name}" value="${value}" /></template>
+ <template name="<input" description="input type=submit (form button)" id="net.sourceforge.phpdt.html.form_input_submit" context="html" enabled="true"
+ ><input type="submit" class="submit button" name="${name}" value="${value}" /></template>
+ <template name="<input" description="input type=reset (form button)" id="net.sourceforge.phpdt.html.form_input_reset" context="html" enabled="true"
+ ><input type="reset" class="reset button" name="${name}" value="${value}" /></template>
+ <template name="<textarea" description="textarea (form)" id="net.sourceforge.phpdt.html.form_input_textarea" context="html" enabled="true"
+ ><textarea name="${name}" rows="10" cols="50" wrap="off">${text}</textarea></template>
+ <template name="<select" description="select option (form)" id="net.sourceforge.phpdt.html.form_input_select" context="html" enabled="true"
+ ><select name="${name}" size="3">
<option value="${value1}">${option1}</option>
<option value="${value2}">${option2}</option>
<option value="${value3}">${option3}</option>
</select></template>
- <template name="<xml" description="xml version=1.0" id="net.sourceforge.phpdt.html.xml" context="html" enabled="true"><?xml version="1.0"?>
-${cursor}</template>
- <template name="<xml" description="xml-stylesheet type=text/xsl" id="net.sourceforge.phpdt.html.xml_stylesheet" context="html" enabled="true"><?xml-stylesheet type="text/xsl" href="${url}"?>
-${cursor}</template>
- <template name="<script" description="JavaScript inline" id="net.sourceforge.phpdt.html.javascript_inline" context="html" enabled="true"><script type="text/javascript">
+ <template name="<xml" description="xml version=1.0" id="net.sourceforge.phpdt.html.xml" context="html" enabled="true"
+ ><?xml version="1.0"?></template>
+ <template name="<xml" description="xml-stylesheet type=text/xsl" id="net.sourceforge.phpdt.html.xml_stylesheet" context="html" enabled="true"
+ ><?xml-stylesheet type="text/xsl" href="${url}"?></template>
+ <template name="<script" description="JavaScript inline" id="net.sourceforge.phpdt.html.javascript_inline" context="html" enabled="true"
+ ><script type="text/javascript">
${cursor}
</script></template>
- <template name="<script" description="JavaScript file" id="net.sourceforge.phpdt.html.javascript_file" context="html" enabled="true"><script type="text/javascript" src="${jsfile}.js"></script>${cursor}</template>
- <template name="<style" description="style text/css" id="net.sourceforge.phpdt.html.css" context="html" enabled="true"><style type="text/css">
+ <template name="<script" description="JavaScript file" id="net.sourceforge.phpdt.html.javascript_file" context="html" enabled="true"
+ ><script type="text/javascript" src="${jsfile}.js"></script>${cursor}</template>
+ <template name="<style" description="style text/css" id="net.sourceforge.phpdt.html.css" context="html" enabled="true"
+ ><style type="text/css">
${cursor}
</style></template>
<template name="&quot" description="quot" id="net.sourceforge.phpdt.html.quot" context="html" enabled="true">&quot;</template>
<template name="<br>" description="<br>" id="net.sourceforge.phpdt.html.br" context="html" enabled="true"><br />${cursor}</template>
<template name="<div>" description="div block with id" id="net.sourceforge.phpdt.html.div" context="html" enabled="true"><div id="${id}">${cursor}</div></template>
<template name="<strong>" description="<strong>" id="net.sourceforge.phpdt.html.strong" context="html" enabled="true"><strong>${cursor}</strong></template>
+
+<!-- Smarty templates -->
+
<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="${name}" value="${value}"}</template>
<template name="{capture" description="{capture }{/capture} (Smarty)" id="net.sourceforge.phpdt.html.smarty_capture" context="html" enabled="true">{capture name=${name}}
<template name="{var|truncate}" description="{$var|truncate} (Smarty)" id="net.sourceforge.phpdt.html.smarty_var_truncate" context="html" enabled="true">{$$${var}|truncate:${nr}}</template>
<template name="{var|upper}" description="{$var|upper} (Smarty)" id="net.sourceforge.phpdt.html.smarty_var_upper" context="html" enabled="true">{$$${var}|upper}</template>
<template name="{var|wordwrap}" description="{$var|wordwrap} (Smarty)" id="net.sourceforge.phpdt.html.smarty_var_wordwrap" context="html" enabled="true">{$$${var}|wordwrap:${nr}:"${sign}"}</template>
-</templates>
\ No newline at end of file
+</templates>