diff --git a/wp-content/themes/fixed-blix/404.php b/wp-content/themes/fixed-blix/404.php new file mode 100644 index 0000000000000000000000000000000000000000..c5f118702a8a3fad41aa78bc1771d97f109a5c72 --- /dev/null +++ b/wp-content/themes/fixed-blix/404.php @@ -0,0 +1,10 @@ +<?php get_header(); ?> + + <div id="content" class="column"> + <h2><?php _e('Error '); ?> 404 – <?php _e('Page not found'); ?></h2> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + </div> + +<?php get_sidebar(); ?> + +<?php get_footer(); ?> diff --git a/wp-content/themes/fixed-blix/BX_functions.php b/wp-content/themes/fixed-blix/BX_functions.php new file mode 100644 index 0000000000000000000000000000000000000000..88994395d021b20204c1784e8bef49c46aab1300 --- /dev/null +++ b/wp-content/themes/fixed-blix/BX_functions.php @@ -0,0 +1,119 @@ +<?php + global $options; + foreach ($options as $value) { + if (get_settings( $value['id'] ) === FALSE) { + global $$value['id']; + $$value['id'] = $value['std']; + } else { + global $$value['id']; + $$value['id'] = get_settings( $value['id'] ); + } + } +?> + +<?php +/** + * Function BX_archive + * ------------------------------------------------------ + * This function is based on WP's built-in get_archives() + * It outputs the following: + * + * <h3><a href="link">Month Year</a></h3> + * <ul class="postspermonth"> + * <li><a href="link">Post title</a> (Comment count)</li> + * [..] + * </ul> + */ + +function BX_archive() +{ + global $month, $wpdb; + $now = current_time('mysql'); + $arcresults = $wpdb->get_results('SELECT DISTINCT YEAR(post_date) AS year, MONTH(post_date) AS month, count(ID) as posts FROM ' . $wpdb->posts . ' WHERE post_date <\'' . $now . "' AND post_status='publish' AND post_type='post' AND post_password='' GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC"); + + if ($arcresults) { + foreach ($arcresults as $arcresult) { + $url = get_month_link($arcresult->year, $arcresult->month); + $text = sprintf('%s %d', $month[zeroise($arcresult->month,2)], $arcresult->year); + echo get_archives_link($url, $text, '','<h3>','</h3>'); + + $thismonth = zeroise($arcresult->month,2); + $thisyear = $arcresult->year; + + $arcresults2 = $wpdb->get_results('SELECT ID, post_date, post_title, comment_status FROM ' . $wpdb->posts . " WHERE post_date LIKE '$thisyear-$thismonth-%' AND post_status='publish' AND post_type='post' AND post_password='' ORDER BY post_date DESC"); + + if ($arcresults2) { + echo '<ul class="postspermonth">', "\n"; + foreach ($arcresults2 as $arcresult2) { + if ($arcresult2->post_date != '0000-00-00 00:00:00') { + $url = get_permalink($arcresult2->ID); + $arc_title = $arcresult2->post_title; + + if ($arc_title) $text = strip_tags($arc_title); + else $text = $arcresult2->ID; + + echo '<li>', get_archives_link($url, $text, ''); + $comments = mysql_query('SELECT * FROM ' . $wpdb->comments . ' WHERE comment_post_ID=' . $arcresult2->ID); + $comments_count = get_comments_number($arcresult2->ID); + if ($arcresult2->comment_status == 'open' OR $comments_count > 0) echo ' ('.$comments_count.')'; + echo '</li>', "\n"; + } + } + echo '</ul>', "\n"; + } + } + } +} + + +/** + * Function BX_excluded_pages() + * ------------------------------------------------ + * Returns the Blix default pages that are excluded + * from the navigation in the sidebar + */ + +function BX_excluded_pages() +{ + $page_paths = array('archives', 'about', 'about_short', 'contact'); + foreach ($page_paths as $page_path) { + $page = get_page_by_path($page_path); + if ($page) $exclude .= $page->ID . ','; + } + return rtrim($exclude, ','); +} + + +/** + * Function BX_shift_down_headlines + * ------------------------------------------------------ + * Shifts down the headings by one level (<h5> --> </h6>) + * Used for posts in the archive + */ + +function BX_shift_down_headlines($text) +{ + $text = apply_filters('the_content', $text); + $text = preg_replace('/h5>/','h6>',$text); + $text = preg_replace('/h4>/','h5>',$text); + $text = preg_replace('/h3>/','h4>',$text); + echo $text; +} + + +/** + * Function BX_remove_p + * --------------------------------------------------- + * Removes the opening <p> and closing </p> from $text + * Used for the short about text on the front page + */ + +function BX_remove_p($text) +{ + $text = apply_filters('the_content', $text); + $text = preg_replace("/^[\t|\n]?<p>(.*)/","\\1",$text); // opening <p> + $text = preg_replace("/(.*)<\/p>[\t|\n]$/","\\1",$text); // closing </p> + return $text; +} + +?> diff --git a/wp-content/themes/fixed-blix/archive.php b/wp-content/themes/fixed-blix/archive.php new file mode 100644 index 0000000000000000000000000000000000000000..02472ce2760d27383b4a42f0f78ee713548a2af8 --- /dev/null +++ b/wp-content/themes/fixed-blix/archive.php @@ -0,0 +1,88 @@ +<?php get_header(); ?> + + <div id="content" class="column archive"> + +<?php if (have_posts()) : ?> + + <?php /* If this is a category archive */ if (is_category()) { ?> + <h2><?php _e('Filed under:'); echo ' ', single_cat_title(); ?></h2> + + <?php /* If this is a tag archive */ } elseif (function_exists('is_tag') && is_tag()) { ?> + <h2><?php _e('Tag'); echo ': ', single_tag_title(); ?></h2> + + <?php /* If this is a daily archive */ } elseif (is_day()) { ?> + <h2><?php _e('Archives'); ?> – <?php the_time(__('F j, Y')); ?></h2> + + <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> + <h2><?php _e('Archives'); ?> – <?php the_time('F, Y'); ?></h2> + + <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> + <h2><?php _e('Archives'); ?> &ndash <?php the_time('Y'); ?></h2> + + <?php /* If this is a search */ } elseif (is_search()) { ?> + <h2><?php _e('Search Results'); ?></h2> + + <?php /* If this is an author archive */ } elseif (is_author()) { ?> + <h2><?php _e('Archives'); ?> – <?php _e('Author'); ?></h2> + + <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> + <h2><?php _e('Archives'); ?></h2> + + <?php } ?> + + <?php while (have_posts()) : the_post(); ?> + + <?php $custom_fields = get_post_custom(); ?> + + <?php if (isset($custom_fields['BX_post_type']) && $custom_fields['BX_post_type'][0] == 'mini') { ?> + + <hr class="low" /> + <div class="minientry"> + <p> + <?php echo BX_remove_p(get_the_content()); ?> + <div class="info"> + <?php comments_popup_link('(0)', '(1)', '(%)', 'commentlink', ''); ?> + <a href="<?php the_permalink(); ?>" class="permalink" title="Permalink"><?php the_time('M j, \'y') ?><!--, <?php the_time('h:ia') ?>--></a> + <!--<em class="author"><?php the_author() ?></em>--> + <?php edit_post_link('Edit','<span class="editlink">','</span>'); ?> + </div> + </p> + </div> + <hr class="low" /> + + <?php } else { ?> + + <div class="entry"> + <h3><a href="<?php the_permalink() ?>" title="Permalink"><?php the_title(); ?></a></h3> + <?php ($post->post_excerpt != '') ? the_excerpt() : BX_shift_down_headlines(get_the_content()); ?> + <?php wp_link_pages('before=<p class="page-links">&after=</p>'); ?> + <p class="info"> + <?php if ($post->post_excerpt != '') { ?><a href="<?php the_permalink() ?>" class="more"><?php _e('Continue'); ?></a><?php } ?> + <?php comments_popup_link(__('Leave a Comment'), __('1 Comment'), __('% Comments'), 'commentlink', ''); ?> + <em class="date"><?php the_time(__('F j, Y')) ?><!-- at <?php the_time('h:ia') ?>--></em> + <!--<em class="author"><?php the_author(); ?></em>--> + <?php edit_post_link('Edit','<span class="editlink">','</span>'); ?> + </p> + </div> + + <?php } ?> + + <?php endwhile; ?> + + <p> + <span class="next"><?php previous_posts_link(__('Next page')) ?></span> + <span class="previous"><?php next_posts_link(__('Previous page')) ?></span> + </p> + +<?php else : ?> + + <h2><?php _e('Page not found'); ?></h2> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + +<?php endif; ?> + + </div> + +<?php get_sidebar(); ?> + +<?php get_footer(); ?> diff --git a/wp-content/themes/fixed-blix/archives.php b/wp-content/themes/fixed-blix/archives.php new file mode 100644 index 0000000000000000000000000000000000000000..45a113f74f6c67270f56232dfaf20169afff3a51 --- /dev/null +++ b/wp-content/themes/fixed-blix/archives.php @@ -0,0 +1,16 @@ +<?php +/* +Template Name: archives +*/ +?> + +<?php get_header(); ?> + + <div id="content" class="column archive"> + <h2><?php _e('Archives'); ?></h2> + <?php BX_archive(); ?> + </div> + +<?php get_sidebar(); ?> + +<?php get_footer(); ?> diff --git a/wp-content/themes/fixed-blix/changelog.html b/wp-content/themes/fixed-blix/changelog.html new file mode 100644 index 0000000000000000000000000000000000000000..8086b4e772f1703cddbc4f5a93a385eef68aa915 --- /dev/null +++ b/wp-content/themes/fixed-blix/changelog.html @@ -0,0 +1,212 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <title>Blix Change Log</title> + <meta http-equiv="Content-Type" content="UTF-8" /> + + <style type="text/css" media="screen, print, projection"> + <!-- + + body { + font-family:Arial, Helvetica, sans-serif; + font-size:75%; + line-height:1.6em; + text-align:center; + color:#414141; + } + + #container { + width:65%; + margin:0 auto; + padding:3% 0; + text-align:left; + background:white; + } + + h1 { + margin:0; + padding:30px 0; + font-size:50px; + color:#009193; + } + + h2 { + margin:0 0 9px 0; + padding:20px 0 9px 0; + border-bottom:1px solid #F3F4F4; + font-family:Georgia, serif; + font-size:1.6em; + font-weight:normal; + color:#009193; + } + + h3 { + margin:0 0 3px 0; + font-size:1em; + } + + h4 { + margin:0; + font-size:1em; + } + + p { + margin:0; + padding:0 0 10px 0; + } + + ul, ol { + margin:0 0 0 2.4em; + padding:0 0 18px 0; + } + + a {color:#6C8C37;} + a:hover {color:#009193;} + + em { + letter-spacing:0.5px; + color:#1D6E6F; + } + + code { + padding:2px; + background-color:#F8FAF2; + } + + #intro { + margin:15px 0 20px 0; + padding:22px 15px 8px 15px; + background-color:#F8FAF2; + font-size:120%; + } + + #intro a {font-size:83%;} + + --> + </style> + + <style type="text/css" media="print"> + <!-- + #container {width:85%;} + h2 {border-bottom:0.5pt solid silver;} + #intro {border:0.5pt solid silver;} + --> + </style> + + </head> + + <body> + <div id="container"> + + <h1>Blix / Change Log</h1> + + <div id="intro"> + <p>List of changes made to Blix 0.9.1.</p> + <p><em>dancer @ Letters & Science</em><br /> + <a href="http://lettersandscience.net/Blix/">http://lettersandscience.net/Blix/</a> + </div> + + + <h2>Widget support added</h2> + + <h3>Files created</h3> + <ul> + <li>functions.php</li> + </ul> + + <h3>Files edited</h3> + <ul> + <li>sidebar.php</li> + <li>spring_flavour.css</li> + <li>layout.css</li> + </ul> + + + <h2>Show tags (WordPress 2.3+)</h2> + + <h3>Files edited</h3> + <ul> + <li>archive.php</li> + </ul> + + + <h2>Changes to work with WordPress 2.1+</h2> + + <h3>Files edited</h3> + <ul> + <li>BX_functions.php</li> + <li>sidebar.php</li> + </ul> + <p>Reference: <a href="http://rmarsh.com/2007/01/11/blix-theme-and-wordpress-21/">How To Make Blix Theme Ready for WordPress 2.1</a></p> + + + <h2>Changes to work with WordPress 2.5+</h2> + + <h3>Image alignment</h3> + <ul> + <li>layout.css</li> + </ul> + + <h3>Built-in gravatar support</h3> + <ul> + <li>layout.css</li> + <li>comments.php</li> + <li>comments-popup.php</li> + </ul> + + + <h2>Requirements for submitting to WordPress Themes</h2> + + <h3>Added tagline</h3> + <ul> + <li>spring_flavour.css</li> + <li>header.php</li> + </ul> + + + <h2>Internationalization</h2> + + <h2>Styles</h2> + + <h3>Added stylesheets for fluid width layout</h3> + + + <h2>Functions</h2> + + <h3>Replaced some custom Blix functions with existing WordPress functions</h3> + + + <h2>Navigation</h2> + + <h3>Wraps around if requires more than one row</h3> + + + <h2>Theme Options</h2> + + <h3>Added theme options in admin panel</h3> + <ul> + <li>Fixed or fluid width</li> + <li>Show sidebar on pages</li> + <li>Add pages to horizontal navigation or sidebar navigation</li> + <li>Show sub-pages in navigation menu</li> + </ul> + + + <h2>Fixed bugs</h2> + + <h3>Comment count on archive page</h3> + <ul> + <li>BX_functions.php</li> + </ul> + + + <h2>Fixed typo</h2> + + <h3>Files edited</h3> + <ul> + <li>single.php</li> + </ul> + + </div> + </body> +</html> diff --git a/wp-content/themes/fixed-blix/comments-popup.php b/wp-content/themes/fixed-blix/comments-popup.php new file mode 100644 index 0000000000000000000000000000000000000000..0d99a8ff31148f539a89cf34ce2ec898b6837cbf --- /dev/null +++ b/wp-content/themes/fixed-blix/comments-popup.php @@ -0,0 +1,124 @@ +<?php + /* Don't remove these lines. */ + add_filter('comment_text', 'popuplinks'); + foreach ($posts as $post) { start_wp(); +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<?php require_once get_template_directory()."/BX_functions.php"; ?> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <title><?php bloginfo('name'); wp_title(); ?></title> + <meta http-equiv="Content-Type" content="<?php bloginfo('charset'); ?>" /> + <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> + <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> + </head> + + <body id="commentspopup"> + <div id="container"> + <div id="content"> + <div id="comments"> + +<?php + // this line is WordPress' motor, do not delete it. + $comment_author = (isset($_COOKIE['comment_author_' . COOKIEHASH])) ? trim($_COOKIE['comment_author_'. COOKIEHASH]) : ''; + $comment_author_email = (isset($_COOKIE['comment_author_email_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_email_'. COOKIEHASH]) : ''; + $comment_author_url = (isset($_COOKIE['comment_author_url_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_url_'. COOKIEHASH]) : ''; + $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved = '1' ORDER BY comment_date"); + $commentstatus = $wpdb->get_row("SELECT comment_status, post_password FROM $wpdb->posts WHERE ID = $id"); + if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $commentstatus->post_password) { // and it doesn't match the cookie + echo(get_the_password_form()); + } else { + $commentalt = ''; + $commentcount = 1; +?> + + <?php if ($comments) : ?> + + <h2><?php comments_number(__('No Comments yet'), __('1 Comment'), __('% Comments')); if($post->comment_status == 'open') { ?> <a href="#commentform" class="more"><?php _e('Leave a Comment'); ?></a><?php } ?></h2> + + <ul> + + <?php foreach ($comments as $comment) : ?> + + <li id="comment-<?php comment_ID(); ?>" class="<?php comment_type('comment','trackback','pingback'); ?>"> + <p class="header<?php echo $commentalt; ?>"><strong><?php echo $commentcount ?>.</strong> + + <?php if (function_exists('get_avatar')) { echo get_avatar($comment); } ?> + + <?php if ($comment->comment_type == "comment") comment_author_link(); + else { + strlen($comment->comment_author)?$author=substr($comment->comment_author,0,25)."&hellip":$author=substr($comment->comment_author,0,25); + echo '<a href="', $comment->comment_author_url, '">', $author, '</a>'; + } + ?> | <?php comment_date(__('F j, Y')) ?> at <?php comment_time() ?></p> + <?php if ($comment->comment_approved == '0') : ?><p><em><?php _e('Your comment is awaiting moderation.'); ?></em></p><?php endif; ?> + <?php comment_text() ?> + <?php edit_comment_link(__('Edit Comment'),'<span class="editlink">','</span>'); ?> + </li> + + <?php + ($commentalt == ' alt')?$commentalt='':$commentalt=' alt'; + $commentcount++; + ?> + + <?php endforeach; ?> + + </ul> + + <?php endif; ?> + +<?php } ?> + +<?php if ($post->comment_status == 'open') : ?> + + <h2><?php _e('Leave a Comment'); ?></h2> + + <?php if (get_option('comment_registration') && !$user_ID) : ?> + <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".urlencode(get_permalink()));?></p> + + <?php else : ?> + + <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> + <fieldset> + + <?php if ($user_ID) : ?> + + <p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account') ?>"><?php _e('Log out »'); ?></a></p> + + <?php else : ?> + + <p><label for="author"><?php _e('Name'); ?></label> <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" /> <em><?php if ($req) _e('(required)'); ?></em></p> + <p><label for="email"><?php _e('E-mail'); ?></label> <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" /> <em><?php if ($req) _e('(required)'); ?>, (hidden)</em></p> + <p><label for="url"><?php _e('URL'); ?></label> <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" /></p> + + <?php endif; ?> + <p><label for="comment"><?php _e('Comment'); ?></label> <textarea name="comment" id="comment" cols="45" rows="10" tabindex="4"></textarea></p> + <p><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> + <input type="submit" name="submit" id="submit" value="<?php _e('Submit'); ?>" class="button" tabindex="5" /></p> + + </fieldset> + <?php do_action('comment_form', $post->ID); ?> + </form> + + <p><strong>XHTML:</strong> <?php printf(__('You can use these tags: %s'), allowed_tags()); ?></p> + + <?php endif; // If registration required and not logged in ?> + + <?php endif; // if you delete this the sky will fall on your head ?> + + <?php if ($post-> comment_status == 'open' && $post->ping_status == 'open') { ?> + <p><a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Universal Resource Locator">URL</abbr>'); ?></a> | <?php post_comments_feed_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.')); ?></p> + <?php } elseif ($post-> comment_status == 'open') {?> + <p><?php post_comments_feed_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.')); ?></p> + <?php } elseif ($post->ping_status == 'open') {?> + <p><a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Universal Resource Locator">URL</abbr>'); ?></a></p> + <p><a href="<?php trackback_url(display); ?>">Trackback this post</a></p> + <?php } ?> + +<?php } ?> + + </div> + </div> + </div> + </body> +</html> diff --git a/wp-content/themes/fixed-blix/comments.php b/wp-content/themes/fixed-blix/comments.php new file mode 100644 index 0000000000000000000000000000000000000000..2f88ec3701dab6be92cf90c0c9a667f937057c16 --- /dev/null +++ b/wp-content/themes/fixed-blix/comments.php @@ -0,0 +1,101 @@ + <div id="comments"> + +<?php // Do not delete these lines + if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) + die ('Please do not load this page directly. Thanks!'); + + if (!empty($post->post_password)) { // if there's a password + if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie +?> + <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.'); ?><p> + </div> +<?php + return; + } + } + $commentalt = ''; + $commentcount = 1; +?> + +<?php if ($comments) : ?> + + <h2><?php comments_number(__('No Comments yet'), __('1 Comment'), __('% Comments')); if($post->comment_status == 'open') { ?> <a href="#commentform" class="more"><?php _e('Leave a Comment'); ?></a><?php } ?></h2> + + <ul> + + <?php foreach ($comments as $comment) : ?> + + <li id="comment-<?php comment_ID(); ?>" class="<?php comment_type('comment','trackback','pingback'); ?>"> + <p class="header<?php echo $commentalt; ?>"><strong><?php echo $commentcount ?>.</strong> + + <?php if (function_exists('get_avatar')) { echo get_avatar($comment); } ?> + + <?php if ($comment->comment_type == 'comment') comment_author_link(); + else { + strlen($comment->comment_author)?$author=substr($comment->comment_author,0,25)."&hellip":$author=substr($comment->comment_author,0,25); + echo '<a href="', $comment->comment_author_url, '">', $author, '</a>'; + } + ?> | <?php printf(__('%1$s at %2$s'), get_comment_date(__('F j, Y')), get_comment_time()); ?></p> + <?php if ($comment->comment_approved == '0') : ?><p><em><?php _e('Your comment is awaiting moderation.'); ?></em></p><?php endif; ?> + <?php comment_text() ?> + <?php edit_comment_link(__('Edit Comment'),'<span class="editlink">','</span>'); ?> + </li> + + <?php + ($commentalt == ' alt')?$commentalt='':$commentalt=' alt'; + $commentcount++; + ?> + + <?php endforeach; ?> + + </ul> + +<?php endif; ?> + +<?php if ($post->comment_status == 'open') : ?> + + <h2 id="respond"><?php _e('Leave a Comment'); ?></h2> + + <?php if (get_option('comment_registration') && !$user_ID) : ?> + <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".urlencode(get_permalink()));?></p> + + <?php else : ?> + + <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> + <fieldset> + + <?php if ($user_ID) : ?> + + <p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account') ?>"><?php _e('Log out »'); ?></a></p> + + <?php else : ?> + + <p><label for="author"><?php _e('Name'); ?></label> <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" /> <em><?php if ($req) _e('(required)'); ?></em></p> + <p><label for="email"><?php _e('E-mail'); ?></label> <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" /> <em><?php if ($req) _e('(required)'); ?>, (<?php _e('Hidden'); ?>)</em></p> + <p><label for="url"><?php _e('URL'); ?></label> <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" /></p> + + <?php endif; ?> + <p><label for="comment"><?php _e('Comment'); ?></label> <textarea name="comment" id="comment" cols="45" rows="10" tabindex="4"></textarea></p> + <p><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> + <input type="submit" name="submit" id="submit" value="<?php _e('Submit'); ?>" class="button" tabindex="5" /></p> + + </fieldset> + <?php do_action('comment_form', $post->ID); ?> + </form> + + <p><strong>XHTML:</strong> <?php printf(__('You can use these tags: %s'), allowed_tags()); ?></p> + + <?php endif; // If registration required and not logged in ?> + +<?php endif; // if you delete this the sky will fall on your head ?> + +<?php if ($post-> comment_status == "open" && $post->ping_status == "open") { ?> + <p><a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Universal Resource Locator">URL</abbr>'); ?></a> | <?php post_comments_feed_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.')); ?></p> +<?php } elseif ($post-> comment_status == "open") {?> + <p><?php post_comments_feed_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.')); ?></p> +<?php } elseif ($post->ping_status == "open") {?> + <p><a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Universal Resource Locator">URL</abbr>'); ?></a></p> + <p><a href="<?php trackback_url(display); ?>">Trackback this post</a></p> +<?php } ?> + + </div> diff --git a/wp-content/themes/fixed-blix/contact.php b/wp-content/themes/fixed-blix/contact.php new file mode 100644 index 0000000000000000000000000000000000000000..297944ff7a44f06a21b245c4f0c385d2c9c22d1e --- /dev/null +++ b/wp-content/themes/fixed-blix/contact.php @@ -0,0 +1,110 @@ +<?php +/* +Template Name: contact +*/ +?> + +<?php get_header(); ?> + + <div id="content" class="column"> + <div class="pageentry"> + +<?php if (have_posts()) : ?> + + <?php while (have_posts()) : the_post(); ?> + + <?php + //validate email adress + function is_valid_email($email) + { + return (eregi ("^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}$", $email)); + } + + //clean up text + function clean($text) + { + return stripslashes($text); + } + + //encode special chars (in name and subject) + function encodeMailHeader ($string, $charset = 'UTF-8') + { + return sprintf ('=?%s?B?%s?=', strtoupper ($charset),base64_encode ($string)); + } + + $bx_name = (!empty($_POST['bx_name'])) ? $_POST['bx_name'] : ''; + $bx_email = (!empty($_POST['bx_email'])) ? $_POST['bx_email'] : ''; + $bx_url = (!empty($_POST['bx_url'])) ? $_POST['bx_url'] : ''; + $bx_subject = (!empty($_POST['bx_subject'])) ? $_POST['bx_subject'] : ''; + $bx_message = (!empty($_POST['bx_message'])) ? $_POST['bx_message'] : ''; + + $bx_subject = clean($bx_subject); + $bx_message = clean($bx_message); + $error_msg = ''; + $send = 0; + + if (!empty($_POST['submit'])) { + $send = 1; + if (empty($bx_name) || empty($bx_email) || empty($bx_subject) || empty($bx_message)) { + $error_msg.= '<p><strong>Please fill in all required fields.</strong></p>' . "\n"; + $send = 0; + } + if (!is_valid_email($bx_email)) { + $error_msg.= '<p><strong>Your email adress failed to validate.</strong></p>'."\n"; + $send = 0; + } + } + + if (!$send) { ?> + + <h2><?php the_title(); ?></h2> + <?php + the_content(); + echo $error_msg; + ?> + + <form method="post" action="<?php echo 'http://', $_SERVER['HTTP_HOST'], $_SERVER['REQUEST_URI']; ?>" id="contactform"> + <fieldset> + <p><label for="bx_name"><?php _e('Name'); ?></label> <input type="text" name="bx_name" id="bx_name" value="<?php echo $bx_name; ?>" tabindex="1" /></p> + <p><label for="bx_email"><?php _e('E-mail'); ?></label> <input type="text" name="bx_email" id="bx_email" value="<?php echo $bx_email; ?>" tabindex="2" /></p> + <p><label for="bx_url"><?php _e('URL'); ?></label> <input type="text" name="bx_url" id="bx_url" value="<?php echo $bx_url; ?>" tabindex="3" /> <em><?php _e('Optional'); ?></em></p> + <p><label for="bx_subject"><?php _e('Subject'); ?></label> <input type="text" name="bx_subject" id="bx_subject" value='<?php echo $bx_subject; ?>' tabindex="4" /></p> + <p><label for="bx_message"><?php _e('Comment'); ?></label> <textarea name="bx_message" id="bx_message" cols="45" rows="10" tabindex="5"><?php echo $bx_message; ?></textarea></p> + <p><input type="submit" name="submit" id="submit" value="<?php _e('Submit'); ?>" class="button" tabindex="6" /></p> + </fieldset> + </form> + + <?php + } else { + + $displayName_array = explode(' ',$bx_name); + $displayName = htmlentities(utf8_decode($displayName_array[0])); + + $header = "MIME-Version: 1.0\n"; + $header .= "Content-Type: text/plain; charset=\"utf-8\"\n"; + $header .= 'From:' . encodeMailHeader($bx_name) . '<' . $bx_email . ">\n"; + $email_subject = '[' . get_settings('blogname') . '] ' . encodeMailHeader($bx_subject); + $email_text = 'From......: ' . $bx_name . "\n" . + 'Email.....: ' . $bx_email . "\n" . + 'Url.......: ' . $bx_url . "\n\n" . + '..........................................................' . "\n" . + 'Subject...: ' . $bx_subject . "\n" . + '..........................................................' . "\n\n" . + $bx_message; + + if (@mail(get_settings('admin_email'), $email_subject, $email_text, $header)) { + echo '<h2>Hey ', $displayName, ',</h2><p>thanks for your message! I\'ll get back to you as soon as possible.</p>'; + } + } + ?> + + <?php endwhile; ?> + +<?php endif; ?> + + </div> + </div> + +<?php if ($blix_sidebar) get_sidebar(); ?> + +<?php get_footer(); ?> diff --git a/wp-content/themes/fixed-blix/css/ie6.css b/wp-content/themes/fixed-blix/css/ie6.css new file mode 100644 index 0000000000000000000000000000000000000000..e383dacb2bd16e85647ebfe6301db750d9593c70 --- /dev/null +++ b/wp-content/themes/fixed-blix/css/ie6.css @@ -0,0 +1,6 @@ +#container.singlecol { + padding:0 30px 0 30px; +} +#navigation { + border-bottom:1px solid; +} diff --git a/wp-content/themes/fixed-blix/css/ie7.css b/wp-content/themes/fixed-blix/css/ie7.css new file mode 100644 index 0000000000000000000000000000000000000000..7851c23bcaaa3999077d3bde5aa28231424c32b6 --- /dev/null +++ b/wp-content/themes/fixed-blix/css/ie7.css @@ -0,0 +1,3 @@ +#navigation { + border-bottom:1px solid; +} diff --git a/wp-content/themes/fixed-blix/css/layout.css b/wp-content/themes/fixed-blix/css/layout.css new file mode 100644 index 0000000000000000000000000000000000000000..aec7bcce223ad864d1bb559be486d350472d2b26 --- /dev/null +++ b/wp-content/themes/fixed-blix/css/layout.css @@ -0,0 +1,569 @@ +/* reset */ +body,h1,h2,h3,h4,h5,h6,p,form,fieldset {margin:0;padding:0;} +.low {display:none;} + + +/* body */ +body { + margin:0; + font-family:Arial, Helvetica, sans-serif; + text-align:center; +} + +body#commentspopup {padding:0;} + + +/* headings */ +h1 {font-size:30px;} + +#header h3 {line-height:2em;} + +#content h1 { + margin:0 0 18px 0; +} + +#content h2 { + margin:0 0 18px 0; + font-family:Georgia, serif; + font-size:1.6em; + font-weight:normal; +} + +#content h3 { + margin:0 0 18px 0; + font-size:1em; +} + +#content h4 { + margin:0; + font-size:1em; +} + +#content.archive h2 {margin:0 0 26px 0;} + +#content.archive h3 { + margin:0 0 10px 0; + font-family:Georgia, serif; + font-size:1.3em; + font-weight:normal; +} + +#content.archive h4 { + margin:0 0 18px 0; + font-size:1em; +} + +#content.archive h5 { + margin:0; + font-size:1em; +} + + +/* links */ +a {text-decoration:none;} + +a img {border:none;} + + +/* paragraphs, lists, etc */ +p { + margin:0; + padding:0 0 18px 0; +} + +ul, ol { + margin:0 0 0 1.4em; + padding:0 0 18px 0; +} + +ul ul, ol ol {padding:0;} + +blockquote { + margin:0; + padding:0 18px; + font-style:italic; +} + +pre { + overflow:auto; + margin:0 0 18px 0; + padding:4px; +} + +pre, code, kbr {font-family:Courier, Monaco, monospace;} + +code, kbr {padding:0 2px;} + +abbr, acronym { + font-size:0.9em; + letter-spacing:1px; +} + + +/* images */ +.alignleft, img.left { + float:left; + margin:12px 12px 12px 0; +} + +.alignright, img.right { + float:right; + margin:12px 0 12px 12px; +} + +.aligncenter, img.center { + display: block; + margin:0 auto; +} + + +/* container */ +#container { + margin:0 auto; + text-align:left; +} + +#commentspopup #container { + width:455px; + padding:0 15px; +} + + +/* header */ +#header { + height:115px; + padding:0 0 0 18px; +} + +#header h1 { + /*display:none; This will hide the text in your header */ + padding-top:50px; +} + + +/* navigation */ +#navigation ul { + margin:0; + padding:0; + list-style:none; +} + +#navigation li { + float:left; + border:1px solid white; + border-width: 0 1px 0px 0; + line-height:2.7em; +} + +#navigation li a { + display:block; + padding:0 18px; + font-size:0.8em; + text-transform:uppercase; + letter-spacing:1px; +} + +* html #navigation a {width:1%;} /* see http://www.positioniseverything.net/explorer/escape-floats.html */ + +#navigation form { + float:right; + /*height:100%;*/ + height:2.7em;/**/ + width:189px; + padding:0 15px; + border-left:1px solid; + line-height:0; +} + +#navigation form fieldset { + /* centering the search form could've + been done way more elegant but IEWin + and Opera refused to follow the rules */ + margin-top:7px; + border:0 solid; /* Opera */ +} + +* html #navigation form fieldset {margin-top:7px;} + +#navigation #s { + height:1.5em; + width:140px; + margin:0 5px 0 0; + padding:0; + border:1px solid; + font-size:0.8em; + vertical-align:middle; +} + +#navigation #searchbutton { + height:2em; + width:auto; + max-width:39px;/**/ + padding:0 1px; + border:1px solid; + font-size:9px; + letter-spacing:1px; + text-align:center; + vertical-align:middle; +} + + +/* content */ +#content { + padding-top:32px; + overflow:hidden; +} + +.singlecol #content { + width:auto; + margin:0 70px; +} + +#commentspopup #content { + float:none; + padding-top:0; +} + + +/* entry */ +.entry .info { + clear:both; + position:relative; + margin-top:-3px; + padding:3px; + border-top:1px solid; + border-bottom:1px solid; + font-size:0.9em; +} + +.entry.single {clear:both;} + +.entry.single .info {margin:0 0 22px 0;} + +.entry .info a { + margin-right:6px; + padding-right:9px; + border-right:1px solid; +} + +.entry .info em { + padding-right:6px; + font-style:normal; +} + +.entry .author, +.entry .editlink a { + margin:0; + padding:0 0 0 10px; + border-left:1px solid; + border-right:none +} + +.entry #filedunder { + clear:both; + padding:3px 0 0 0; + font-size:0.9em; + border-top:1px solid; +} + +.entry #tags { + clear:both; + padding:3px 0 0 0; + font-size:0.9em; +} + + +/* mini-entry */ +.minientry { + position:relative; + margin:0px 0 35px 0; + padding:10px 0; + border-top:1px dotted; + border-bottom:1px dotted; +} + +.minientry p {padding:0;} + +.minientry .info { + clear:both; +} + +.minientry .commentlink { + margin-left:3px; + padding-right:7px; + border-right:1px solid; + font-size:0.9em; +} + +.minientry .permalink { + margin-left:3px; + font-size:0.9em; + font-style:normal; +} + +.minientry .author, +.minientry .editlink a { + margin-left:6px; + padding:0 8px 0 10px; + border-left:1px solid; + font-size:0.9em; + font-style:normal; +} + +.minientry .editlink a {margin:0;} + + +/* comments */ +#comments h2 {margin-bottom:24px;} + +#comments h2 a { + margin-left:2px; + padding-left:6px; + border-left:1px solid; + font-family:Arial,Helvetica,sans-serif; + font-size:0.55em; +} + +#comments ul {margin:0 0 0 20px;} + +#comments li { + position:relative; + margin-bottom:18px; +} + + +#comments li p {padding:0 0 10px 0;} + +#comments .header { + position:relative; + min-height:19px; /* 19 + 3 +3 = 25px = height of gravatar */ + margin:0 0 10px 0; + padding:3px 6px; +} + +* html #comments .header {height:19px;} /* IEWin */ + +#comments .header strong {font-family:Georgia,sans-serif;} + +.avatar { + position:absolute; + top:1px; + right:1px; +} + + +/* form */ + +form {padding:6px 0;} + +#commentform, #contactform {margin-bottom:18px;} + +form fieldset {border:0 solid;} /* Opera */ + +form p { + padding:6px 0; + border-bottom:1px solid; +} + +#commentform label { + display:block; + float:left; + width:90px; +} +#contactform label { + display:block; + float:left; + width:90px; +} + +#commentform label {margin:0 15px 0 15px;} +#contactform label {margin:0 15px 0 0;} + +form em { + margin-left:5px; + font-size:0.9em; + font-style:normal; +} + +form input, form textarea { + padding:3px; + border:1px solid; + font-family:Arial,Helvetica,sans-serif; + font-size:0.9em; +} + +form textarea {overflow:auto;} + +#commentform input, #contactform input {width:200px;} +#commentform textarea {width:295px;} +.singlecol #contactform textarea, .singlecol #contactform #bx_subject {width:435px;} +.doublecol #contactform textarea, .doublecol #contactform #bx_subject {width:295px;} + +* html #commentform textarea {width:290px;} /* IE WIN; but why? */ +* html .singlecol #contactform textarea, +* html .singlecol #contactform #bx_subject {width:415px;} /* IE WIN; but why? */ +* html .doublecol #contactform textarea, +* html .doublecol #contactform #bx_subject {width:290px;} /* IE WIN; but why? */ + +form .button { + width:90px !important; + border-bottom:1px solid; + font-weight:bold; +} + +#commentform .button {margin-left:120px;} +#contactform .button {margin-left:105px;} + +form .hiddenfield {display:none;} + +form .info {padding-left:90px;} + + +/* archives */ +.archive .postspermonth { + margin:0; + list-style:none; +} + + +/* content misc */ +.next a {float:right;} +.previous a {float:left;} + + +#entrynavigation { + overflow: auto; + height:1%; + margin-bottom:13px; + padding-bottom:13px; + border-bottom:1px solid; + font-size:0.9em; +} + + +/* subcontent */ +#subcontent { + width:205px; + padding:15px 0 0 15px; + font-size:0.9em; + line-height:1.5em; + overflow:hidden; +} + +* html #subcontent {padding-top:32px;} /* dirty fix for IEWIN; temporary! */ + +#subcontent ul, #subcontent p {margin:0 10px;} + + +/* subcontent headings */ +#subcontent h2 { + margin:18px 0 10px 0; + font-family:Georgia,serif; + font-size:1em; + line-height:1em; +} + +#subcontent h2 em { + display:block; + padding:5px 10px; + font-style:normal; +} + + +/* subcontent list */ +#subcontent ul li { + margin:2px 0 2px 18px; + padding-bottom:2px; + border-bottom:1px solid; +} + +#subcontent li a { + padding:1px 0; + height:1%; /* IE WIN */ +} + +#subcontent ul.pages li ul, +#subcontent ul.categories li ul, #subcontent ul li.cat-item ul {margin:0;} + +#subcontent ul.pages li li, #subcontent ul li.page_item li.page_item, +#subcontent ul.categories li li, #subcontent ul li.cat-item li.cat-item { + margin:0; + padding:0 0 3px 0; + border-bottom:none; +} + +#subcontent ul.pages li ul ul, +#subcontent ul.categories li ul ul, #subcontent ul li.cat-item ul ul {margin:0 0 0 16px;} + + +/* calendar */ +#wp-calendar { + display:inline-table; + border-collapse:collapse; + width:185px; + margin:0px 10px 0 10px; + text-align:center; +} + +#subcontent table caption { + margin:-5px 10px 5px 10px; + padding-bottom:5px; + border-bottom:1px solid; + letter-spacing:0.1em; +} + +#subcontent table thead tr {border-bottom:1px solid;} + +#subcontent table th {border-bottom:1px solid;} + +#subcontent table td { + width:200px; + padding:1px; + font-size:0.9em; +} + +#subcontent table td#today { + padding:0; + border:1px solid; + font-size:1em; + font-weight:bold; +} + +#subcontent table td a { + display:block; + border-bottom:1px solid; + font-weight:bold; + font-size:1.15em; +} + +#subcontent table tfoot {border-top:1px solid;} + +#subcontent table tfoot a { + border:none; + font-weight:bold; +} + +#subcontent table tfoot #prev a {text-align:left;} +#subcontent table tfoot #next a {text-align:right;} + + +/* footer */ +#footer { + clear:both; + font-size:0.9em; +} + +.singlecol #footer { + padding:25px 0 15px 0; +} + +#footer p { + padding:12px 0 18px 0; + border-top:1px solid; +} + +#footer strong {font-weight:normal;} + +.singlecol #footer p { + padding:12px 70px 18px 70px; +} diff --git a/wp-content/themes/fixed-blix/css/layout_fixed.css b/wp-content/themes/fixed-blix/css/layout_fixed.css new file mode 100644 index 0000000000000000000000000000000000000000..66101b78a556de2699a79fa0f3d782c3b72ef7ef --- /dev/null +++ b/wp-content/themes/fixed-blix/css/layout_fixed.css @@ -0,0 +1,32 @@ +@import "layout.css"; + +body { + padding:15px 0; + font-size:75%; + line-height:1.6em; +} +#container { + width:690px; + padding:30px 30px 0 30px; +} +#content { + float:left; + width:455px; +} +.singlecol #content { + float:none; + width:550px; +} +.entry { + margin:0 0 40px 0; +} +.avatar { + width:23px; + height:23px; +} +#subcontent { + float:right; +} +#footer { + padding:40px 0 15px 0; +} diff --git a/wp-content/themes/fixed-blix/css/layout_fluid.css b/wp-content/themes/fixed-blix/css/layout_fluid.css new file mode 100644 index 0000000000000000000000000000000000000000..c29a0376a0fe9a8024e586d9dfbcb36cabc0a818 --- /dev/null +++ b/wp-content/themes/fixed-blix/css/layout_fluid.css @@ -0,0 +1,68 @@ +body { + margin:0 15px; + min-width:750px; + max-width:1000px; + font-size:80%; + line-height:2em; +} + +#container.doublecol { + padding:0 235px 0 30px; +} +#container.singlecol { + padding:0 30px 0 30px; +} + +.doublecol #header { + margin-right:-205px; +} + +.doublecol #navigation { + margin-right:-205px; +} + +.doublecol .column { + position: relative; + float: left; +} + +.doublecol #content { + width:100%; + margin-right:-15px; +} + +.entry { + margin:0 0 40px 0; + padding-right:30px; +} + +.minientry { + margin-right:30px; +} + +.pageentry { + padding-right:30px; +} + +#comments { + padding-right:30px; +} +.avatar { + width:29px; + height:29px; +} + +#subcontent { + margin-right:-205px; +} + +#footer { + padding:0px 0 15px 0; +} +.doublecol #footer { + margin-right:-205px; +} +#footer-hack { + height:40px; + margin-right:205px; +} diff --git a/wp-content/themes/fixed-blix/css/spring_flavour.css b/wp-content/themes/fixed-blix/css/spring_flavour.css new file mode 100644 index 0000000000000000000000000000000000000000..4d6f0a69e192e819a3b41f5707a37acd66615033 --- /dev/null +++ b/wp-content/themes/fixed-blix/css/spring_flavour.css @@ -0,0 +1,309 @@ +/* body */ +body { + color:#414141; + background:#EDE8E2; +} + +body#commentspopup {background:white;} + + +/* headings */ +h1, h1 a, +h2, h2 a, +h3 a, +h4 a + {color:#009193;} + +h1 a:hover, +h2 a:hover, +h3 a:hover, +h4 a:hover + {color:#1BA6B2;} + +h3 {color:#1BA6B2;} + + +/* link */ +a {color:#6C8C37;} + +a:hover {color:#009193;} + +a.commentlink { + padding-left:16px; + background:url(../images/spring_flavour/comments.gif) center left no-repeat; +} + +a.more { + padding-right:10px; + background:url(../images/spring_flavour/more.gif) center right no-repeat; +} + + +/* paragraphs, lists, etc */ +pre, +code + {background-color:#F8FAF2;} + +kbr {color:#009193;} + + +/* container */ +#container { + padding-top:0; + border-top:30px solid white; +} + +#container.singlecol, +#commentspopup #container {background-image:none;} + + +/* header */ +#header { + background-color:#F0F9F9; + background-image:url(../images/spring_flavour/header_bg.jpg); +} + + +/* navigation */ +#navigation {border-color:white; background-color:#A3C159;} + +#navigation li {border-color:white; background-color:#A3C159;} + +#navigation a {color:white;} + +#navigation .selected, +#navigation a:hover + {background-color:#1BA6B2;} + +#navigation form { + border-color:white; + background:#FEC42D url(../images/spring_flavour/corner_bottom_right.gif) bottom right no-repeat; +} + +#navigation #s {border-color:#FFF9EA;} + +#navigation #searchbutton { + color:white; + background-color:#A3C159; +} + + +/* Content */ + +.singlecol #content { + background-image:none; +} + + +/* Entry */ +.entry {margin:0 0 40px 0;} + +.entry .author {} + +.entry .info { + border-color:#F3F4F4; + background-color:#FAFAFA; +} + +.entry .info a {border-color:#949494;} + +.entry a.more { + padding-left:12px; + background:url(../images/spring_flavour/more.gif) center left no-repeat; +} + +.entry .info .date { + padding-left:15px; + background:url(../images/spring_flavour/post.gif) center left no-repeat; +} + +.entry .info .author { + padding-left:23px; + border-color:#949494; + background:url(../images/spring_flavour/author.gif) 10px 2px no-repeat; +} + +.entry #filedunder {border-color:#F3F4F4;} + +.entry .page-links { + background:url(../images/spring_flavour/pages.gif) top left no-repeat; + padding-left:15px; +} + + +/* Mini-Entry */ +.minientry {border-color:#D9D9D9;} + +.minientry .commentlink {border-color:#949494;} + +.minientry .permalink { + padding-left:15px; + background:url(../images/spring_flavour/post.gif) center left no-repeat; +} + +.minientry .author { + padding-left:23px; + border-color:#949494; + background:url(../images/spring_flavour/author.gif) 10px 2px no-repeat; +} + + +/* Comments */ +#comments h2 {margin-bottom:24px;} + +#comments h2 a {color:#6C8C37;} + +#comments li.comment {list-style-image:url(../images/spring_flavour/comments.gif);} + +#comments li.trackback,#comments li.pingback {list-style-image:url(../images/spring_flavour/pingtrackback.gif);} + +#commentform {background-color:#EDF3DE;} + +#comments .header {background-color:#EDF3DE;} + +#comments .header.alt {background-color:#E9F7F6;} + + +/* form */ +form p {border-color:white;} + +form label { color:#6C8C37;} + +form em {color:#C8C8B4;} + +form input {color:#414141;} + +form input, form textarea { + border-color:#DCDCDC #F0F0F0 #F0F0F0 #DCDCDC; +} + +form .button { + border-color:white #DCDCDC #DCDCDC white; + background-color:#F0F0F0; +} + + +/* Archives */ +.archive .postspermonth {color:#A0A0A0;} + + +/* content misc */ +.next a { + padding-right:10px; + background:url(../images/spring_flavour/next.gif) center right no-repeat; +} + +.previous a { + padding-left:10px; + background:url(../images/spring_flavour/previous.gif) center left no-repeat; +} + +#entrynavigation {border-color:#F3F4F4;} + +.editlink { + position:absolute; + height:14px; + width:14px; + right:2px; + background:url(../images/spring_flavour/edit.gif) 0 -14px; +} + +html>body .editlink {bottom:6px;} + +.entry .info .editlink a, +.minientry .editlink a, +#comments li .editlink a { + display:block; + height:14px; + width:14px; + margin:0; + padding:0; + border:none; + font-size:1px; /* IEWin */ + line-height:0; /* IEWin */ + text-indent:-9999px; + background:url(../images/spring_flavour/edit.gif) 0 0; +} + +.entry .info .editlink a:hover, +.minientry .editlink a:hover, +#comments li .editlink a:hover + {background:none;} + + +/* subcontent */ +#subcontent {background:url(../images/spring_flavour/subcontent_bg.gif) top left no-repeat;} + + +/* subcontent headings */ +#subcontent h2 { + color:white; + background:#A3C159 url(../images/spring_flavour/corner_top_left.gif) top left no-repeat; +} + +#subcontent h2 em {background:url(../images/spring_flavour/corner_bottom_right.gif) bottom right no-repeat;} + + +/* subcontent list */ +#subcontent ul li {border-bottom-color:#F0F0F0;} + +#subcontent li a:hover {background-color:#FFFBF0;} + +#subcontent ul.pages li, #subcontent ul li, #subcontent ul li.page_item {list-style-image:url(../images/spring_flavour/post_yellow.gif);} + +#subcontent ul.categories li, #subcontent ul li.cat-item, +#subcontent ul.months li {list-style-image:url(../images/spring_flavour/categories_yellow.gif);} + +#subcontent ul.links li, #subcontent ul.xoxo li {list-style-image:url(../images/spring_flavour/links_yellow.gif);} + +#subcontent ul.feeds li {list-style-image:url(../images/spring_flavour/feeds_yellow.gif);} + +#subcontent ul.posts li {list-style-image:url(../images/spring_flavour/post_yellow.gif);} + +#subcontent ul.pages li li, #subcontent ul li.page_item li.page_item, +#subcontent ul.categories li li, #subcontent ul.children li.cat-item {list-style-image:url(../images/spring_flavour/sub_categories_yellow.gif);} + +#subcontent ul li.recentcomments {list-style-image:url(../images/spring_flavour/comments.gif);} + + +/* calendar */ +#wp-calendar {color:#A0A0A0;} + +#subcontent table caption {border-bottom-color:#F3F4F4;} + +#subcontent table thead tr { + border-bottom-color:#F3F4F4; + color:#414141; +} + +#subcontent table th {border-bottom-color:#F3F4F4;} + +#subcontent table td#today { + border-color:#F3F4F4; + color:#414141; +} + +#subcontent table td a { + border-bottom-color:#A3C159; + background-color:#EDF3DE; +} + +#subcontent table tfoot {border-top-color:#F3F4F4;} + +#subcontent table tfoot a {background:none;} + + +/* footer */ +#footer { + color:#A0A0A0; +} + +.singlecol #footer {background-image:none;} + +#footer p {border-top:6px solid #E9F7F6;} + +#footer a {color:#A0A0A0;} + +#footer a:hover {color:#414141;} + +#footer strong {color:#009193;} diff --git a/wp-content/themes/fixed-blix/css/spring_flavour_fixed.css b/wp-content/themes/fixed-blix/css/spring_flavour_fixed.css new file mode 100644 index 0000000000000000000000000000000000000000..20d47a46c5fb735a2797dc79bf7a3cc49aa3cb99 --- /dev/null +++ b/wp-content/themes/fixed-blix/css/spring_flavour_fixed.css @@ -0,0 +1,8 @@ +@import "spring_flavour.css"; + +#container { + background:white url(../images/spring_flavour/container_bg.gif) 500px 0px repeat-y; +} +#footer { + background:white url(../images/spring_flavour/footer_bg.gif) 470px 0px no-repeat; +} diff --git a/wp-content/themes/fixed-blix/css/spring_flavour_fluid.css b/wp-content/themes/fixed-blix/css/spring_flavour_fluid.css new file mode 100644 index 0000000000000000000000000000000000000000..9f57c30fe17a75635ef1e52d8f6ab71de4f2c405 --- /dev/null +++ b/wp-content/themes/fixed-blix/css/spring_flavour_fluid.css @@ -0,0 +1,13 @@ +#container { + background-color:white; +} +#header { + background-position:right; + background-repeat:no-repeat; +} +#content { + background:white url(../images/spring_flavour/container_bg.gif) top right repeat-y; +} +.doublecol #footer-hack { + background:white url(../images/spring_flavour/footer_bg.gif) top right no-repeat; +} diff --git a/wp-content/themes/fixed-blix/footer.php b/wp-content/themes/fixed-blix/footer.php new file mode 100644 index 0000000000000000000000000000000000000000..b1af61fbcf1e5640f842a6569892632edfcd7bf8 --- /dev/null +++ b/wp-content/themes/fixed-blix/footer.php @@ -0,0 +1,21 @@ + <hr class="low" /> + + <div id="footer"> + <div id="footer-hack"></div> + + <p> +<?php + $locale = get_locale(); + if (!$locale || $locale == 'en_US') { +?> + <strong>© Copyright <?php echo date('Y'), ' '; bloginfo('name'); ?>. All rights reserved.</strong><br /> +<?php } ?> + <a href="http://lettersandscience.net/Blix/"><strong>Blix</strong></a> theme. <?php echo sprintf(__("Powered by <a href='http://wordpress.org/' title='%s'><strong>WordPress</strong></a>"), __('Powered by WordPress, state-of-the-art semantic personal publishing platform.')); ?> <?php bloginfo('version'); ?>. <?php wp_loginout(); ?> + </p> + +<?php do_action('wp_footer'); ?> + + </div> + </div> + </body> +</html> diff --git a/wp-content/themes/fixed-blix/functions.php b/wp-content/themes/fixed-blix/functions.php new file mode 100644 index 0000000000000000000000000000000000000000..4d10f88bc60ce29c7c9a0cb5ecab5ad8996eb9aa --- /dev/null +++ b/wp-content/themes/fixed-blix/functions.php @@ -0,0 +1,169 @@ +<?php + if ( function_exists('register_sidebar') ) + register_sidebar(array( + 'before_widget' => '', + 'after_widget' => '', + 'before_title' => '<h2><em>', + 'after_title' => '</em></h2>', + )); + + + $themename = 'Blix'; + $shortname = 'blix'; + $options = array ( + array( + 'type' => 'open' + ), + array( + 'name' => 'Layout', + 'id' => $shortname.'_layout', + 'type' => 'select', + 'options' => array('Fixed Width', 'Fluid Width'), + 'std' => 'Fixed Width' + ), + array( + 'name' => 'Sidebar', + 'desc' => 'Show sidebar on pages.', + 'id' => $shortname.'_sidebar', + 'type' => 'checkbox', + 'std' => false + ), + array( + 'name' => 'Page Navigation', + 'desc' => 'Navigation menu location of additional pages other than the \'about\', \'archives\', and \'contact\' pages.', + 'id' => $shortname.'_navigation_location', + 'type' => 'select', + 'options' => array('Horizontal Menu', 'Sidebar'), + 'std' => 'Horizontal Menu' + ), + array( + 'name' => 'Sub-Pages', + 'desc' => 'Hide sub-pages in navigation menu.', + 'id' => $shortname.'_navigation_hide_subpages', + 'type' => 'checkbox', + 'std' => false + ), + array( + 'type' => 'close' + ) + ); + + function blix_add_admin() { + global $themename, $shortname, $options; + + if ( $_GET['page'] == basename(__FILE__) ) { + if ( 'save' == $_REQUEST['action'] ) { + foreach ($options as $value) { + update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } + foreach ($options as $value) { + if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } } + header('Location: themes.php?page=functions.php&saved=true'); + die; + } else if( 'reset' == $_REQUEST['action'] ) { + foreach ($options as $value) { + delete_option( $value['id'] ); } + header('Location: themes.php?page=functions.php&reset=true'); + die; + } + } + add_theme_page($themename.' Options', ''.$themename.' Options', 'edit_themes', basename(__FILE__), 'blix_admin'); + } + + function blix_admin() { + global $themename, $shortname, $options; + + if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings saved.</strong></p></div>'; + if ( $_REQUEST['reset'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings reset.</strong></p></div>'; +?> + <div class="wrap"> + <h2><?php echo $themename; ?> settings</h2> + <form method="post"> + +<?php + foreach ($options as $value) { + switch ( $value['type'] ) { + case 'open': +?> + <table width="100%" border="0" style="background-color:#eef5fb; padding:10px;"> +<?php + break; + case 'close': +?> + </table><br /> +<?php + break; + case 'title': +?> + <table width="100%" border="0" style="background-color:#dceefc; padding:5px 10px;"> + <tr> + <td colspan="2"><h3 style="font-family:Georgia,'Times New Roman',Times,serif;"><?php echo $value['name']; ?></h3></td> + </tr> +<?php + break; + case 'text': +?> + <tr> + <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> + <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> + </tr> + <tr><td><small><?php echo $value['desc']; ?></small></td></tr> + <tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr> + <tr><td colspan="2"> </td></tr> +<?php + break; + case 'textarea': +?> + <tr> + <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> + <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> + </tr> + <tr><td><small><?php echo $value['desc']; ?></small></td></tr> + <tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr> + <tr><td colspan="2"> </td></tr> +<?php + break; + case 'select': +?> + <tr> + <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> + <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"'; } elseif ($option == $value['std']) { echo ' selected="selected"'; } ?>><?php echo $option; ?></option><?php } ?></select></td> + </tr> + <tr><td><small><?php echo $value['desc']; ?></small></td></tr> + <tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr> + <tr><td colspan="2"> </td></tr> +<?php + break; + case 'checkbox': +?> + <tr> + <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> + <td width="80%"><? if(get_settings($value['id'])){ $checked = 'checked="checked"'; }else{ $checked = ''; } ?> + <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> /> + </td> + </tr> + <tr><td><small><?php echo $value['desc']; ?></small></td></tr> + <tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr> + <tr><td colspan="2"> </td></tr> +<?php + break; + } + } +?> + + <p class="submit"> + <input name="save" type="submit" value="Save changes" /> + <input type="hidden" name="action" value="save" /> + </p> + </form> + <form method="post"> + <p class="submit"> + <input name="reset" type="submit" value="Reset" /> + <input type="hidden" name="action" value="reset" /> + </p> + </form> + +<?php +} + + add_action('admin_menu', 'blix_add_admin'); +?> diff --git a/wp-content/themes/fixed-blix/header.php b/wp-content/themes/fixed-blix/header.php new file mode 100644 index 0000000000000000000000000000000000000000..788ea4a8529aad8724ad1285aaf15f647414c738 --- /dev/null +++ b/wp-content/themes/fixed-blix/header.php @@ -0,0 +1,93 @@ +<?php + require_once get_template_directory()."/BX_functions.php"; + + if (!$blix_sidebar && is_page() && get_page_template() != get_template_directory() . '/archives.php') { + $col_class = ' class="singlecol"'; + } else { + $col_class = ' class="doublecol"'; + } +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html <?php language_attributes( $doctype ) ?> xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title><?php bloginfo('name'); wp_title(); ?></title> + <meta http-equiv="Content-Type" content="<?php bloginfo('charset'); ?>" /> + <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> +<?php if ($blix_layout == 'Fixed Width') { ?> + <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen, projection" /> +<?php } else if ($blix_layout == 'Fluid Width') { ?> + <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/style-fluid.css" type="text/css" media="screen, projection" /> +<?php } ?> + <!--[if IE 7]> + <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/ie7.css" type="text/css" media="screen, projection" /> + <![endif]--> + <!--[if IE 6]> + <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/ie6.css" type="text/css" media="screen, projection" /> + <![endif]--> + <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> + <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> + <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> + <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> + <?php /*comments_popup_script(520, 550);*/ ?> + <?php wp_head();?> + </head> + <body> + <div id="container"<?php echo $col_class; ?>> + <div id="header"> + <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> + <h3><?php bloginfo('description'); ?></h3> + </div> + <div id="navigation"> + <ul> + <li<?php if (is_front_page()) echo ' class="selected"'; ?>><a href="<?php bloginfo('url'); ?>"><?php _e('Home'); ?></a></li> +<?php + $param_parent = $blix_navigation_hide_subpages ? '&parent=0' : ''; + if ($blix_navigation_location == 'Sidebar') { + $include_pages = array('about', 'archives', 'contact'); + $param_include = '&include='; + foreach ($include_pages as $page) { + $include_page = get_page_by_path($page); + if ($include_page != NULL) { + if ($include_page->ID != get_option('page_on_front')) { + $param_include .= $include_page->ID . ','; + } + } + } + $param_include = rtrim($param_include, ','); + } + if ($param_include != '&include=') { + $pages = get_pages('sort_column=menu_order' . $param_parent . $param_include . '&exclude=' . get_option('page_on_front')); + foreach ($pages as $page) { + switch ($page->post_name) { + case 'archives': + (is_page($page->ID) || is_archive() || is_search() || is_single())?$selected = ' class="selected"':$selected=''; + echo ' <li', $selected, '><a href="', get_page_link($page->ID), '">', __('Archives'), '</a></li>', "\n"; + break; + case 'about': + (is_page($page->ID))?$selected = ' class="selected"':$selected=''; + echo ' <li', $selected, '><a href="', get_page_link($page->ID),'">', __('About'), '</a></li>', "\n"; + break; + case 'contact': + (is_page($page->ID))?$selected = ' class="selected"':$selected=''; + echo ' <li', $selected, '><a href="', get_page_link($page->ID), '">', __('contact'), '</a></li>', "\n"; + break; + case 'about_short': + break; + default: + (is_page($page->ID))?$selected = ' class="selected"':$selected=''; + echo ' <li', $selected, '><a href="', get_page_link($page->ID), '">', $page->post_title, '</a></li>', "\n"; + } + } + } + $locale = get_locale(); + $search = !$locale || $locale == 'en_US' ? 'Go!' : 'Search'; +?> + </ul> + <form action="<?php bloginfo('url'); ?>/" method="get"> + <fieldset> + <input value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /> + <input type="submit" value="<?php _e($search); ?>" id="searchbutton" /> + </fieldset> + </form> + <div style="clear:both;"></div> + </div> diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/author.gif b/wp-content/themes/fixed-blix/images/spring_flavour/author.gif new file mode 100644 index 0000000000000000000000000000000000000000..744af162a090b7d0e3606d9ab5649499eb52c64a Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/author.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/categories_yellow.gif b/wp-content/themes/fixed-blix/images/spring_flavour/categories_yellow.gif new file mode 100644 index 0000000000000000000000000000000000000000..9ff159fcfe1098002806f3b1ca4fbbf629c8b86c Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/categories_yellow.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/comments.gif b/wp-content/themes/fixed-blix/images/spring_flavour/comments.gif new file mode 100644 index 0000000000000000000000000000000000000000..9aa94bacff1c1df0ed7370dfd33f4bfc5246bd5a Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/comments.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/container_bg.gif b/wp-content/themes/fixed-blix/images/spring_flavour/container_bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..82f284e68ed83f86710633412b805326f19a12fa Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/container_bg.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/corner_bottom_right.gif b/wp-content/themes/fixed-blix/images/spring_flavour/corner_bottom_right.gif new file mode 100644 index 0000000000000000000000000000000000000000..452829b277ac9cad786fff5bf78cc9c3ca31c1bd Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/corner_bottom_right.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/corner_top_left.gif b/wp-content/themes/fixed-blix/images/spring_flavour/corner_top_left.gif new file mode 100644 index 0000000000000000000000000000000000000000..4328c7c0be276cba4af306b1b635e6a1adcf7ad8 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/corner_top_left.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/edit.gif b/wp-content/themes/fixed-blix/images/spring_flavour/edit.gif new file mode 100644 index 0000000000000000000000000000000000000000..52997ea37493e52f23e9ab2c88aeaf3f2e5d658e Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/edit.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/feeds_yellow.gif b/wp-content/themes/fixed-blix/images/spring_flavour/feeds_yellow.gif new file mode 100644 index 0000000000000000000000000000000000000000..117bb6a121f1f0d2f5dbe7ba67bfd1727173dd56 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/feeds_yellow.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/footer_bg.gif b/wp-content/themes/fixed-blix/images/spring_flavour/footer_bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..93cf54c3fb26d2a15ade66259434bd5de7149130 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/footer_bg.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/header_bg.jpg b/wp-content/themes/fixed-blix/images/spring_flavour/header_bg.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ba3513468ada9070b7c609677b63e467152a068a Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/header_bg.jpg differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/links_yellow.gif b/wp-content/themes/fixed-blix/images/spring_flavour/links_yellow.gif new file mode 100644 index 0000000000000000000000000000000000000000..e160f23b63abe7b1b9d41a922350b1b743230123 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/links_yellow.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/more.gif b/wp-content/themes/fixed-blix/images/spring_flavour/more.gif new file mode 100644 index 0000000000000000000000000000000000000000..fd7f8e0bfc5ca8b1a409d6c33e549a56d111a719 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/more.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/next.gif b/wp-content/themes/fixed-blix/images/spring_flavour/next.gif new file mode 100644 index 0000000000000000000000000000000000000000..fd7f8e0bfc5ca8b1a409d6c33e549a56d111a719 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/next.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/pages.gif b/wp-content/themes/fixed-blix/images/spring_flavour/pages.gif new file mode 100644 index 0000000000000000000000000000000000000000..98fb05e39af347222bc78f81d6f3e7df5d435933 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/pages.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/pingtrackback.gif b/wp-content/themes/fixed-blix/images/spring_flavour/pingtrackback.gif new file mode 100644 index 0000000000000000000000000000000000000000..6f4607ec0829c88daa81a4472b858963667f2ea3 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/pingtrackback.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/post.gif b/wp-content/themes/fixed-blix/images/spring_flavour/post.gif new file mode 100644 index 0000000000000000000000000000000000000000..d66cc5596d988da5e031914334bb0654466d3a41 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/post.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/post_yellow.gif b/wp-content/themes/fixed-blix/images/spring_flavour/post_yellow.gif new file mode 100644 index 0000000000000000000000000000000000000000..0266354c1172963f14aa1a4e35eef7b149772b3e Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/post_yellow.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/previous.gif b/wp-content/themes/fixed-blix/images/spring_flavour/previous.gif new file mode 100644 index 0000000000000000000000000000000000000000..e6b0d843166b63a8d940db8e3ccc78236ceb4504 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/previous.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/sub_categories_yellow.gif b/wp-content/themes/fixed-blix/images/spring_flavour/sub_categories_yellow.gif new file mode 100644 index 0000000000000000000000000000000000000000..5c14ded54867598dea3d823f6363a52f3c6431ff Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/sub_categories_yellow.gif differ diff --git a/wp-content/themes/fixed-blix/images/spring_flavour/subcontent_bg.gif b/wp-content/themes/fixed-blix/images/spring_flavour/subcontent_bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..bc2c0c98f4755a4a11e89ee0ab75c9a7768e5351 Binary files /dev/null and b/wp-content/themes/fixed-blix/images/spring_flavour/subcontent_bg.gif differ diff --git a/wp-content/themes/fixed-blix/index.php b/wp-content/themes/fixed-blix/index.php new file mode 100644 index 0000000000000000000000000000000000000000..85c2ff7fff27870c51434d7d668998b62f9552cf --- /dev/null +++ b/wp-content/themes/fixed-blix/index.php @@ -0,0 +1,66 @@ +<?php get_header(); ?> + + <div id="content" class="column"> + +<?php if (have_posts()) : ?> + + <?php while (have_posts()) : the_post(); ?> + + <?php $custom_fields = get_post_custom(); ?> + + <?php if (isset($custom_fields['BX_post_type']) && $custom_fields['BX_post_type'][0] == 'mini') { ?> + + <hr class="low" /> + <div class="minientry"> + <p> + <?php echo BX_remove_p(get_the_content()); ?> + <div class="info"> + <?php comments_popup_link('(0)', '(1)', '(%)', 'commentlink', ''); ?> + <a href="<?php the_permalink(); ?>" class="permalink" title="Permalink"><?php the_time('M j, \'y') ?><!--, <?php the_time('h:ia') ?>--></a> + <!--<em class="author"><?php the_author() ?></em>--> + <?php edit_post_link('Edit','<span class="editlink">','</span>'); ?> + </div> + </p> + </div> + <hr class="low" /> + + <?php } else { ?> + + <div class="entry"> + <h2><a href="<?php the_permalink() ?>" title="Permalink"><?php the_title(); ?></a></h2> + <?php ($post->post_excerpt != '') ? the_excerpt() : the_content(); ?> + <?php wp_link_pages('before=<p class="page-links">&after=</p>'); ?> + <p class="info"> + <?php if ($post->post_excerpt != '') { ?><a href="<?php the_permalink() ?>" class="more"><?php _e('Continue'); ?></a><?php } ?> + <?php comments_popup_link(__('Leave a Comment'), __('1 Comment'), __('% Comments'), 'commentlink', ''); ?> + <em class="date"><?php the_time(__('F j, Y')) ?><!-- at <?php the_time('h:ia') ?>--></em> + <!--<em class="author"><?php the_author(); ?></em>--> + <?php edit_post_link('Edit','<span class="editlink">','</span>'); ?> + </p> + </div> + +<!-- +<?php trackback_rdf(); ?> +--> + + <?php } ?> + + <?php endwhile; ?> + + <p> + <span class="next"><?php previous_posts_link(__('Next page')) ?></span> + <span class="previous"><?php next_posts_link(__('Previous page')) ?></span> + </p> + +<?php else : ?> + + <h2><?php _e('Page not found'); ?></h2> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + +<?php endif; ?> + + </div> + +<?php get_sidebar(); ?> + +<?php get_footer(); ?> diff --git a/wp-content/themes/fixed-blix/license.txt b/wp-content/themes/fixed-blix/license.txt new file mode 100644 index 0000000000000000000000000000000000000000..94a9ed024d3859793618152ea559a168bbcbb5e2 --- /dev/null +++ b/wp-content/themes/fixed-blix/license.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + <program> Copyright (C) <year> <name of author> + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +<http://www.gnu.org/licenses/>. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +<http://www.gnu.org/philosophy/why-not-lgpl.html>. diff --git a/wp-content/themes/fixed-blix/page.php b/wp-content/themes/fixed-blix/page.php new file mode 100644 index 0000000000000000000000000000000000000000..bc12d6c9d83de6907ea833faae37fbb36bcb0c5e --- /dev/null +++ b/wp-content/themes/fixed-blix/page.php @@ -0,0 +1,23 @@ +<?php get_header(); ?> + + <div id="content" class="column"> + <div class="pageentry"> + +<?php if (have_posts()) : ?> + + <?php while (have_posts()) : the_post(); ?> + + <h2><?php the_title(); ?></h2> + + <?php the_content(); ?> + + <?php endwhile; ?> + +<?php endif; ?> + + </div> + </div> + +<?php if ($blix_sidebar) get_sidebar(); ?> + +<?php get_footer(); ?> diff --git a/wp-content/themes/fixed-blix/readme.html b/wp-content/themes/fixed-blix/readme.html new file mode 100644 index 0000000000000000000000000000000000000000..671ca29b576bcc0c21cfd4a468fa201adc3773c8 --- /dev/null +++ b/wp-content/themes/fixed-blix/readme.html @@ -0,0 +1,222 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Blix Help</title> + <meta http-equiv="Content-Type" content="UTF-8" /> + + <style type="text/css" media="screen, print, projection"> + <!-- + + body { + font-family:Arial, Helvetica, sans-serif; + font-size:75%; + line-height:1.6em; + text-align:center; + color:#414141; + } + + #container { + width:65%; + margin:0 auto; + padding:3% 0; + text-align:left; + background:white; + } + + h1 { + margin:0; + padding:30px 0; + font-size:50px; + color:#009193; + } + + h2 { + margin:0 0 9px 0; + padding:20px 0 9px 0; + border-bottom:1px solid #F3F4F4; + font-family:Georgia, serif; + font-size:1.6em; + font-weight:normal; + color:#009193; + } + + h3 { + margin:0 0 3px 0; + font-size:1em; + } + + h4 { + margin:0; + font-size:1em; + } + + p { + margin:0; + padding:0 0 10px 0; + } + + ul, ol { + margin:0 0 0 2.4em; + padding:0 0 18px 0; + } + + a {color:#6C8C37;} + a:hover {color:#009193;} + + em { + letter-spacing:0.5px; + color:#1D6E6F; + } + + code { + padding:2px; + background-color:#F8FAF2; + } + + #intro { + margin:15px 0 20px 0; + padding:22px 15px 8px 15px; + background-color:#F8FAF2; + font-size:120%; + } + + #intro a {font-size:83%;} + + --> + </style> + + <style type="text/css" media="print"> + <!-- + #container {width:85%;} + h2 {border-bottom:0.5pt solid silver;} + #intro {border:0.5pt solid silver;} + --> + </style> + +</head> + +<body><div id="container"> + + <h1>Blix</h1> + + <div id="intro"> + + <p>Date modified: 2009-07-12</p> + <p>This version of Blix has been modified to support widgets and tags, and work with WordPress 2.1 and above. I have added style sheets for a flexible width layout.</p> + <p>The original readme with updated instructions is below.</p> + + <p><em>dancer @ Letters & Science</em><br /> + <a href="http://lettersandscience.net/Blix/">http://lettersandscience.net/Blix/</a> + </p> + + </div> + + + <h1>Blix 0.9.1 / Help</h1> + + <div id="intro"> + + <p><strong>Hey, thanks for downloading Blix, you're definitely one of the cool kids!</strong><br /> + I've had some trouble lately so do me one favour: Please use Blix for projects that don't offend anybody. + You <strong>musn't</strong> use it for pornographic websites or something similar! + I'd appreciate if you'd just use it for your personal blog. Really.<br /> + But nonetheless: <strong>Enjoy!</strong></p> + + <p><em>Sebastian Schmieg</em><br /> + <a href="http://www.kingcosmonaut.de/blix/">http://www.kingcosmonaut.de/blix/</a> + </p> + + </div> + + <h2>License</h2> + <p>Blix is licensed under a <a href="http://www.gnu.org/licenses/gpl.txt">GPL license</a>, which basically means that you can modify it in any way you like. However if you choose to re-release it, the license has to stay the same and you've to credit all authors that have worked on the theme before.</p> + + <h2>Installation</h2> + <p>That's simple, just upload the Blix folder to your themes folder which probably is <em>wordpress/wp-content/themes/</em>. + + <h2>How to Set Up Pages Using the WordPress Admin Panel</h2> + + <p>If you're not familiar with WordPress pages I highly recommend reading <a href="http://codex.wordpress.org/Pages">this introduction</a>.</p> + + <p>Note that each of the following pages is voluntary. + Blix will still work properly without them.</em> + + <h3>Archives</h3> + <ol> + <li>Select Pages > Add New</li> + <li>Fill in <em>Page Title</em></li> + <li>Select <em>archives</em> as <em>Page Template</em></li> + <li>Select <em>archives</em> as <em>Page slug</em></li> + <li>Click <em>Publish</em></li> + </ol> + + <h3>About</h3> + <ol> + <li>Select Pages > Add New</li> + <li>Fill in <em>Page Title</em></li> + <li>Select <em>about</em> as <em>Page slug</em></li> + <li>Fill in <em>Page Content</em></li> + <li>Click <em>Publish</em></li> + </ol> + + <h3>About 'Shorty'</h3> + <ol> + <li>Select Pages > Add New</li> + <li>Fill in <em>Page Title</em></li> + <li>Select <em>about_short</em> as <em>Page slug</em></li> + <li>Fill in <em>Page Content</em></li> + <li>Click <em>Publish</em></li> + </ol> + + <p>The <em>About Shorty</em> will be displayed on the front page and will + be automatically linked to your <em>About</em> page in case you've set up one.</p> + + <h3>Contact</h3> + <ol> + <li>Select Write > Write Page</li> + <li>Fill in <em>Page Title</em></li> + <li>Fill in <em>Page Content</em>. This will be displayed above the contact form.</li> + <li>Select <em>contact</em> as <em>Page Template</em></li> + <li>Select <em>contact</em> as <em>Page slug</em></li> + <li>Click <em>Publish</em></li> + </ol> + + <p>The contact form's target e-mail address is the one you've specified in WordPress as your admin e-mail address.</em> + + <h3>Additional Pages</h3> + <p>You can set up as many pages as you like. All pages will be automatically added to the navigation.</p> + + <h4>Secondary Navigation</h4> + <p>In case you've got more pages than fit into the main navigation Blix offers a secondary navigation in the sidebar.</p> + + + <h2>Mini Entries</h2> + <ol> + <li>Before saving your post scroll down to <em>Custom Fields</em> + <li>add <em>BX_post_type</em> as name and <em>mini</em> as value</li> + <li>Click <em>Add Custom Field</em> + <li>Publish your post</em> + </ol> + + <h2>Gravatars</h2> + <p>Blix supports <a href="http://www.gravatar.com/">Gravatars</a>.</p> + + <h2>Customizing the Design</h2> + + <h3>Banner Image</h3> + <p>Just drop your own banner called <em>header_bg.jpg</em> into <em>images/spring_flavour/</em> and you're done. Dimensions should be at least 690px x 150px.</p> + + <p>If your custom banner already include's your blog's name, open <em>layout.css</em>, go to line 133 and remove the comments (<code>/* ... */</code>). That's it.</p> + + <h3>Modifying the CSS</h3> + <ul> + <li><em>layout.css</em> is the place to go if you want to change the structural layout.</li> + <li><em>spring_flavour.css</em> contains information like color and images. If you remove <em>spring_flavour.css</em> you've got a pretty good basis to work on.</li> + </ul> + + <h2>Thanks</h2> + <p>A big "thank you!" goes to Kevin Potts for allowing me to use his <a href="http://www.graphicpush.com/blogicons/">excellent blog icons</a> for this theme.</p> + +</div></body> + +</html> diff --git a/wp-content/themes/fixed-blix/screenshot.png b/wp-content/themes/fixed-blix/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..6dc51b3583ed998cbe195f7799fa3337226764d4 Binary files /dev/null and b/wp-content/themes/fixed-blix/screenshot.png differ diff --git a/wp-content/themes/fixed-blix/search.php b/wp-content/themes/fixed-blix/search.php new file mode 100644 index 0000000000000000000000000000000000000000..3c80c65b07d5818f5f3d186a311aeaafd4e521a0 --- /dev/null +++ b/wp-content/themes/fixed-blix/search.php @@ -0,0 +1,64 @@ +<?php get_header(); ?> + + <div id="content" class="column archive"> + +<?php if (have_posts()) : ?> + + <h2><?php printf(__('Search results for “%s”'), $s); ?></h2> + + <?php while (have_posts()) : the_post(); ?> + + <?php $custom_fields = get_post_custom(); ?> + + <?php if (isset($custom_fields['BX_post_type']) && $custom_fields['BX_post_type'][0] == 'mini') { ?> + + <hr class="low" /> + <div class="minientry"> + <p> + <?php echo BX_remove_p(get_the_content()); ?> + <div class="info"> + <?php comments_popup_link('(0)', '(1)', '(%)', 'commentlink', ''); ?> + <a href="<?php the_permalink(); ?>" class="permalink" title="Permalink"><?php the_time('M j, \'y') ?><!--, <?php the_time('h:ia') ?>--></a> + <!--<em class="author"><?php the_author() ?></em>--> + <?php edit_post_link('Edit','<span class="editlink">','</span>'); ?> + </div> + </p> + </div> + <hr class="low" /> + + <?php } else { ?> + + <div class="entry"> + <h3><a href="<?php the_permalink() ?>" title="Permalink"><?php the_title(); ?></a></h3> + <?php ($post->post_excerpt != '') ? the_excerpt() : BX_shift_down_headlines(get_the_content()); ?> + <?php wp_link_pages('before=<p class="page-links">&after=</p>'); ?> + <p class="info"> + <?php if ($post->post_excerpt != '') { ?><a href="<?php the_permalink() ?>" class="more"><?php _e('Continue'); ?></a><?php } ?> + <?php comments_popup_link(__('Leave a Comment'), __('1 Comment'), __('% Comments'), 'commentlink', ''); ?> + <em class="date"><?php the_time(__('F j, Y')) ?><!-- at <?php the_time('h:ia') ?>--></em> + <!--<em class="author"><?php the_author(); ?></em>--> + <?php edit_post_link('Edit','<span class="editlink">','</span>'); ?> + </p> + </div> + + <?php } ?> + + <?php endwhile; ?> + + <p> + <span class="next"><?php previous_posts_link(__('Next page')) ?></span> + <span class="previous"><?php next_posts_link(__('Previous page')) ?></span> + </p> + +<?php else : ?> + + <h2><?php printf(__('Search results for “%s”'), $s); ?></em></h2> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + +<?php endif; ?> + +</div> + +<?php get_sidebar(); ?> + +<?php get_footer(); ?> diff --git a/wp-content/themes/fixed-blix/sidebar.php b/wp-content/themes/fixed-blix/sidebar.php new file mode 100644 index 0000000000000000000000000000000000000000..5362ad951332bab056a28be29bd25ea87bdb490d --- /dev/null +++ b/wp-content/themes/fixed-blix/sidebar.php @@ -0,0 +1,106 @@ +<?php + global $blix_navigation_location; +?> + <hr class="low" /> + + <div id="subcontent" class="column"> +<?php + /** + * Pages navigation. Disabled by default because all new pages are added + * to the main navigation. + * If enabled: Blix default pages are excluded by default. + */ + if ($blix_navigation_location == 'Sidebar') { +?> + <h2><em><?php _e('Pages'); ?></em></h2> + <ul class="pages"> + <?php wp_list_pages('title_li=&sort_column=menu_order&exclude=' . BX_excluded_pages()); ?> + </ul> +<?php + } + /**/ +?> + +<?php if (is_home()) { + /** + * If a page called "about_short" has been set up its content will be put here. + * In case that a page called "about" has been set up, too, it'll be linked to via 'More'. + */ + + $about_short = get_page_by_path('about_short'); + $about = get_page_by_path('about'); + + if ($about->post_status == 'publish') $more_url = '<a href="'.get_bloginfo('url').'/'.get_page_uri($about->ID).'" class="more">'.__('More...').'</a>'; + if ($about_short->post_status == 'publish') { + $about_title = $about_short->post_title; + $about_text = BX_remove_p($about_short->post_content); + } + if ($about_text != '') { + echo '<h2><em>', $about_title, "</em></h2>\n"; + echo '<p>', $about_text; + if ($more_url != '') echo ' ', $more_url; + echo "</p>\n"; + } +} ?> + + +<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> + + <?php if (is_home()) { ?> + + <h2><em><?php _e('Categories'); ?></em></h2> + <ul class="categories"> + <?php wp_list_categories('title_li=&hide_empty=0'); ?> + </ul> + + <h2><em><?php _e('Links'); ?></em></h2> + <ul class="links"> + <?php get_links('-1', '<li>', '</li>', '', 0, 'name', 0, 0, -1, 0); ?> + </ul> + + <h2><em><?php _e('RSS'); ?></em></h2> + <ul class="feeds"> + <li><a href="<?php bloginfo_rss('rss2_url'); ?> "><?php _e('Posts'); ?> (<?php _e('RSS'); ?>)</a></li> + <li><a href="<?php bloginfo_rss('comments_rss2_url'); ?> "><?php _e('Comments'); ?> (<?php _e('RSS'); ?>)</a></li> + </ul> + + <?php } ?> + + + <?php if (is_single()) { ?> + + <h2><em><?php _e('Calendar'); ?></em></h2> + <?php get_calendar() ?> + + <h2><em><?php _e('Recent Posts'); ?></em></h2> + <ul class="posts"> + <?php wp_get_archives('type=postbypost&limit=10'); ?> + </ul> + + <?php } ?> + + + <?php if (is_page() || is_archive() || is_search()) { ?> + + <h2><em><?php _e('Calendar'); ?></em></h2> + <?php get_calendar() ?> + + <?php if (!is_page('archives')) { ?> + + <h2><em><?php _e('Archives'); ?></em></h2> + <ul class="months"> + <?php get_archives('monthly','','','<li>','</li>',''); ?> + </ul> + + <?php } ?> + + <h2><em><?php _e('Categories'); ?></em></h2> + <ul class="categories"> + <?php wp_list_categories('title_li=&hide_empty=0'); ?> + </ul> + + <?php } ?> + +<?php endif; ?> + + </div> diff --git a/wp-content/themes/fixed-blix/single.php b/wp-content/themes/fixed-blix/single.php new file mode 100644 index 0000000000000000000000000000000000000000..cdd5cd6bd579997932a03228d1a7d829ec9bb5b3 --- /dev/null +++ b/wp-content/themes/fixed-blix/single.php @@ -0,0 +1,45 @@ +<?php get_header(); ?> + + <div id="content" class="column"> + +<?php if (have_posts()) : ?> + + <?php while (have_posts()) : the_post(); ?> + + <?php /* This is the navigation for previous/next post. It's disabled by default. ?> + <p id="entrynavigation"> + <?php previous_post('<span class="previous">%</span>','','yes') ?> + <?php next_post('<span class="next">%</span>','','yes') ?> + </p> + <?php */ ?> + + <div class="entry single"> + <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> + <p class="info"> + <?php if ($post->comment_status == 'open') ?> + <em class="date"><?php the_time(__('F j, Y')) ?><!-- at <?php the_time('h:ia') ?>--></em> + <!--<em class="author"><?php the_author(); ?></em>--> + <?php edit_post_link('Edit','<span class="editlink">','</span>'); ?> + </p> + <?php the_content();?> + <?php wp_link_pages('before=<p class="page-links">&after=</p>'); ?> + <p id="filedunder"><?php _e('Filed under:'); ?> <?php the_category(','); ?></p> + <?php if (function_exists('the_tags')) ?><p id="tags"><?php the_tags(__('Tags: '), ', ', '') ?></p><?php ; ?> + </div> + + <?php endwhile; ?> + +<?php else : ?> + + <h2><?php _e('Page not found'); ?></h2> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + +<?php endif; ?> + +<?php comments_template(); ?> + + </div> + +<?php get_sidebar(); ?> + +<?php get_footer(); ?> diff --git a/wp-content/themes/fixed-blix/style-fluid.css b/wp-content/themes/fixed-blix/style-fluid.css new file mode 100644 index 0000000000000000000000000000000000000000..0b655983f63e8135fd3e38db018d9f48d15a3b9f --- /dev/null +++ b/wp-content/themes/fixed-blix/style-fluid.css @@ -0,0 +1,4 @@ +@import "css/layout.css"; +@import "css/layout_fluid.css"; +@import "css/spring_flavour.css"; +@import "css/spring_flavour_fluid.css"; diff --git a/wp-content/themes/fixed-blix/style.css b/wp-content/themes/fixed-blix/style.css new file mode 100644 index 0000000000000000000000000000000000000000..769002bec6fa191e15f6b265c31c24b7a5f3e52d --- /dev/null +++ b/wp-content/themes/fixed-blix/style.css @@ -0,0 +1,19 @@ +/* +Theme Name: Fixed Blix +Theme URI: http://lettersandscience.net/Blix/ +Description: Fixed or fluid width. Language localization support. View the <a href="http://lettersandscience.net/Blix/showcase">Blix Gallery</a> at the <a href="http://lettersandscience.net/Blix/">demo</a> site. <a href="http://lettersandscience.net/wp-content/themes/Blix/readme.html">Read me</a>. Original theme by <a href="http://www.kingcosmonaut.de">Sebastian Schmieg</a>. Adapted by <a href="http://lettersandscience.net">dancer</a>. +Version: 2009.08.13 +Author: +Author URI: +Tags: two-columns, fixed-width, flexible-width, right-sidebar, white +*/ + +@import "css/layout.css"; +@import "css/layout_fixed.css"; +@import "css/spring_flavour.css"; +@import "css/spring_flavour_fixed.css"; + +/* ignore */ +.alignleft {} +.alignright {} +.aligncenter {}