- if (!common_config('sms', 'enabled')) {
- $this->element('div', array('class' => 'error'),
- // TRANS: Message given in the SMS settings if SMS is not enabled on the site.
- _('SMS is not available.'));
- return;
- }
-
- $user = common_current_user();