diff --git a/C4/Output.pm b/C4/Output.pm index 5f47ee8dd4..fef856699a 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -1,4 +1,6 @@ -package C4::Output; #asummes C4/Output +package C4::Output; + +# $Id$ #package to deal with marking up output #You will need to edit parts of this pm @@ -7,15 +9,23 @@ package C4::Output; #asummes C4/Output use strict; require Exporter; +use C4::Database; + use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); # set the version for version checking $VERSION = 0.01; @ISA = qw(Exporter); -@EXPORT = qw(&startpage &endpage &mktablehdr &mktableft &mktablerow &mklink -&startmenu &endmenu &mkheadr ¢er &endcenter &mkform &mkform2 &bold -&gotopage &mkformnotable &mkform3); +@EXPORT = qw( + &startpage &endpage + &mktablehdr &mktableft &mktablerow &mklink + &startmenu &endmenu &mkheadr + ¢er &endcenter + &mkform &mkform2 &bold + &gotopage &mkformnotable &mkform3 + &getkeytableselectoptions +); %EXPORT_TAGS = ( ); # eg: TAG => [ qw!name1 name2! ], # your exported package globals go here, @@ -455,7 +465,48 @@ sub bold($) { return("$text"); } +#--------------------------------------------- +# Create an HTML option list for a