summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-10-25 13:30:38 -0700
committerZach Copley <zach@status.net>2010-10-25 13:30:38 -0700
commit1a1ca22aca8ab0524413fb41e195adab068a2b42 (patch)
tree3ce6a016065003b8b8b94aac4400a4095c665d00 /actions
parent01637bcd32921d6857fb7f5c0bbd40fba6bdb830 (diff)
Supress header, footer, sidebar on OAuth verifier pin page when in "desktop" mode
Diffstat (limited to 'actions')
-rw-r--r--actions/apioauthpin.php64
1 files changed, 64 insertions, 0 deletions
diff --git a/actions/apioauthpin.php b/actions/apioauthpin.php
index 64baf260d..a0d98e543 100644
--- a/actions/apioauthpin.php
+++ b/actions/apioauthpin.php
@@ -97,6 +97,70 @@ class ApiOauthPinAction extends InfoAction
}
/**
+ * A local menu
+ *
+ * Shows different login/register actions.
+ *
+ * @return void
+ */
+ function showLocalNav()
+ {
+ // NOP
+ }
+
+ /*
+ * Override - suppress output in "desktop" mode
+ */
+ function showHeader()
+ {
+ if ($this->desktopMode == false) {
+ parent::showHeader();
+ }
+ }
+
+ /*
+ * Override - suppress output in "desktop" mode
+ */
+ function showAside()
+ {
+ if ($this->desktopMode == false) {
+ parent::showAside();
+ }
+ }
+
+ /*
+ * Override - suppress output in "desktop" mode
+ */
+ function showFooter()
+ {
+ if ($this->desktopMode == false) {
+ parent::showFooter();
+ }
+ }
+
+ /**
+ * Show site notice.
+ *
+ * @return nothing
+ */
+ function showSiteNotice()
+ {
+ // NOP
+ }
+
+ /**
+ * Show notice form.
+ *
+ * Show the form for posting a new notice
+ *
+ * @return nothing
+ */
+ function showNoticeForm()
+ {
+ // NOP
+ }
+
+ /**
* Display content.
*
* @return nothing