diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-19 19:45:01 +0200 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-19 19:45:01 +0200 |
commit | acea53404461dba0789b4e661862329097c26e11 (patch) | |
tree | 2385ee6bef99b32b1ac0a38579f22e216ab28f35 /plugins/OStatus/actions | |
parent | e547a2f54c2a2184d55c57c7712d4d50621f5fc2 (diff) |
Disable the send-notice form at the top of the page OStatus subscription confirmation page to work around bugs in Cloudy theme.
This is really just a hack for the broken CSS in the Cloudy theme, I think; copying from other non-notice-navigation pages that do this as well. There will be plenty of others also broken.
Diffstat (limited to 'plugins/OStatus/actions')
-rw-r--r-- | plugins/OStatus/actions/ostatussub.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/OStatus/actions/ostatussub.php b/plugins/OStatus/actions/ostatussub.php index 994af6e95..28714514f 100644 --- a/plugins/OStatus/actions/ostatussub.php +++ b/plugins/OStatus/actions/ostatussub.php @@ -446,4 +446,18 @@ class OStatusSubAction extends Action { return common_local_url('ostatussub'); } + + /** + * Disable the send-notice form at the top of the page. + * This is really just a hack for the broken CSS in the Cloudy theme, + * I think; copying from other non-notice-navigation pages that do this + * as well. There will be plenty of others also broken. + * + * @fixme fix the cloudy theme + * @fixme do this in a more general way + */ + function showNoticeForm() { + // nop + } + } |