From ba69be3a925da05837eda7c7c2d8d82c3a563dd0 Mon Sep 17 00:00:00 2001 From: tipaul Date: Fri, 11 Oct 2002 07:25:22 +0000 Subject: [PATCH] merging from 1.2 and templating --- admin-home.pl | 23 ++++--------------- .../default/en/parameters/admin-home.tmpl | 23 +++++++++++++++++++ 2 files changed, 27 insertions(+), 19 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/default/en/parameters/admin-home.tmpl diff --git a/admin-home.pl b/admin-home.pl index 0f6b09e21e..0d233054dd 100755 --- a/admin-home.pl +++ b/admin-home.pl @@ -5,27 +5,12 @@ use CGI; use C4::Auth; use C4::Output; use C4::Database; - -my $configfile=configfile(); -my $intranetdir=$configfile->{'intranetdir'}; +use HTML::Template; my $query = new CGI; my ($loggedinuser, $cookie, $sessionID) = checkauth($query); -print $query->header(-cookie => $cookie); - -print startpage(); -print startmenu('catalogue'); - - -print "

Logged in as: $loggedinuser [Log Out]

\n"; - -open H, "$intranetdir/htdocs/admin/index.html"; -while () { - print $_; -} -close H; - +my $template = gettemplate("parameters/admin-home.tmpl"); +$template->param(loggeninuser => $loggedinuser); -print endpage(); -print endmenu('catalogue'); +print $query->header(-cookie => $cookie),$template->output; \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/default/en/parameters/admin-home.tmpl b/koha-tmpl/intranet-tmpl/default/en/parameters/admin-home.tmpl new file mode 100644 index 0000000000..2dfee1c7c1 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/default/en/parameters/admin-home.tmpl @@ -0,0 +1,23 @@ + +
+Koha admin page


+ + + + + + + + + + + + + + + + + +
TableMeaning
  • libraries branches
  • the differents branches you manage with this koha server
  • budget
  • the budgets allowed to differents book funds.
  • book funds
  • the differents book funds.
  • categories
  • the differents types of borrowers.
  • Item types
  • the supports of an item.
  • Currencies
  • Currencies of booksellers.
  • Printers
  • Printers (UNIX paths).
  • stopwords
  • Words deleted during searches
  • systempreferences
  • System preferences
    TableMeaning
  • MARC tag structure
  • MARC structure : tag then subfields
    +
    + -- 2.39.2