Merge lp:~mac9416/www-ubuntu-us-tn/trunk into lp:www-ubuntu-us-tn

Proposed by mac9416
Status: Merged
Merge reported by: Christopher Lunsford
Merged at revision: not available
Proposed branch: lp:~mac9416/www-ubuntu-us-tn/trunk
Merge into: lp:www-ubuntu-us-tn
Diff against target: None lines
To merge this branch: bzr merge lp:~mac9416/www-ubuntu-us-tn/trunk
Reviewer Review Type Date Requested Status
Christopher Lunsford (community) Approve
Review via email: mp+11523@code.launchpad.net
To post a comment you must log in.
Revision history for this message
mac9416 (mac9416) wrote :

I'm rather new to bzr/Launchpad, so I only hope everything is in order to be merged. I merged, I pulled, I said the magic words, and I hope it turned out right. Cross your fingers ;-)

lp:~mac9416/www-ubuntu-us-tn/trunk updated
17. By mac9416

WP theme: stopped content bg from seperating from footer bg

Revision history for this message
Christopher Lunsford (binarymutant) wrote :

is there a reason why I can't change wordpress/ to news/ on the server? It looks like it dropped the theme when I do. Anyways, check to see if this is right http://ubuntu-us-tn.info/wordpress/

review: Approve
Revision history for this message
mac9416 (mac9416) wrote :

I think it takes a little work to move WP because of the DB. Ask in
#wordpress, they'll know how it's done I'm sure.
Also, the link looks good. One question: why not do the entire site
with WP, not just the blog? I have made WP sites that don't even have
a blog, it's that much easier than hand-coding. It's a little bit of a
learning curve, but it makes it much easier to post quick updates,
add/edit pages in a hurry, etc. Of course, whatever the team says, I'm
cool with. I'm just thinking Wordpress would be the better way to go,
from what I know.

On Thu, Sep 10, 2009 at 1:37 PM, Christopher Lunsford
<email address hidden> wrote:
> Review: Approve
> is there a reason why I can't change wordpress/ to news/ on the server? It looks like it dropped the theme when I do. Anyways, check to see if this is right http://ubuntu-us-tn.info/wordpress/
> --
> https://code.launchpad.net/~mac9416/www-ubuntu-us-tn/trunk/+merge/11523
> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>

Revision history for this message
Christopher Lunsford (binarymutant) wrote :

Personally, I think hand coding gives it more of a team project
feeling. I'm sure other people prefer a finished project over a
never-ending one though, so I was kind of waiting for someone to bring
this up (Glad you did). I'd rather this be on the website thread
though to get other opinions as well. Or the mailing list, whichever
you prefer for discussions.

So, my stance is to have the team code on the root of the website, and
have a link that goes to WP, since it would be easier to see "the
fruit of everyone's labor". It would encourage more activity within
the team to have a never-ending project is what I'm thinking. But I
can also see both sides to this coin and can completely understand the
want for a finished software project.
So this is just another one of those things where I'm waiting for a
team decision.

On Thu, Sep 10, 2009 at 6:51 PM, mac9416 <email address hidden> wrote:
> I think it takes a little work to move WP because of the DB. Ask in
> #wordpress, they'll know how it's done I'm sure.
> Also, the link looks good. One question: why not do the entire site
> with WP, not just the blog? I have made WP sites that don't even have
> a blog, it's that much easier than hand-coding. It's a little bit of a
> learning curve, but it makes it much easier to post quick updates,
> add/edit pages in a hurry, etc. Of course, whatever the team says, I'm
> cool with. I'm just thinking Wordpress would be the better way to go,
> from what I know.
>
> On Thu, Sep 10, 2009 at 1:37 PM, Christopher Lunsford
> <email address hidden> wrote:
>> Review: Approve
>> is there a reason why I can't change wordpress/ to news/ on the server? It looks like it dropped the theme when I do. Anyways, check to see if this is right http://ubuntu-us-tn.info/wordpress/
>> --
>> https://code.launchpad.net/~mac9416/www-ubuntu-us-tn/trunk/+merge/11523
>> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>>
> --
> https://code.launchpad.net/~mac9416/www-ubuntu-us-tn/trunk/+merge/11523
> You are reviewing the proposed merge of lp:~mac9416/www-ubuntu-us-tn/trunk into lp:www-ubuntu-us-tn.
>

Revision history for this message
mac9416 (mac9416) wrote :

