From: Arnaud F. <ar...@cr...> - 2005-01-04 17:54:13
|
oops ... Change the test at the end of the body.tmpl template file : if(!$HIDE_TOOLBAR) doesn't work when you need it ... (upgrade, for exemple ... or new wiki init) ... use if (isset($revision)) insteed. Arnaud Fontaine wrote: > Reini Urban wrote: > > > Arnaud Fontaine schrieb: > > > >> I've updated from CVS this morning : my wiki is back in 'en' by > >> default even with DEFAULT_LANGUAGE set to 'fr' in > >> config/config.ini. The language is still 'en' whatever I set in > >> user preferences. > >> > >> And by the way I still have the phpwiki/lib/DbSession.php:160: > >> Warning: Overlarge session data! 4386 gt. 4000 error ... grrr > > > > > > yes, I have the same issues. > > > > The latest locale change was premature: DEFAULT_LANGUAGE='' > > should set the client's locale, but sets the server locale, and > > doesn't work yet right. > > > > hmm ... strange ... I've installed a fresh wiki with > DEFAULT_LANGUAGE=fr ... it worked ... > > > I've also found some more errors on special cfg's: > > > > * upgrade => %BODY% in MonoBook > > > Oh ... I catched an error in the Crao theme, in body.tmpl. > > The new code is : > > <?php // -*-html-*- rcs_id('$Id: body.tmpl,v 1.4 2005/01/04 > 18:30:39 arnaud Exp $'); ?> <body<?= > $WikiTheme->getMoreAttr('body') ?>> <div id="header"><?php // for > top toolbars style sheet ?> <?= Template('top') ?> </div> <div > class="toolbar"><?= Template('navbar') ?></div> <!-- Page content > --> <div id="contenu"> <?php if (isset($HEADER)) { ?> <!-- Page > title --> <h1><?= $HEADER ?></h1> <?php } ?> <?= $CONTENT ?> <?= > Template('bottom') ?> </div> <?php if (!$HIDE_TOOLBARS) { ?> <!-- > Actionbar --> <?= Template('actionbar') ?> <?php } ?> </body> > > > > ------------------------------------------------------- The SF.Net > email is sponsored by: Beat the post-holiday blues Get a FREE > limited edition SourceForge.net t-shirt from ThinkGeek. It's fun > and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ Phpwiki-talk > mailing list Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |