Merge lp:~mac9416/www-ubuntu-us-tn/trunk into lp:www-ubuntu-us-tn
- trunk
- Merge into trunk
Status: | Rejected |
---|---|
Rejected by: | Christopher Lunsford |
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 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christopher Lunsford (community) | Needs Fixing | ||
Review via email: mp+11489@code.launchpad.net |
This proposal supersedes a proposal from 2009-09-09.
Commit message
Description of the change
mac9416 (mac9416) wrote : Posted in a previous version of this proposal | # |
mac9416 (mac9416) wrote : Posted in a previous version of this proposal | # |
Clarification: I did all that in the Wordpress theme. ;-)
On Wed, Sep 9, 2009 at 1:10 PM, mac9416<email address hidden> wrote:
> mac9416 has proposed merging lp:~mac9416/www-ubuntu-us-tn/trunk into lp:www-ubuntu-us-tn.
>
> Requested reviews:
> TennesseeTeam (tennessee.team)
>
> Improved sidebars, corrected background color, and added a theme control panel for quick editing of announcement and footer text.
> --
> https:/
> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>
Christopher Lunsford (binarymutant) wrote : Posted in a previous version of this proposal | # |
Can you review my changes first, I've added wordpress to the repo under news/ and moved your theme into the correct wordpress directory
mac9416 (mac9416) wrote : | # |
Hey, Christopher, I've lost track of what's going on. I see that
nothing has been merged into www-ubuntu-us-tn. Could you try and
update me as to where we are? Thanks :-)
On Wed, Sep 9, 2009 at 7:35 PM, Christopher
Lunsford<email address hidden> wrote:
> Christopher Lunsford has proposed merging lp:~mac9416/www-ubuntu-us-tn/trunk into lp:www-ubuntu-us-tn.
>
>
> --
> https:/
> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>
Christopher Lunsford (binarymutant) wrote : | # |
There are some issues regarding maintainer-ship and code reviewing
practices that need to be resolved first please see
http://
for now I will merge all the proposed changes but these issues need be
resolved quickly, sorry for the delay
On Wed, Sep 9, 2009 at 10:33 PM, mac9416 <email address hidden> wrote:
> Hey, Christopher, I've lost track of what's going on. I see that
> nothing has been merged into www-ubuntu-us-tn. Could you try and
> update me as to where we are? Thanks :-)
>
> On Wed, Sep 9, 2009 at 7:35 PM, Christopher
> Lunsford<email address hidden> wrote:
>> Christopher Lunsford has proposed merging lp:~mac9416/www-ubuntu-us-tn/trunk into lp:www-ubuntu-us-tn.
>>
>>
>> --
>> https:/
>> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>>
> --
> https:/
> You proposed lp:~mac9416/www-ubuntu-us-tn/trunk for merging.
>
Christopher Lunsford (binarymutant) wrote : | # |
alrighty, please pull the new changes that have wordpress added in the repo, the wp-theme/
Unmerged revisions
- 17. By mac9416
-
WP theme: stopped content bg from seperating from footer bg
- 16. By mac9416
-
Merged with latest revisions
- 15. By mac9416
-
WP theme: random code cleanup
- 14. By mac9416
-
WP theme: added theme control panel
- 13. By mac9416
-
WP theme: improved sidebars
- 12. By mac9416
-
WP theme: changed content background color
- 11. By mac9416
-
Added Wordpress theme
Preview Diff
1 | === added directory 'wp-theme' | |||
2 | === added directory 'wp-theme/ubuntu-us-tn' | |||
3 | === added file 'wp-theme/ubuntu-us-tn/404.php' | |||
4 | --- wp-theme/ubuntu-us-tn/404.php 1970-01-01 00:00:00 +0000 | |||
5 | +++ wp-theme/ubuntu-us-tn/404.php 2009-09-08 13:09:12 +0000 | |||
6 | @@ -0,0 +1,12 @@ | |||
7 | 1 | <?php get_header(); ?> | ||
8 | 2 | |||
9 | 3 | <?php get_sidebar(); ?> | ||
10 | 4 | |||
11 | 5 | <div class="text"> | ||
12 | 6 | |||
13 | 7 | <h1 class="title">Not Found</h1> | ||
14 | 8 | <p>The page you are looking is not here..</p> | ||
15 | 9 | |||
16 | 10 | </div> | ||
17 | 11 | |||
18 | 12 | <?php get_footer(); ?> | ||
19 | 0 | \ No newline at end of file | 13 | \ No newline at end of file |
20 | 1 | 14 | ||
21 | === added file 'wp-theme/ubuntu-us-tn/archive.php' | |||
22 | --- wp-theme/ubuntu-us-tn/archive.php 1970-01-01 00:00:00 +0000 | |||
23 | +++ wp-theme/ubuntu-us-tn/archive.php 2009-09-08 13:09:12 +0000 | |||
24 | @@ -0,0 +1,68 @@ | |||
25 | 1 | <?php get_header(); ?> | ||
26 | 2 | |||
27 | 3 | <?php get_sidebar(); ?> | ||
28 | 4 | <div id="content"><a name="content"></a> | ||
29 | 5 | <?php if (have_posts()) : ?> | ||
30 | 6 | |||
31 | 7 | <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> | ||
32 | 8 | <?php /* If this is a category archive */ if (is_category()) { ?> | ||
33 | 9 | <h2 class="pagetitle">Archive for the ‘<?php echo single_cat_title(); ?>’ Category</h2> | ||
34 | 10 | |||
35 | 11 | <?php /* If this is a daily archive */ } elseif (is_day()) { ?> | ||
36 | 12 | <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2> | ||
37 | 13 | |||
38 | 14 | <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> | ||
39 | 15 | <h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2> | ||
40 | 16 | |||
41 | 17 | <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> | ||
42 | 18 | <h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2> | ||
43 | 19 | |||
44 | 20 | <?php /* If this is an author archive */ } elseif (is_author()) { ?> | ||
45 | 21 | <h2 class="pagetitle">Author Archive</h2> | ||
46 | 22 | |||
47 | 23 | <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> | ||
48 | 24 | <h2 class="pagetitle">Blog Archives</h2> | ||
49 | 25 | |||
50 | 26 | <?php } ?> | ||
51 | 27 | |||
52 | 28 | <?php while (have_posts()) : the_post(); ?> | ||
53 | 29 | <div class="post" id="post-<?php the_ID(); ?>"> | ||
54 | 30 | <div class="date"> | ||
55 | 31 | <?php the_time('M'); ?><br /><span class="day"><?php the_time('d'); ?></span></div> | ||
56 | 32 | <div class="title"> | ||
57 | 33 | <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> | ||
58 | 34 | |||
59 | 35 | <div class="sub"><span>Posted by <?php the_author(); ?> under <?php the_category(', '); ?></span></div> | ||
60 | 36 | |||
61 | 37 | </div> | ||
62 | 38 | <div class="cover"> | ||
63 | 39 | <div class="entry"> | ||
64 | 40 | <?php the_content('Read the rest of this entry »'); ?> | ||
65 | 41 | |||
66 | 42 | </div> | ||
67 | 43 | |||
68 | 44 | </div> | ||
69 | 45 | <div class="postinfo"> | ||
70 | 46 | <div class="edit"><?php edit_post_link('Edit this entry', '| ', ''); ?> </div> | ||
71 | 47 | <div class="com"><?php comments_popup_link('ADD COMMENTS', '1 COMMENT', '% COMMENTS'); ?></div> | ||
72 | 48 | </div> | ||
73 | 49 | |||
74 | 50 | |||
75 | 51 | </div> | ||
76 | 52 | <?php endwhile; ?> | ||
77 | 53 | |||
78 | 54 | <div class="navigation"> | ||
79 | 55 | <div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div> | ||
80 | 56 | <div class="alignright"><?php previous_posts_link('Next Entries »') ?></div> | ||
81 | 57 | </div> | ||
82 | 58 | |||
83 | 59 | <?php else : ?> | ||
84 | 60 | |||
85 | 61 | <h1 class="title">Not Found</h1> | ||
86 | 62 | <p>Sorry, but you are looking for something that isn't here.</p> | ||
87 | 63 | |||
88 | 64 | <?php endif; ?> | ||
89 | 65 | |||
90 | 66 | </div> | ||
91 | 67 | |||
92 | 68 | <?php get_footer(); ?> | ||
93 | 0 | \ No newline at end of file | 69 | \ No newline at end of file |
94 | 1 | 70 | ||
95 | === added file 'wp-theme/ubuntu-us-tn/comments.php' | |||
96 | --- wp-theme/ubuntu-us-tn/comments.php 1970-01-01 00:00:00 +0000 | |||
97 | +++ wp-theme/ubuntu-us-tn/comments.php 2009-09-08 13:09:12 +0000 | |||
98 | @@ -0,0 +1,100 @@ | |||
99 | 1 | <?php // Do not delete these lines | ||
100 | 2 | if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) | ||
101 | 3 | die ('Please do not load this page directly. Thanks!'); | ||
102 | 4 | |||
103 | 5 | if (!empty($post->post_password)) { // if there's a password | ||
104 | 6 | if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie | ||
105 | 7 | ?> | ||
106 | 8 | |||
107 | 9 | <p class="nocomments">This post is password protected. Enter the password to view comments.<p> | ||
108 | 10 | |||
109 | 11 | <?php | ||
110 | 12 | return; | ||
111 | 13 | } | ||
112 | 14 | } | ||
113 | 15 | |||
114 | 16 | /* This variable is for alternating comment background */ | ||
115 | 17 | $oddcomment = 'alt'; | ||
116 | 18 | ?> | ||
117 | 19 | |||
118 | 20 | <!-- You can start editing here. --> | ||
119 | 21 | |||
120 | 22 | <div class="comments" id="comments"> | ||
121 | 23 | |||
122 | 24 | <?php if ($comments) : ?> | ||
123 | 25 | <ol> | ||
124 | 26 | |||
125 | 27 | <?php foreach ($comments as $comment) : ?> | ||
126 | 28 | |||
127 | 29 | <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>"> | ||
128 | 30 | <strong><?php comment_author_link() ?></strong> Said, | ||
129 | 31 | <?php if ($comment->comment_approved == '0') : ?> | ||
130 | 32 | <p><em>Your comment is awaiting moderation.</em></p> | ||
131 | 33 | <?php endif; ?> | ||
132 | 34 | |||
133 | 35 | <?php comment_text() ?> | ||
134 | 36 | |||
135 | 37 | </li> | ||
136 | 38 | |||
137 | 39 | <?php /* Changes every other comment to a different class */ | ||
138 | 40 | if ('alt' == $oddcomment) $oddcomment = ''; | ||
139 | 41 | else $oddcomment = 'alt'; | ||
140 | 42 | ?> | ||
141 | 43 | |||
142 | 44 | <?php endforeach; /* end for each comment */ ?> | ||
143 | 45 | |||
144 | 46 | </ol> | ||
145 | 47 | |||
146 | 48 | <?php else : // this is displayed if there are no comments so far ?> | ||
147 | 49 | |||
148 | 50 | <?php if ('open' == $post->comment_status) : ?> | ||
149 | 51 | <!-- If comments are open, but there are no comments. --> | ||
150 | 52 | |||
151 | 53 | <?php else : // comments are closed ?> | ||
152 | 54 | <!-- If comments are closed. --> | ||
153 | 55 | <p class="nocomments">Comments are closed.</p> | ||
154 | 56 | |||
155 | 57 | <?php endif; ?> | ||
156 | 58 | <?php endif; ?> | ||
157 | 59 | |||
158 | 60 | |||
159 | 61 | <?php if ('open' == $post->comment_status) : ?> | ||
160 | 62 | |||
161 | 63 | <h2 id="respond">Add A Comment</h2> | ||
162 | 64 | |||
163 | 65 | <?php if ( get_option('comment_registration') && !$user_ID ) : ?> | ||
164 | 66 | <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p> | ||
165 | 67 | <?php else : ?> | ||
166 | 68 | |||
167 | 69 | <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> | ||
168 | 70 | |||
169 | 71 | <?php if ( $user_ID ) : ?> | ||
170 | 72 | |||
171 | 73 | <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout »</a></p> | ||
172 | 74 | |||
173 | 75 | <?php else : ?> | ||
174 | 76 | |||
175 | 77 | <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> <label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p> | ||
176 | 78 | |||
177 | 79 | <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> <label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p> | ||
178 | 80 | |||
179 | 81 | <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> <label for="url"><small>Website</small></label></p> | ||
180 | 82 | |||
181 | 83 | <?php endif; ?> | ||
182 | 84 | |||
183 | 85 | <!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>--> | ||
184 | 86 | |||
185 | 87 | <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> | ||
186 | 88 | |||
187 | 89 | <p><input name="submit" type="submit" id="submit" tabindex="5" value="Post" /> | ||
188 | 90 | <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> | ||
189 | 91 | </p> | ||
190 | 92 | <?php do_action('comment_form', $post->ID); ?> | ||
191 | 93 | |||
192 | 94 | </form> | ||
193 | 95 | |||
194 | 96 | <?php endif; // If registration required and not logged in ?> | ||
195 | 97 | |||
196 | 98 | <?php endif; // if you delete this the sky will fall on your head ?> | ||
197 | 99 | |||
198 | 100 | </div> | ||
199 | 0 | \ No newline at end of file | 101 | \ No newline at end of file |
200 | 1 | 102 | ||
201 | === added file 'wp-theme/ubuntu-us-tn/footer.php' | |||
202 | --- wp-theme/ubuntu-us-tn/footer.php 1970-01-01 00:00:00 +0000 | |||
203 | +++ wp-theme/ubuntu-us-tn/footer.php 2009-09-09 21:17:31 +0000 | |||
204 | @@ -0,0 +1,16 @@ | |||
205 | 1 | <?php | ||
206 | 2 | global $options; | ||
207 | 3 | foreach ($options as $value) { | ||
208 | 4 | if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } | ||
209 | 5 | } | ||
210 | 6 | ?> | ||
211 | 7 | <div class="clear"></div> | ||
212 | 8 | </div> | ||
213 | 9 | |||
214 | 10 | <div id="footer"> | ||
215 | 11 | <div id="footer"><?php print($ubuntu_us_tn_footer_phrase); ?></div> | ||
216 | 12 | </div> | ||
217 | 13 | |||
218 | 14 | </div> | ||
219 | 15 | </body> | ||
220 | 16 | </html> | ||
221 | 0 | 17 | ||
222 | === added file 'wp-theme/ubuntu-us-tn/functions.php' | |||
223 | --- wp-theme/ubuntu-us-tn/functions.php 1970-01-01 00:00:00 +0000 | |||
224 | +++ wp-theme/ubuntu-us-tn/functions.php 2009-09-09 17:59:24 +0000 | |||
225 | @@ -0,0 +1,189 @@ | |||
226 | 1 | <?php | ||
227 | 2 | if ( function_exists('register_sidebar') ) | ||
228 | 3 | register_sidebar(array('name'=>'Sidebar')); | ||
229 | 4 | |||
230 | 5 | if ( !is_admin() ) wp_deregister_script('jquery'); | ||
231 | 6 | ?> | ||
232 | 7 | <?php | ||
233 | 8 | /* Function used to list pings separated from the comments */ | ||
234 | 9 | function list_pings($comment, $args, $depth) { | ||
235 | 10 | $GLOBALS['comment'] = $comment; | ||
236 | 11 | ?> | ||
237 | 12 | <li id="comment-<?php comment_ID(); ?>" class="ping"><?php comment_author_link(); ?> | ||
238 | 13 | <?php } ?> | ||
239 | 14 | <?php | ||
240 | 15 | $themename = "Ubuntu-US-TN"; | ||
241 | 16 | $shortname = "ubuntu_us_tn"; | ||
242 | 17 | $options = array ( | ||
243 | 18 | array( "name" => "Theme Options", | ||
244 | 19 | "type" => "title"), | ||
245 | 20 | |||
246 | 21 | array( "type" => "open"), | ||
247 | 22 | |||
248 | 23 | array( "name" => "Announcement Text", | ||
249 | 24 | "desc" => "Choose some the text that will appear at the top of the page. Leave empty for noe.", | ||
250 | 25 | "id" => $shortname."_announcement_text", | ||
251 | 26 | "type" => "text", | ||
252 | 27 | "std" => "Announcement here!"), | ||
253 | 28 | |||
254 | 29 | array( "name" => "Footer Phrase", | ||
255 | 30 | "desc" => "Choose the phrase that will appear at the bottom of the page. Use the <tt>br</tt> tag to force the line break.", | ||
256 | 31 | "id" => $shortname."_footer_phrase", | ||
257 | 32 | "type" => "text", | ||
258 | 33 | "std" => "Powered by Wordpress"), | ||
259 | 34 | |||
260 | 35 | array( "type" => "close") | ||
261 | 36 | |||
262 | 37 | ); | ||
263 | 38 | |||
264 | 39 | |||
265 | 40 | function mytheme_add_admin() { | ||
266 | 41 | |||
267 | 42 | global $themename, $shortname, $options; | ||
268 | 43 | |||
269 | 44 | if ( $_GET['page'] == basename(__FILE__) ) { | ||
270 | 45 | |||
271 | 46 | if ( 'save' == $_REQUEST['action'] ) { | ||
272 | 47 | |||
273 | 48 | foreach ($options as $value) { | ||
274 | 49 | update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } | ||
275 | 50 | |||
276 | 51 | foreach ($options as $value) { | ||
277 | 52 | if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } } | ||
278 | 53 | |||
279 | 54 | header("Location: themes.php?page=functions.php&saved=true"); | ||
280 | 55 | die; | ||
281 | 56 | |||
282 | 57 | } else if( 'reset' == $_REQUEST['action'] ) { | ||
283 | 58 | |||
284 | 59 | foreach ($options as $value) { | ||
285 | 60 | delete_option( $value['id'] ); } | ||
286 | 61 | |||
287 | 62 | header("Location: themes.php?page=functions.php&reset=true"); | ||
288 | 63 | die; | ||
289 | 64 | |||
290 | 65 | } | ||
291 | 66 | } | ||
292 | 67 | |||
293 | 68 | add_theme_page($themename." Options", "".$themename." Options", 'edit_themes', basename(__FILE__), 'mytheme_admin'); | ||
294 | 69 | |||
295 | 70 | } | ||
296 | 71 | |||
297 | 72 | function mytheme_admin() { | ||
298 | 73 | |||
299 | 74 | global $themename, $shortname, $options; | ||
300 | 75 | |||
301 | 76 | if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings saved.</strong></p></div>'; | ||
302 | 77 | if ( $_REQUEST['reset'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings reset.</strong></p></div>'; | ||
303 | 78 | |||
304 | 79 | ?> | ||
305 | 80 | <div class="wrap"> | ||
306 | 81 | <h2><?php echo $themename; ?> settings</h2> | ||
307 | 82 | |||
308 | 83 | <form method="post"> | ||
309 | 84 | |||
310 | 85 | <?php foreach ($options as $value) { | ||
311 | 86 | switch ( $value['type'] ) { | ||
312 | 87 | |||
313 | 88 | case "open": | ||
314 | 89 | ?> | ||
315 | 90 | <table width="100%" border="0" style="background-color:#eef5fb; padding:10px;"> | ||
316 | 91 | |||
317 | 92 | <?php break; | ||
318 | 93 | |||
319 | 94 | case "close": | ||
320 | 95 | ?> | ||
321 | 96 | |||
322 | 97 | </table><br /> | ||
323 | 98 | |||
324 | 99 | <?php break; | ||
325 | 100 | |||
326 | 101 | case "title": | ||
327 | 102 | ?> | ||
328 | 103 | <table width="100%" border="0" style="background-color:#dceefc; padding:5px 10px;"><tr> | ||
329 | 104 | <td colspan="2"><h3 style="font-family:Georgia,'Times New Roman',Times,serif;"><?php echo $value['name']; ?></h3></td> | ||
330 | 105 | </tr> | ||
331 | 106 | |||
332 | 107 | <?php break; | ||
333 | 108 | |||
334 | 109 | case 'text': | ||
335 | 110 | ?> | ||
336 | 111 | |||
337 | 112 | <tr> | ||
338 | 113 | <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> | ||
339 | 114 | <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> | ||
340 | 115 | </tr> | ||
341 | 116 | |||
342 | 117 | <tr> | ||
343 | 118 | <td><small><?php echo $value['desc']; ?></small></td> | ||
344 | 119 | </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr><tr><td colspan="2"> </td></tr> | ||
345 | 120 | |||
346 | 121 | <?php | ||
347 | 122 | break; | ||
348 | 123 | |||
349 | 124 | case 'textarea': | ||
350 | 125 | ?> | ||
351 | 126 | |||
352 | 127 | <tr> | ||
353 | 128 | <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> | ||
354 | 129 | <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> | ||
355 | 130 | |||
356 | 131 | </tr> | ||
357 | 132 | |||
358 | 133 | <tr> | ||
359 | 134 | <td><small><?php echo $value['desc']; ?></small></td> | ||
360 | 135 | </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr><tr><td colspan="2"> </td></tr> | ||
361 | 136 | |||
362 | 137 | <?php | ||
363 | 138 | break; | ||
364 | 139 | |||
365 | 140 | case 'select': | ||
366 | 141 | ?> | ||
367 | 142 | <tr> | ||
368 | 143 | <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> | ||
369 | 144 | <?php $isOptionSelected = false; ?> | ||
370 | 145 | <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> | ||
371 | 146 | </tr> | ||
372 | 147 | |||
373 | 148 | <tr> | ||
374 | 149 | <td><small><?php echo $value['desc']; ?></small></td> | ||
375 | 150 | </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr><tr><td colspan="2"> </td></tr> | ||
376 | 151 | |||
377 | 152 | <?php | ||
378 | 153 | break; | ||
379 | 154 | |||
380 | 155 | case "checkbox": | ||
381 | 156 | ?> | ||
382 | 157 | <tr> | ||
383 | 158 | <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> | ||
384 | 159 | <td width="80%"><? if(get_settings($value['id'])){ $checked = "checked=\"checked\""; }else{ $checked = ""; } ?> | ||
385 | 160 | <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> /> | ||
386 | 161 | </td> | ||
387 | 162 | </tr> | ||
388 | 163 | |||
389 | 164 | <tr> | ||
390 | 165 | <td><small><?php echo $value['desc']; ?></small></td> | ||
391 | 166 | </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr><tr><td colspan="2"> </td></tr> | ||
392 | 167 | |||
393 | 168 | <?php break; | ||
394 | 169 | |||
395 | 170 | } | ||
396 | 171 | } | ||
397 | 172 | ?> | ||
398 | 173 | |||
399 | 174 | <p class="submit"> | ||
400 | 175 | <input name="save" type="submit" value="Save changes" /> | ||
401 | 176 | <input type="hidden" name="action" value="save" /> | ||
402 | 177 | </p> | ||
403 | 178 | </form> | ||
404 | 179 | <form method="post"> | ||
405 | 180 | <p class="submit"> | ||
406 | 181 | <input name="reset" type="submit" value="Reset" /> | ||
407 | 182 | <input type="hidden" name="action" value="reset" /> | ||
408 | 183 | </p> | ||
409 | 184 | </form> | ||
410 | 185 | |||
411 | 186 | <?php | ||
412 | 187 | } | ||
413 | 188 | |||
414 | 189 | add_action('admin_menu', 'mytheme_add_admin'); ?> | ||
415 | 0 | 190 | ||
416 | === added file 'wp-theme/ubuntu-us-tn/header.php' | |||
417 | --- wp-theme/ubuntu-us-tn/header.php 1970-01-01 00:00:00 +0000 | |||
418 | +++ wp-theme/ubuntu-us-tn/header.php 2009-09-09 21:17:31 +0000 | |||
419 | @@ -0,0 +1,34 @@ | |||
420 | 1 | <?php | ||
421 | 2 | global $options; | ||
422 | 3 | foreach ($options as $value) { | ||
423 | 4 | if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } | ||
424 | 5 | } | ||
425 | 6 | ?> | ||
426 | 7 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
427 | 8 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> | ||
428 | 9 | <head profile="http://gmpg.org/xfn/11"> | ||
429 | 10 | <link rel="icon" href="favicon.ico" type="image/x-icon"> | ||
430 | 11 | <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> | ||
431 | 12 | <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> | ||
432 | 13 | <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> | ||
433 | 14 | <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" /> | ||
434 | 15 | <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> | ||
435 | 16 | <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> | ||
436 | 17 | |||
437 | 18 | <?php wp_get_archives('type=monthly&format=link'); ?> | ||
438 | 19 | <?php //comments_popup_script(); // off by default ?> | ||
439 | 20 | <?php wp_head(); ?> | ||
440 | 21 | </head> | ||
441 | 22 | <body> | ||
442 | 23 | <div id="wrapper"> | ||
443 | 24 | <div id="top"> | ||
444 | 25 | <a href="<?php bloginfo('siteurl');?>/"><img alt="Ubuntu Tennessee" src="<?php bloginfo('stylesheet_directory'); ?>/images/tnbanner.png" /></a> | ||
445 | 26 | </div> | ||
446 | 27 | <div id="menu"> | ||
447 | 28 | <ul> | ||
448 | 29 | <?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?> | ||
449 | 30 | <?php wp_list_pages('exclude='.get_page_by_title('Sitemap')->ID.','.get_page_by_title('Our Logo')->ID.'&sort_column=menu_order&depth=1&title_li='); ?> | ||
450 | 31 | </ul> | ||
451 | 32 | </div> | ||
452 | 33 | <div class="content"> | ||
453 | 34 | <div id="announcement"><h3><?php print($ubuntu_us_tn_announcement_text); ?></h3></div> | ||
454 | 0 | 35 | ||
455 | === added directory 'wp-theme/ubuntu-us-tn/images' | |||
456 | === added file 'wp-theme/ubuntu-us-tn/images/blank.gif' | |||
457 | 1 | Binary files wp-theme/ubuntu-us-tn/images/blank.gif 1970-01-01 00:00:00 +0000 and wp-theme/ubuntu-us-tn/images/blank.gif 2009-09-08 13:09:12 +0000 differ | 36 | Binary files wp-theme/ubuntu-us-tn/images/blank.gif 1970-01-01 00:00:00 +0000 and wp-theme/ubuntu-us-tn/images/blank.gif 2009-09-08 13:09:12 +0000 differ |
458 | === added file 'wp-theme/ubuntu-us-tn/images/tnbanner.png' | |||
459 | 2 | Binary files wp-theme/ubuntu-us-tn/images/tnbanner.png 1970-01-01 00:00:00 +0000 and wp-theme/ubuntu-us-tn/images/tnbanner.png 2009-09-08 13:09:12 +0000 differ | 37 | Binary files wp-theme/ubuntu-us-tn/images/tnbanner.png 1970-01-01 00:00:00 +0000 and wp-theme/ubuntu-us-tn/images/tnbanner.png 2009-09-08 13:09:12 +0000 differ |
460 | === added file 'wp-theme/ubuntu-us-tn/index.php' | |||
461 | --- wp-theme/ubuntu-us-tn/index.php 1970-01-01 00:00:00 +0000 | |||
462 | +++ wp-theme/ubuntu-us-tn/index.php 2009-09-08 13:09:12 +0000 | |||
463 | @@ -0,0 +1,38 @@ | |||
464 | 1 | <?php get_header(); ?> | ||
465 | 2 | <?php get_sidebar(); ?> | ||
466 | 3 | <div id="content"><a name="content"></a> | ||
467 | 4 | <?php if (have_posts()) : ?> | ||
468 | 5 | |||
469 | 6 | <?php while (have_posts()) : the_post(); ?> | ||
470 | 7 | <div class="post" id="post-<?php the_ID(); ?>"> | ||
471 | 8 | <div class="title"> | ||
472 | 9 | <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> | ||
473 | 10 | |||
474 | 11 | </div> | ||
475 | 12 | <div class="cover"> | ||
476 | 13 | <div class="entry"> | ||
477 | 14 | <?php the_content('Read the rest of this entry »'); ?> | ||
478 | 15 | </div> | ||
479 | 16 | </div> | ||
480 | 17 | </div> | ||
481 | 18 | <?php endwhile; ?> | ||
482 | 19 | |||
483 | 20 | <div class="navigation"> | ||
484 | 21 | <div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div> | ||
485 | 22 | <div class="alignright"><?php previous_posts_link('Next Entries »') ?></div> | ||
486 | 23 | </div> | ||
487 | 24 | |||
488 | 25 | <?php else : ?> | ||
489 | 26 | |||
490 | 27 | <div class="post"> | ||
491 | 28 | <h1 class="title">Not Found</h1> | ||
492 | 29 | <p>YOU are looking for something that ISN'T HERE.</p> | ||
493 | 30 | </div> | ||
494 | 31 | |||
495 | 32 | <?php endif; ?> | ||
496 | 33 | |||
497 | 34 | </div> | ||
498 | 35 | |||
499 | 36 | <?php get_sidebar(); ?> | ||
500 | 37 | |||
501 | 38 | <?php get_footer(); ?> | ||
502 | 0 | 39 | ||
503 | === added file 'wp-theme/ubuntu-us-tn/page.php' | |||
504 | --- wp-theme/ubuntu-us-tn/page.php 1970-01-01 00:00:00 +0000 | |||
505 | +++ wp-theme/ubuntu-us-tn/page.php 2009-09-08 13:09:12 +0000 | |||
506 | @@ -0,0 +1,27 @@ | |||
507 | 1 | <?php get_header(); ?> | ||
508 | 2 | |||
509 | 3 | <?php get_sidebar(); ?> | ||
510 | 4 | |||
511 | 5 | <div id="content"><a name="content"></a> | ||
512 | 6 | <?php if (have_posts()) : ?> | ||
513 | 7 | |||
514 | 8 | <?php while (have_posts()) : the_post(); ?> | ||
515 | 9 | <div class="post" id="post-<?php the_ID(); ?>"> | ||
516 | 10 | <div class="title"> | ||
517 | 11 | <!--<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>--> | ||
518 | 12 | |||
519 | 13 | </div> | ||
520 | 14 | <div class="cover"> | ||
521 | 15 | <div class="entry"> | ||
522 | 16 | <?php the_content('Read the rest of this entry »'); ?> | ||
523 | 17 | |||
524 | 18 | </div> | ||
525 | 19 | |||
526 | 20 | </div> | ||
527 | 21 | <div class="postinfo"></div> | ||
528 | 22 | </div> | ||
529 | 23 | <?php endwhile; endif; ?> | ||
530 | 24 | |||
531 | 25 | </div> | ||
532 | 26 | |||
533 | 27 | <?php get_footer(); ?> | ||
534 | 0 | \ No newline at end of file | 28 | \ No newline at end of file |
535 | 1 | 29 | ||
536 | === added file 'wp-theme/ubuntu-us-tn/screenshot.gif' | |||
537 | 2 | Binary files wp-theme/ubuntu-us-tn/screenshot.gif 1970-01-01 00:00:00 +0000 and wp-theme/ubuntu-us-tn/screenshot.gif 2009-09-08 13:09:12 +0000 differ | 30 | Binary files wp-theme/ubuntu-us-tn/screenshot.gif 1970-01-01 00:00:00 +0000 and wp-theme/ubuntu-us-tn/screenshot.gif 2009-09-08 13:09:12 +0000 differ |
538 | === added file 'wp-theme/ubuntu-us-tn/search.php' | |||
539 | --- wp-theme/ubuntu-us-tn/search.php 1970-01-01 00:00:00 +0000 | |||
540 | +++ wp-theme/ubuntu-us-tn/search.php 2009-09-08 13:09:12 +0000 | |||
541 | @@ -0,0 +1,49 @@ | |||
542 | 1 | <?php get_header(); ?> | ||
543 | 2 | |||
544 | 3 | <?php get_sidebar(); ?> | ||
545 | 4 | |||
546 | 5 | <div id="content"><a name="content"></a> | ||
547 | 6 | <?php if (have_posts()) : ?> | ||
548 | 7 | <h2 class="pagetitle">Search Results</h2> | ||
549 | 8 | <?php while (have_posts()) : the_post(); ?> | ||
550 | 9 | <div class="post" id="post-<?php the_ID(); ?>"> | ||
551 | 10 | <div class="date"> | ||
552 | 11 | <?php the_time('M'); ?><br /><span class="day"><?php the_time('d'); ?></span></div> | ||
553 | 12 | <div class="title"> | ||
554 | 13 | <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> | ||
555 | 14 | |||
556 | 15 | <div class="sub"><span>Posted by <?php the_author(); ?> under <?php the_category(', '); ?></span></div> | ||
557 | 16 | |||
558 | 17 | </div> | ||
559 | 18 | <div class="cover"> | ||
560 | 19 | <div class="entry"> | ||
561 | 20 | <?php the_content('Read the rest of this entry »'); ?> | ||
562 | 21 | |||
563 | 22 | </div> | ||
564 | 23 | |||
565 | 24 | </div> | ||
566 | 25 | <div class="postinfo"> | ||
567 | 26 | <div class="edit"><?php edit_post_link('Edit this entry', '| ', ''); ?> </div> | ||
568 | 27 | <div class="com"><?php comments_popup_link('ADD COMMENTS', '1 COMMENT', '% COMMENTS'); ?></div> | ||
569 | 28 | </div> | ||
570 | 29 | |||
571 | 30 | |||
572 | 31 | |||
573 | 32 | </div> | ||
574 | 33 | <?php endwhile; ?> | ||
575 | 34 | |||
576 | 35 | <div class="navigation"> | ||
577 | 36 | <div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div> | ||
578 | 37 | <div class="alignright"><?php previous_posts_link('Next Entries »') ?></div> | ||
579 | 38 | </div> | ||
580 | 39 | |||
581 | 40 | <?php else : ?> | ||
582 | 41 | |||
583 | 42 | <h1 class="title">Not Found</h1> | ||
584 | 43 | <p>Sorry, no post matched your criteria. Try a different search?</p> | ||
585 | 44 | |||
586 | 45 | <?php endif; ?> | ||
587 | 46 | |||
588 | 47 | </div> | ||
589 | 48 | |||
590 | 49 | <?php get_footer(); ?> | ||
591 | 0 | \ No newline at end of file | 50 | \ No newline at end of file |
592 | 1 | 51 | ||
593 | === added file 'wp-theme/ubuntu-us-tn/sidebar.php' | |||
594 | --- wp-theme/ubuntu-us-tn/sidebar.php 1970-01-01 00:00:00 +0000 | |||
595 | +++ wp-theme/ubuntu-us-tn/sidebar.php 2009-09-09 01:44:01 +0000 | |||
596 | @@ -0,0 +1,16 @@ | |||
597 | 1 | <?php if ( is_dynamic_sidebar() ) : ?> | ||
598 | 2 | <div class="boxes"> | ||
599 | 3 | <div class="lbox"> | ||
600 | 4 | <h3>Quick Links</h3> | ||
601 | 5 | <ul> | ||
602 | 6 | <li>Launchpad</li> | ||
603 | 7 | <li>etc.</li> | ||
604 | 8 | <li>etc.</li> | ||
605 | 9 | </ul> | ||
606 | 10 | </div> | ||
607 | 11 | <div class="rbox"> | ||
608 | 12 | <h3>Rbox</h3> | ||
609 | 13 | <p>Do something with me!</p> | ||
610 | 14 | </div> | ||
611 | 15 | </div> | ||
612 | 16 | <?php endif; ?> | ||
613 | 0 | \ No newline at end of file | 17 | \ No newline at end of file |
614 | 1 | 18 | ||
615 | === added file 'wp-theme/ubuntu-us-tn/single.php' | |||
616 | --- wp-theme/ubuntu-us-tn/single.php 1970-01-01 00:00:00 +0000 | |||
617 | +++ wp-theme/ubuntu-us-tn/single.php 2009-09-08 13:09:12 +0000 | |||
618 | @@ -0,0 +1,35 @@ | |||
619 | 1 | <?php get_header(); ?> | ||
620 | 2 | |||
621 | 3 | <?php get_sidebar(); ?> | ||
622 | 4 | <div id="content"><a name="content"></a> | ||
623 | 5 | <?php if (have_posts()) : ?> | ||
624 | 6 | |||
625 | 7 | <?php while (have_posts()) : the_post(); ?> | ||
626 | 8 | <div class="post" id="post-<?php the_ID(); ?>"> | ||
627 | 9 | <div class="title"> | ||
628 | 10 | <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> | ||
629 | 11 | |||
630 | 12 | </div> | ||
631 | 13 | <div class="cover"> | ||
632 | 14 | <div class="entry"> | ||
633 | 15 | <?php the_content('Read the rest of this entry »'); ?> | ||
634 | 16 | </div> | ||
635 | 17 | </div> | ||
636 | 18 | <div class="postinfo"> | ||
637 | 19 | <div class="alignleft"><?php previous_post_link('« %link') ?></div> | ||
638 | 20 | <div class="alignright"><?php next_post_link('%link »') ?></div> | ||
639 | 21 | </div> | ||
640 | 22 | |||
641 | 23 | |||
642 | 24 | </div> | ||
643 | 25 | <?php comments_template(); ?> | ||
644 | 26 | <?php endwhile; else: ?> | ||
645 | 27 | |||
646 | 28 | <h1 class="title">Not Found</h1> | ||
647 | 29 | <p>I'm Sorry, YOU are looking for something that ISN'T HERE. </p> | ||
648 | 30 | |||
649 | 31 | <?php endif; ?> | ||
650 | 32 | |||
651 | 33 | </div> | ||
652 | 34 | |||
653 | 35 | <?php get_footer(); ?> | ||
654 | 0 | \ No newline at end of file | 36 | \ No newline at end of file |
655 | 1 | 37 | ||
656 | === added file 'wp-theme/ubuntu-us-tn/style.css' | |||
657 | --- wp-theme/ubuntu-us-tn/style.css 1970-01-01 00:00:00 +0000 | |||
658 | +++ wp-theme/ubuntu-us-tn/style.css 2009-09-09 01:44:01 +0000 | |||
659 | @@ -0,0 +1,163 @@ | |||
660 | 1 | /* | ||
661 | 2 | Theme Name: Ubuntu-US-TN | ||
662 | 3 | Description: 2-column Ubuntu-esque theme | ||
663 | 4 | Author: mac9416 | ||
664 | 5 | */ | ||
665 | 6 | |||
666 | 7 | body { | ||
667 | 8 | margin: 0; | ||
668 | 9 | padding-top: 10px; | ||
669 | 10 | padding-bottom: 10px; | ||
670 | 11 | padding-left: 15px; | ||
671 | 12 | padding-right: 15px; | ||
672 | 13 | background-color: #DCD4B0; | ||
673 | 14 | font-family: serif; | ||
674 | 15 | font-size: 13px; | ||
675 | 16 | } | ||
676 | 17 | img { | ||
677 | 18 | border: 0; | ||
678 | 19 | } | ||
679 | 20 | blockquote { | ||
680 | 21 | padding-left: 10px; | ||
681 | 22 | color: #555; | ||
682 | 23 | font-style: normal; | ||
683 | 24 | } | ||
684 | 25 | |||
685 | 26 | /* The Wrapper */ | ||
686 | 27 | |||
687 | 28 | #wrapper { | ||
688 | 29 | padding-left: 20px; | ||
689 | 30 | padding-right: 20px; | ||
690 | 31 | margin: 0 auto; | ||
691 | 32 | } | ||
692 | 33 | |||
693 | 34 | /* The Top */ | ||
694 | 35 | |||
695 | 36 | #top { | ||
696 | 37 | height: 210px; | ||
697 | 38 | margin: auto; | ||
698 | 39 | background-color: #F1F1DD; | ||
699 | 40 | border-radius-topleft: 15px; | ||
700 | 41 | border-radius-topright: 15px; | ||
701 | 42 | -webkit-border-top-right-radius: 15px; | ||
702 | 43 | -webkit-border-top-left-radius: 15px; | ||
703 | 44 | -moz-border-radius-topleft: 15px; | ||
704 | 45 | -moz-border-radius-topright: 15px; | ||
705 | 46 | } | ||
706 | 47 | #top img { | ||
707 | 48 | display: block; | ||
708 | 49 | padding-top: 5px; | ||
709 | 50 | margin-left: auto; | ||
710 | 51 | margin-right: auto; | ||
711 | 52 | border: none; | ||
712 | 53 | } | ||
713 | 54 | |||
714 | 55 | #announcement { | ||
715 | 56 | display: block; | ||
716 | 57 | width: 100%; | ||
717 | 58 | background-color: #F5CD2E; | ||
718 | 59 | text-align: center; | ||
719 | 60 | margin: 0px; | ||
720 | 61 | padding: 0px; | ||
721 | 62 | font-weight: bold; | ||
722 | 63 | } | ||
723 | 64 | |||
724 | 65 | .content { | ||
725 | 66 | background-color: #F1F1DD; | ||
726 | 67 | padding-top: 25px; | ||
727 | 68 | padding-left: 20px; | ||
728 | 69 | padding-right: 20px; | ||
729 | 70 | min-height: 350px; | ||
730 | 71 | } | ||
731 | 72 | |||
732 | 73 | /* The Menu */ | ||
733 | 74 | |||
734 | 75 | #menu { | ||
735 | 76 | display: block; | ||
736 | 77 | width: 100%; | ||
737 | 78 | margin: 0px; | ||
738 | 79 | } | ||
739 | 80 | #menu ul { | ||
740 | 81 | margin: 0px; | ||
741 | 82 | list-style-type: none; | ||
742 | 83 | width: auto; | ||
743 | 84 | float: left; | ||
744 | 85 | } | ||
745 | 86 | #menu ul li{ | ||
746 | 87 | display: block; | ||
747 | 88 | float: left; | ||
748 | 89 | margin: 0 0 0 2px; | ||
749 | 90 | width: auto; | ||
750 | 91 | } | ||
751 | 92 | #menu ul li a{ | ||
752 | 93 | display: block; | ||
753 | 94 | float: left; | ||
754 | 95 | color: #D3000E; | ||
755 | 96 | text-align: center; | ||
756 | 97 | text-decoration: none; | ||
757 | 98 | padding: 5px 10px 0 10px; | ||
758 | 99 | width: auto; | ||
759 | 100 | font-family: sans-serif; | ||
760 | 101 | font-size: 14pt; | ||
761 | 102 | font-weight: bold; | ||
762 | 103 | } | ||
763 | 104 | #menu ul li a:hover,#menu ul li.current_page_item a { | ||
764 | 105 | color: #FF6209; | ||
765 | 106 | text-align: center; | ||
766 | 107 | } | ||
767 | 108 | |||
768 | 109 | #content { | ||
769 | 110 | margin: auto; | ||
770 | 111 | width: 60%; | ||
771 | 112 | } | ||
772 | 113 | |||
773 | 114 | /* The Sidebar */ | ||
774 | 115 | .boxes h1, .boxes h2, .boxes h3{ | ||
775 | 116 | margin: 0; | ||
776 | 117 | background-color: #808080; | ||
777 | 118 | -moz-border-radius: 5px; | ||
778 | 119 | padding: 3px; | ||
779 | 120 | } | ||
780 | 121 | .lbox { | ||
781 | 122 | float: left; | ||
782 | 123 | width: 16%; | ||
783 | 124 | font-family: sans-serif; | ||
784 | 125 | } | ||
785 | 126 | .rbox { | ||
786 | 127 | float: right; | ||
787 | 128 | width: 16%; | ||
788 | 129 | font-family: sans-serif; | ||
789 | 130 | } | ||
790 | 131 | /* --- FOOTER --- */ | ||
791 | 132 | |||
792 | 133 | #footer { | ||
793 | 134 | color: white; | ||
794 | 135 | background-color: #2f2f2f; | ||
795 | 136 | font-size: 8pt; | ||
796 | 137 | font-weight: normal; | ||
797 | 138 | text-align: center; | ||
798 | 139 | border-radius-bottomleft: 15px; | ||
799 | 140 | border-radius-bottomright: 15px; | ||
800 | 141 | -webkit-border-bottom-right-radius: 15px; | ||
801 | 142 | -webkit-border-bottom-left-radius: 15px; | ||
802 | 143 | -moz-border-radius-bottomleft: 15px; | ||
803 | 144 | -moz-border-radius-bottomright: 15px; | ||
804 | 145 | } | ||
805 | 146 | |||
806 | 147 | /* The Page Title */ | ||
807 | 148 | |||
808 | 149 | h2.pagetitle { | ||
809 | 150 | padding: 0; | ||
810 | 151 | margin: 0 0 20px 0; | ||
811 | 152 | font-size: 25px; | ||
812 | 153 | text-align: center; | ||
813 | 154 | } | ||
814 | 155 | |||
815 | 156 | .alignright { | ||
816 | 157 | float: right; | ||
817 | 158 | width: auto; | ||
818 | 159 | } | ||
819 | 160 | .alignleft { | ||
820 | 161 | float: left; | ||
821 | 162 | width: auto; | ||
822 | 163 | } | ||
823 | 0 | \ No newline at end of file | 164 | \ No newline at end of file |
Improved sidebars, corrected background color, and added a theme control panel for quick editing of announcement and footer text.