X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.ui/templates/default-templates.xml b/net.sourceforge.phpeclipse.ui/templates/default-templates.xml index ee6e1a3..1e8b109 100644 --- a/net.sourceforge.phpeclipse.ui/templates/default-templates.xml +++ b/net.sourceforge.phpeclipse.ui/templates/default-templates.xml @@ -21,6 +21,25 @@ ${cursor} </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" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + +<head> + <meta http-equiv="Content-Language" content="en" /> + <meta name="GENERATOR" content="PHPeclipse 1.9" /> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <title>${title}</title> +</head> + +<body> +${cursor} +</body> +</html> + </template> <template name="<title" description="title" id="net.sourceforge.phpdt.html.title" context="html" enabled="true"> <title>${cursor}</title> </template> @@ -97,42 +116,42 @@ ${cursor} <code>${cursor}</code> </template> <template name="<blockquote" description="blockquote" id="net.sourceforge.phpdt.html.blockquote" context="html" enabled="true"> - <blockquote>${cursor}<br/> + <blockquote>${cursor}<br /> </blockquote> </template> <template name="<hr" description="horizontal line" id="net.sourceforge.phpdt.html.hr" context="html" enabled="true"> - <hr width="100%" size="2"> + <hr width="100%" size="2" /> ${cursor} </template> <template name="<ul" description="bulleted list" id="net.sourceforge.phpdt.html.ul" context="html" enabled="true"> <ul> - <li>${item1}<br/> + <li>${item1}<br /> </li> - <li>${item2}<br/> + <li>${item2}<br /> </li> </ul> </template> <template name="<ol" description="numbered list" id="net.sourceforge.phpdt.html.ol" context="html" enabled="true"> <ol> - <li>${item1}<br/> + <li>${item1}<br /> </li> - <li>${item2}<br/> + <li>${item2}<br /> </li> </ol> </template> <template name="<dl" description="term list" id="net.sourceforge.phpdt.html.dl_term" context="html" enabled="true"> <dl> - <dt>${item1}<br/> + <dt>${item1}<br /> </dt> - <dt>${item2}<br/> + <dt>${item2}<br /> </dt> </dl> </template> <template name="<dl" description="definition list" id="net.sourceforge.phpdt.html.dl_list" context="html" enabled="true"> <dl> - <dd>${item1}<br/> + <dd>${item1}<br /> </dd> - <dd>${item2}<br/> + <dd>${item2}<br /> </dd> </dl> </template> @@ -149,37 +168,37 @@ ${cursor} <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"> <p>${text}</p> - <input type="file" name="${name}" size="50" maxlength="100000" accept="text/*"/><br/> - <input type="submit" value="${value}"/> + <input type="file" name="${name}" size="50" maxlength="100000" accept="text/*" /><br /> + <input type="submit" value="${value}" /> ${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" name="${name}" value="${value}" size="40" maxlength="40"/> + <input type="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" name="${name}" size="40" maxlength="40"/> + <input type="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" name="${name}" value="${value}"/> + <input type="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" name="${name}" value="${value}"/> + <input type="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" name="${name}" value="${value}"/> + <input type="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" name="${name}" value="${value}"/> + <input type="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" name="${name}" value="${value}"/> + <input type="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"> @@ -209,7 +228,7 @@ ${cursor} </template> <template name="<script" description="JavaScript file" id="net.sourceforge.phpdt.html.javascript_file" context="html" enabled="true"><script language="JavaScript" 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="<style" description="style text/css" id="net.sourceforge.phpdt.html.css" context="html" enabled="true"><style type="text/css"> <!-- ${cursor} --> @@ -365,7 +384,7 @@ ${cursor} <template name="Teal" description="Teal (Color Code)" id="net.sourceforge.phpdt.html.ccteal" context="html" enabled="true">#008080</template> <template name="White" description="White (Color Code)" id="net.sourceforge.phpdt.html.ccwhite" context="html" enabled="true">#FFFFFF</template> <template name="Yellow" description="Yellow (Color Code)" id="net.sourceforge.phpdt.html.ccyellow" context="html" enabled="true">#FFFF00</template> - <template name="<br>" description="<br>" id="net.sourceforge.phpdt.html.br" context="html" enabled="true"><br/>${cursor}</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> <template name="{" description="{* *} (Smarty comment)" id="net.sourceforge.phpdt.html.smarty_comment" context="html" enabled="true">{* ${cursor} *}</template>