From: Mike Taylor Date: Tue, 14 Nov 2006 14:55:28 +0000 (+0000) Subject: Title different when use for adding new records. X-Git-Tag: CPAN-v1.02~54^2~753 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=12b5fe99dd2584eda086c0de4fa0ed2d60aa24de;p=irspy-moved-to-github.git Title different when use for adding new records. --- diff --git a/web/htdocs/edit.html b/web/htdocs/edit.html index 7f9ebc6..8af5c84 100644 --- a/web/htdocs/edit.html +++ b/web/htdocs/edit.html @@ -1,3 +1,7 @@ -%# $Id: edit.html,v 1.1 2006-10-20 16:57:40 mike Exp $ -<& /chrome/layout.mc, %ARGS, title => "Edit target record", +%# $Id: edit.html,v 1.2 2006-11-14 14:55:28 mike Exp $ +<%args> +$id => undef + +<& /chrome/layout.mc, %ARGS, + title => (defined $id ? "Edit" : "New") . " target record", component => "/details/edit.mc" &>