Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory
Commits
73e7b7fb
Verified
Commit
73e7b7fb
authored
1 month ago
by
dockx thibault
Browse files
Options
Download
Patches
Plain Diff
Feat(ihtml) - adapts to php 82
Adapt ihtml classes to php 82
parent
e7456f50
core-php8
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
html/autocomplete.php
+3
-3
html/autocomplete.php
with
3 additions
and
3 deletions
+3
-3
html/autocomplete.php
+
3
−
3
View file @
73e7b7fb
...
@@ -50,15 +50,15 @@ if (isset($_GET['type']) && $_GET['type'] == "base") {
...
@@ -50,15 +50,15 @@ if (isset($_GET['type']) && $_GET['type'] == "base") {
if
(
!
isset
(
$pathMapping
[
$dn
]))
{
if
(
!
isset
(
$pathMapping
[
$dn
]))
{
continue
;
continue
;
}
}
if
(
mb_stristr
((
string
)
$info
[
'name'
],
$search
)
!==
FALSE
)
{
if
(
mb_stristr
((
string
)
$info
[
'name'
],
(
string
)
$search
)
!==
FALSE
)
{
$res
.
=
"<li>"
.
mark
(
$search
,
$pathMapping
[
$dn
])
.
(
$info
[
'description'
]
==
''
?
""
:
"<span class='informal'> ["
.
mark
(
$search
,
$info
[
'description'
])
.
"]</span>"
)
.
"</li>"
;
$res
.
=
"<li>"
.
mark
(
$search
,
$pathMapping
[
$dn
])
.
(
$info
[
'description'
]
==
''
?
""
:
"<span class='informal'> ["
.
mark
(
$search
,
$info
[
'description'
])
.
"]</span>"
)
.
"</li>"
;
continue
;
continue
;
}
}
if
(
mb_stristr
((
string
)
$info
[
'description'
],
$search
)
!==
FALSE
)
{
if
(
mb_stristr
((
string
)
$info
[
'description'
],
(
string
)
$search
)
!==
FALSE
)
{
$res
.
=
"<li>"
.
mark
(
$search
,
$pathMapping
[
$dn
])
.
(
$info
[
'description'
]
==
''
?
""
:
"<span class='informal'> ["
.
mark
(
$search
,
$info
[
'description'
])
.
"]</span>"
)
.
"</li>"
;
$res
.
=
"<li>"
.
mark
(
$search
,
$pathMapping
[
$dn
])
.
(
$info
[
'description'
]
==
''
?
""
:
"<span class='informal'> ["
.
mark
(
$search
,
$info
[
'description'
])
.
"]</span>"
)
.
"</li>"
;
continue
;
continue
;
}
}
if
(
mb_stristr
(
$pathMapping
[
$dn
],
$search
)
!==
FALSE
)
{
if
(
mb_stristr
(
$pathMapping
[
$dn
],
(
string
)
$search
)
!==
FALSE
)
{
$res
.
=
"<li>"
.
mark
(
$search
,
$pathMapping
[
$dn
])
.
(
$info
[
'description'
]
==
''
?
""
:
"<span class='informal'> ["
.
mark
(
$search
,
$info
[
'description'
])
.
"]</span>"
)
.
"</li>"
;
$res
.
=
"<li>"
.
mark
(
$search
,
$pathMapping
[
$dn
])
.
(
$info
[
'description'
]
==
''
?
""
:
"<span class='informal'> ["
.
mark
(
$search
,
$info
[
'description'
])
.
"]</span>"
)
.
"</li>"
;
continue
;
continue
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets