X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Fedit.mc;h=038923537463fc19cd97eadcf53da261f1c368f7;hb=ad90ed871cf7a923681031a57ea7552569d18036;hp=73a938a91c2a5000cfcf89042626d77eb2ed6330;hpb=0e0292a11cf43e9b1405c05b69886044d97e29d2;p=irspy-moved-to-github.git diff --git a/web/htdocs/details/edit.mc b/web/htdocs/details/edit.mc index 73a938a..0389235 100644 --- a/web/htdocs/details/edit.mc +++ b/web/htdocs/details/edit.mc @@ -1,4 +1,4 @@ -%# $Id: edit.mc,v 1.33 2007-05-03 12:43:04 mike Exp $ +%# $Id: edit.mc,v 1.35 2007-07-16 11:56:14 mike Exp $ <%args> $op $id => undef ### should be extracted using utf8param() @@ -346,7 +346,14 @@ if ($update && @changedFields) { Changed <% $nchanges %> field<% $nchanges == 1 ? "" : "s" %>: <% join(", ", map { xml_encode($_->[2]) } @changedFields) %>.

+% return if $op eq "new"; % } +

+ Although anyone is allowed to add a new target, please note that + you will not be able to edit the newly added target unless you + have administrator privileges. So please be sure that the + details are correct before submitting them. +

<%perl> @@ -380,6 +387,7 @@ foreach my $ref (@fields) {
+% $op = "edit" if $op eq "new" && defined $update; % $id = $newid if defined $newid; % if (defined $id) {