X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Fform.mc;h=864524d434f9546761ee00a2595b48c4559eb91c;hb=757a0d2e1767bc39f229bccba630664721b6a2c8;hp=407b3022e4287d33e0670a3c087420ddf508b769;hpb=0322a96cb28174b6ca694e1f0900135df8c61a9c;p=irspy-moved-to-github.git diff --git a/web/htdocs/details/form.mc b/web/htdocs/details/form.mc index 407b302..864524d 100644 --- a/web/htdocs/details/form.mc +++ b/web/htdocs/details/form.mc @@ -1,4 +1,4 @@ -%# $Id: form.mc,v 1.2 2006-11-14 16:00:28 mike Exp $ +%# $Id: form.mc,v 1.3 2006-11-14 16:09:14 mike Exp $ <%args> $id => undef $conn @@ -55,7 +55,7 @@ if (defined $update) { ZOOM::IRSpy::_really_rewrite_record($conn, $xc->getContextNode()); } -

<% xml_encode($xc->find("e:databaseInfo/e:title")) %>

+

<% xml_encode($xc->find("e:databaseInfo/e:title"), "[Untitled]") %>

% if ($nchanges) {

The record has been updated.
@@ -71,8 +71,7 @@ foreach my $ref (@fields) { <% $caption %> -% my $data = $xc->find($xpath); -% $data = defined $data ? xml_encode($data) : ""; +% my $data = xml_encode($xc->find($xpath), ""); % if ($nlines) { % } else {