From 4cee28ace9ece31acc89277903a8924a0747ac95 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 15 Jan 2009 22:17:18 +0000 Subject: [PATCH 1/2] section for export data --- actions/public.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actions/public.php b/actions/public.php index 62071ecccd..5a11cece18 100644 --- a/actions/public.php +++ b/actions/public.php @@ -187,6 +187,7 @@ class PublicAction extends Action function showExportData() { + $this->elementStart('div', array('id' => 'exportdata', 'class' => 'section')); $fl = new FeedList($this); $fl->show(array(0 => array('href' => common_local_url('publicrss'), 'type' => 'rss', @@ -196,5 +197,6 @@ class PublicAction extends Action 'type' => 'atom', 'version' => 'Atom 1.0', 'item' => 'publicatom'))); + $this->elementEnd('div'); } } From a72ae0f4df7e9bbbd4864e21f784ea0da53dfcac Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 15 Jan 2009 22:17:48 +0000 Subject: [PATCH 2/2] Move wrapper for content --- lib/action.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/action.php b/lib/action.php index 76962482f5..76cf419cb3 100644 --- a/lib/action.php +++ b/lib/action.php @@ -306,8 +306,11 @@ class Action extends HTMLOutputter // lawsuit $this->elementStart('div', array('id' => 'content')); $this->showPageTitle(); $this->showPageNotice(); + $this->elementStart('div', array('id' => 'content_inner')); + // show the actual content (forms, lists, whatever) $this->showContent(); $this->elementEnd('div'); + $this->elementEnd('div'); } function showPageTitle() { @@ -331,9 +334,6 @@ class Action extends HTMLOutputter // lawsuit function showContent() { - // show the actual content (forms, lists, whatever) - $this->elementStart('div', array('id' => 'content_inner')); - $this->elementEnd('div'); } function showAside()