Browse Source

link back to top on Personal page, fix #14519

tags/v8.1.0alpha1
Jan-Christoph Borchardt 9 years ago
parent
commit
731c90a033
3 changed files with 8 additions and 3 deletions
  1. 4
    0
      settings/css/settings.css
  2. 3
    2
      settings/personal.php
  3. 1
    1
      settings/templates/personal.php

+ 4
- 0
settings/css/settings.css View File

@@ -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;

+ 3
- 2
settings/personal.php View File

@@ -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');


+ 1
- 1
settings/templates/personal.php View File

@@ -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')); ?>"

Loading…
Cancel
Save