Permalink
Browse files

first commit

  • Loading branch information...
0 parents commit 77022a6773bd99de90299df433f067eeff957d3a pnts committed Feb 23, 2010
58 404.php
@@ -0,0 +1,58 @@
+<?php get_header(); ?>
+
+<div id="content">
+
+ <div id="entry_content">
+
+
+ <?php if (have_posts()) : ?>
+
+ <?php while (have_posts()) : the_post(); ?>
+
+
+
+ <div class="mobile">
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+ <p class="date"><?php the_time('F jS, Y') ?> <?php comments_popup_link('&sect; <span class="commentcount">0</span>', '&sect; <span class="commentcount">1</span>', '&sect; <span class="commentcount">%</span>'); ?></p>
+
+
+ <div class="mobile_entry">
+ <?php the_content('&raquo; Read the rest of this entry &laquo;'); ?>
+ </div>
+ <div class="entry">
+ <?php if (is_single()) { ?>
+ <?php comments_template(); ?>
+ <?php } ?>
+ </div>
+ </div>
+
+
+ <?php endwhile; ?>
+
+ <div class="navigation">
+ <p class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></p>
+ <p class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></p>
+ </div>
+
+
+
+
+ <?php else : ?>
+
+
+ <div class="entry">
+ <span class="error"><img src="<?php bloginfo('template_directory'); ?>/images/mal.png" alt="error duck" /></span>
+ <p>Hmmm, seems like what you were looking for isn't here. You might want to give it another try - the server might have hiccuped - or maybe you even spelled something wrong (though it's more likely <strong>I</strong> did).</p>
+ </div>
+
+
+ <?php endif; ?>
+
+
+</div> <!-- close entry_content -->
+
+
+
+<?php get_sidebar(); ?>
+
+<?php get_footer(); ?>
0 README
No changes.
@@ -0,0 +1,91 @@
+<?php
+// Do not delete these lines
+ if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
+ die ('Please do not load this page directly. Thanks!');
+
+ if ( post_password_required() ) { ?>
+ <p class="nocomments">This post is password protected. Enter the password to view comments.</p>
+ <?php
+ return;
+ }
+?>
+
+<!-- You can start editing here. -->
+
+<?php if ( have_comments() ) : ?>
+
+
+ <h3 id="comments">&sect; <?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
+
+
+ <ul class="commentlist">
+ <?php wp_list_comments(); ?>
+ </ol>
+
+ <div class="navigation">
+ <div class="alignleft"><?php previous_comments_link() ?></div>
+ <div class="alignright"><?php next_comments_link() ?></div>
+ </div>
+
+
+ <?php else : // this is displayed if there are no comments so far ?>
+
+ <?php if ('open' == $post->comment_status) : ?>
+ <!-- If comments are open, but there are no comments. -->
+
+ <?php else : // comments are closed ?>
+ <!-- If comments are closed. -->
+ <p class="nocomments">Comments are closed.</p>
+
+ <?php endif; ?>
+<?php endif; ?>
+
+
+<?php if ('open' == $post->comment_status) : ?>
+
+<div id="respond">
+
+<h3>&sect; <?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3>
+
+<div class="cancel-comment-reply">
+ <small><?php cancel_comment_reply_link(); ?></small>
+</div>
+
+<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
+<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
+<?php else : ?>
+
+<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
+
+<?php if ( $user_ID ) : ?>
+
+<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out &raquo;</a></p>
+
+<?php else : ?>
+
+<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
+<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
+
+<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
+<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
+
+<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
+<label for="url"><small>Website</small></label></p>
+
+<?php endif; ?>
+
+<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
+
+<p><textarea name="comment" id="comment" cols="60%" rows="10" tabindex="4"></textarea></p>
+
+<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
+<?php comment_id_fields(); ?>
+</p>
+<?php do_action('comment_form', $post->ID); ?>
+
+</form>
+
+<?php endif; // If registration required and not logged in ?>
+</div>
+
+<?php endif; // if you delete this the sky will fall on your head ?>
@@ -0,0 +1,19 @@
+
+<div id="footer">
+
+ <div id="footer_contact">
+ <p><a href="http://andreamignolo.com/oulipo">Oulipo</a> by <a href="http://andreamignolo.com">Mignolo</a></p>
+ <p>Powered by <a href="http://wordpress.org">WordPress</a></p>
+ </div>
+
+ <div id="footer_info">
+ <!-- ><p>You can put extra footer information here, just uncomment this line.</p> -->
+ </div>
+
+</div>
+
+
+</div> <!-- close wrapper -->
+<?php wp_footer(); ?>
+</body>
+</html>
@@ -0,0 +1,14 @@
+<?php
+if ( function_exists('register_sidebar') )
+ register_sidebar();
+
+$GLOBALS['content_width'] = 470;
+
+add_filter( 'comments_template', 'legacy_comments' );
+function legacy_comments( $file ) {
+ if ( !function_exists('wp_list_comments') )
+ $file = TEMPLATEPATH . '/legacy.comments.php';
+ return $file;
+}
+
+?>
@@ -0,0 +1,66 @@
+<!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>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+ <title><?php
+ if (is_home()) {
+ bloginfo('name');
+ } elseif (is_404()) { ?>
+ 404 Not Found
+ <?php } elseif (is_category()) { ?>
+ <?php bloginfo('name'); ?> - Category: <?php wp_title(''); ?>
+ <?php } elseif (is_search()) { ?>
+ <?php bloginfo('name'); ?> - Search Results
+ <?php } elseif ( is_day() || is_month() || is_year() ) { ?>
+ <?php bloginfo('name'); ?> - Archives: <?php wp_title(''); ?>
+ <?php } else { ?>
+ <?php bloginfo('name'); ?> - <?php wp_title(''); ?>
+ <?php } ?>
+ </title>
+
+
+ <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
+ <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom" href="<?php bloginfo('atom_url'); ?>" />
+ <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS" href="<?php bloginfo('rss2_url'); ?>" />
+ <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?php bloginfo('url'); ?>/xmlrpc.php?rsd" />
+ <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
+
+
+ <!--[if lte IE 7]>
+ <link href="<?php bloginfo('template_directory'); ?>/ie.css" type="text/css" rel="stylesheet" media="screen" />
+ <![endif]-->
+
+ <!--[if lte IE 6]>
+ <link href="<?php bloginfo('template_directory'); ?>/ie6.css" type="text/css" rel="stylesheet" media="screen" />
+ <![endif]-->
+
+ <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' );?>
+ <?php wp_head(); ?>
+
+</head>
+
+<body>
+<div id="wrapper">
+ <div id="search">
+ <span class="twitter"><!-- If you want to integrate Twitter, use http://rick.jinlabs.com/code/twitter/ and put the code snippet here. --></span>
+ <?php include (TEMPLATEPATH . '/searchform.php'); ?>
+ </div>
+
+ <div id="main_nav">
+ <h1 class="masthead"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
+ <p class="description"><?php bloginfo('description'); ?></p>
+
+ <ul>
+
+ <?php wp_list_pages('title_li=&depth=1'); ?>
+ <li><a href="<?php bloginfo('atom_url'); ?>">Feed</a></li>
+ </ul>
+
+
+
+ </div>
+
+
10 ie.css
@@ -0,0 +1,10 @@
+
+
+.commenttext {
+ margin-top: 1.5em;
+}
+
+
+.monthly {
+ padding-top: 1.5em;
+}
22 ie6.css
@@ -0,0 +1,22 @@
+ul.commentlist {
+ margin-top: -2em;
+}
+
+img.avatar {
+ margin-top: 4em;
+}
+
+.commenttext {
+ margin-top: 1.5em;
+}
+
+#main_nav a:hover, .current_page_item, .current {
+ background: #EEE;
+ width: 100%;
+ border-right: 0;
+}
+
+
+.monthly {
+ padding-top: 1.5em;
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,52 @@
+<?php get_header(); ?>
+
+<div id="content">
+
+ <div id="entry_content">
+
+
+ <?php if (have_posts()) : ?>
+
+ <?php while (have_posts()) : the_post(); ?>
+ <?php if(is_home()) { if ( function_exists('wp_list_comments') ) { ?> <div <?php post_class(); ?>> <?php }} ?>
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+ <p class="date"><?php the_time('F jS, Y') ?> <?php comments_popup_link('&sect; <span class="commentcount">0</span>', '&sect; <span class="commentcount">1</span>', '&sect; <span class="commentcount">%</span>'); ?></p>
+
+
+ <div class="entry">
+ <?php the_content('&raquo; Read the rest of this entry &laquo;'); ?>
+ <?php wp_link_pages(array('before' => '<p>Page: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
+
+
+ </div>
+ <?php if(is_home()) { if ( function_exists('wp_list_comments') ) { ?></div><!-- close post_class --><?php }} ?>
+
+ <?php endwhile; ?>
+
+ <div class="navigation">
+ <p class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></p>
+ <p class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></p>
+ </div>
+
+
+
+
+ <?php else : ?>
+
+
+ <div class="entry">
+ <span class="error"><img src="<?php bloginfo('template_directory'); ?>/images/mal.png" alt="error duck" /></span>
+ <p>Hmmm, seems like what you were looking for isn't here. You might want to give it another try - the server might have hiccuped - or maybe you even spelled something wrong (though it's more likely <strong>I</strong> did).</p>
+ </div>
+
+
+ <?php endif; ?>
+
+
+</div> <!-- close entry_content -->
+
+
+
+<?php get_sidebar(); ?>
+
+<?php get_footer(); ?>
Oops, something went wrong.

0 comments on commit 77022a6

Please sign in to comment.