--- a/plugins/SpecialAdmin.php Thu Jan 03 18:39:19 2008 -0500
+++ b/plugins/SpecialAdmin.php Wed Jan 16 13:55:49 2008 -0500
@@ -266,6 +266,8 @@
setConfig('pw_strength_minimum', $strength);
}
+ setConfig('register_tou', RenderMan::preprocess_text($_POST['register_tou'], true, false));
+
// Account lockout policy
if ( preg_match('/^[0-9]+$/', $_POST['lockout_threshold']) )
setConfig('lockout_threshold', $_POST['lockout_threshold']);
@@ -517,6 +519,27 @@
</td>
</tr>
+ <!-- Terms of Use -->
+
+ <tr>
+ <th class="subhead" colspan="2">
+ <?php echo $lang->get('acpgc_heading_tou'); ?>
+ </th>
+ </tr>
+
+ <tr>
+ <td class="row2">
+ <b><?php echo $lang->get('acpgc_field_tou'); ?></b><br />
+ <small><?php echo $lang->get('acpgc_field_tou_hint'); ?></small>
+ </td>
+ <td class="row2">
+ <?php
+ $terms = getConfig('register_tou');
+ echo $template->tinymce_textarea('register_tou', $terms, 10, 40);
+ ?>
+ </td>
+ </tr>
+
<!-- Account lockout -->
<tr><th class="subhead" colspan="2"><?php echo $lang->get('acpgc_heading_lockout'); ?></th></tr>