Commit 3090e580 authored by shammash's avatar shammash Committed by lechuck

updated zenlite to 4.4

parent 169168b0
<?php ob_start(); ?>
<?php header("HTTP/1.1 404 Not Found"); ?>
<?php header("Status: 404 Not Found"); ?>
<?php get_header(); ?>
<?php ob_start();
header("HTTP/1.1 404 Not Found");
header("Status: 404 Not Found");
get_header(); ?>
<div id="content">
<div <?php post_class('page'); ?>>
<h2 class="post-title"><?php _e('Page Not Found', 'zenlite');?></h2>
<div class="postcontent">
<p><?php _e("Uh oh! I can't seem to find the file you asked for.", 'zenlite');?></p>
<p><?php _e('Perhaps you:', 'zenlite');?></p>
......@@ -17,9 +17,15 @@
<li><?php _e('mis-typed something', 'zenlite');?></li>
</ul>
<p><?php _e("Try using the Search option to find what you're looking for.", 'zenlite');?></p>
</div>
<?php get_search_form();?>
<?php
if( is_active_sidebar( 'widget-404' ) ) :?><div class="widget-area"><?php endif;
if (!dynamic_sidebar( 'widget-404' ) ) : ?>
<p><?php _e("Try using the Search option to find what you're looking for.", 'zenlite');?></p>
<?php get_search_form();
endif;
if( is_active_sidebar( 'widget-404' ) ) :?></div><?php endif;?>
</div>
......
......@@ -2,10 +2,8 @@
/*
Template Name: Archive Lists
*/
?>
<?php get_header(); ?>
<div id="content">
get_header(); ?>
<h2><?php _e('Archives by Month:', 'zenlite');?></h2>
<ul>
......@@ -17,5 +15,4 @@ Template Name: Archive Lists
<?php wp_list_categories(); ?>
</ul>
<?php get_footer(); ?>
\ No newline at end of file
<?php get_footer();
\ No newline at end of file
<?php get_header(); ?>
<?php get_header();
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?>>
<h2><?php the_title(); ?></h2>
<ul class="meta">
<li><?php edit_post_link(__('Edit', 'zenlite') ); ?></li>
<li><?php edit_post_link(); ?></li>
</ul>
<div class="postcontent">
<p class="download-link"><img class="download-icon alignleft" src="<?php echo wp_mime_type_icon(); ?>" width="46" height="60" alt="" /> <?php printf( __('Download the <a href="%1$s" rel="attachment">%2$s</a> file.', 'zenlite'), wp_get_attachment_url(), get_the_title() );?><br />
<?php printf( __('Published on %1$s at %2$s', 'zenlite' ), get_the_time(__('F j, Y', 'zenlite')), get_the_time() );
<?php printf( __('Published on %1$s at %2$s', 'zenlite' ), get_the_time(get_option('date_format')), get_the_time(get_option('time_format')) );
if( get_the_modified_time() != get_the_time() ) {
echo '<br />';
printf( __('Updated on %1$s at %2$s', 'zenlite' ), get_the_modified_time(__('F j, Y', 'zenlite')), get_the_modified_time() );
printf( __('Updated on %1$s at %2$s', 'zenlite' ), get_the_modified_time(get_option('date_format')), get_the_modified_time(get_option('time_format')) );
}?></p>
<?php if ( !empty( $post->post_excerpt ) ) :?>
......@@ -39,5 +37,5 @@ if( get_the_modified_time() != get_the_time() ) {
<?php endwhile; ?><?php endif; ?>
</div>
<?php get_footer();
\ No newline at end of file
<?php get_header(); ?>
<?php get_header();
<div id="content">
<?php if(isset($_GET['author_name'])) $curauth = get_userdatabylogin($author_name);
if(isset($_GET['author_name'])) $curauth = get_userdatabylogin($author_name);
else $curauth = get_userdata(intval($author));?>
<?php if( !is_paged() ) :?>
<div <?php post_class(); ?>>
<h2 class="post-title"><?php _e('About', 'zenlite');?> <?php echo $curauth->display_name; ?></h2>
<h1 class="post-title"><?php _e('About', 'zenlite');?> <?php echo $curauth->display_name; ?></h1>
<dl class="author-details">
<?php if( $curauth->user_description !='' ) :?>
......@@ -26,54 +25,21 @@ else $curauth = get_userdata(intval($author));?>
<?php endif;?>
<?php if( get_the_author_meta('aim', $curauth->ID) != '') :?>
<dt class="aim"><abbr title="<?php _e('AOL Instant Messenger', 'zenlite');?>"><?php _e('AIM');?></abbr>:</dt>
<dt class="aim"><?php printf( __('<abbr title="%1$s">%2$s</abbr>', 'zenlite') , __('AOL Instant Messenger', 'zenlite'), __('AIM', 'zenlite'));?>:</dt>
<dd class="aim"><?php the_author_meta('aim', $curauth->ID);?></dd>
<?php endif;?>
<?php if( get_the_author_meta('yim', $curauth->ID) != '') :?>
<dt class="yim"><?php _e('Yahoo');?> <abbr title="<?php _e('Instant Messenger', 'zenlite');?>"><?php _e('IM');?></abbr>:</dt>
<dt class="yim"><?php printf( __('%1$s <abbr title="%2$s">%3$s</abbr>', 'zenlite') , __('Yahoo', 'zenlite'), __('Instant Messenger', 'zenlite'), __('IM', 'zenlite'));?>:</dt>
<dd class="yim"><?php the_author_meta('yim', $curauth->ID);?></dd>
<?php endif;?>
<?php endif;?>
</dl>
<h2 class="posts-by"><?php _e('Posts by', 'zenlite');?> <?php echo $curauth->display_name; ?>:</h2>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h3 class="post-title" id="post-<?php the_ID();?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Post', 'zenlite');?> <?php the_ID(); ?> - <?php _e('permanent link', 'zenlite');?>"><?php the_title(); ?></a></h3>
<ul class="meta">
<li><?php the_time(__('F j, Y', 'zenlite')); ?> <?php the_time(); ?></li>
<li><?php edit_post_link(sprintf( __('Edit %1$s', 'zenlite'), get_the_title() )
); ?></li>
</ul>
<div class="postcontent">
<?php if( has_post_thumbnail() ) {
the_post_thumbnail();
the_excerpt();
}
else the_content();?>
</div>
<ul class="meta postfoot">
<li class="more-link"><a href="<?php the_permalink();?>"><?php _e('Continue reading ', 'zenlite') . the_title();?></a> &raquo;</li>
<?php if('open' == $post->comment_status) : ?><li class="comment_link"><?php comments_popup_link(__('Comment on ', 'zenlite') .$post->post_title, __('1 Comment on ', 'zenlite') .$post->post_title, __('% Comments on ', 'zenlite') .$post->post_title,'postcomment',__('Comments are off for ', 'zenlite') .$post->post_title); ?> &raquo;</li><?php endif;?>
<li class="cats"><?php _e('Filed under:', 'zenlite');?> <ul><li><?php the_category(',</li> <li>') ?></li></ul></li>
<?php if(get_the_tag_list()) :?>
<li class="tags"><?php _e('Tags:', 'zenlite');?> <?php the_tags('<ul><li>',',</li> <li>','</li></ul>');?></li>
</dl></div>
<?php endif;?>
</ul>
<?php endwhile; ?>
<ul class="prevnext">
<li><?php next_posts_link(__('&laquo; Older Posts', 'zenlite') ); ?></li>
<li><?php previous_posts_link(__('Newer Posts &raquo;', 'zenlite') );?></li>
</ul>
<h1 class="posts-by"><?php _e('Posts by', 'zenlite');?> <?php echo $curauth->display_name; ?></h1>
<?php endif; ?>
</div>
<?php get_template_part( 'loop', 'index' );
<?php get_footer(); ?>
\ No newline at end of file
get_footer();
\ No newline at end of file
......@@ -2,35 +2,13 @@
/*
Template Name: List Authors
*/
?>
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
get_header();
if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?>>
<h2 class="post-title" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:', 'zenlite');?> <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<ul class="meta">
<li><?php edit_post_link(__('Edit', 'zenlite') ); ?></li>
</ul>
<div class="postcontent">
<?php the_content(); ?>
</div>
<ul class="authors">
<?php wp_list_authors('exclude_admin=0&optioncount=1'); ?>
</ul>
<?php wp_link_pages('before=<div class="pagelist">' . __('Pages:', 'zenlite') .'&after=</div>&link_before=&link_after=&pagelink=%');?>
<?php get_template_part('format', 'page');?>
</div>
<?php endwhile; ?>
<?php endif; ?>
<?php get_footer(); ?>
\ No newline at end of file
<?php endwhile; endif;
get_footer();
\ No newline at end of file
</
......@@ -6,26 +6,29 @@ http://quirm.net/
body {
color:#606060;
}
h1,h2,h3,h4,h5,h6 {
}
blockquote {
border-left:2px solid #DEE2E9;;
background:url(images/quotes.png) no-repeat left top;
}
acronym, abbr {
border-bottom:1px dashed #ddd;
}
pre,ins {
background:#F3F3FB;
ins {
background-color:#f3f3fb;
color:#606060;
}
pre {
border:1px solid #D5CDD5;
background: url(images/paper.png);
color:#606060;
border:1px solid #f3f3fb;
-moz-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
-webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
}
fieldset {
background:#DEE2E9;
background:#dee2e9;
}
fieldset fieldset {
background:#F3F3FB;
background:#f3f3fb;
}
legend {
background:#B1B4BE;
......@@ -36,33 +39,38 @@ input, textarea {
color:#404040;
border:1px solid #ddd;
}
input:focus,input.focus,textarea:focus,textarea.focus {
input:focus,
input.focus,
textarea:focus,
textarea.focus {
background:#fff;
color:#606060;
border-color:#407096;
}
input.submit,input.button,input[type=submit] {
input.submit,
input.button,
input[type=submit] {
background:#505050;
color:#fff;
-moz-box-shadow:2px 2px 2px rgba(0,0,0,0.3);
-webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.3);
-box-shadow:2px 2px 2px rgba(0,0,0,0.3);
}
input.checkbox {
border:none;
}
ins {
text-decoration:none;
}
table,th,td {
border:1px solid #C6CCD4;
}
th {
background:#DEE2E9;
background:#dee2e9;
}
tr {
background:#fff;
color:#606060;
}
tr.alt {
background:#F3F3FB;
background:#f3f3fb;
}
a {
color:#407096;
......@@ -73,17 +81,29 @@ a:visited {
a:hover {
color:#407096;
}
a:active,a:focus {
a:active,
a:focus {
background-color:#f93;
color:#000;
}
a img {
border:1px solid #fff;
-moz-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
-webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
}
a:hover img,
a:active img,
a:focus img {
-moz-box-shadow:2px 2px 2px rgba(0,0,0,0.3);
-webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
}
a:hover img {
border-color:#DEE2E9;
border-color:#f8f8f8;
}
a:active img, a:focus img {
a:active img,
a:focus img {
border-color:#f93;
}
......@@ -98,16 +118,18 @@ a:active img, a:focus img {
}
/* HEADER */
#header h1,#header h1 a {
#header h1,
#header h1 a {
color:#606060;
}
#header h1 {
#header {
border-bottom:3px double #aaa;
}
#header h1 a:hover {
color:#407096;
}
#header h1 a:focus,#header h1 a:active {
#header h1 a:focus,
#header h1 a:active {
background-color:#f93;
color:#000;
}
......@@ -116,28 +138,40 @@ a:active img, a:focus img {
}
/* MENU */
.sidebar {
.navbar {
border-top:3px double #aaa;
border-bottom:3px double #aaa;
}
.sidebar a {
background:#fff;
.navbar ul ul,
.navbar ul li:hover,
.navbar ul a:hover {
background:#dee2e9;
color:#606060;
}
.sidebar .current_page_item a,.sidebar .current-cat a,
.sidebar .current-menu-item a {
.navbar ul li.widget_tag_cloud:hover,
.navbar .widget_tag_cloud a:hover {
background:transparent;
}
.navbar ul ul {
-moz-box-shadow:2px 2px 2px rgba(0,0,0,0.3);
-webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.3);
-box-shadow:2px 2px 2px rgba(0,0,0,0.3);
}
.navbar ul a {
color:#606060;
}
.navbar .current_page_item > a,
.navbar .current-cat > a,
.navbar .current-menu-item > a {
background:#505050;
color:#fff;
}
.sidebar .current_page_item li a,.sidebar .current-cat li a {
background:#fff;
.navbar ul ul a:hover {
background:#eaeef1;
color:#606060;
}
.sidebar a:hover {
background:#DEE2E9;
color:#404040;
}
.sidebar a:active,.sidebar a:focus {
.navbar a:active,
.navbar a:focus {
background:#f93;
color:#404040;
}
......@@ -147,11 +181,16 @@ a:active img, a:focus img {
background:#fff;
color:#606060;
}
.postfoot {
#content .hentry,
.search-results #content .hentry .hentry {
border-bottom:3px double #aaa;
}
.author .posts-by {
border-top:3px double #aaa;
.single #content .hentry,
.page #content .hentry {
border-bottom:none;
}
.sticky .post-title a {
background:url(images/star.png) no-repeat right center;
}
.single {
border:none;
......@@ -165,71 +204,176 @@ a:active img, a:focus img {
#content ul li ul li ul li {
list-style-image:none;
}
#content .prevnext li,#content .meta li {
#content .prevnext li,
#content .meta li {
list-style-image:none;
list-style:none;
}
/* no bullets */
#content #commentlist li,#content .comment-links li,
#content .result-list li,#content .page-tree ul li {
#content #commentlist li,
#content .comment-links li,
#content .result-list li,
#content .pagetree ul li,
#content .widget-area {
list-style-image:none;
list-style:none;
}
/* pagination */
.page-numbers a,.pagelist a {
background-color:#F3F3FB;
border:1px solid #DEE2E9;
/* Post Formats */
.format-audio a img,
.format-gallery a img,
.format-image a img,
.format-status a img {
border:none;
-moz-box-shadow:0 0 0 rgba(0,0,0,0);
-webkit-box-shadow:0 0 0 rgba(0,0,0,0);
-box-shadow:0 0 0 rgba(0,0,0,0);
}
.single .format-audio {
background:url(images/audio.png) no-repeat right top;
}
.format-link .post-title a {
background:url(images/link.png) no-repeat right top;
}
.format-video .more-link a {
background:url(images/video.png) no-repeat right top;
}
.format-quote .postcontent {
background:#f8fafd url(images/quotes.png) no-repeat left top;
border:4px solid #f8fafd;
-moz-border-radius:20px;
-webkit-border-radius:20px;
border-radius:20px;
}
.format-quote .postcontent .inner {
background:url(images/quotes2.png) no-repeat right bottom;
}
.format-quote .postcontent blockquote {
background-image:none;
}
.format-chat .postcontent {
background:url(images/paper.png);
border:1px solid #f3f3fb;
-moz-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
-webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
}
.single .format-image img {
border:10px solid #f3f3fb;
-moz-border-radius:3px;
-khtml-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
}
.single .format-image a:hover img {
border-color:#dee2e9;
}
.page-numbers a:hover,.pagelist a:hover {
background-color:#fff;
.single .format-image a:active img,
.single .format-image a:focus img {
border-color:#f93;
}
.format-gallery .more-link img,
.format-image .more-link img {
border-width:5px;
}
/* pagination */
.prevnext .next a,
.prevnext .prev a {
background-repeat:no-repeat;
}
.prevnext .next a {
background-image:url(images/left.png);
background-position:left center;
}
.prevnext .prev a {
background-image:url(images/right.png);
background-position:right center;
}
.page-numbers a,
.pagelist a {
background-color:#f3f3fb;
border:1px solid #dee2e9;
}
.page-numbers a:hover,
.pagelist a:hover {
background-color:#505050;
color:#fff;
border-color:#505050;
}
.page-numbers a:active,.page-numbers a:focus,
.pagelist a:active,.pagelist a:focus {
.page-numbers a:active,
.page-numbers a:focus,
.pagelist a:active,
.pagelist a:focus {
background-color:#f93;
color:#000;
border-color:#f93;
}
/* page tree */
.page-tree {
background-color:#F3F3FB;
border:1px solid #DEE2E9;
.pagetree {
background-color:#f8fafd;
border:1px solid #f0f4fb;
-moz-border-radius:10px;
-webkit-border-radius:10px;
border-radius:10px;
-moz-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
-webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
-box-shadow:2px 2px 2px rgba(0,0,0,0.2);
}
/* COMMENTS */
#comments {
border-top:3px double #aaa;
}
#commentlist .even {
background-color:#F3F3FB;
background-color:#f3f3fb;
}
#commentlist .odd {
background:#fff;
}
#commentlist .even,#commentlist .odd {
border:1px solid #DEE2E9;
#commentlist .even,
#commentlist .odd {
border:1px solid #dee2e9;
-moz-border-radius:3px;
-khtml-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-moz-box-shadow:2px 2px 2px rgba(0,0,0,0.1);
-webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.1);
-box-shadow:2px 2px 2px rgba(0,0,0,0.1);
}
#commentlist li .meta li {
#commentlist .bypostauthor > .comment-body cite {
background:url(images/author-comment.png) no-repeat;
}
#commentlist .comment-author-admin > .comment-body cite {
background:url(images/admin-comment.png) no-repeat;
}
#commentlist blockquote {
background:transparent;
border:none;
}
#commentlist .comment-author + em {
color:#900;
}
/* gallery & captions */
.wp-caption img,#content .gallery img {