Blame view

sources/apps/files_encryption/templates/settings-admin.php 1.62 KB
03e52840d   Kload   Init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
  <form id="encryption">
  	<fieldset class="personalblock">
  
  		<p>
  			<strong><?php p($l->t('Encryption')); ?></strong>
  			<br/>
  		</p>
  
  		<p>
  			<?php p($l->t("Enable encryption passwords recovery key (allow sharing to recovery key):")); ?>
  			<br/>
  			<br/>
  			<input type="password" name="recoveryPassword" id="recoveryPassword"/>
  			<label for="recoveryPassword"><?php p($l->t("Recovery account password")); ?></label>
  			<br/>
  			<input
  				type='radio'
  				name='adminEnableRecovery'
  				value='1'
  				<?php echo($_["recoveryEnabled"] == 1 ? 'checked="checked"' : 'disabled'); ?> />
  			<?php p($l->t("Enabled")); ?>
  			<br/>
  
  			<input
  				type='radio'
  				name='adminEnableRecovery'
  				value='0'
  				<?php echo($_["recoveryEnabled"] == 0 ? 'checked="checked"' : 'disabled'); ?> />
  			<?php p($l->t("Disabled")); ?>
  		</p>
  		<br/><br/>
  
  		<p>
  			<strong><?php p($l->t("Change encryption passwords recovery key:")); ?></strong>
  			<br/><br/>
  			<input
  				type="password"
  				name="changeRecoveryPassword"
  				id="oldRecoveryPassword"
  				<?php echo($_["recoveryEnabled"] == 0 ? 'disabled' : ''); ?> />
  			<label for="oldRecoveryPassword"><?php p($l->t("Old Recovery account password")); ?></label>
  			<br/>
  			<input
  				type="password"
  				name="changeRecoveryPassword"
  				id="newRecoveryPassword"
  				<?php echo($_["recoveryEnabled"] == 0 ? 'disabled' : ''); ?> />
  			<label for="newRecoveryPassword"><?php p($l->t("New Recovery account password")); ?></label>
  			<br/>
  			<button
  				type="button"
  				name="submitChangeRecoveryKey"
  				disabled><?php p($l->t("Change Password")); ?>
  			</button>
  			<span class="msg"></span>
  		</p>
  	</fieldset>
  </form>