nextcloud/settings/templates/index.php

54 lines
1.9 KiB
PHP
Raw Normal View History

<form id="quota">
<fieldset>
2011-06-20 16:51:33 +04:00
<legend><?php echo $l->t( 'Account information' );?></legend>
2011-04-17 15:47:45 +04:00
<div id="quota_indicator"><div style="width:<?php echo $_['usage_relative'] ?>%;">&nbsp;</div></div>
2011-06-20 16:51:33 +04:00
<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>
2011-06-20 16:51:33 +04:00
<legend><?php echo $l->t( 'Change Password' );?></legend>
<div id="passwordchanged"><?php echo $l->t( 'Your password got changed');?></div>
2011-06-20 16:33:02 +04:00
<div id="passworderror"></div>
<p>
2011-06-20 16:51:33 +04:00
<label for="pass1"><?php echo $l->t( 'Old password:' );?></label>
2011-06-20 16:33:02 +04:00
<input type="password" id="pass1" name="oldpassword" />
</p>
<p>
2011-06-20 16:51:33 +04:00
<label for="pass2"><?php echo $l->t( 'New password' );?></label>
2011-06-20 16:33:02 +04:00
<input type="password" id="pass2" name="password" />
</p>
<p>
<input type="checkbox" id="show" name="show" />
2011-06-20 16:51:33 +04:00
<label for="show"><?php echo $l->t( 'Show new password' );?></label>
2011-06-20 16:33:02 +04:00
</p>
<p class="form_footer">
<input id="passwordbutton" class="prettybutton" type="submit" value="Save" />
</p>
</fieldset>
</form>
2011-08-05 18:05:58 +04:00
<?php if($_['hasopenid']):?>
<form id="openidform">
<fieldset>
<legend><?php echo $l->t( 'OpenID' );?></legend>
<p>OpenID identity for <b><?php echo OC_User::getUser();?></b></p>
<p><input name='identity' id='identity' value='<?php echo $_['identity']; ?>'></input></p>
<p><input type='submit' value='Save'></input></p>
</fieldset>
</form>
<?php endif;?>
2011-06-20 16:33:02 +04:00
<form id="languageform">
<fieldset>
2011-06-20 16:51:33 +04:00
<legend><?php echo $l->t( 'Language' );?></legend>
2011-06-20 16:33:02 +04:00
<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>