projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e5f11
)
fix ugly null dates
author
jeff
<jeff>
Wed, 18 Oct 2006 00:05:34 +0000
(
00:05
+0000)
committer
jeff
<jeff>
Wed, 18 Oct 2006 00:05:34 +0000
(
00:05
+0000)
httemplate/elements/tr-input-date-field.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/tr-input-date-field.html
b/httemplate/elements/tr-input-date-field.html
index
eb8eee4
..
0618fc9
100644
(file)
--- a/
httemplate/elements/tr-input-date-field.html
+++ b/
httemplate/elements/tr-input-date-field.html
@@
-7,7
+7,7
@@
<TR>
<TD ALIGN="right"><% $label %></TD>
<TD>
- <INPUT TYPE="text" NAME="<% $name %>" ID="<% $name %>_text" VALUE="<% time2str($format, $value) %>">
+ <INPUT TYPE="text" NAME="<% $name %>" ID="<% $name %>_text" VALUE="<%
($value eq '') ? '' :
time2str($format, $value) %>">
<IMG SRC="../images/calendar.png" ID="<% $name %>_button" STYLE="cursor: pointer" TITLE="Select date">
</TD>
</TR>