diff -r 2c20563245b2 -r c5bca53b857a plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Sun Jan 25 21:21:07 2009 -0500 +++ b/plugins/SpecialAdmin.php Mon Jan 26 11:45:48 2009 -0500 @@ -408,6 +408,13 @@ setConfig('userpage_grant_acl', ( isset($_POST['userpage_grant_acl']) ? '1' : '0' )); + // Allow plugins to save their changes + $code = $plugins->setHook('acp_general_save'); + foreach ( $code as $cmd ) + { + eval($cmd); + } + echo '
' . $lang->get('acpgc_msg_save_success') . '

'; } @@ -618,11 +625,11 @@ +
+
+ + + setHook('acp_general_users'); + foreach ( $code as $cmd ) + { + eval($cmd); + } + ?> - +
@@ -1159,10 +1184,28 @@ + + setHook('acp_general_sidebar'); + foreach ( $code as $cmd ) + { + eval($cmd); + } + ?> +
+ + + setHook('acp_general_tail'); + foreach ( $code as $cmd ) + { + eval($cmd); + } + ?>