X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Fedit.mc;h=6dfbf0e52053bd382c8baa18f0cfdf6c6a11af93;hp=8bab7b22e5b18537ab85db6fe5ab95da59da99cd;hb=43ab1fad8aee28abefb2a422c45b97fac791d519;hpb=6572fe6560ae792916d22f1481851242181914bf diff --git a/web/htdocs/details/edit.mc b/web/htdocs/details/edit.mc index 8bab7b2..6dfbf0e 100644 --- a/web/htdocs/details/edit.mc +++ b/web/htdocs/details/edit.mc @@ -1,4 +1,4 @@ -%# $Id: edit.mc,v 1.26 2007-01-24 09:28:02 mike Exp $ +%# $Id: edit.mc,v 1.27 2007-03-19 13:36:51 mike Exp $ <%args> $op $id => undef @@ -38,7 +38,7 @@ my $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1", 0, my $rec = ''; if (defined $id && ($op ne "copy" || !$update)) { # Existing record - my $query = 'rec.id="' . cql_quote($id) . '"'; + my $query = cql_target($id); my $rs = $conn->search(new ZOOM::Query::CQL($query)); if ($rs->size() > 0) { $rec = $rs->record(0); @@ -81,6 +81,7 @@ my @fields = qw() ], [ country => [ "", + "United States", "Afghanistan", "Albania", "Algeria", @@ -304,7 +305,6 @@ my @fields = "Ukraine", "United Arab Emirates", "United Kingdom", - "United States", "Uruguay", "Uzbekistan", "Vanuatu", @@ -352,6 +352,7 @@ my @fields = # awk -F'|' '$3 {print$4}' # and shortening some of the longer names by hand "", + "English", "Afar", "Abkhazian", "Afrikaans", @@ -391,7 +392,6 @@ my @fields = "Divehi; Dhivehi; Maldivian", "Dutch; Flemish", "Dzongkha", - "English", "Esperanto", "Estonian", "Ewe",