Fixing bug 372
This commit is contained in:
parent
99c0cefcdd
commit
fb9b0e39c6
|
|
@ -1,7 +1,7 @@
|
|||
<TMPL_INCLUDE Name="acquisitions-top.inc">
|
||||
<p>
|
||||
<a href="detail.pl?type=intra&bib=<TMPL_VAR Name="biblionumber">">Return to Details Page</a>
|
||||
EOF
|
||||
|
||||
|
||||
<TMPL_LOOP Name="websitesloop">
|
||||
<p>
|
||||
|
|
@ -46,6 +46,6 @@ EOF
|
|||
</table>
|
||||
<input type="submit" value="Add this Website Link">
|
||||
</form>
|
||||
EOF
|
||||
|
||||
|
||||
<TMPL_INCLUDE Name="acquisitions-bottom.inc">
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ use C4::Search;
|
|||
use CGI;
|
||||
use C4::Output;
|
||||
use HTML::Template;
|
||||
use C4::Auth;
|
||||
|
||||
my $input = new CGI;
|
||||
my $biblionumber = $input->param('biblionumber');
|
||||
|
|
@ -38,7 +39,14 @@ if ($biblionumber eq '') {
|
|||
#print $input->header;
|
||||
#print startpage();
|
||||
#print startmenu();
|
||||
my $template = gettemplate("modwebsites.tmpl");
|
||||
my ($template, $loggedinuser, $cookie) = get_template_and_user({
|
||||
template_name => "modwebsites.tmpl",
|
||||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {catalogue => 1},
|
||||
});
|
||||
|
||||
|
||||
|
||||
my @websitesloop;
|
||||
for (my $i = 0; $i < $count; $i++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue