From 84eb18b01172014919f6a257fd9323fb5cfcc59b Mon Sep 17 00:00:00 2001 From: Andreas Jacobsen Date: Sat, 15 Jul 2017 09:30:38 +0200 Subject: [PATCH] Personal settings file changed --- settings/templates/personal.php | 422 ------------------ .../settings/personal/personal.info.php | 347 ++++++++++++++ 2 files changed, 347 insertions(+), 422 deletions(-) delete mode 100644 settings/templates/personal.php create mode 100644 settings/templates/settings/personal/personal.info.php diff --git a/settings/templates/personal.php b/settings/templates/personal.php deleted file mode 100644 index 0fe078bae8..0000000000 --- a/settings/templates/personal.php +++ /dev/null @@ -1,422 +0,0 @@ - - * This file is licensed under the Affero General Public License version 3 or later. - * See the COPYING-README file. - */ - -/** @var $_ mixed[]|\OCP\IURLGenerator[] */ -/** @var \OCP\Defaults $theme */ -?> - -
- -
- -
- -
-
80): ?> class="quota-warning" > -

- - t('You are using %s of %s', - [$_['usage'], $_['total_space']]));?> - - t('You are using %s of %s (%s %%)', - [$_['usage'], $_['total_space'], $_['usage_relative']]));?> - -

-
-
- -
-
-
-

- - -

-
-
- - - -
- - -

t('png or jpg, max. 20 MB')); ?>

- - t('Picture provided by original account')); ?> - -
- - -
- -
-
-
-

- - -

- - value="" - autocomplete="on" autocapitalize="none" autocorrect="off" /> -
-
-
-

- - -

-
- -
- - placeholder="t('Your email address')) ?>" - autocomplete="on" autocapitalize="none" autocorrect="off" /> - -
- t('For password reset and notifications')); ?> - -
- -
-
-

- - -

- - value="" - placeholder="t('Your phone number')); ?>" - autocomplete="on" autocapitalize="none" autocorrect="off" /> -
- - -
-
-

- - -

- - placeholder="t('Your postal address')); ?>" - value="" - autocomplete="on" autocapitalize="none" autocorrect="off" /> -
- - -
-
-

- - -

- -
- - > - -
- - - /> -
- - -
-
-

- - -

- -
- - > - -
- - - /> -
- -
- -
- -
-
-
-

t('Groups')); ?>

-

t('You are member of the following groups:')); ?>

-

- -

-
-
-
-
-
- -
-

- -

- -
- - t('Help translate'));?> - -
- -
-
- -
-

t('Password'));?>

- -
- - -
-
- - - -
-
- -
-
- -
- -
-
- -
- - -
-

t('Get the apps to sync your files'));?>

- - <?php p($l->t('Desktop client'));?> - - - <?php p($l->t('Android app'));?> - - - <?php p($l->t('iOS app'));?> - - -

- ', - '', - ], - $l->t('If you want to support the project {contributeopen}join development{linkclose} or {contributeopen}spread the word{linkclose}!'))); ?> -

- - -

t('Show First Run Wizard again'));?>

- -
- -
-

t('Security'));?>

-

t('Web, desktop, mobile clients and app specific passwords that currently have access to your account.'));?>

- - - - - - - - - - -
t('Device'));?>t('Last activity'));?>
- -

t('App passwords'));?>

-

t('Here you can generate individual passwords for apps so you don’t have to give out your password. You can revoke them individually too.'));?>

- -
- - -
- -
- - -
- - -
-

t('Version'));?>

-

getTitle()); ?>

-

-
- -
diff --git a/settings/templates/settings/personal/personal.info.php b/settings/templates/settings/personal/personal.info.php new file mode 100644 index 0000000000..d22e9f8ea9 --- /dev/null +++ b/settings/templates/settings/personal/personal.info.php @@ -0,0 +1,347 @@ + + * + * @author Arthur Schiwon + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ + +/** @var \OCP\IL10N $l */ +/** @var array $_ */ + +script('settings', [ + 'usersettings', + 'federationsettingsview', + 'federationscopemenu', + 'settings/personalInfo', +]); +vendor_script('strengthify/jquery.strengthify'); +vendor_style('strengthify/strengthify'); +vendor_script('jcrop/js/jquery.Jcrop'); +vendor_style('jcrop/css/jquery.Jcrop'); + +?> + +
+
80): ?> class="quota-warning" > +

+ + t('You are using %s of %s', + [$_['usage'], $_['total_space']]));?> + + t('You are using %s of %s (%s %%)', + [$_['usage'], $_['total_space'], $_['usage_relative']]));?> + +

+
+
+ +
+
+
+

+ + +

+
+
+ + + +
+ + +

t('png or jpg, max. 20 MB')); ?>

+ + t('Picture provided by original account')); ?> + +
+ + +
+ +
+
+
+

+ + +

+ + value="" + autocomplete="on" autocapitalize="none" autocorrect="off" /> +
+
+
+

+ + +

+
+ +
+ + placeholder="t('Your email address')) ?>" + autocomplete="on" autocapitalize="none" autocorrect="off" /> + +
+ t('For password reset and notifications')); ?> + +
+ +
+
+

+ + +

+ + value="" + placeholder="t('Your phone number')); ?>" + autocomplete="on" autocapitalize="none" autocorrect="off" /> +
+ + +
+
+

+ + +

+ + placeholder="t('Your postal address')); ?>" + value="" + autocomplete="on" autocapitalize="none" autocorrect="off" /> +
+ + +
+
+

+ + +

+ +
+ + > + +
+ + + /> +
+ + +
+
+

+ + +

+ +
+ + > + +
+ + + /> +
+ +
+ +
+ +
+
+
+

t('Groups')); ?>

+

t('You are member of the following groups:')); ?>

+

+ +

+
+
+
+
+
+ +
+

+ +

+ +
+ + t('Help translate'));?> + +
+ +
+
+ +
+

t('Password'));?>

+ +
+ + +
+
+ + + +
+
+ +
+
+ +
+ +
+
+ +
\ No newline at end of file