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
7800017b
Commit
7800017b
authored
Feb 19, 2018
by
Aria Givi
Browse files
Suchfokus wird ins Suchfeld übernommen
parent
a1cdbe29
Changes
3
Show whitespace changes
Inline
Side-by-side
app/MetaGer.php
View file @
7800017b
...
...
@@ -496,6 +496,7 @@ class MetaGer
$sumaCount
=
0
;
$isCustomSearch
=
$this
->
startsWith
(
$this
->
fokus
,
'focus_'
);
# Im Falle einer Custom-Suche ohne mindestens einer selektierter Suchmaschine wird eine Web-Suche durchgeführt
if
(
$isCustomSearch
&&
!
$this
->
atLeastOneSearchengineSelected
(
$request
))
{
$isCustomSearch
=
false
;
...
...
resources/views/modals/create-focus-modal.blade.php
View file @
7800017b
...
...
@@ -9,11 +9,19 @@
@
lang
(
"index.focus-creator.head"
)
</
h4
>
<
p
class
=
"text-muted"
>@
lang
(
"index.focus-creator.description"
)
</
p
>
<
div
class
=
"clearfix"
>
<
div
class
=
"settings-modal-buttons pull-right"
>
<
button
type
=
"submit"
form
=
"customSearchForm"
class
=
"save-focus-btn btn btn-primary"
>
@
lang
(
'index.focus-creator.save'
)
</
button
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"modal-body"
>
<
form
id
=
"customSearchForm"
method
=
"GET"
action
=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "
/
meta
/
meta
.
ger3
") }}"
accept
-
charset
=
"UTF-8"
>
<
input
type
=
"hidden"
name
=
"eingabe"
value
=
"@if(isset(
$eingabe
))
{
{$eingabe}
}
@endif"
>
<
input
type
=
"hidden"
name
=
"focus"
value
=
"focus_custom"
id
=
"custom-focus-flag"
>
<
input
type
=
"hidden"
name
=
"encoding"
value
=
"utf8"
>
<
input
type
=
"hidden"
name
=
"focus"
value
=
"focus_custom"
>
@
foreach
(
App\Http\Controllers\FokiLoader
::
loadFoki
()
as
$fokus
=>
$sumas
)
<
div
class
=
"headingGroup {{
$fokus
}}"
>
<
input
type
=
"checkbox"
id
=
"toggle-{{
$fokus
}}-dropdown"
class
=
"focus-dropdown-toggle"
checked
>
...
...
resources/views/parts/searchbar.blade.php
View file @
7800017b
...
...
@@ -23,6 +23,12 @@
@
if
(
isset
(
$option_values
))
<
input
type
=
"hidden"
name
=
"time"
value
=
{{
$time
}}
>
@
endif
@
if
(
isset
(
$focusPages
)
&&
!
empty
(
$focusPages
))
<
input
type
=
"hidden"
name
=
"focus"
value
=
"focus_custom"
>
@
foreach
(
$focusPages
as
$fp
)
<
input
type
=
"hidden"
name
=
{{
$fp
}}
value
=
"on"
>
@
endforeach
@
endif
@
if
(
isset
(
$theme
))
<
input
type
=
"hidden"
name
=
"theme"
value
=
{{
$theme
}}
>
@
endif
...
...
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