From: Evan Prodromou Date: Wed, 7 Mar 2012 19:21:34 +0000 (-0600) Subject: try a wrapper div for training form X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6cabea6ae6c941a367017d3a0fe9a7d54fe85e2e;p=quix0rs-gnu-social.git try a wrapper div for training form --- diff --git a/ActivitySpamPlugin.php b/ActivitySpamPlugin.php index cb9477d1ad..e497b9a744 100644 --- a/ActivitySpamPlugin.php +++ b/ActivitySpamPlugin.php @@ -184,10 +184,14 @@ class ActivitySpamPlugin extends Plugin // XXX: show a question-mark or something } else if ($score->is_spam) { $form = new TrainHamForm($out, $notice); + $out->elementStart('div', 'notice-options'); $form->show(); + $out->elementEnd('div'); } else if (!$score->is_spam) { $form = new TrainSpamForm($out, $notice); + $out->elementStart('div', 'notice-options'); $form->show(); + $out->elementEnd('div'); } }