From: Mike Taylor Date: Wed, 15 Nov 2006 17:43:50 +0000 (+0000) Subject: Title is "Copy" if copy param is set. X-Git-Tag: CPAN-v1.02~54^2~739 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=e94636727b81ab71d48a887135ed42d0511677c4 Title is "Copy" if copy param is set. --- diff --git a/web/htdocs/edit.html b/web/htdocs/edit.html index 8af5c84..05f7aa6 100644 --- a/web/htdocs/edit.html +++ b/web/htdocs/edit.html @@ -1,7 +1,8 @@ -%# $Id: edit.html,v 1.2 2006-11-14 14:55:28 mike Exp $ +%# $Id: edit.html,v 1.3 2006-11-15 17:43:50 mike Exp $ <%args> $id => undef <& /chrome/layout.mc, %ARGS, - title => (defined $id ? "Edit" : "New") . " target record", + title => ($r->param("copy") ? "Copy" : defined $id ? "Edit" : "New") . + " target record", component => "/details/edit.mc" &>