return $self->load_myopac_reservations if $path =~ m|opac/myopac/reservations|;
return $self->load_openathens_sso if $path =~ m|opac/sso/openathens$|;
+ return $self->load_galileo if $path =~ m|opac/galileo|;
+
return Apache2::Const::OK;
}
);
}
+
+sub load_galileo {
+ my $self = shift;
+
+ my $token = $U->simplereq(
+ 'open-ils.actor',
+ 'open-ils.actor.session.safe_token',
+ $self->ctx->{authtoken}
+ );
+
+ return $self->generic_redirect(
+ "http://www.galileo.usg.edu/express?pinesid=$token");
+}
+
+
1;
<a href="[% mkurl(ctx.opac_root _ '/register') %]">[%
l('Request Library Card') %]</a> |
[% ELSE %]
+ [% gurl = mkurl(ctx.opac_root _ '/galileo', {}, 1) %]
+ <a href="[% gurl %]"> [% l('GALILEO') %] </a> |
<a href="http://example.com">[% l('Bottom Link 2') %]</a> |
[% END %]
- <a href="http://example.com">[% l('Bottom Link 3') %]</a> |
- <a href="http://example.com">[% l('Bottom Link 4') %]</a> |
- <a href="http://example.com">[% l('Bottom Link 5') %]</a>
+ <!-- <a href="/eg/kpac/home">[% l("Kids' Catalog") %]</a> | -->
+ <!-- <a href="http://www.georgialibraries.org/lib/directories/pineslibdir.html">[% l('Find a Library Near Me') %]</a> | -->
+ <!-- <a href="http://pines.georgialibraries.org/catalog-help">[% l('Help') %]</a> | -->
+ <a href="http://pines.georgialibraries.org/about">
+ <img alt="[% l('About PINES') %]" src="[% ctx.media_prefix %]/images/navbar-about.png" />[%- l('Learn More About PINES') %]</a> <!-- | -->
+ <!-- <a href="/">[% l('Dynamic catalog') -%]</a> | -->
+ <!-- [% gurl = mkurl(ctx.opac_root _ '/galileo', {}, 1) %]
+ <a href="[% gurl %]"> [% l('GALILEO') %] </a> -->
+</div>
+<div id="footer-menu-slim">
+ <a href="/eg/opac/home">[% l("Home") %]</a><br/>
+ <a href="http://www.georgialibraries.org/lib/directories/pineslibdir.html">
+ [% l('Library Locations') %]</a><br/>
+ <a href="/eg/kpac/home">
+ [% l("Kids' Catalog") %]</a><br/>
+ [% IF ctx.get_org_setting(
+ ctx.physical_loc || ctx.aou_tree.id, 'opac.allow_pending_user') %]
+ <a href="[% mkurl(ctx.opac_root _ '/register') %]">
+ [% l('Apply for a PINES Library Card') %]</a><br/>
+ [% END %]
+ [% IF ctx.physical_loc;
+ # patron is at the branch, no redirect needed
+ gurl = 'http://www.galileo.usg.edu/express';
+ ELSE;
+ # send patron to galileo auth redirector
+ gurl = mkurl(ctx.opac_root _ '/galileo', {}, 1);
+ END %]
+ <a href="[% gurl %]">
+ [% l('GALILEO Research Databases') %]</a><br/>
+ <a href="http://pines.georgialibraries.org/about">
+ [%- l('Learn More About PINES') %]</a><br/>
+ <a href="http://pines.georgialibraries.org/catalog-help">
+ [% l('Help') %]</a>
+
+ <hr style="margin-top:20px;">
+</div>
+
[% IF ctx.timing %]
<div id="timing">
[% FOR event IN ctx.timing %]