From: arensb Date: Sun, 22 Sep 2002 04:04:22 +0000 (+0000) Subject: Added PODs. X-Git-Tag: R_1-3-0~9 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=01e191209304ba6c2d7ec013dfaf51f619da6a8d;p=koha-ffzg.git Added PODs. Removed a bunch of trailing whitespace. Fixed &mkheadr to match the documentation. --- diff --git a/C4/Output.pm b/C4/Output.pm index 6aa7df5944..f00d5004ea 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -56,10 +56,10 @@ printable string. =cut @ISA = qw(Exporter); -@EXPORT = qw(&startpage &endpage +@EXPORT = qw(&startpage &endpage &mktablehdr &mktableft &mktablerow &mklink - &startmenu &endmenu &mkheadr - ¢er &endcenter + &startmenu &endmenu &mkheadr + ¢er &endcenter &mkform &mkform2 &bold &gotopage &mkformnotable &mkform3 &getkeytableselectoptions @@ -152,7 +152,7 @@ sub picktemplate { #(next) unless (/\.tmpl$/); (next) unless (-e "$includes/templates/$_/$base"); $templates->{$_}=1; - } + } my $sth=$dbh->prepare("select value from systempreferences where variable='template'"); $sth->execute; @@ -164,9 +164,74 @@ sub picktemplate { } else { return 'default'; } - + } - + +=item pathtotemplate + + %values = &pathtotemplate(template => $template, + theme => $themename, + language => $language, + type => $ptype, + path => $includedir); + +Finds a directory containing the desired template. The C