Switch the 'modify' code of admin/field.php to use templates
[bugdar.git] / templates / register.tpl
1 <%- $doctype %>
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
3 <head>
4 <%- $headinclude %>
5 <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
6 <title><%- bugdar::$options['trackertitle'] %> - <%-T("Register")%></title>
7 </head>
8
9 <body>
10
11 <%- $header %>
12
13 <% if ($show['errors']): %>
14 <div class="error" style="text-align: <%- $stylevar['left'] %>">
15 <%-T("The following errors occurred")%>:
16 <%- $message->errorBox %>
17 </div>
18 <% endif %>
19
20 <form action="register.php" name="register" method="post">
21 <input type="hidden" name="do" value="insert" />
22
23 <div align="center" style="margin-top: 10px">
24 <div class="box altwidth">
25 <div class="box-head"><%-T("Register")%></div>
26
27 <div class="box-mid">
28 <div><strong><%-T("Email")%>:</strong> <input type="text" name="email" size="30" value="<%- $input->in['email'] %>" /></div>
29 <div><strong><%-T("Confirm Email")%>:</strong> <input type="text" name="confirmemail" size="30" value="<%- $input->in['confirmemail'] %>" /></div>
30 <div><strong><%-T("Display Name")%>:</strong> <input type="text" name="displayname" size="30" value="<%- $input->in['displayname'] %>" /></div>
31 <div><strong><%-T("Password")%>:</strong> <input type="password" name="password" size="30" /></div>
32 <div><strong><%-T("Confirm Password")%>:</strong> <input type="password" name="confirmpassword" size="30" /></div>
33 <div><strong><%-T("Show My Email Publicly")%>:</strong> <input type="checkbox" value="1" name="showemail"<% if ($input->in['showemail']): %> checked="checked"<% endif %> /> <%-T("Yes")%></div>
34 <div><strong><%-T("Language")%>:</strong> <select name="languageid"><%- $opts %></select></div>
35 </div>
36
37 <div class="box-foot box-center">
38 <input type="submit" name="submit" value=" <%-T("Register")%> " accesskey="s" />
39 <input type="reset" name="reset" value=" <%-T("Reset")%> " accesskey="r" />
40 </div>
41 </div>
42 </div>
43
44 </form>
45
46 <%- $footer %>