@@ -52,7 +52,10 @@ discard block |
||
52 | 52 | <p> |
53 | 53 | <input type="checkbox" name="passman_sharing_enabled" |
54 | 54 | id="passman_sharing_enabled" class="checkbox" |
55 | - value="1" <?php if ($_['user_sharing_enabled']) print_unescaped('checked="checked"'); ?> /> |
|
55 | + value="1" <?php if ($_['user_sharing_enabled']) { |
|
56 | + print_unescaped('checked="checked"'); |
|
57 | +} |
|
58 | +?> /> |
|
56 | 59 | <label for="passman_sharing_enabled"> |
57 | 60 | <?php p($l->t('Allow users on this server to share passwords with other users')); ?> |
58 | 61 | </label> |
@@ -85,16 +88,28 @@ discard block |
||
85 | 88 | <p> |
86 | 89 | <label for="vault_key_strength">Minimum vault key strength:</label> |
87 | 90 | <select name="vault_key_strength" id="vault_key_strength"> |
88 | - <option value="1" <?php if ($_['vault_key_strength'] === 1) print_unescaped('selected="selected"'); ?>> |
|
91 | + <option value="1" <?php if ($_['vault_key_strength'] === 1) { |
|
92 | + print_unescaped('selected="selected"'); |
|
93 | +} |
|
94 | +?>> |
|
89 | 95 | Poor |
90 | 96 | </option> |
91 | - <option value="2" <?php if ($_['vault_key_strength'] === 2) print_unescaped('selected="selected"'); ?>> |
|
97 | + <option value="2" <?php if ($_['vault_key_strength'] === 2) { |
|
98 | + print_unescaped('selected="selected"'); |
|
99 | +} |
|
100 | +?>> |
|
92 | 101 | Weak |
93 | 102 | </option> |
94 | - <option value="3" <?php if ($_['vault_key_strength'] === 3) print_unescaped('selected="selected"'); ?>> |
|
103 | + <option value="3" <?php if ($_['vault_key_strength'] === 3) { |
|
104 | + print_unescaped('selected="selected"'); |
|
105 | +} |
|
106 | +?>> |
|
95 | 107 | Good |
96 | 108 | </option> |
97 | - <option value="4" <?php if ($_['vault_key_strength'] === 4) print_unescaped('selected="selected"'); ?>> |
|
109 | + <option value="4" <?php if ($_['vault_key_strength'] === 4) { |
|
110 | + print_unescaped('selected="selected"'); |
|
111 | +} |
|
112 | +?>> |
|
98 | 113 | Strong |
99 | 114 | </option> |
100 | 115 | </select> |