Bug #9087: Fix prefs documentation
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 9 Jun 2010 15:55:09 +0000 (09:55 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 9 Jun 2010 15:56:37 +0000 (09:56 -0600)
imp/config/prefs.php.dist
kronolith/config/prefs.php.dist
turba/config/prefs.php.dist
whups/config/prefs.php.dist

index 1c35b08..8359d57 100644 (file)
@@ -1435,7 +1435,7 @@ $_prefs['sourceselect'] = array(
 // Refer to turba/config/sources.php for possible source values
 //
 // You can provide default values this way:
-//   'value' => json_encode('source_one', 'source_two')
+//   'value' => json_encode(array('source_one', 'source_two'))
 $_prefs['search_sources'] = array(
     'value' => ''
 );
index 2fd6aaa..34eb018 100644 (file)
@@ -320,7 +320,7 @@ $_prefs['sourceselect'] = array('type' => 'special');
 // Refer to turba/config/sources.php for possible source values
 //
 // You can provide default values this way:
-//   'value' => json_encode('source_one', 'source_two')
+//   'value' => json_encode(array('source_one', 'source_two'))
 $_prefs['search_sources'] = array(
     'value' => ''
 );
index 3f736a4..034560c 100644 (file)
@@ -42,7 +42,7 @@ $_prefs['addressbookselect'] = array(
 // and in the Browse menu item.  The address book name is stored using
 // the source key from sources.php (e.g. "localsql").
 // You can provide default values this way:
-//   'value' => json_encode('source_one', 'source_two')
+//   'value' => json_encode(array('source_one', 'source_two'))
 // If 'value' is empty (''), all address books that the user has permissions
 // to will be listed.
 $_prefs['addressbooks'] = array(
index dcc34a2..cf057f1 100644 (file)
@@ -147,7 +147,7 @@ $_prefs['sourceselect'] = array('type' => 'special');
 // Refer to turba/config/sources.php for possible source values
 //
 // You can provide default values this way:
-//   'value' => json_encode('source_one', 'source_two')
+//   'value' => json_encode(array('source_one', 'source_two'))
 
 $_prefs['search_sources'] = array(
     'value' => ''