From kb2qzv@poczta.wp.pl Fri Jan 10 11:43:13 2003 From: Benedict To: koha-devel@lists.koha-community.org Subject: [Koha-devel] an include file suggestion Date: Fri, 10 Jan 2003 11:44:02 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1979560599147152471==" --===============1979560599147152471== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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.

Logged in as: [Log out]

Log in to Koha

I am not a programmer, though, so this is just a thought. Benedict --===============1979560599147152471==-- From kb2qzv@poczta.wp.pl Fri Jan 10 13:44:32 2003 From: Benedict To: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] an include file suggestion Date: Fri, 10 Jan 2003 13:45:03 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6252725965292230363==" --===============6252725965292230363== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi all, A search run on the intranet-tmpl directory reveals that 89 files contain the sequence Benedict --===============6252725965292230363==-- From paul.poulain@free.fr Sat Jan 11 02:27:14 2003 From: paul POULAIN To: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] an include file suggestion Date: Sat, 11 Jan 2003 02:28:03 +0000 Message-ID: <3E1FF261.4060509@free.fr> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7731911667152974355==" --===============7731911667152974355== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Benedict a =C3=A9crit: >Hi all, >A search run on the intranet-tmpl directory reveals that 89 files contain th= e=20 >sequence > >Benedict > You're completely right ! Should be something to fix in a future release. However, this does not need any coding, juste templates modifications=20 (with a TMPL_INCLUDE at the beginning of the page) --=20 Paul POULAIN Consultant ind=C3=A9pendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org) --===============7731911667152974355==-- From kb2qzv@poczta.wp.pl Sat Jan 11 05:37:35 2003 From: Benedict To: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] an include file suggestion Date: Sat, 11 Jan 2003 05:38:01 +0000 Message-ID: In-Reply-To: <3E1FF261.4060509@free.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4639263146040123580==" --===============4639263146040123580== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Dnia sob 11. styczeń 2003 11:30, paul POULAIN napisał: > However, this does not need any coding, juste templates modifications > (with a TMPL_INCLUDE at the beginning of the page) Hi, The TAG has two forms in template files calls in its stetement either userpage.pl or opac-user.pl. We need two include files then. One userpage_pl.inc and opac-user_pl.inc In each template file we need to put a line like so: and instead of

Loggedin as: [Log out]

Log in to Koha

If my reasoning is correct can I go ahead and change all the files in polish and other directories? Benedict --===============4639263146040123580==-- From paul.poulain@free.fr Tue Jan 14 02:14:59 2003 From: paul POULAIN To: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] an include file suggestion Date: Tue, 14 Jan 2003 02:15:05 +0000 Message-ID: <3E23E405.1080501@free.fr> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7207079250012811348==" --===============7207079250012811348== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Benedict a écrit: >Dnia sob 11. styczeń 2003 11:30, paul POULAIN napisał: > > > >>However, this does not need any coding, juste templates modifications >>(with a TMPL_INCLUDE at the beginning of the page) >> >> > >Hi, >The TAG has two forms in template files calls >in its stetement either userpage.pl or opac-user.pl. >We need two include files then. One userpage_pl.inc and opac-user_pl.inc >In each template file we need to put a line like so: > and > instead of > > >

Loggedin as: [href=/cgi-bin/koha/mainpage.pl?logout.x=1>Log out]

> >

Log in to Koha

>
> >If my reasoning is correct can I go ahead and change all the files in polish >and other directories? > >Benedict > > > I think you're right. go ahead in polish, then in other languages if you can. And thanks for the job. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org) --===============7207079250012811348== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFs Ly9FTiI+CjxodG1sPgo8aGVhZD4KICA8dGl0bGU+PC90aXRsZT4KPC9oZWFkPgo8Ym9keT4KQmVu ZWRpY3QgYSDpY3JpdDo8YnI+CjxibG9ja3F1b3RlIHR5cGU9ImNpdGUiCiBjaXRlPSJtaWRFMThY THBKLTAwMDRMMy0wMEBzYzgtc2YtbGlzdDEuc291cmNlZm9yZ2UubmV0Ij4KICA8cHJlIHdyYXA9 IiI+RG5pYSBzb2IgMTEuIHN0eWN6ZfEgMjAwMyAxMTozMCwgcGF1bCBQT1VMQUlOIG5hcGlzYbM6 CgogIDwvcHJlPgogIDxibG9ja3F1b3RlIHR5cGU9ImNpdGUiPgogICAgPHByZSB3cmFwPSIiPkhv d2V2ZXIsIHRoaXMgZG9lcyBub3QgbmVlZCBhbnkgY29kaW5nLCBqdXN0ZSB0ZW1wbGF0ZXMgbW9k aWZpY2F0aW9ucwood2l0aCBhIFRNUExfSU5DTFVERSBhdCB0aGUgYmVnaW5uaW5nIG9mIHRoZSBw YWdlKQogICAgPC9wcmU+CiAgPC9ibG9ja3F1b3RlPgogIDxwcmUgd3JhcD0iIj48IS0tLS0+Ckhp LApUaGUgJmx0O1RNUExfSUYgTkFNRT0ibG9nZ2VkaW51c2VyIiZndDsgVEFHICBoYXMgdHdvIGZv cm1zIGluIHRlbXBsYXRlIGZpbGVzIGNhbGxzIAppbiBpdHMgJmx0O1RNUExfRUxTRSZndDsgc3Rl dGVtZW50IGVpdGhlciB1c2VycGFnZS5wbCBvciBvcGFjLXVzZXIucGwuIApXZSBuZWVkIHR3byBp bmNsdWRlIGZpbGVzIHRoZW4uIE9uZSB1c2VycGFnZV9wbC5pbmMgYW5kIG9wYWMtdXNlcl9wbC5p bmMKSW4gZWFjaCB0Z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