false,
$default);
+ $this->out->elementStart('span', 'checkbox-wrapper');
$this->out->checkbox('notice_private',
// TRANS: Checkbox label in widget for selecting potential addressees to mark the notice private.
- _('Private'),
+ _('Private?'),
$this->private);
+ $this->out->elementEnd('span');
}
static function fillOptions($action, &$options)
$toArg = $action->trimmed('notice_to');
$private = $action->boolean('notice_private');
+ if (empty($toArg)) {
+ return;
+ }
+
list($prefix, $value) = explode(':', $toArg);
switch ($prefix) {
case 'group':