]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
try a wrapper div for training form
authorEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 19:21:34 +0000 (13:21 -0600)
committerEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 19:21:34 +0000 (13:21 -0600)
ActivitySpamPlugin.php

index cb9477d1ade96bc3f36c02c877f27eba8b07fa62..e497b9a7444e9cfd2eac8fe43caf8ea36eea18ba 100644 (file)
@@ -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');
             }
         }