From 79e18a4b9e29f1fb16fb804496d34b444930fdaf Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 28 Jun 2002 22:56:37 +0000 Subject: [PATCH] fix so that webdb_lastchange appears in contentlist.template as it should --- source/mir/entity/Entity.java | 7 +++++-- templates-dist/admin/contentlist.template | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/source/mir/entity/Entity.java b/source/mir/entity/Entity.java index af81a90e..b434b771 100755 --- a/source/mir/entity/Entity.java +++ b/source/mir/entity/Entity.java @@ -20,10 +20,13 @@ import mir.misc.*; * Base Class of Entities * Interfacing TemplateHashModel and TemplateModelRoot to be freemarker compliant * - * @version $Revision: 1.7 $ $Date: 2002/06/28 20:35:38 $ + * @version $Revision: 1.8 $ $Date: 2002/06/28 22:56:37 $ * @author $Author: mh $ * * $Log: Entity.java,v $ + * Revision 1.8 2002/06/28 22:56:37 mh + * fix so that webdb_lastchange appears in contentlist.template as it should + * * Revision 1.7 2002/06/28 20:35:38 mh * use some cvs macros/id's * @@ -128,7 +131,7 @@ public class Entity implements TemplateHashModel, TemplateModelRoot } else if (field.equals("webdb_lastchange_formatted")) { - if (hasValueForField("webdblast_change")) + if (hasValueForField("webdb_lastchange")) returnValue=StringUtil.dateToReadableDate(getValue("webdb_lastchange")); } else if (field.equals("webdb_create_dc")) diff --git a/templates-dist/admin/contentlist.template b/templates-dist/admin/contentlist.template index ad33e6c0..b530f92c 100755 --- a/templates-dist/admin/contentlist.template +++ b/templates-dist/admin/contentlist.template @@ -25,7 +25,7 @@ bgcolor="#dddddd" > ${entry.webdb_create_formatted}
- ${entry.webdb_lastchange_formatted}-
+ ${entry.webdb_lastchange_formatted}-
F- H-
-- 2.11.0