Commit graph

67 commits

Author SHA1 Message Date
Paul POULAIN
763f613b0c determining language for OPAC correctly, until new template structure has been ported to OPAC
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-04 05:44:15 -05:00
Paul POULAIN
c85892117e determining theme/language path
until the modules/structure has been ported to OPAC, this quick hack make the theme/language determination work for both OPAC & intranet

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-03 17:03:39 -05:00
Paul POULAIN
352093e0da BUGFIX : get available language and theme
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-03 03:37:36 -05:00
Joshua Ferraro
27d45375d0 moving calendar to lib
Output.pm: sanatizing variable names
ran  perl -pi~ -e 's/\/includes\/calendar\//\/lib\/calendar\//' * in every staff template dir

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 21:30:49 -05:00
toins
a3135df486 really minor change : POD fixing, indentation & some compilation warn removing. 2007-07-26 15:18:46 +00:00
toins
b41c3087b6 missing comma :-/ 2007-06-20 09:45:09 +00:00
toins
d4fbf8c49a writing charset explicitly. 2007-06-19 15:14:08 +00:00
tipaul
23427c51b9 some fixes (and only fixes) 2007-06-15 13:44:44 +00:00
tipaul
6f276facc8 removing guessencoding, hard-coding utf-8 2007-06-05 08:53:19 +00:00
hdl
100e6a9808 functions that were in C4::Interface::CGI::Output are now in C4::Output.
So this implies quite a change for files.
Sorry about conflicts which will be caused.
directory Interface::CGI should now be dropped.
I noticed that many scripts (reports ones, but also some circ/stats.pl or opac-topissues) still use Date::Manip.
2007-04-24 13:54:28 +00:00
tipaul
2ffd5b7228 rel_3_0 moved to HEAD 2007-03-09 14:28:54 +00:00
tgarip1957
0451359813 New set of routines for HEAD.
Uses a complete new ZEBRA Indexing.
ZEBRA is now XML and comprises of a KOHA meta record. Explanatory notes will be on koha-devel
Fixes UTF8 problems
Fixes bug with authorities
SQL database major changes.
Separate biblioograaphic and holdings records. Biblioitems table depreceated
etc. etc.
Wait for explanatory document on koha-devel
2006-08-25 21:07:08 +00:00
tipaul
967ec60b62 the new "includes" features, for personalized templates. Look at koha-devel, i'll write a mail here (& something on the wiki) 2006-08-11 10:03:13 +00:00
toins
cc9524a875 Head & rel_2_2 merged 2006-07-04 14:36:51 +00:00
plg
e0090dcdaa new: authorities in prog/en template, only partial import from default/en
template.

improved: C4::Output::pagination_bar builds an HTML pagination bar with no
language dependency. This function hugely simplifies templates and offers a
standard pagination method. This function also improves preformances.
2006-04-04 10:05:48 +00:00
tipaul
6b0ee5525b synch'ing 2.2 and head 2005-06-20 14:10:00 +00:00
tipaul
cb32ef4fc1 adding "opacstylesheet" systempreference.
if this parameter is defined, the url is used instead of the default one.
So, you can have your own stylesheet somewhere, and use it instead of the official Koha one.
2005-01-03 10:58:46 +00:00
tipaul
8e5b1d4792 reordering code & debugging 2004-08-05 16:34:41 +00:00
rangi
3cd76eef0c Code to set a cookie which stores which language is displayed to the user 2004-07-16 00:36:56 +00:00
tipaul
12b49ff84b removing unused code 2004-06-03 10:02:08 +00:00
tipaul
3635a596cf synch'ing 2.0.0 branch and head 2004-02-11 08:35:31 +00:00
acli
1286644ded This allows the user to type zh_TW and still get Chinese from the zh-TW
directory.
2004-02-10 00:43:21 +00:00
slef
571d609ccd fix for bug 600 2003-12-02 22:13:25 +00:00
wolfpac444
5169e23b54 Fixed theme/language templating in intranet. 2003-05-13 05:10:07 +00:00
tipaul
e60f831e1f last commits before 1.9.1 2003-04-04 08:40:44 +00:00
wolfpac444
6b0a39e5bb Fixed bug #250 2003-04-04 08:04:16 +00:00
tipaul
452e65166c fixes 2003-04-01 12:26:43 +00:00
tipaul
f953c4a169 adding "interface" parameter : /intranet-tmpl or /opac-tmpl 2003-03-04 17:49:50 +00:00
acli
fc5d0e3961 Explicitly declare dependency on HTML::Template
If checkauth() detects a permission problem (e.g., in untemplated scripts),
this is necessary for the code (that displays the error message) to run
(otherwise Perl dies with a very cryptic, confusing error message)
2003-02-06 05:04:36 +00:00
acli
47fcb64527 Temporary patch for bug 182 2003-01-26 04:37:17 +00:00
acli
6bdd53ded8 Added < to the filenames of open() calls 2003-01-19 06:13:27 +00:00
tipaul
95791d11cf last bugfix before releasing 1.3.3. Not trully a bugfix (see release notes) 2003-01-06 13:31:01 +00:00
tipaul
6098d9c4eb little modif in gettemplate.
auto-replaces theme and lang template variable.
This is useful if you have images in your template :
<img src="/<TMPL_VAR name="theme">/<TMPL_VAR name="lang">/images/picture.gif>
or
<img src="/<TMPL_VAR name="theme">/images/picture.gif>
in the case of a non-language dependant image.

