Update of /cvsroot/php-blog/serendipity/include/tpl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9900/include/tpl
Modified Files:
config_local.inc.php
Log Message:
Fix serious plugin hook_event bug. Plugins were cached because of the introduction of a new hook too early in sequence, resulting in weird behaviour with plugin configuration (see mail by rasmus)
For the multilingual plugin to be able to function properly, a new autodetection routine has been put in place. I think this even acts nicely in the core serendipity, but for the future we may want to move it to a plugin somehow (I don't see a way currently)
Index: config_local.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/tpl/config_local.inc.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- config_local.inc.php 9 Feb 2005 10:19:14 -0000 1.11
+++ config_local.inc.php 16 Feb 2005 12:36:19 -0000 1.12
@@ -164,6 +164,13 @@
'type' => 'list',
'default' => $serendipity['languages'],
'flags' => array('simpleInstall')),
+
+ array('var' => 'lang_content_negotiation',
+ 'title' => AUTOLANG,
+ 'description' => AUTOLANG_DESC,
+ 'type' => 'bool',
+ 'default' => false,
+ 'userlevel' => USERLEVEL_CHIEF),
));
$res['display'] =
@@ -173,7 +180,8 @@
'title' => INSTALL_FETCHLIMIT,
'description' => INSTALL_FETCHLIMIT_DESC,
'type' => 'int',
- 'default' => 15),
+ 'default' => 15,
+ 'userlevel' => USERLEVEL_CHIEF),
array('var' => 'useGzip',
'title' => INSTALL_USEGZIP,
@@ -199,7 +207,8 @@
'title' => INSTALL_POPUP,
'description' => INSTALL_POPUP_DESC,
'type' => 'bool',
- 'default' => false),
+ 'default' => false,
+ 'userlevel' => USERLEVEL_CHIEF),
array('var' => 'embed',
'title' => INSTALL_EMBED,
@@ -217,7 +226,8 @@
'title' => INSTALL_BLOCKREF,
'description' => INSTALL_BLOCKREF_DESC,
'type' => 'string',
- 'default' => ';'),
+ 'default' => ';',
+ 'userlevel' => USERLEVEL_CHIEF),
array('var' => 'rewrite',
'title' => INSTALL_REWRITE,
@@ -231,13 +241,15 @@
'description' => INSTALL_OFFSET_DESC,
'type' => 'int',
'default' => 0,
+ 'userlevel' => USERLEVEL_CHIEF,
'flags' => array('parseDescription')),
array('var' => 'showFutureEntries',
'title' => INSTALL_SHOWFUTURE,
'description' => INSTALL_SHOWFUTURE_DESC,
'type' => 'bool',
- 'default' => false),
+ 'default' => false,
+ 'userlevel' => USERLEVEL_CHIEF),
));
$res['imagehandling'] =
|