[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] an include file suggestion
From: |
Benedict |
Subject: |
[Koha-devel] an include file suggestion |
Date: |
Fri Jan 10 11:44:02 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
- [Koha-devel] an include file suggestion,
Benedict <=