summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorivan <ivan>2006-11-13 01:09:17 +0000
committerivan <ivan>2006-11-13 01:09:17 +0000
commit3758ad3cb13752bbbebb2c42fcc398bdb1ffdc6a (patch)
tree79abd2ad06733f7b515250d6df4d33767c814209 /httemplate/elements
parent33f61386d77a035fd59a15ccfea43d0fbff911d2 (diff)
add preference page, start with just a password changer
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/error.html4
-rw-r--r--httemplate/elements/header.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/elements/error.html b/httemplate/elements/error.html
new file mode 100644
index 000000000..e8ba93010
--- /dev/null
+++ b/httemplate/elements/error.html
@@ -0,0 +1,4 @@
+% if ( $cgi->param('error') ) {
+ <FONT SIZE="+1" COLOR="#ff0000">Error: <% $cgi->param('error') %></FONT>
+ <BR><BR>
+% }
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html
index ce5401242..c543ac040 100644
--- a/httemplate/elements/header.html
+++ b/httemplate/elements/header.html
@@ -50,7 +50,7 @@
<td align=left rowspan=2 BGCOLOR="#ffffff"> <!-- valign="top" -->
<font size=6><% $conf->config('company_name') || 'ExampleCo' %></font>
</td>
- <td align=right valign=top BGCOLOR="#ffffff"><FONT SIZE="-1">Logged in as <b><% getotaker %>&nbsp</b><br></FONT><FONT SIZE="-2"><a href="<%$fsurl%>pref/XXXwritethis">Preferences</a>&nbsp;<BR></FONT>
+ <td align=right valign=top BGCOLOR="#ffffff"><FONT SIZE="-1">Logged in as <b><% getotaker %>&nbsp;</b><br></FONT><FONT SIZE="-2"><a href="<%$fsurl%>pref/pref.html">Preferences</a>&nbsp;<BR></FONT>
</td>
</tr>
<tr>