Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
ded97de8
Commit
ded97de8
authored
13 years ago
by
Jan-Christoph Borchardt
Browse files
Options
Downloads
Patches
Plain Diff
removed excess code
parent
c3503013
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/templates/404.php
+6
-9
6 additions, 9 deletions
core/templates/404.php
core/templates/error.php
+8
-12
8 additions, 12 deletions
core/templates/error.php
with
14 additions
and
21 deletions
core/templates/404.php
+
6
−
9
View file @
ded97de8
...
...
@@ -7,12 +7,9 @@ if(!isset($_)){//also provide standalone error page
exit
;
}
?>
<div
id=
"login"
>
<header><img
src=
"
<?php
echo
image_path
(
''
,
'weather-clear.png'
);
?>
"
alt=
"ownCloud"
/></header>
<ul>
<li
class=
'error'
>
<?php
echo
$l
->
t
(
'Error 404, Cloud not found'
);
?>
<br/>
<p
class=
'hint'
>
<?php
if
(
isset
(
$_
[
'file'
]))
echo
$_
[
'file'
]
?>
</p>
</li>
</ul>
</div>
<ul>
<li
class=
'error'
>
<?php
echo
$l
->
t
(
'Cloud not found'
);
?>
<br/>
<p
class=
'hint'
>
<?php
if
(
isset
(
$_
[
'file'
]))
echo
$_
[
'file'
]
?>
</p>
</li>
</ul>
This diff is collapsed.
Click to expand it.
core/templates/error.php
+
8
−
12
View file @
ded97de8
<div
id=
"login"
>
<header><img
src=
"
<?php
echo
image_path
(
''
,
'owncloud-logo-medium-white.png'
);
?>
"
alt=
"ownCloud"
/></header>
<ul>
<?php
foreach
(
$_
[
"errors"
]
as
$error
)
:
?>
<li
class=
'error'
>
<?php
echo
$error
[
'error'
]
?>
<br/>
<p
class=
'hint'
>
<?php
if
(
isset
(
$error
[
'hint'
]))
echo
$error
[
'hint'
]
?>
</p>
</li>
<?php
endforeach
?>
</ul>
</div>
<ul>
<?php
foreach
(
$_
[
"errors"
]
as
$error
)
:
?>
<li
class=
'error'
>
<?php
echo
$error
[
'error'
]
?>
<br/>
<p
class=
'hint'
>
<?php
if
(
isset
(
$error
[
'hint'
]))
echo
$error
[
'hint'
]
?>
</p>
</li>
<?php
endforeach
?>
</ul>
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