protected function output() { $since = false; $settings = $this->get('user_settings'); if (array_key_exists('feed_since', $settings)) { $since = $settings['feed_since']; } return '<tr class="feeds_setting"><td><label for="feed_since">' . $this->trans('Show feed items received since') . '</label></td>' . '<td>' . message_since_dropdown($since, 'feed_since', $this) . '</td></tr>'; }
/** * Processed by Hm_Handler_process_all_since_setting */ protected function output() { $since = DEFAULT_SINCE; $settings = $this->get('user_settings', array()); if (array_key_exists('all_since', $settings) && $settings['all_since']) { $since = $settings['all_since']; } return '<tr class="all_setting"><td><label for="all_since">' . $this->trans('Show messages received since') . '</label></td>' . '<td>' . message_since_dropdown($since, 'all_since', $this) . '</td></tr>'; }