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
16097037
Commit
16097037
authored
9 years ago
by
Thomas Müller
Browse files
Options
Downloads
Plain Diff
Merge pull request #21608 from owncloud/better-setting-templates
improve personal page template
parents
df2abda8
866b4b30
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
settings/templates/personal.php
+5
-23
5 additions, 23 deletions
settings/templates/personal.php
with
5 additions
and
23 deletions
settings/templates/personal.php
+
5
−
23
View file @
16097037
...
...
@@ -4,8 +4,8 @@
* See the COPYING-README file.
*/
/** @var $_
array
*/
/** @var
$_['urlGenerator']
*/
/** @var $_
mixed[]|\OCP\IURLGenerator[]
*/
/** @var
\OC_Defaults $theme
*/
?>
<div
id=
"app-navigation"
>
...
...
@@ -22,8 +22,6 @@
<div
id=
"app-content"
>
<div
id=
"quota"
class=
"section"
>
<div
style=
"width:
<?php
p
(
$_
[
'usage_relative'
]);
?>
%"
<?php
if
(
$_
[
'usage_relative'
]
>
80
)
:
?>
class=
"quota-warning"
<?php
endif
;
?>
>
...
...
@@ -34,8 +32,6 @@
</div>
</div>
<?php
if
(
$_
[
'enableAvatars'
])
:
?>
<form
id=
"avatar"
class=
"section"
method=
"post"
action=
"
<?php
p
(
\OC
::
$server
->
getURLGenerator
()
->
linkToRoute
(
'core.avatar.postAvatar'
));
?>
"
>
<h2>
<?php
p
(
$l
->
t
(
'Profile picture'
));
?>
</h2>
...
...
@@ -60,8 +56,6 @@
</form>
<?php
endif
;
?>
<?php
if
(
$_
[
'displayNameChangeSupported'
])
{
?>
...
...
@@ -86,8 +80,6 @@ if($_['displayNameChangeSupported']) {
}
?>
<?php
if
(
$_
[
'passwordChangeSupported'
])
{
?>
...
...
@@ -112,8 +104,6 @@ if($_['passwordChangeSupported']) {
}
?>
<div
id=
"groups"
class=
"section"
>
<h2>
<?php
p
(
$l
->
t
(
'Groups'
));
?>
</h2>
<p>
<?php
p
(
$l
->
t
(
'You are member of the following groups:'
));
?>
</p>
...
...
@@ -122,8 +112,6 @@ if($_['passwordChangeSupported']) {
</p>
</div>
<?php
if
(
$_
[
'passwordChangeSupported'
])
{
script
(
'jquery-showpassword'
);
...
...
@@ -151,8 +139,6 @@ if($_['passwordChangeSupported']) {
}
?>
<form
class=
"section"
>
<h2>
<label
for=
"languageinput"
>
<?php
p
(
$l
->
t
(
'Language'
));
?>
</label>
...
...
@@ -181,8 +167,6 @@ if($_['passwordChangeSupported']) {
<?php
endif
;
?>
</form>
<div
id=
"clientsbox"
class=
"section clientsbox"
>
<h2>
<?php
p
(
$l
->
t
(
'Get the apps to sync your files'
));
?>
</h2>
<a
href=
"
<?php
p
(
$_
[
'clients'
][
'desktop'
]);
?>
"
target=
"_blank"
>
...
...
@@ -214,8 +198,6 @@ if($_['passwordChangeSupported']) {
<?php
}
?>
</div>
<?php
foreach
(
$_
[
'forms'
]
as
$form
)
{
if
(
isset
(
$form
[
'form'
]))
{
?>
<div
id=
"
<?php
isset
(
$form
[
'anchor'
])
?
p
(
$form
[
'anchor'
])
:
p
(
''
);
?>
"
>
<?php
print_unescaped
(
$form
[
'form'
]);
?>
</div>
...
...
@@ -227,10 +209,12 @@ if($_['passwordChangeSupported']) {
<h2>
<?php
p
(
$l
->
t
(
'SSL root certificates'
));
?>
</h2>
<table
id=
"sslCertificate"
class=
"grid"
>
<thead>
<tr>
<th>
<?php
p
(
$l
->
t
(
'Common Name'
));
?>
</th>
<th>
<?php
p
(
$l
->
t
(
'Valid until'
));
?>
</th>
<th>
<?php
p
(
$l
->
t
(
'Issued By'
));
?>
</th>
<th/>
<th></th>
</tr>
</thead>
<tbody>
<?php
foreach
(
$_
[
'certs'
]
as
$rootCert
)
:
/**@var \OCP\ICertificate $rootCert*/
?>
...
...
@@ -268,6 +252,4 @@ if($_['passwordChangeSupported']) {
<p>
<?php
include
(
'settings.development.notice.php'
);
?>
</p>
</div>
</div>
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