Skip to:
Content

BuddyPress.org

Ticket #3265: patch.txt

File patch.txt, 12.7 KB (added by svenl77, 15 years ago)

move sidebar to footer

Line 
1### Eclipse Workspace Patch 1.0
2#P buddypress
3Index: bp-themes/bp-default/forums/single/topic.php
4===================================================================
5--- bp-themes/bp-default/forums/single/topic.php (revision 4478)
6+++ bp-themes/bp-default/forums/single/topic.php (working copy)
7@@ -191,5 +191,4 @@
8
9 <?php do_action( 'bp_after_group_forum_topic' ) ?>
10
11-<?php get_sidebar( 'buddypress' ); ?>
12 <?php get_footer( 'buddypress' ); ?>
13\ No newline at end of file
14Index: bp-themes/bp-default/members/single/settings/delete-account.php
15===================================================================
16--- bp-themes/bp-default/members/single/settings/delete-account.php (revision 4478)
17+++ bp-themes/bp-default/members/single/settings/delete-account.php (working copy)
18@@ -77,6 +77,4 @@
19 </div><!-- .padder -->
20 </div><!-- #content -->
21
22-<?php get_sidebar( 'buddypress' ) ?>
23-
24 <?php get_footer( 'buddypress' ) ?>
25\ No newline at end of file
26Index: bp-themes/bp-default/blogs/index.php
27===================================================================
28--- bp-themes/bp-default/blogs/index.php (revision 4478)
29+++ bp-themes/bp-default/blogs/index.php (working copy)
30@@ -78,5 +78,4 @@
31
32 <?php do_action( 'bp_after_directory_blogs_content' ); ?>
33
34-<?php get_sidebar( 'buddypress' ); ?>
35-<?php get_footer( 'buddypress' ); ?>
36+<?php get_footer( 'buddypress' ); ?>
37\ No newline at end of file
38Index: bp-themes/bp-default/page.php
39===================================================================
40--- bp-themes/bp-default/page.php (revision 4478)
41+++ bp-themes/bp-default/page.php (working copy)
42@@ -35,6 +35,4 @@
43 </div><!-- .padder -->
44 </div><!-- #content -->
45
46- <?php get_sidebar() ?>
47-
48-<?php get_footer(); ?>
49+<?php get_footer(); ?>
50\ No newline at end of file
51Index: bp-themes/bp-default/members/single/home.php
52===================================================================
53--- bp-themes/bp-default/members/single/home.php (revision 4478)
54+++ bp-themes/bp-default/members/single/home.php (working copy)
55@@ -74,5 +74,4 @@
56 </div><!-- .padder -->
57 </div><!-- #content -->
58
59-<?php get_sidebar( 'buddypress' ); ?>
60-<?php get_footer( 'buddypress' ); ?>
61+<?php get_footer( 'buddypress' ); ?>
62\ No newline at end of file
63Index: bp-themes/bp-default/footer.php
64===================================================================
65--- bp-themes/bp-default/footer.php (revision 4478)
66+++ bp-themes/bp-default/footer.php (working copy)
67@@ -1,3 +1,4 @@
68+ <?php get_sidebar( 'buddypress' ) ?>
69 </div> <!-- #container -->
70
71 <?php do_action( 'bp_after_container' ) ?>
72Index: bp-themes/bp-default/footer-onecolumn-page.php
73===================================================================
74--- bp-themes/bp-default/footer-onecolumn-page.php (revision 0)
75+++ bp-themes/bp-default/footer-onecolumn-page.php (revision 0)
76@@ -0,0 +1,27 @@
77+ </div> <!-- #container -->
78+
79+ <?php do_action( 'bp_after_container' ) ?>
80+ <?php do_action( 'bp_before_footer' ) ?>
81+
82+ <div id="footer">
83+ <?php if ( is_active_sidebar( 'first-footer-widget-area' ) || is_active_sidebar( 'second-footer-widget-area' ) || is_active_sidebar( 'third-footer-widget-area' ) || is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?>
84+ <div id="footer-widgets">
85+ <?php get_sidebar( 'footer' ) ?>
86+ </div>
87+ <?php endif; ?>
88+
89+ <div id="site-generator" role="contentinfo">
90+ <?php do_action( 'bp_dtheme_credits' ) ?>
91+ <p><?php printf( __( 'Proudly powered by <a href="%1$s">WordPress</a> and <a href="%2$s">BuddyPress</a>.', 'buddypress' ), 'http://wordpress.org', 'http://buddypress.org' ) ?></p>
92+ </div>
93+
94+ <?php do_action( 'bp_footer' ) ?>
95+ </div><!-- #footer -->
96+
97+ <?php do_action( 'bp_after_footer' ) ?>
98+
99+ <?php wp_footer(); ?>
100+
101+ </body>
102+
103+</html>
104\ No newline at end of file
105Index: bp-themes/bp-default/single.php
106===================================================================
107--- bp-themes/bp-default/single.php (revision 4478)
108+++ bp-themes/bp-default/single.php (working copy)
109@@ -53,6 +53,4 @@
110 </div><!-- .padder -->
111 </div><!-- #content -->
112
113- <?php get_sidebar() ?>
114-
115 <?php get_footer() ?>
116\ No newline at end of file
117Index: bp-themes/bp-default/archive.php
118===================================================================
119--- bp-themes/bp-default/archive.php (revision 4478)
120+++ bp-themes/bp-default/archive.php (working copy)
121@@ -69,6 +69,4 @@
122 </div><!-- .padder -->
123 </div><!-- #content -->
124
125- <?php get_sidebar() ?>
126-
127-<?php get_footer(); ?>
128+<?php get_footer(); ?>
129\ No newline at end of file
130Index: bp-themes/bp-default/forums/index.php
131===================================================================
132--- bp-themes/bp-default/forums/index.php (revision 4478)
133+++ bp-themes/bp-default/forums/index.php (working copy)
134@@ -153,5 +153,4 @@
135
136 <?php do_action( 'bp_after_directory_forums_content' ); ?>
137
138-<?php get_sidebar( 'buddypress' ); ?>
139-<?php get_footer( 'buddypress' ); ?>
140+<?php get_footer( 'buddypress' ); ?>
141\ No newline at end of file
142Index: bp-themes/bp-default/groups/single/plugins.php
143===================================================================
144--- bp-themes/bp-default/groups/single/plugins.php (revision 4478)
145+++ bp-themes/bp-default/groups/single/plugins.php (working copy)
146@@ -36,6 +36,4 @@
147 </div><!-- .padder -->
148 </div><!-- #content -->
149
150- <?php get_sidebar( 'buddypress' ) ?>
151-
152 <?php get_footer( 'buddypress' ) ?>
153\ No newline at end of file
154Index: bp-themes/bp-default/forums/single/forum.php
155===================================================================
156--- bp-themes/bp-default/forums/single/forum.php (revision 4478)
157+++ bp-themes/bp-default/forums/single/forum.php (working copy)
158@@ -60,6 +60,5 @@
159 </div><!-- .padder -->
160
161 <?php do_action( 'bp_after_directory_forums_content' ); ?>
162-
163-<?php get_sidebar( 'buddypress' ); ?>
164-<?php get_footer( 'buddypress' ); ?>
165+
166+<?php get_footer( 'buddypress' ); ?>
167\ No newline at end of file
168Index: bp-themes/bp-default/members/index.php
169===================================================================
170--- bp-themes/bp-default/members/index.php (revision 4478)
171+++ bp-themes/bp-default/members/index.php (working copy)
172@@ -83,5 +83,4 @@
173
174 <?php do_action( 'bp_after_directory_members_content' ); ?>
175
176-<?php get_sidebar( 'buddypress' ); ?>
177-<?php get_footer( 'buddypress' ); ?>
178+<?php get_footer( 'buddypress' ); ?>
179\ No newline at end of file
180Index: bp-themes/bp-default/members/single/plugins.php
181===================================================================
182--- bp-themes/bp-default/members/single/plugins.php (revision 4478)
183+++ bp-themes/bp-default/members/single/plugins.php (working copy)
184@@ -65,5 +65,4 @@
185 </div><!-- .padder -->
186 </div><!-- #content -->
187
188-<?php get_sidebar( 'buddypress' ); ?>
189-<?php get_footer( 'buddypress' ); ?>
190+<?php get_footer( 'buddypress' ); ?>
191\ No newline at end of file
192Index: bp-themes/bp-default/search.php
193===================================================================
194--- bp-themes/bp-default/search.php (revision 4478)
195+++ bp-themes/bp-default/search.php (working copy)
196@@ -66,6 +66,4 @@
197 </div><!-- .padder -->
198 </div><!-- #content -->
199
200- <?php get_sidebar() ?>
201-
202-<?php get_footer() ?>
203+<?php get_footer() ?>
204\ No newline at end of file
205Index: bp-themes/bp-default/groups/create.php
206===================================================================
207--- bp-themes/bp-default/groups/create.php (revision 4478)
208+++ bp-themes/bp-default/groups/create.php (working copy)
209@@ -289,5 +289,4 @@
210 </div><!-- .padder -->
211 </div><!-- #content -->
212
213-<?php get_sidebar( 'buddypress' ); ?>
214-<?php get_footer( 'buddypress' ); ?>
215+<?php get_footer( 'buddypress' ); ?>
216\ No newline at end of file
217Index: bp-themes/bp-default/activity/index.php
218===================================================================
219--- bp-themes/bp-default/activity/index.php (revision 4478)
220+++ bp-themes/bp-default/activity/index.php (working copy)
221@@ -143,6 +143,4 @@
222 </div><!-- .padder -->
223 </div><!-- #content -->
224
225-<?php get_sidebar( 'buddypress' ) ?>
226-
227-<?php get_footer( 'buddypress' ) ?>
228+<?php get_footer( 'buddypress' ) ?>
229\ No newline at end of file
230Index: bp-themes/bp-default/members/single/settings/general.php
231===================================================================
232--- bp-themes/bp-default/members/single/settings/general.php (revision 4478)
233+++ bp-themes/bp-default/members/single/settings/general.php (working copy)
234@@ -84,6 +84,4 @@
235 </div><!-- .padder -->
236 </div><!-- #content -->
237
238-<?php get_sidebar( 'buddypress' ) ?>
239-
240 <?php get_footer( 'buddypress' ) ?>
241\ No newline at end of file
242Index: bp-themes/bp-default/registration/activate.php
243===================================================================
244--- bp-themes/bp-default/registration/activate.php (revision 4478)
245+++ bp-themes/bp-default/registration/activate.php (working copy)
246@@ -49,6 +49,4 @@
247 </div><!-- .padder -->
248 </div><!-- #content -->
249
250- <?php get_sidebar( 'buddypress' ) ?>
251-
252-<?php get_footer( 'buddypress' ); ?>
253+<?php get_footer( 'buddypress' ); ?>
254\ No newline at end of file
255Index: bp-themes/bp-default/members/single/settings/notifications.php
256===================================================================
257--- bp-themes/bp-default/members/single/settings/notifications.php (revision 4478)
258+++ bp-themes/bp-default/members/single/settings/notifications.php (working copy)
259@@ -77,6 +77,4 @@
260 </div><!-- .padder -->
261 </div><!-- #content -->
262
263-<?php get_sidebar( 'buddypress' ) ?>
264-
265 <?php get_footer( 'buddypress' ) ?>
266\ No newline at end of file
267Index: bp-themes/bp-default/onecolumn-page.php
268===================================================================
269--- bp-themes/bp-default/onecolumn-page.php (revision 4478)
270+++ bp-themes/bp-default/onecolumn-page.php (working copy)
271@@ -46,4 +46,4 @@
272 </div><!-- .padder -->
273 </div><!-- #content -->
274
275-<?php get_footer(); ?>
276\ No newline at end of file
277+<?php get_footer('onecolumn-page'); ?>
278\ No newline at end of file
279Index: bp-themes/bp-default/404.php
280===================================================================
281--- bp-themes/bp-default/404.php (revision 4478)
282+++ bp-themes/bp-default/404.php (working copy)
283@@ -24,6 +24,4 @@
284 </div><!-- .padder -->
285 </div><!-- #content -->
286
287- <?php get_sidebar() ?>
288-
289 <?php get_footer(); ?>
290\ No newline at end of file
291Index: bp-themes/bp-default/index.php
292===================================================================
293--- bp-themes/bp-default/index.php (revision 4478)
294+++ bp-themes/bp-default/index.php (working copy)
295@@ -63,6 +63,4 @@
296 </div><!-- .padder -->
297 </div><!-- #content -->
298
299- <?php get_sidebar() ?>
300-
301-<?php get_footer() ?>
302+<?php get_footer() ?>
303\ No newline at end of file
304Index: bp-themes/bp-default/registration/register.php
305===================================================================
306--- bp-themes/bp-default/registration/register.php (revision 4478)
307+++ bp-themes/bp-default/registration/register.php (working copy)
308@@ -253,8 +253,6 @@
309 </div><!-- .padder -->
310 </div><!-- #content -->
311
312- <?php get_sidebar( 'buddypress' ) ?>
313-
314 <?php do_action( 'bp_after_directory_activity_content' ) ?>
315
316 <script type="text/javascript">
317Index: bp-themes/bp-default/blogs/create.php
318===================================================================
319--- bp-themes/bp-default/blogs/create.php (revision 4478)
320+++ bp-themes/bp-default/blogs/create.php (working copy)
321@@ -41,6 +41,4 @@
322
323 <?php do_action( 'bp_after_directory_blogs_content' ); ?>
324
325-<?php get_sidebar( 'buddypress' ); ?>
326-<?php get_footer( 'buddypress' ); ?>
327-
328+<?php get_footer( 'buddypress' ); ?>
329\ No newline at end of file
330Index: bp-themes/bp-default/groups/index.php
331===================================================================
332--- bp-themes/bp-default/groups/index.php (revision 4478)
333+++ bp-themes/bp-default/groups/index.php (working copy)
334@@ -81,6 +81,4 @@
335
336 <?php do_action( 'bp_after_directory_groups_content' ); ?>
337
338-<?php get_sidebar( 'buddypress' ); ?>
339-<?php get_footer( 'buddypress' ); ?>
340-
341+<?php get_footer( 'buddypress' ); ?>
342\ No newline at end of file
343Index: bp-themes/bp-default/groups/single/home.php
344===================================================================
345--- bp-themes/bp-default/groups/single/home.php (revision 4478)
346+++ bp-themes/bp-default/groups/single/home.php (working copy)
347@@ -78,5 +78,4 @@
348 </div><!-- .padder -->
349 </div><!-- #content -->
350
351-<?php get_sidebar( 'buddypress' ); ?>
352-<?php get_footer( 'buddypress' ); ?>
353+<?php get_footer( 'buddypress' ); ?>
354\ No newline at end of file
355Index: bp-themes/bp-default/attachment.php
356===================================================================
357--- bp-themes/bp-default/attachment.php (revision 4478)
358+++ bp-themes/bp-default/attachment.php (working copy)
359@@ -70,6 +70,4 @@
360 </div><!-- .padder -->
361 </div><!-- #content -->
362
363- <?php get_sidebar(); ?>
364-
365 <?php get_footer(); ?>
366\ No newline at end of file