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
open-source
MetaGer
Commits
879b9de4
Commit
879b9de4
authored
Sep 22, 2016
by
Karl
Browse files
Jetzt funktioniert die Anpassung auch für Nachrichten
parent
9f010b03
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/MetaGer.php
View file @
879b9de4
...
...
@@ -554,11 +554,19 @@ class MetaGer
# Wenn foki für diese Suchmaschine angegeben sind
$focuses
=
explode
(
","
,
$suma
[
'type'
]
->
__toString
());
foreach
(
$focuses
as
$foc
)
{
$foki
[
$foc
][]
=
$suma
[
'name'
]
->
__toString
();
if
(
isset
(
$suma
[
'minismCollection'
]))
{
$foki
[
$foc
][]
=
"minism"
;
}
else
{
$foki
[
$foc
][]
=
$suma
[
'name'
]
->
__toString
();
}
}
}
else
{
# Wenn keine foki für diese Suchmaschine angegeben sind
$foki
[
"andere"
][]
=
$suma
[
'name'
]
->
__toString
();
if
(
isset
(
$suma
[
'minismCollection'
]))
{
$foki
[
"andere"
][]
=
"minism"
;
}
else
{
$foki
[
"andere"
][]
=
$suma
[
'name'
]
->
__toString
();
}
}
}
}
...
...
Write
Preview
Markdown
is supported
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