From: Phil D. <we...@pa...> - 2004-09-12 06:40:42
|
Many thanks Hani for this - I've just fixed that bit. Phil On Sun, 2004-09-12 at 11:33, Hani Naguib wrote: > Hi Phil, I have attached the DebtorsAtPeriodEnd.php with my modifications. > I am not familiar with your code so I would appreciate if you could have > a look at this and > make sure I have not done anything stupid or missed things that should > have been translated. > > I did notice a few things. > 'includes/session.inc' includes 'includes/LanguageSetup.php' at > the end of the file. This means > that the language stuff breaks initially on a system that does not have > gettext installed, since the _() function > is not defined until the LanguageSetup is called but session.inc uses it > before including LanguageSetup. > > In DebtorsAtPeriodEnd.php I moved the include session.php to the start > of the script so I could set the title. > I don't know what the implications of doing that are in your code. But I > suspect I should not have done that! > Could you let me know what the policy is for what includes I should use > prior to setting the title? > > Hani > > > |