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
299a8285
Commit
299a8285
authored
11 years ago
by
Raghu Nayyar
Browse files
Options
Downloads
Plain Diff
Merge pull request #6278 from nickvergessen/issue/6263
[issue/6263] layout.user.php code is not valid markup
parents
271088a7
17c00f34
Branches
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/css/styles.css
+1
-1
1 addition, 1 deletion
core/css/styles.css
core/templates/layout.user.php
+19
-14
19 additions, 14 deletions
core/templates/layout.user.php
with
20 additions
and
15 deletions
core/css/styles.css
+
1
−
1
View file @
299a8285
...
...
@@ -686,7 +686,7 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
/* Apps management as sticky footer, less obtrusive in the list */
#navigation
.wrapper
{
min-height
:
100%
;
margin
:
0
auto
-
7
2px
;
margin
:
0
auto
-
8
2px
0
;
}
#apps-management
,
#navigation
.push
{
height
:
72px
;
...
...
This diff is collapsed.
Click to expand it.
core/templates/layout.user.php
+
19
−
14
View file @
299a8285
...
...
@@ -48,15 +48,16 @@
<a
href=
"
<?php
print_unescaped
(
link_to
(
''
,
'index.php'
));
?>
"
title=
""
id=
"owncloud"
><img
class=
"svg"
src=
"
<?php
print_unescaped
(
image_path
(
''
,
'logo-wide.svg'
));
?>
"
alt=
"
<?php
p
(
$theme
->
getName
());
?>
"
/></a>
<div
id=
"logo-claim"
style=
"display:none;"
>
<?php
p
(
$theme
->
getLogoClaim
());
?>
</div>
<
ul
id=
"settings"
class=
"svg"
>
<
div
id=
"settings"
class=
"svg"
>
<span
id=
"expand"
tabindex=
"0"
role=
"link"
>
<span
id=
"expandDisplayName"
>
<?php
p
(
trim
(
$_
[
'user_displayname'
])
!=
''
?
$_
[
'user_displayname'
]
:
$_
[
'user_uid'
])
?>
</span>
<img
class=
"svg"
src=
"
<?php
print_unescaped
(
image_path
(
''
,
'actions/caret.svg'
));
?>
"
/>
<?php
if
(
$_
[
'enableAvatars'
])
:
?>
<div
class=
"avatardiv"
></div>
<?php
endif
;
?>
<img
class=
"svg"
alt=
""
src=
"
<?php
print_unescaped
(
image_path
(
''
,
'actions/caret.svg'
));
?>
"
/>
</span>
<?php
if
(
$_
[
'enableAvatars'
])
:
?>
<div
class=
"avatardiv"
></div>
<?php
endif
;
?>
<div
id=
"expanddiv"
>
<ul>
<?php
foreach
(
$_
[
'settingsnavigation'
]
as
$entry
)
:
?>
<li>
<a
href=
"
<?php
print_unescaped
(
$entry
[
'href'
]);
?>
"
title=
""
...
...
@@ -72,8 +73,9 @@
<?php
p
(
$l
->
t
(
'Log out'
));
?>
</a>
</li>
</ul>
</div>
</
ul
>
</
div
>
<form
class=
"searchbox"
action=
"#"
method=
"post"
>
<input
id=
"searchbox"
class=
"svg"
type=
"search"
name=
"query"
...
...
@@ -83,37 +85,40 @@
</div></header>
<nav><div
id=
"navigation"
>
<
ul
id=
"apps"
class=
"svg"
>
<
div
class=
"wrapper"
>
<!-- for sticky footer of apps management -->
<
div
id=
"apps"
class=
"svg"
>
<
ul
class=
"wrapper"
>
<!-- for sticky footer of apps management -->
<?php
foreach
(
$_
[
'navigation'
]
as
$entry
)
:
?>
<li
data-id=
"
<?php
p
(
$entry
[
'id'
]);
?>
"
>
<a
href=
"
<?php
print_unescaped
(
$entry
[
'href'
]);
?>
"
title=
""
<?php
if
(
$entry
[
'active'
]
)
:
?>
class=
"active"
<?php
endif
;
?>
>
<img
class=
"icon svg"
src=
"
<?php
print_unescaped
(
$entry
[
'icon'
]);
?>
"
/>
<img
class=
"icon svg"
alt=
""
src=
"
<?php
print_unescaped
(
$entry
[
'icon'
]);
?>
"
/>
<span>
<?php
p
(
$entry
[
'name'
]);
?>
</span>
</a>
</li>
<?php
endforeach
;
?>
<?php
if
(
OC_User
::
isAdminUser
(
OC_User
::
getUser
()))
:
?>
<
div
class=
"push"
></
div
>
<!-- for
for
sticky footer of apps management -->
<
li
class=
"push"
></
li
>
<!-- for sticky footer of apps management -->
<?php
endif
;
?>
</
div
>
</
ul
>
<!-- show "More apps" link to app administration directly in app navigation, as sticky footer -->
<?php
if
(
OC_User
::
isAdminUser
(
OC_User
::
getUser
()))
:
?>
<li
id=
"apps-management"
>
<ul
id=
"apps-management"
>
<li>
<a
href=
"
<?php
print_unescaped
(
OC_Helper
::
linkToRoute
(
'settings_apps'
)
.
'?installed'
);
?>
"
title=
""
<?php
if
(
$_
[
'appsmanagement_active'
]
)
:
?>
class=
"active"
<?php
endif
;
?>
>
<img
class=
"icon svg"
src=
"
<?php
print_unescaped
(
OC_Helper
::
imagePath
(
'settings'
,
'apps.svg'
));
?>
"
/>
<img
class=
"icon svg"
alt=
""
src=
"
<?php
print_unescaped
(
OC_Helper
::
imagePath
(
'settings'
,
'apps.svg'
));
?>
"
/>
<span>
<?php
p
(
$l
->
t
(
'Apps'
));
?>
</span>
</a>
</li>
</ul>
<?php
endif
;
?>
</
ul
>
</
div
>
</div></nav>
<div
id=
"content-wrapper"
>
...
...
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