summaryrefslogtreecommitdiffstats
path: root/settings/templates/personal.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-13 04:04:48 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-13 05:13:34 +0200
commit4a5ee765cf5030c7d92d88687e886079f6bafb1e (patch)
tree0b87acdf2f21f56dc1b97b063121899f3cae87bc /settings/templates/personal.php
parent67156f87e3757fbd5e692e7d6b2209cfafc6c3cf (diff)
downloadnextcloud-server-4a5ee765cf5030c7d92d88687e886079f6bafb1e.tar.gz
nextcloud-server-4a5ee765cf5030c7d92d88687e886079f6bafb1e.zip
merged admin, help and settings to settings
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r--settings/templates/personal.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
new file mode 100644
index 00000000000..48c3f542018
--- /dev/null
+++ b/settings/templates/personal.php
@@ -0,0 +1,35 @@
+<form id="quota">
+ <fieldset>
+ <legend><?php echo $l->t( 'Account information' );?></legend>
+ <div id="quota_indicator"><div style="width:<?php echo $_['usage_relative'] ?>%;">&nbsp;</div></div>
+ <p><?php echo $l->t( 'You\'re currently using' );?> <?php echo $_['usage_relative'] ?>% (<?php echo $_['usage'] ?>) <?php echo $l->t( 'of your' );?> <?php echo $_['total_space'] ?> <?php echo $l->t( 'space' );?>.</p>
+ </fieldset>
+</form>
+
+<form id="passwordform">
+ <fieldset>
+ <legend><?php echo $l->t( 'Change Password' );?></legend>
+ <div id="passwordchanged"><?php echo $l->t( 'Your password got changed');?></div>
+ <div id="passworderror"></div>
+ <input type="password" id="pass1" name="oldpassword" placeholder="<?php echo $l->t( 'Old password' );?>" />
+ <input type="password" id="pass2" name="password" placeholder="<?php echo $l->t( 'New password' );?>" data-typetoggle="#show" />
+ <input type="checkbox" id="show" name="show" /><label for="show"><?php echo $l->t( 'show' );?></label>
+ <input id="passwordbutton" type="submit" value="<?php echo $l->t( 'Change Password' );?>" />
+ </fieldset>
+</form>
+
+<form id="languageform">
+ <fieldset>
+ <legend><?php echo $l->t( 'Language' );?></legend>
+ <label for=''></label>
+ <select id="languageinput" name='lang'>
+ <?php foreach($_['languages'] as $language):?>
+ <option value='<?php echo $language;?>'><?php echo $language;?></option>
+ <?php endforeach;?>
+ </select>
+ </fieldset>
+</form>
+
+<?php foreach($_['forms'] as $form){
+ echo $form;
+};?>