koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] templating Branchtransfers.pl and other circulation pages.


From: Henri-Damien LAURENT
Subject: [Koha-devel] templating Branchtransfers.pl and other circulation pages.
Date: Fri Jan 24 04:57:03 2003
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.1) Gecko/20020826

Hi,
I've got a problem templating circulation pages....
Traditionally, pages have One menu....
But there, startmenu returns a list.... that may have more than one element.

print startpage();

my @inp=startmenu('circulation');

if ($query->param('barcode') eq '' && $query->param('charges') eq 'yes'){

   my address@hidden;

    for (my $i=0;$i<$count;$i++){

    $inp[$i]=~ 
s/onLoad=focusinput\(\)/onLoad=focusinput\(\)\;messenger\(\"\/cgi-bin\/koha\/pay.pl?bornum=$bornum\",700,600\)\;window1.focus\(\)/;

    }

}

print @inp;

What does that mean for web pages ?
I donot have the old version to see what it means.
If anyone could help, that might be cool :-)

Another question...
In circulation.pl, some big parts of the page are conditioned to subroutines results... I am wondering if it would be a good idea to have them included so that it would be nicer for HTML maintenance. Hence, if not advised not to do so, I am to do it in ONE file in order to make unity in developpement.

Have a nice day.
Henri-Damien LAURENT




reply via email to

[Prev in Thread] Current Thread [Next in Thread]