[Koha-devel] an include file suggestion
Benedict
kb2qzv at poczta.wp.pl
Fri Jan 10 11:44:02 CET 2003
Hi, I have a suggestion: Why don't we make the following code an include file
and insert it whenever need be.
While translating I noted it is a redundant code found in many many files.
<TMPL_IF NAME="loggedinuser">
<p align=left>Logged in as: <TMPL_VAR NAME="loggedinuser"> [<a
href=/cgi-bin/koha/mainpage.pl?logout.x=1>Log out</a>]</p>
<TMPL_ELSE>
<p align=left><a href=/cgi-bin/koha/opac-user.pl>Log in</a> to Koha</p>
</TMPL_IF>
I am not a programmer, though, so this is just a thought.
Benedict
More information about the Koha-devel
mailing list