From: Brion Vibber Date: Mon, 19 Apr 2010 17:45:01 +0000 (+0200) Subject: Disable the send-notice form at the top of the page OStatus subscription confirmation... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=acea53404461dba0789b4e661862329097c26e11;p=quix0rs-gnu-social.git 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. --- diff --git a/avatar/.gitignore b/avatar/.gitignore old mode 100644 new mode 100755 diff --git a/plugins/OStatus/actions/ostatussub.php b/plugins/OStatus/actions/ostatussub.php index 994af6e95c..28714514f5 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 + } + }