Web UI uses new name calc_reliability_string() rather than old calc_reliability()
authorMike Taylor <mike@miketaylor.org.uk>
Mon, 12 Apr 2010 15:32:59 +0000 (16:32 +0100)
committerMike Taylor <mike@miketaylor.org.uk>
Mon, 12 Apr 2010 15:32:59 +0000 (16:32 +0100)
web/htdocs/chrome/layout.mc
web/htdocs/details/found.mc
web/htdocs/details/full.mc

index 1471202..b1f054b 100644 (file)
@@ -12,7 +12,7 @@ use ZOOM::IRSpy::Utils qw(utf8param isodate xml_encode cql_target cql_quote
                           irspy_xpath_context irspy_make_identifier
                          irspy_record2identifier
                          irspy_identifier2target modify_xml_document
-                         bib1_access_point calc_reliability);
+                         bib1_access_point calc_reliability_string);
 </%once>
 % $r->content_type("text/html; charset=utf-8");
 % my $text = $m->scomp($component, %ARGS);
index 8380171..0f44196 100644 (file)
@@ -115,7 +115,7 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count);
 <%perl>
 my $xc = irspy_xpath_context($rs->record($i-1));
 my $title = $xc->find("e:databaseInfo/e:title") || "[UNTITLED]";
-my $reliability = calc_reliability($xc);
+my $reliability = calc_reliability_string($xc);
 my $host = $xc->find("e:serverInfo/e:host");
 my $port = $xc->find("e:serverInfo/e:port");
 my $db = $xc->find("e:serverInfo/e:database");
index 4157b1f..73836a1 100644 (file)
@@ -97,7 +97,7 @@ if ($n == 0) {
 
 sub calc_reliability_wrapper {
     my($id, $xc) = @_;
-    return calc_reliability($xc);
+    return calc_reliability_string($xc);
 }
 
 sub calc_init_options {