forked from unusorin/php-xtemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ex5.xtpl
executable file
·25 lines (25 loc) · 1.08 KB
/
ex5.xtpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!-- BEGIN: main -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en" />
<meta name="GENERATOR" content="Co-Comp Ltd" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>example 5</title>
</head>
<!-- $HeadURL: https://xtpl.svn.sourceforge.net/svnroot/xtpl/trunk/ex5.xtpl $
$Id: ex5.xtpl 16 2007-01-11 03:02:49Z cocomp $ -->
<body>
<p>With SetNullString you can set the default value to be put when no assign is made for a variable.<br />
the default is to wipe it out, but you can set it up to put a custom string.</p>
<!-- BEGIN: form -->
<p>{INTRO_TEXT}</p>
<form action="#">
<p>full name: <input type="text" size="20" name="fullname" value="{FULLNAME}" /><br />
e-mail: <input type="text" size="20" name="email" value="{EMAIL}" /><br />
income: <input type="text" size="20" name="income" value="{INCOME}" /></p>
</form>
<!-- END: form -->
</body>
</html>
<!-- END: main -->