/[webpac2]/trunk/vhost/ecas/html.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/vhost/ecas/html.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1350 - (show annotations)
Fri Oct 22 14:12:25 2010 UTC (13 years, 6 months ago) by mglavica
File size: 767 byte(s)
local

1 package ecas::html;
2
3 use strict;
4 use warnings;
5
6 sub url {
7 my ($self,$url) = @_;
8 qq{ <a target="ecas" href="$url">Pristup iz ustanove</a> };
9 }
10
11 sub urlp {
12 my ($self,$urlp) = @_;
13 my $proxy = $urlp;
14 $proxy =~ s{http://}{https://proxy.knjiznice.ffzg.hr/proxy/nph-proxy.cgi/000100A/http/};
15 qq{ <a target="ecas" href="$proxy">Pristup od kuće</a> };
16 }
17
18 sub urlpe {
19 my ($self,$urlpe) = @_;
20 my $proxy = $urlpe;
21 $proxy =~ s{http://}{https://proxy.knjiznice.ffzg.hr/proxy/nph-proxy2.cgi/000100A/http/};
22 qq{ <a target="ecas" href="$proxy">Pristup od kuće</a> };
23 }
24
25
26 sub urlf {
27 my ($self,$urlf) = @_;
28 qq{ <a target="ecas" href="$urlf">Slobodni pristup</a> };
29 }
30 #sub publisher {
31 # my ($self,$publisher) = @_;
32 # qq{<a href="?search=$publisher">$publisher</a>};
33 #}
34
35 1;

  ViewVC Help
Powered by ViewVC 1.1.26