my @serverhost;
my @breeding_loop = ();
-my $DEBUG = 0; # if set to 1, many debug message are send on syslog.
+my $DEBUG = 1; # if set to 1, many debug message are send on syslog.
unless ($random)
{ # this var is not useful anymore just kept to keep rel2_2 compatibility
$template->param( frameworkcode => $frameworkcode, );
if ( $op ne "do_search" ) {
- my $sth = $dbh->prepare("select id,host,checked from z3950servers order by host");
+ my $sth = $dbh->prepare("select id,host,name,checked from z3950servers order by host");
$sth->execute();
my $serverloop = $sth->fetchall_arrayref( {} );
$template->param(
|| $DEBUG
&& warn( "somthing went wrong: " . $oConnection[$s]->errmsg() );
- #$oResult[$z] = $oConnection[$z]->search_pqf($query);
+ # $oResult[$z] = $oConnection[$z]->search_pqf($query);
}
AGAIN:
<!-- TMPL_ELSE -->
<input type="checkbox" name="id" id="<!-- TMPL_VAR NAME="id" -->id" value="<!-- TMPL_VAR NAME="id" -->" />
<!-- /TMPL_IF -->
- <label for="<!-- TMPL_VAR NAME="id" -->id"><!-- TMPL_VAR NAME="host" --></label>
+ <label for="<!-- TMPL_VAR NAME="id" -->id"><!-- TMPL_VAR NAME="name" --></label>
</li>
<!-- /TMPL_LOOP --></ol></fieldset>
<fieldset class="action"><input type="submit" class="submit" value="Submit" onclick="cursor :'wait'" /></fieldset>