X-Git-Url: http://git.phpeclipse.com
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/template/default-templates.xml b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/template/default-templates.xml
index 5be15b7..2ab2143 100644
--- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/template/default-templates.xml
+++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/template/default-templates.xml
@@ -63,15 +63,38 @@
echo "${string}";
${cursor}
+
+
+ <code>${cursor}</code>
+
+ <code>null</code>
+
+ <pre>${cursor}</pre>
+
+ <b>${cursor}</b>
+
+ <i>${cursor}</i>
+
+ @author ${user}
+
- <html>
- <head>
- <title>${title}</title>
- </head>
- <body>
- ${cursor}
- </body>
- </html>
+<html>
+<head>
+<meta http-equiv="Content-Language" content="en" />
+<meta name="GENERATOR" content="PHPEclipse 1.0" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<title>${title}</title>
+</head>
+<body bgcolor="#FFFFFF" text="#000000" link="#FF9966" vlink="#FF9966" alink="#FFCC99">
+${cursor}
+</body>
+</html>
<title>${cursor}</title>
@@ -121,11 +144,131 @@
<p>${cursor}</p>
-
+
+ <h1>${cursor}</h1>
+
+
+ <h2>${cursor}</h2>
+
+
+ <h3>${cursor}</h3>
+
+
+ <h4>${cursor}</h4>
+
+
+ <h5>${cursor}</h5>
+
+
+ <h6>${cursor}</h6>
+
+
+ <address>${cursor}</address>
+
+
<pre>${cursor}</pre>
-
- <blockquote>${cursor}</blockquote>
+
+ <code>${cursor}</code>
+
+
+ <blockquote>${cursor}<br/>
+ </blockquote>
+
+
+ <hr width="100%" size="2">
+ ${cursor}
+
+
+ <ul>
+ <li>${item1}<br/>
+ </li>
+ <li>${item2}<br/>
+ </li>
+ </ul>
+
+
+ <ol>
+ <li>${item1}<br/>
+ </li>
+ <li>${item2}<br/>
+ </li>
+ </ol>
+
+
+ <dl>
+ <dt>${item1}<br/>
+ </dt>
+ <dt>${item2}<br/>
+ </dt>
+ </dl>
+
+
+ <dl>
+ <dd>${item1}<br/>
+ </dd>
+ <dd>${item2}<br/>
+ </dd>
+ </dl>
+
+
+ <form action="${link}" method="${get}">
+ ${cursor}
+ </form>
+
+
+ <form action="${link}" method="${post}" enctype="text/plain">
+ ${cursor}
+ </form>
+
+
+ <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}"/>
+ ${cursor}
+ </form>
+
+
+ <input type="text" name="${name}" value="${value}" size="40" maxlength="40"/>
+ ${cursor}
+
+
+ <input type="password" name="${name}" size="40" maxlength="40"/>
+ ${cursor}
+
+
+ <input type="radio" name="${name}" value="${value}"/>
+ ${cursor}
+
+
+ <input type="checkbox" name="${name}" value="${value}"/>
+ ${cursor}
+
+
+ <input type="button" name="${name}" value="${value}"/>
+ ${cursor}
+
+
+ <input type="submit" name="${name}" value="${value}"/>
+ ${cursor}
+
+
+ <input type="reset" name="${name}" value="${value}"/>
+ ${cursor}
+
+
+ <textarea name="${name}" rows="10" cols="50" wrap="off">
+ ${text}
+ </textarea>
+ ${cursor}
+
+
+ <select name="${name}" size="3">
+ <option value="${value1}">${option1}</option>
+ <option value="${value2}">${option2}</option>
+ <option value="${value3}">${option3}</option>
+ </select>
<?xml version="1.0"?>
@@ -135,7 +278,18 @@
<?xml-stylesheet type="text/xsl" href="${url}">
${cursor}
-
+ <script language="JavaScript" type="text/javascript">
+ ${cursor}
+</script>
+
+ <script language="JavaScript" type="text/javascript" src="${jsfile}.js"></script>${cursor}
+
+ </style type="text/css">
+
+</style>
+
"
&
<
@@ -241,38 +395,107 @@
þ
ÿ
-
-
+ #00FFFF
#000000
#0000FF
#A52A2A
#00FFFF
+ #FF00FF
#FFD700
- #808080
+ #808080
#008000
+ #00FF00
#FF00FF
+ #800000
+ #000080
+ #808000
#FFA500
#FFC0CB
#800080
#FF0000
#C0C0C0
+ #008080
#FFFFFF
#FFFF00
+ #00FFFF
#000000
#0000FF
#A52A2A
#00FFFF
+ #FF00FF
#FFD700
- #808080
+ #808080
#008000
+ #00FF00
#FF00FF
+ #800000
+ #000080
+ #808000
#FFA500
#FFC0CB
#800080
#FF0000
#C0C0C0
+ #008080
#FFFFFF
#FFFF00
+ {* ${cursor} *}
+ {capture name=${name}}
+ ${cursor}
+ {/capture}
+
+ {include file="${filename}.tpl"}
+ ${cursor}
+
+ {if ${cursor}}
+ {/if}
+
+ {if ${cursor}}
+ {else}
+ {/if}
+
+ {section name=${nameAttr} loop=${loopAttr}}
+ ${cursor}
+ {/section}
+
+ {assign var="${name}" values="${value}"}${cursor}
+ {cycle values="${values}"}${cursor}
+ {counter start=${startValue} skip=${skipValue} print=false}${cursor}
+ {counter}${cursor}
+ <br/>${cursor}
+ <div id="${id}">${cursor}</div>
+ <strong>${cursor}</strong>
+ @author ${user} <${email}>
+ @access private
+ @access protected
+ @access public
+ @category ${categoryname}
+ @copyright Copyright © ${year}, ${user}
+ @deprecated ${version} - ${date}
+ @example ${path} ${description}
+ @abstract
+ @final
+ @filesource
+ @global ${datatype} ${globalvariable}
+ @global ${datatype} ${description}
+ @ignore
+ @internal ${comment}
+ @license ${url} ${nameoflicense}
+ @link ${url} ${description}
+ @name ${globalvariable}
+ @package ${packagename}
+ @param ${datatype} ${paramname} ${description}
+ @param ${datatype} ${paramname}
+ @return ${datatype} ${description}
+ @see ${element}@since ${version} - ${date}
+ @staticvar ${datatype} ${description}
+ @subpackage ${subpackagename}
+ @todo ${information_string}
+ @tutorial ${string} ${description}
+ @uses ${element} ${description}
+ @var ${datatype} ${description}
+ @version ${versionstring}
+
\ No newline at end of file