Skip to content

Commit

Permalink
Convert to php
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Jun 27, 2024
1 parent d88402b commit 2f182ee
Show file tree
Hide file tree
Showing 30 changed files with 1,228 additions and 1,198 deletions.
2 changes: 1 addition & 1 deletion lib/midcom/helper/search/config/config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
*/
'single_term_auto_wildcard' => false,

'schemadb_config' => 'file:/midcom/helper/search/config/config_schemadb.inc',
'schemadb_config' => 'file:/midcom/helper/search/config/config_schemadb.php',
35 changes: 0 additions & 35 deletions lib/midcom/helper/search/config/config_schemadb.inc

This file was deleted.

38 changes: 38 additions & 0 deletions lib/midcom/helper/search/config/config_schemadb.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php
return [
'config' => [
'name' => 'config',
'description' => 'Default Configuration Schema', /* This is a topic */
'fields' => [
'results_per_page' => [
'title' => 'results_per_page',
'type' => 'select',
'storage' => 'config',
'widget' => 'select',
'type_config' => [
'options' => [
'' => 'default setting',
'5' => '5',
'10' => '10',
'15' => '15',
'20' => '20',
'30' => '30',
'50' => '50',
]
]
],
'search_help_message' => [
'title' => 'search_help_message',
'type' => 'select',
'storage' => 'config',
'widget' => 'select',
'type_config' => [
'options' => [
'' => 'default setting',
'lucene' => 'Lucene'
]
]
],
]
]
];
2 changes: 1 addition & 1 deletion lib/net/nehmer/blog/config/config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'schemadbs' => [
'file:/net/nehmer/blog/config/schemadb_default.php' => 'Default Schema Database',
],
'schemadb_config' => 'file:/net/nehmer/blog/config/schemadb_config.inc',
'schemadb_config' => 'file:/net/nehmer/blog/config/schemadb_config.php',

'list_from_folders' => null, // List of the event topics displayed in this topic
// Comma-separated list of categories to limit the listing (if empty, all will be listed)
Expand Down
Loading

0 comments on commit 2f182ee

Please sign in to comment.