Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MediaDBViewerAPI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SI-Projekt
MediaDBViewerAPI
Commits
9131746f
Commit
9131746f
authored
Feb 07, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
59e76928
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
api.class.php
api.class.php
+3
-3
No files found.
api.class.php
View file @
9131746f
...
@@ -103,8 +103,8 @@ class MediaDBAPI{
...
@@ -103,8 +103,8 @@ class MediaDBAPI{
}
}
if
(
isset
(
$GET_arr
[
'Suche'
])){
if
(
isset
(
$GET_arr
[
'Suche'
])){
/* Work a round für Android 5 Geräte*/
/* Work a round für Android 5 Geräte*/
$SucheWort
=
json
_decode
(
'"'
.
$GET_arr
[
'Suche'
]
.
'"'
);
$SucheWort
=
utf8
_decode
(
'"'
.
$GET_arr
[
'Suche'
]
.
'"'
);
$SucheWort
=
str_replace
(
"\u00e4"
,
"ä"
,
$SucheWort
);
/*
$SucheWort = str_replace("\u00e4", "ä", $SucheWort);
$SucheWort = str_replace("\u00f6", "ö", $SucheWort);
$SucheWort = str_replace("\u00f6", "ö", $SucheWort);
$SucheWort = str_replace("\u00fc", "ü", $SucheWort);
$SucheWort = str_replace("\u00fc", "ü", $SucheWort);
$SucheWort = str_replace("\u00c4", "Ä", $SucheWort);
$SucheWort = str_replace("\u00c4", "Ä", $SucheWort);
...
@@ -117,7 +117,7 @@ class MediaDBAPI{
...
@@ -117,7 +117,7 @@ class MediaDBAPI{
$SucheWort = str_replace("%C3%84", "Ä", $SucheWort);
$SucheWort = str_replace("%C3%84", "Ä", $SucheWort);
$SucheWort = str_replace("%C3%96", "Ö", $SucheWort);
$SucheWort = str_replace("%C3%96", "Ö", $SucheWort);
$SucheWort = str_replace("%C3%9C", "Ü", $SucheWort);
$SucheWort = str_replace("%C3%9C", "Ü", $SucheWort);
*/
$Suche
=
" (`name` LIKE '%"
.
$SucheWort
.
"%' OR `md5` LIKE '%"
.
$SucheWort
.
"%' OR `comment` LIKE '%"
.
$SucheWort
.
"%')"
;
$Suche
=
" (`name` LIKE '%"
.
$SucheWort
.
"%' OR `md5` LIKE '%"
.
$SucheWort
.
"%' OR `comment` LIKE '%"
.
$SucheWort
.
"%')"
;
...
...
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