removed support for $vars['buttons'] as it was deprecated in Elgg 1.8
added deprecated notice for usage of area1 variable