account.php 375 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Account settings form wrapper
  4. *
  5. * @package Elgg
  6. * @subpackage Core
  7. */
  8. $action_url = elgg_get_site_url();
  9. if (elgg_get_config('https_login')) {
  10. $action_url = str_replace("http:", "https:", $action_url);
  11. }
  12. $action_url .= 'action/usersettings/save';
  13. echo elgg_view_form('usersettings/save', array(
  14. 'class' => 'elgg-form-alt',
  15. 'action' => $action_url,
  16. ));