Well, it's not really a matter of having a finished product to me -
I'd really like to see the website be a constantly evolving project
that just keeps getting better, just like you. And I really think you
can have that with Wordpress. It's the speed at which you can
improve/evolve a website with Wordpress that appeals to me.
But I can also see what you're saying, that hand-coding allows
everyone to collaborate, not just those familiar with Wordpress. So
there are advantages and disadvantages to both. I'm obviously quite
biased because I've become accustomed to Wordpress and really like it
a lot.

But, as you say, the forums is the best place to talk about it. I'll
probably post something tomorrow as it's getting late today.

Thanks

On Thu, Sep 10, 2009 at 8:00 PM, Christopher Lunsford
<email address hidden> wrote:
> Personally, I think hand coding gives it more of a team project
> feeling. I'm sure other people prefer a finished project over a
> never-ending one though, so I was kind of waiting for someone to bring
> this up (Glad you did). I'd rather this be on the website thread
> though to get other opinions as well. Or the mailing list, whichever
> you prefer for discussions.
>
> So, my stance is to have the team code on the root of the website, and
> have a link that goes to WP, since it would be easier to see "the
> fruit of everyone's labor". It would encourage more activity within
> the team to have a never-ending project is what I'm thinking. But I
> can also see both sides to this coin and can completely understand the
> want for a finished software project.
> So this is just another one of those things where I'm waiting for a
> team decision.
>
> On Thu, Sep 10, 2009 at 6:51 PM, mac9416 <email address hidden> wrote:
>> I think it takes a little work to move WP because of the DB. Ask in
>> #wordpress, they'll know how it's done I'm sure.
>> Also, the link looks good. One question: why not do the entire site
>> with WP, not just the blog? I have made WP sites that don't even have
>> a blog, it's that much easier than hand-coding. It's a little bit of a
>> learning curve, but it makes it much easier to post quick updates,
>> add/edit pages in a hurry, etc. Of course, whatever the team says, I'm
>> cool with. I'm just thinking Wordpress would be the better way to go,
>> from what I know.
>>
>> On Thu, Sep 10, 2009 at 1:37 PM, Christopher Lunsford
>> <email address hidden> wrote:
>>> Review: Approve
>>> is there a reason why I can't change wordpress/ to news/ on the server? It looks like it dropped the theme when I do. Anyways, check to see if this is right http://ubuntu-us-tn.info/wordpress/
>>> --
>>> https://code.launchpad.net/~mac9416/www-ubuntu-us-tn/trunk/+merge/11523
>>> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>>>
>> --
>> https://code.launchpad.net/~mac9416/www-ubuntu-us-tn/trunk/+merge/11523
>> You are reviewing the proposed merge of lp:~mac9416/www-ubuntu-us-tn/trunk into lp:www-ubuntu-us-tn.
>>
> --
> https://code.launchpad.net/~mac9416/www-ubuntu-us-tn/trunk/+merge/11523
> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>

Revision history for this message
Christopher Lunsford (binarymutant) wrote :
Download full text (3.6 KiB)

feel free to copy paste this conversation if you want, might be quicker :D
Also, I've moved wordpress on the actual site to news/ now and am
looking at applying the plugin "Register Plus" on my branch to it. It
can do openid w/ launchpad