Before this fix, gettemplate only replaced a variable called themelang, which was useful for language dependant images, but didn't work with theme-only images.
Note the previous behaviour is still activated (ie : themelang still works)
2002-12-20 08:35:19 +00:00
tipaul
b0d0dddfac authentification bugfix :
the api in pod-auth.pm has "type => 'opac' "parameter.
If called from intranet, should be type => 'intranet'.
Output.pm checked for type existed, and not it's value. Now, Output compares checks for type value.
If type='intranet', then the intranet template is called, else it's an opac template.
Finlay, please validate this commit.
2002-12-10 15:52:49 +00:00
tipaul
60c769f326 removing warnings 2002-12-10 13:42:00 +00:00
tipaul
5c67993c8f road to 1.3.2
various bugfixes, improvments, and migration from acquisition.pm to biblio.pm
2002-11-19 12:31:34 +00:00
tipaul
c4892ded4d merging arens + my modifs/bugfixes 2002-10-14 07:40:04 +00:00
arensb
eff606ba56 Replaced expressions of the form "$x = $x <op> $y" with "$x <op>= $y".
Thus, $x = $x+2 becomes $x += 2, and so forth.
2002-10-13 11:32:14 +00:00
arensb
fddab26c2e Deleted unused variables.
Removed trailing whitespace.
2002-10-13 08:27:49 +00:00
arensb
3a92eb7781 Added some FIXME comments. 2002-10-13 06:05:59 +00:00
arensb
70c08fd084 Replaced &requireDBI with C4::Context->dbh, thus making the "use
Database" statement unnecessary.
Fixed POD up a bit.
2002-10-11 12:40:50 +00:00
arensb
ddcc85bfc2 Use C4::Context->preference instead of &systemprefs or explicit SQL
calls to get an entry from the systempreferences table.
2002-10-11 03:14:03 +00:00
arensb
afa8db75fc Added some FIXMEs.
Made code more Perlish.
(bug fix): Allow whitespace in $HTTP_ACCEPT_LANGUAGE (Konqueror uses
", " as language separator).
2002-10-10 05:32:20 +00:00
arensb
ef8cf295eb Added whitespace to make the POD work.
Removed references, added author.
2002-10-10 04:41:05 +00:00
arensb
6421ecc986 Added a couple of FIXME comments. 2002-10-05 17:17:20 +00:00
arensb
ba786212eb Switched new functions to using C4::Context. 2002-10-05 16:55:09 +00:00
arensb
f0d284e6bd Removed remnants of code that read /etc/koha.conf for itself. 2002-10-05 16:48:08 +00:00
arensb
dbca39823f Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
2002-10-05 09:44:27 +00:00
tipaul
3c30f8b69e templating modifications to rspect finlay structure 2002-10-02 16:26:14 +00:00
arensb
01e1912093 Added PODs.
Removed a bunch of trailing whitespace.
Fixed &mkheadr to match the documentation.
2002-09-22 04:04:22 +00:00