/** * The actualiser to toggle notifications for a topic. * * @return tempcode The UI */ function toggle_notifications_topic() { require_code('notifications2'); return notifications_ui_advanced('ocf_topic', do_lang_tempcode('NOW_ENABLED_NOTIFICATIONS_TOPIC'), do_lang_tempcode('NOW_DISABLED_NOTIFICATIONS_TOPIC')); }
/** * Show an advanced notifications UI. * * @return tempcode The result of execution. */ function advanced() { $notification_code = get_param('notification_code'); return notifications_ui_advanced($notification_code); }