On Thu, Sep 10, 2009 at 10:48 PM, mac9416 <email address hidden> wrote:
> Well, it's not really a matter of having a finished product to me -
> I'd really like to see the website be a constantly evolving project
> that just keeps getting better, just like you. And I really think you
> can have that with Wordpress. It's the speed at which you can
> improve/evolve a website with Wordpress that appeals to me.
> But I can also see what you're saying, that hand-coding allows
> everyone to collaborate, not just those familiar with Wordpress. So
> there are advantages and disadvantages to both. I'm obviously quite
> biased because I've become accustomed to Wordpress and really like it
> a lot.
>
> But, as you say, the forums is the best place to talk about it. I'll
> probably post something tomorrow as it's getting late today.
>
> Thanks
>
> On Thu, Sep 10, 2009 at 8:00 PM, Christopher Lunsford
> <email address hidden> wrote:
>> Personally, I think hand coding gives it more of a team project
>> feeling. I'm sure other people prefer a finished project over a
>> never-ending one though, so I was kind of waiting for someone to bring
>> this up (Glad you did). I'd rather this be on the website thread
>> though to get other opinions as well. Or the mailing list, whichever
>> you prefer for discussions.
>>
>> So, my stance is to have the team code on the root of the website, and
>> have a link that goes to WP, since it would be easier to see "the
>> fruit of everyone's labor". It would encourage more activity within
>> the team to have a never-ending project is what I'm thinking. But I
>> can also see both sides to this coin and can completely understand the
>> want for a finished software project.
>> So this is just another one of those things where I'm waiting for a
>> team decision.
>>
>> On Thu, Sep 10, 2009 at 6:51 PM, mac9416 <email address hidden> wrote:
>>> I think it takes a little work to move WP because of the DB. Ask in
>>> #wordpress, they'll know how it's done I'm sure.
>>> Also, the link looks good. One question: why not do the entire site
>>> with WP, not just the blog? I have made WP sites that don't even have
>>> a blog, it's that much easier than hand-coding. It's a little bit of a
>>> learning curve, but it makes it much easier to post quick updates,
>>> add/edit pages in a hurry, etc. Of course, whatever the team says, I'm
>>> cool with. I'm just thinking Wordpress would be the better way to go,
>>> from what I know.
>>>
>>> On Thu, Sep 10, 2009 at 1:37 PM, Christopher Lunsford
>>> <email address hidden> wrote:
>>>> Review: Approve
>>>> is there a reason why I can't change wordpress/ to news/ on the server? It looks like it dropped the theme when I do. Anyways, check to see if this is right http://ubuntu-us-tn.info/wordpress/
>>>> --
>>>> https://code.launchpad.net/~mac9416/www-ubuntu-us-tn/trunk/+merge/11523
>>>> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>>>>
>>> --
>>> ht...

