|
From: Jean-Philippe G. <jpg...@ou...> - 2003-02-16 20:35:10
|
When I access for the first time to PhpWIki, I have this Warning in
the bottom of the first page displayed.
****************************************************************
PHP Warnings
In template 'head'(In template 'html'?):67: Notice[8]: Use of undefined constant RECENT_CHANGES - assumed 'RECENT_CHANGES':
* <link rel="alternate" type="application/rss+xml" title="RSS" href="<?=WikiURL(RECENT_CHANGES, array('format' => 'rss'))?>" />
****************************************************************
I change line 69 in themes/default/templates/head.tmpl
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?=WikiURL(RECENT_CHANGES, array('format' => 'rss'))?>" />
in
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?=WikiURL(_("RECENT_CHANGES"), array('format' => 'rss'))?>" />
^^ ^^
and it seems ok.
--
Jean-Philippe Georget
jpg...@ou... - http://jpgeorget.ouvaton.org/
|