Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
5ec547a0
Commit
5ec547a0
authored
Mar 23, 2015
by
Morris Jobke
Browse files
Merge pull request #15103 from owncloud/link-personal
link back to top on Personal page
parents
a9b4f0d8
f899d77b
Changes
3
Hide whitespace changes
Inline
Side-by-side
settings/css/settings.css
View file @
5ec547a0
...
...
@@ -14,6 +14,10 @@ input#openid, input#webdav { width:20em; }
}
/* Sync clients */
.clientsbox
{
padding-top
:
30px
;
margin-top
:
-30px
;
}
.clientsbox
h2
{
font-size
:
20px
;
margin
:
35px
0
10px
;
...
...
settings/personal.php
View file @
5ec547a0
...
...
@@ -108,8 +108,9 @@ $tmpl->assign('groups', $groups2);
// add hardcoded forms from the template
$l
=
OC_L10N
::
get
(
'settings'
);
$formsAndMore
=
array
();
$formsAndMore
[]
=
array
(
'anchor'
=>
'passwordform'
,
'section-name'
=>
$l
->
t
(
'Personal Info'
)
);
$formsAndMore
=
[];
$formsAndMore
[]
=
[
'anchor'
=>
'clientsbox'
,
'section-name'
=>
$l
->
t
(
'Sync clients'
)];
$formsAndMore
[]
=
[
'anchor'
=>
'passwordform'
,
'section-name'
=>
$l
->
t
(
'Personal info'
)];
$forms
=
OC_App
::
getForms
(
'personal'
);
...
...
settings/templates/personal.php
View file @
5ec547a0
...
...
@@ -21,7 +21,7 @@
<div
id=
"app-content"
>
<div
class=
"clientsbox center"
>
<div
id=
"clientsbox"
class=
"clientsbox center"
>
<h2>
<?php
p
(
$l
->
t
(
'Get the apps to sync your files'
));
?>
</h2>
<a
href=
"
<?php
p
(
$_
[
'clients'
][
'desktop'
]);
?>
"
target=
"_blank"
>
<img
src=
"
<?php
print_unescaped
(
OCP\Util
::
imagePath
(
'core'
,
'desktopapp.png'
));
?>
"
...
...
@@ -94,7 +94,7 @@ if($_['displayNameChangeSupported']) {
?>
<form
id=
"displaynameform"
class=
"section"
>
<h2>
<label
for=
"displayName"
>
<?php
echo
$l
->
t
(
'Full
N
ame'
);
?>
</label>
<label
for=
"displayName"
>
<?php
echo
$l
->
t
(
'Full
n
ame'
);
?>
</label>
</h2>
<input
type=
"text"
id=
"displayName"
name=
"displayName"
value=
"
<?php
p
(
$_
[
'displayName'
])
?>
"
...
...
@@ -106,7 +106,7 @@ if($_['displayNameChangeSupported']) {
}
else
{
?>
<div
class=
"section"
>
<h2>
<?php
echo
$l
->
t
(
'Full
N
ame'
);
?>
</h2>
<h2>
<?php
echo
$l
->
t
(
'Full
n
ame'
);
?>
</h2>
<span>
<?php
if
(
isset
(
$_
[
'displayName'
][
0
]))
{
p
(
$_
[
'displayName'
]);
}
else
{
p
(
$l
->
t
(
'No display name set'
));
}
?>
</span>
</div>
<?php
...
...
@@ -236,7 +236,7 @@ if($_['passwordChangeSupported']) {
</table>
<form
class=
"uploadButton"
method=
"post"
action=
"
<?php
p
(
\
OC_Helper
::
linkToRoute
(
'settings_cert_post'
));
?>
"
target=
"certUploadFrame"
>
<input
type=
"file"
id=
"rootcert_import"
name=
"rootcert_import"
class=
"hidden"
>
<input
type=
"button"
id=
"rootcert_import_button"
value=
"
<?php
p
(
$l
->
t
(
'Import
R
oot
C
ertificate'
));
?>
"
/>
<input
type=
"button"
id=
"rootcert_import_button"
value=
"
<?php
p
(
$l
->
t
(
'Import
r
oot
c
ertificate'
));
?>
"
/>
</form>
</div>
...
...
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