Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
e2969062
Commit
e2969062
authored
10 years ago
by
Vincent Petry
Browse files
Options
Downloads
Plain Diff
Merge pull request #7969 from Xenopathic/files_external_fix
Fix error log spam
parents
a2efdb87
eaad6a4e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/files_external/templates/settings.php
+4
-4
4 additions, 4 deletions
apps/files_external/templates/settings.php
with
4 additions
and
4 deletions
apps/files_external/templates/settings.php
+
4
−
4
View file @
e2969062
...
...
@@ -16,16 +16,16 @@
<tbody
width=
"100%"
>
<?php
$_
[
'mounts'
]
=
array_merge
(
$_
[
'mounts'
],
array
(
''
=>
array
()));
?>
<?php
foreach
(
$_
[
'mounts'
]
as
$mount
)
:
?>
<tr
<?php
print_unescaped
((
$mount
[
'mountpoint'
]
!==
''
)
?
'class="'
.
OC_Util
::
sanitizeHTML
(
$mount
[
'class'
])
.
'"'
:
'id="addMountPoint"'
);
?>
>
<tr
<?php
print_unescaped
(
isset
(
$mount
[
'mountpoint'
])
?
'class="'
.
OC_Util
::
sanitizeHTML
(
$mount
[
'class'
])
.
'"'
:
'id="addMountPoint"'
);
?>
>
<td
class=
"status"
>
<?php
if
(
isset
(
$mount
[
'status'
]))
:
?>
<span
class=
"
<?php
p
((
$mount
[
'status'
])
?
'success'
:
'error'
);
?>
"
></span>
<?php
endif
;
?>
</td>
<td
class=
"mountPoint"
><input
type=
"text"
name=
"mountPoint"
value=
"
<?php
p
(
$mount
[
'mountpoint'
]);
?>
"
value=
"
<?php
p
(
isset
(
$mount
[
'mountpoint'
])
?
$mount
[
'mountpoint'
]
:
''
)
;
?>
"
placeholder=
"
<?php
p
(
$l
->
t
(
'Folder name'
));
?>
"
/></td>
<?php
if
(
$mount
[
'mountpoint'
]
==
''
)
:
?>
<?php
if
(
!
isset
(
$mount
[
'mountpoint'
]
)
)
:
?>
<td
class=
"backend"
>
<select
id=
"selectBackend"
data-configurations=
'
<?php
print_unescaped
(
json_encode
(
$_
[
'backends'
]));
?>
'
>
<option
value=
""
disabled
selected
...
...
@@ -113,7 +113,7 @@
</select>
</td>
<?php
endif
;
?>
<td
<?php
if
(
$mount
[
'mountpoint'
]
!=
''
)
:
?>
class=
"remove"
<td
<?php
if
(
isset
(
$mount
[
'mountpoint'
]
)
)
:
?>
class=
"remove"
<?php
else
:
?>
style=
"visibility:hidden;"
<?php
endif
?>
><img
alt=
"
<?php
p
(
$l
->
t
(
'Delete'
));
?>
"
title=
"
<?php
p
(
$l
->
t
(
'Delete'
));
?>
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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