Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
eaa0099b
Commit
eaa0099b
authored
Mar 25, 2011
by
Richard Mansfield
Browse files
Only show active search plugins in site options drop-down
Signed-off-by:
Richard Mansfield
<
richard.mansfield@catalyst.net.nz
>
parent
51a7c4b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/searchlib.php
View file @
eaa0099b
...
...
@@ -471,7 +471,7 @@ function get_portfolio_items_by_tag($tag, $owner, $limit, $offset, $sort='name',
function
get_search_plugins
()
{
$searchpluginoptions
=
array
();
if
(
$searchplugins
=
get_records_array
(
'search
_installed'
))
{
if
(
$searchplugins
=
plugins
_installed
(
'search
'
))
{
foreach
(
$searchplugins
as
$plugin
)
{
$searchpluginoptions
[
$plugin
->
name
]
=
$plugin
->
name
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment