Fix for 2160: My Lists Tab on OPAC Profile

This commit is contained in:
Joshua Ferraro 2008-07-08 00:18:40 -05:00
parent 886749cf31
commit 22684e9ec7
2 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,10 @@
<!-- TMPL_IF NAME="EnhancedMessagingPreferences" -->
<!-- TMPL_IF NAME="messagingview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-messaging.pl">my messaging</a></li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="virtualshelves" -->
<!-- TMPL_IF NAME="listsview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">my lists</a></li>
<!-- /TMPL_IF -->
</ul>
</div>
<!-- /TMPL_IF -->

View File

@ -31,7 +31,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({
type => "opac",
authnotrequired => 1,
});
$template->param(listsview => 1);
# if $loggedinuser is not defined, set it to -1, which should
# not correspond to any real borrowernumber.
# FIXME: this is a hack to temporarily avoid changing several