From acea53404461dba0789b4e661862329097c26e11 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 19 Apr 2010 19:45:01 +0200 Subject: [PATCH] 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. --- avatar/.gitignore | 0 plugins/OStatus/actions/ostatussub.php | 14 ++++++++++++++ 2 files changed, 14 insertions(+) mode change 100644 => 100755 avatar/.gitignore 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 + } + }