fix deprecated $var["url"] changed to elgg_get_site_url()