save.php 368 B

123456789101112131415
  1. <?php
  2. /**
  3. * Plugin user settings
  4. *
  5. * Calls the plugin admin settings form body with type set to 'user'
  6. *
  7. * @package Elgg.Core
  8. * @subpackage Plugins
  9. */
  10. $vars['type'] = 'user';
  11. $vars['user_guid'] = elgg_get_page_owner_guid();
  12. // Can't use elgg_view_form() because it overrides the $vars['action'] parameter
  13. echo elgg_view('forms/plugins/settings/save', $vars);