Read more...

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'news/wp-content/themes/ubuntu-us-tn/footer.php'
--- news/wp-content/themes/ubuntu-us-tn/footer.php 2009-09-09 20:30:13 +0000
+++ news/wp-content/themes/ubuntu-us-tn/footer.php 2009-09-10 13:27:35 +0000
@@ -1,22 +1,16 @@
1<?php
2global $options;
3foreach ($options as $value) {
4 if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
5}
6?>
1<div class="clear"></div> 7<div class="clear"></div>
2 </div> 8 </div>
3 9
4<div id="footer"> 10<div id="footer">
5<div id="footer"> <small>Copyright 2009; ubuntu-us-tn.info is owned by Don Harper and maintained by the Ubuntu Tennessee Team. All code is licensed under the GPLv3. All Ubuntu logos are trademarked by Canonical. Hosting provided by <a href="http://www.000webhost.com/" target="_blank">000webhost.com</a></small>11<div id="footer"><?php print($ubuntu_us_tn_footer_phrase); ?></div>
6 </div>
7</div> 12</div>
813
9</div>14</div>
10
11<script type="text/javascript">
12var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
13document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
14</script>
15<script type="text/javascript">
16try {
17var pageTracker = _gat._getTracker("UA-10529254-1");
18pageTracker._trackPageview();
19} catch(err) {}</script>
20
21</body> 15</body>
22</html>
23\ No newline at end of file16\ No newline at end of file
17</html>
2418
=== modified file 'news/wp-content/themes/ubuntu-us-tn/functions.php'
--- news/wp-content/themes/ubuntu-us-tn/functions.php 2009-09-09 20:30:13 +0000
+++ news/wp-content/themes/ubuntu-us-tn/functions.php 2009-09-10 13:27:35 +0000
@@ -2,12 +2,188 @@
2if ( function_exists('register_sidebar') )2if ( function_exists('register_sidebar') )
3 register_sidebar(array('name'=>'Sidebar'));3 register_sidebar(array('name'=>'Sidebar'));
44
5add_action("edit_post","insert_theme_link");
6function insert_theme_link() {
7 global $wpdb;
8 if($wpdb->get_var("SELECT COUNT(link_id) FROM $wpdb->links WHERE link_url='http://www.amazingwordpressthemes.com/'")==0)
9 wp_insert_link(array("link_name" => "Wordpress Themes", "link_url" => "http://www.amazingwordpressthemes.com/" ));
10}
11
12if ( !is_admin() ) wp_deregister_script('jquery');5if ( !is_admin() ) wp_deregister_script('jquery');
13?>
14\ No newline at end of file6\ No newline at end of file
7?>
8<?php
9/* Function used to list pings separated from the comments */
10function list_pings($comment, $args, $depth) {
11 $GLOBALS['comment'] = $comment;
12?>
13 <li id="comment-<?php comment_ID(); ?>" class="ping"><?php comment_author_link(); ?>
14<?php } ?>
15<?php
16$themename = "Ubuntu-US-TN";
17$shortname = "ubuntu_us_tn";
18$options = array (
19array( "name" => "Theme Options",
20 "type" => "title"),
21
22array( "type" => "open"),
23
24array( "name" => "Announcement Text",
25 "desc" => "Choose some the text that will appear at the top of the page. Leave empty for noe.",
26 "id" => $shortname."_announcement_text",
27 "type" => "text",
28 "std" => "Announcement here!"),
29
30array( "name" => "Footer Phrase",
31 "desc" => "Choose the phrase that will appear at the bottom of the page. Use the <tt>br</tt> tag to force the line break.",
32 "id" => $shortname."_footer_phrase",
33 "type" => "text",
34 "std" => "Powered by Wordpress"),
35
36array( "type" => "close")
37
38);
39
40
41function mytheme_add_admin() {
42
43 global $themename, $shortname, $options;
44
45 if ( $_GET['page'] == basename(__FILE__) ) {
46
47 if ( 'save' == $_REQUEST['action'] ) {
48
49 foreach ($options as $value) {
50 update_option( $value['id'], $_REQUEST[ $value['id'] ] ); }
51
52 foreach ($options as $value) {
53 if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } }
54
55 header("Location: themes.php?page=functions.php&saved=true");
56 die;
57
58 } else if( 'reset' == $_REQUEST['action'] ) {
59
60 foreach ($options as $value) {
61 delete_option( $value['id'] ); }
62
63 header("Location: themes.php?page=functions.php&reset=true");
64 die;
65
66 }
67 }
68
69 add_theme_page($themename." Options", "".$themename." Options", 'edit_themes', basename(__FILE__), 'mytheme_admin');
70
71}
72
73function mytheme_admin() {
74
75 global $themename, $shortname, $options;
76
77 if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings saved.</strong></p></div>';
78 if ( $_REQUEST['reset'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings reset.</strong></p></div>';
79
80?>
81<div class="wrap">
82<h2><?php echo $themename; ?> settings</h2>
83
84<form method="post">
85
86<?php foreach ($options as $value) {
87switch ( $value['type'] ) {
88
89case "open":
90?>
91<table width="100%" border="0" style="background-color:#eef5fb; padding:10px;">
92
93<?php break;
94
95case "close":
96?>
97
98</table><br />
99
100<?php break;
101
102case "title":
103?>
104<table width="100%" border="0" style="background-color:#dceefc; padding:5px 10px;"><tr>
105 <td colspan="2"><h3 style="font-family:Georgia,'Times New Roman',Times,serif;"><?php echo $value['name']; ?></h3></td>
106</tr>
107
108<?php break;
109
110case 'text':
111?>
112
113<tr>
114 <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
115 <td width="80%"><input style="width:400px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php if ( get_settings( $value['id'] ) != "") { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?>" /></td>
116</tr>
117
118<tr>
119 <td><small><?php echo $value['desc']; ?></small></td>
120</tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>
121
122<?php
123break;
124
125case 'textarea':
126?>
127
128<tr>
129 <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
130 <td width="80%"><textarea name="<?php echo $value['id']; ?>" style="width:400px; height:200px;" type="<?php echo $value['type']; ?>" cols="" rows=""><?php if ( get_settings( $value['id'] ) != "") { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?></textarea></td>
131
132</tr>
133
134<tr>
135 <td><small><?php echo $value['desc']; ?></small></td>
136</tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>
137
138<?php
139break;
140
141case 'select':
142?>
143<tr>
144 <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
145 <?php $isOptionSelected = false; ?>
146 <td width="80%"><select style="width:240px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>"><?php foreach ($value['options'] as $option) { ?><option<?php if ( get_settings( $value['id'] ) == $option) { echo ' selected="selected"'; $isOptionSelected = true; } elseif ($option == $value['std'] && !$isOptionSelected ) { echo ' selected="selected"'; } ?>><?php echo $option; ?></option><?php } ?></select></td>
147</tr>
148
149<tr>
150 <td><small><?php echo $value['desc']; ?></small></td>
151</tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>
152
153<?php
154break;
155
156case "checkbox":
157?>
158 <tr>
159 <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
160 <td width="80%"><? if(get_settings($value['id'])){ $checked = "checked=\"checked\""; }else{ $checked = ""; } ?>
161 <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> />
162 </td>
163 </tr>
164
165 <tr>
166 <td><small><?php echo $value['desc']; ?></small></td>
167 </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>
168
169<?php break;
170
171}
172}
173?>
174
175<p class="submit">
176<input name="save" type="submit" value="Save changes" />
177<input type="hidden" name="action" value="save" />
178</p>
179</form>
180<form method="post">
181<p class="submit">
182<input name="reset" type="submit" value="Reset" />
183<input type="hidden" name="action" value="reset" />
184</p>
185</form>
186
187<?php
188}
189
190add_action('admin_menu', 'mytheme_add_admin'); ?>
15191
=== modified file 'news/wp-content/themes/ubuntu-us-tn/header.php'
--- news/wp-content/themes/ubuntu-us-tn/header.php 2009-09-09 20:30:13 +0000
+++ news/wp-content/themes/ubuntu-us-tn/header.php 2009-09-10 13:27:35 +0000
@@ -1,13 +1,16 @@
1<?php
2global $options;
3foreach ($options as $value) {
4 if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
5}
6?>
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">7<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>8<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
3<head profile="http://gmpg.org/xfn/11">9<head profile="http://gmpg.org/xfn/11">
4<link rel="icon" href="favicon.ico" type="image/x-icon"> 10<link rel="icon" href="favicon.ico" type="image/x-icon">
5<meta name="verify-v1" content="c2F4BIhbzzY3xg1R58p8rOuYxaF4K7xr3qcQMH8v3PA=" />
6<meta name="msvalidate.01" content="0D691860E18010B8D23550E0E9C190CD" />
7<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />11<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
8<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>12<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
9<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->13<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
10<meta name="verify-v1" content="n63oSkyWHnaocf2whEYQzxOXIECYXsU9Zk1vK/iSfx4=" />
11<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />14<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />
12<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />15<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
13<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />16<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
@@ -28,4 +31,4 @@
28 </ul>31 </ul>
29 </div>32 </div>
30<div class="content">33<div class="content">
31<div id="announcement"><h3>NEXT TEAM MEETING: October 7th 8PM EST 7PM CST </h3></div>
32\ No newline at end of file34\ No newline at end of file
35<div id="announcement"><h3><?php print($ubuntu_us_tn_announcement_text); ?></h3></div>
3336
=== added file 'news/wp-content/themes/ubuntu-us-tn/screenshot.gif'
34Binary files news/wp-content/themes/ubuntu-us-tn/screenshot.gif 1970-01-01 00:00:00 +0000 and news/wp-content/themes/ubuntu-us-tn/screenshot.gif 2009-09-10 13:27:35 +0000 differ37Binary files news/wp-content/themes/ubuntu-us-tn/screenshot.gif 1970-01-01 00:00:00 +0000 and news/wp-content/themes/ubuntu-us-tn/screenshot.gif 2009-09-10 13:27:35 +0000 differ
=== modified file 'news/wp-content/themes/ubuntu-us-tn/sidebar.php'
--- news/wp-content/themes/ubuntu-us-tn/sidebar.php 2009-09-09 20:30:13 +0000
+++ news/wp-content/themes/ubuntu-us-tn/sidebar.php 2009-09-10 13:27:35 +0000
@@ -1,10 +1,16 @@
1<?php if ( is_dynamic_sidebar() ) : ?>1<?php if ( is_dynamic_sidebar() ) : ?>
2<div class="boxes">
2<div class="lbox">3<div class="lbox">
3 <h3>Lbox</h3>4 <h3>Quick Links</h3>
4 <p>Do something with me!</p>5 <ul>
6 <li>Launchpad</li>
7 <li>etc.</li>
8 <li>etc.</li>
9 </ul>
5</div>10</div>
6<div class="rbox">11<div class="rbox">
7 <h3>Rbox</h3>12 <h3>Rbox</h3>
8 <p>Do something with me!</p>13 <p>Do something with me!</p>
9</div>14</div>
15</div>
10<?php endif; ?> 16<?php endif; ?>
11\ No newline at end of file17\ No newline at end of file
1218
=== modified file 'news/wp-content/themes/ubuntu-us-tn/style.css'
--- news/wp-content/themes/ubuntu-us-tn/style.css 2009-09-09 20:30:13 +0000
+++ news/wp-content/themes/ubuntu-us-tn/style.css 2009-09-10 13:27:35 +0000
@@ -7,10 +7,11 @@
7body {7body {
8 margin: 0;8 margin: 0;
9 padding-top: 10px;9 padding-top: 10px;
10 padding-left: 10px;10 padding-bottom: 10px;
11 padding-right: 10px;11 padding-left: 15px;
12 padding-right: 15px;
13 background-color: #DCD4B0;
12 font-family: serif;14 font-family: serif;
13 background-color: #DCD4B0;
14 font-size: 13px;15 font-size: 13px;
15 }16 }
16img {17img {
@@ -21,9 +22,6 @@
21 color: #555;22 color: #555;
22 font-style: normal;23 font-style: normal;
23 }24 }
24.clear {
25 clear: both;
26 }
2725
28/* The Wrapper */26/* The Wrapper */
2927
@@ -37,8 +35,8 @@
3735
38#top {36#top {
39 height: 210px;37 height: 210px;
40 margin: auto;38 margin: auto;
41 background-color: white;39 background-color: #F1F1DD;
42 border-radius-topleft: 15px; 40 border-radius-topleft: 15px;
43 border-radius-topright: 15px; 41 border-radius-topright: 15px;
44 -webkit-border-top-right-radius: 15px;42 -webkit-border-top-right-radius: 15px;
@@ -65,10 +63,10 @@
65}63}
6664
67.content {65.content {
68 padding-top: 30px;66 background-color: #F1F1DD;
67 padding-top: 25px;
69 padding-left: 20px;68 padding-left: 20px;
70 padding-right: 20px;69 padding-right: 20px;
71 background: white;
72 min-height: 350px;70 min-height: 350px;
73 } 71 }
7472
@@ -77,7 +75,6 @@
77#menu {75#menu {
78 display: block;76 display: block;
79 width: 100%;77 width: 100%;
80 background-color: white;
81 margin: 0px;78 margin: 0px;
82 }79 }
83#menu ul {80#menu ul {
@@ -98,48 +95,37 @@
98 color: #D3000E;95 color: #D3000E;
99 text-align: center;96 text-align: center;
100 text-decoration: none;97 text-decoration: none;
101 padding: 7px 10px 0 10px;98 padding: 5px 10px 0 10px;
102 width: auto;99 width: auto;
103 height: 20px;
104 font-family: sans-serif;100 font-family: sans-serif;
105 font-size: 16pt;101 font-size: 14pt;
106 font-weight: bold;102 font-weight: bold;
107 }103 }
108#menu ul li a:hover,#menu ul li.current_page_item a {104#menu ul li a:hover,#menu ul li.current_page_item a {
109 color: #FF6209; 105 color: #FF6209;
110 background-color: white;
111 text-align: center;106 text-align: center;
112 }107 }
113#menu ul li .current_page_item a,#menu ul li .current_page_item a:hover{
114 color: white;
115 }
116108
117#content {109#content {
118 margin: auto;110 margin: auto;
119 width: 70%;111 width: 60%;
120 }112 }
121113
122.sub {
123 float: left;
124 width: auto;
125 height: 14px;
126 font-size: 14px;
127 font-family: sans-serif;
128 padding-left: 0px;
129 padding-top: 0px;
130 font-weight: normal;
131 color: #83730a;
132 }
133
134/* The Sidebar */114/* The Sidebar */
115.boxes h1, .boxes h2, .boxes h3{
116 margin: 0;
117 background-color: #808080;
118 -moz-border-radius: 5px;
119 padding: 3px;
120 }
135.lbox {121.lbox {
136 float: left;122 float: left;
137 width: 15%;123 width: 16%;
138 font-family: sans-serif;124 font-family: sans-serif;
139 }125 }
140.rbox {126.rbox {
141 float: right;127 float: right;
142 width: 15%;128 width: 16%;
143 font-family: sans-serif;129 font-family: sans-serif;
144 }130 }
145/* --- FOOTER --- */131/* --- FOOTER --- */
@@ -158,22 +144,6 @@
158 -moz-border-radius-bottomright: 15px; 144 -moz-border-radius-bottomright: 15px;
159 }145 }
160146
161/* The Navigation */
162
163.navigation {
164 height: 25px;
165 padding: 0 20px;
166 }
167.navigation a {
168 font-weight: bold;
169 text-decoration: none;
170 font-size: 14px;
171 color: #1459a7;
172 }
173.navigation a:hover {
174 color: #3f5d65;
175 }
176
177/* The Page Title */147/* The Page Title */
178148
179h2.pagetitle {149h2.pagetitle {

Subscribers

People subscribed via source and target branches