aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/admin
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-06-10 23:16:45 -0400
committerPaweł Sroka <srokap@gmail.com>2013-11-04 04:24:47 +0100
commite98f933857548be9cd078416a93011ea9c2f3e3a (patch)
tree1ac16234f014062cd881b3a5c2cab74dc78aba00 /views/default/forms/admin
parent550ef1fe32fc8da940c42359f7a6347e65138c85 (diff)
downloadelgg-e98f933857548be9cd078416a93011ea9c2f3e3a.tar.gz
elgg-e98f933857548be9cd078416a93011ea9c2f3e3a.tar.bz2
Allow regenerating site secret
Diffstat (limited to 'views/default/forms/admin')
-rw-r--r--views/default/forms/admin/site/regenerate_secret.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/views/default/forms/admin/site/regenerate_secret.php b/views/default/forms/admin/site/regenerate_secret.php
new file mode 100644
index 000000000..af269b801
--- /dev/null
+++ b/views/default/forms/admin/site/regenerate_secret.php
@@ -0,0 +1,24 @@
+<?php
+
+$strength = $vars['strength'];
+
+?>
+<p><?php echo elgg_echo('admin:site:secret:intro'); ?></p>
+
+<table class="elgg-table">
+ <tr>
+ <th><?php echo elgg_echo('site_secret:current_strength'); ?></th>
+ <td class="elgg-strength-<?php echo $strength; ?>">
+ <h4><?php echo elgg_echo("site_secret:strength:$strength"); ?></h4>
+ <div><?php echo elgg_echo("site_secret:strength_msg:$strength"); ?></div>
+ </td>
+ </tr>
+</table>
+
+<div class="elgg-foot">
+ <?php echo elgg_view('input/submit', array(
+ 'value' => elgg_echo('admin:site:secret:regenerate'),
+ 'class' => 'elgg-requires-confirmation elgg-button elgg-button-submit',
+ )); ?>
+ <p class="elgg-text-help mts"><?php echo elgg_echo('admin:site:secret:regenerate:help'); ?></p>
+</div>