Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4bd8ef3
Showing
62 changed files
with
4,526 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php header("HTTP/1.1 404 Not Found"); ?> | ||
<?php get_header() ?> | ||
|
||
<div class="hfeed"> | ||
<div id="post-0" class="post hentry p1"> | ||
<h3 class="entry-title"><?php _e('Nothing Found', 'blogtxt') ?></h3> | ||
<div class="entry-content"> | ||
<p>error 404 <?php _e('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'blogtxt') ?></p> | ||
</div> | ||
<form id="searchform" method="get" action="<?php bloginfo('home') ?>"> | ||
<div> | ||
<input id="s" name="s" type="text" value="<?php echo wp_specialchars(stripslashes($_GET['s']), true); ?>" tabindex="1" size="40" /> | ||
<input id="searchsubmit" name="searchsubmit" type="submit" value="<?php _e('Search', 'blogtxt') ?>" tabindex="2" /> | ||
</div> | ||
</form> | ||
</div><!-- #post-0 .post --> | ||
</div><!-- .hfeed --> | ||
</div><!-- #content --> | ||
</div><!-- #container --> | ||
|
||
<?php get_sidebar() ?> | ||
<?php get_footer() ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?php get_header(); ?> | ||
<?php | ||
$termname = $wp_query->queried_object->name; | ||
$termdesc = $wp_query->queried_object->description; | ||
?> | ||
|
||
<div id="content"> | ||
<?php get_sidebar(); ?> | ||
<div id="main"> | ||
<h3><strong> | ||
|
||
<?php if ( is_tag('pune2012') ) { ?> | ||
<h2>Pune 2012 posts</h2> | ||
<?php } elseif ( is_category() ) { ?> | ||
<h4><?php _e('Category:', 'cp'); ?> <span><?php single_cat_title(); ?></span></h4> | ||
<?php } elseif ( get_post_type() == 'global-meeting' && is_archive()) { ?> | ||
<h4><?php _e('Global meeting type:', 'cp'); ?> <span><?php echo $termname ?></span></h4> | ||
<?php } elseif ( is_tag() ) { ?> | ||
<h4><?php _e('Tag:', 'cp'); ?> <span><?php single_tag_title(); ?></span></h4> | ||
<?php } elseif ( is_day() ) { ?> | ||
<h4><?php _e('Archive:', 'cp'); ?> <span><?php the_time( __('F jS, Y', 'cp') ); ?></span></h4> | ||
<?php } elseif ( is_month() ) { ?> | ||
<h4><?php _e('Archive:', 'cp'); ?> <span><?php the_time( __('F, Y', 'cp') ); ?></span></h4> | ||
<?php } elseif ( is_year() ) { ?> | ||
<h4><?php _e('Archive:', 'cp'); ?> <span><?php the_time( __('Y', 'cp') ); ?></span></h4> | ||
<?php } elseif ( is_author() ) { ?> | ||
<h4><?php _e('Author Archive', 'cp'); ?> </h4> | ||
<?php } elseif ( isset($_GET['paged']) && !empty($_GET['paged']) ) { ?> | ||
<h4><?php __('Blog Archives', 'cp'); ?></h4> | ||
<?php } ?> | ||
</strong></h3> | ||
<span class"postmetadata alt"> <?php echo category_description(); ?></span> | ||
|
||
|
||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | ||
<div class="portada-post archive-post post-<?php the_ID(); ?>"> | ||
|
||
<h4 class="archive-header"> | ||
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> | ||
<?php the_title() ?> | ||
</a> | ||
</h4> | ||
<div class="postmetadata"> | ||
<?php the_time('F d, Y') ?> | ||
</div> | ||
<div class="excerpt"> | ||
<?php the_excerpt(); ?> | ||
</div> | ||
<div class="postmetadata"> | ||
<?php the_category(', ') ?> | ||
• <?php comments_popup_link('0 comentarios', '1 comentario', '% comentarios'); ?> | ||
• <?php the_author_posts_link(); ?> | ||
|
||
</div> | ||
</div> | ||
|
||
<?php comments_template(); // Get wp-comments.php template ?> | ||
|
||
<?php endwhile; else: ?> | ||
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p> | ||
<?php endif; ?> | ||
</div> | ||
|
||
<?php posts_nav_link(' — ', __('« Newer Posts'), __('Older Posts »')); ?> | ||
|
||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage Classic_Theme | ||
*/ | ||
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title><?php echo get_option('blogname'); ?> - <?php echo sprintf(__("Comments on %s"), the_title('','',false)); ?></title> | ||
|
||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> | ||
<style type="text/css" media="screen"> | ||
@import url( <?php bloginfo('stylesheet_url'); ?> ); | ||
body { margin: 3px; } | ||
</style> | ||
|
||
</head> | ||
<body id="commentspopup"> | ||
|
||
<h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1> | ||
|
||
<?php | ||
/* Don't remove these lines. */ | ||
add_filter('comment_text', 'popuplinks'); | ||
if ( have_posts() ) : | ||
while( have_posts()) : the_post(); | ||
?> | ||
|
||
<h2 id="comments"><?php _e("Comments"); ?></h2> | ||
|
||
<p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><?php _e("<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."); ?></a></p> | ||
|
||
<?php if ( pings_open() ) { ?> | ||
<p><?php _e("The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is:"); ?> <em><?php trackback_url() ?></em></p> | ||
<?php } ?> | ||
|
||
<?php | ||
// this line is WordPress' motor, do not delete it. | ||
$commenter = wp_get_current_commenter(); | ||
extract($commenter); | ||
$comments = get_approved_comments($id); | ||
$commentstatus = get_post($id); | ||
if ( post_password_required($commentstatus) ) { // and it doesn't match the cookie | ||
echo(get_the_password_form()); | ||
} else { ?> | ||
|
||
<?php if ($comments) { ?> | ||
<ol id="commentlist"> | ||
<?php foreach ($comments as $comment) { ?> | ||
<li id="comment-<?php comment_ID() ?>"> | ||
<?php comment_text() ?> | ||
<p><cite><?php comment_type(_x('Comment', 'noun'), __('Trackback'), __('Pingback')); ?> <?php _e("by"); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p> | ||
</li> | ||
|
||
<?php } // end for each comment ?> | ||
</ol> | ||
<?php } else { // this is displayed if there are no comments so far ?> | ||
<p><?php _e("No comments yet."); ?></p> | ||
<?php } ?> | ||
|
||
<?php if ( comments_open($commentstatus) ) { ?> | ||
<h2><?php _e("Leave a comment"); ?></h2> | ||
<p><?php _e("Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed:"); ?> <code><?php echo allowed_tags(); ?></code></p> | ||
|
||
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> | ||
<?php if ( is_user_logged_in() ) : ?> | ||
<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(); ?>" title="<?php echo esc_attr(__('Log out of this account')); ?>"><?php _e('Log out »'); ?></a></p> | ||
<?php else : ?> | ||
<p> | ||
<input type="text" name="author" id="author" class="textarea" value="<?php echo esc_attr($comment_author); ?>" size="28" tabindex="1" /> | ||
<label for="author"><?php _e("Name"); ?></label> | ||
</p> | ||
|
||
<p> | ||
<input type="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="28" tabindex="2" /> | ||
<label for="email"><?php _e("E-mail"); ?></label> | ||
</p> | ||
|
||
<p> | ||
<input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="28" tabindex="3" /> | ||
<label for="url"><?php _e("<abbr title=\"Universal Resource Locator\">URL</abbr>"); ?></label> | ||
</p> | ||
<?php endif; ?> | ||
|
||
<p> | ||
<label for="comment"><?php _e("Your Comment"); ?></label> | ||
<br /> | ||
<textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea> | ||
</p> | ||
|
||
<p> | ||
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> | ||
<input type="hidden" name="redirect_to" value="<?php echo esc_attr($_SERVER["REQUEST_URI"]); ?>" /> | ||
<input name="submit" type="submit" tabindex="5" value="<?php esc_attr_e("Say It!"); ?>" /> | ||
</p> | ||
<?php do_action('comment_form', $post->ID); ?> | ||
</form> | ||
<?php } else { // comments are closed ?> | ||
<p><?php _e("Sorry, the comment form is closed at this time."); ?></p> | ||
<?php } | ||
} // end password check | ||
?> | ||
|
||
<div><strong><a href="javascript:window.close()"><?php _e("Close this window."); ?></a></strong></div> | ||
|
||
<?php // if you delete this the sky will fall on your head | ||
endwhile; //endwhile have_posts() | ||
else: //have_posts() | ||
?> | ||
<p>Sorry, no posts matched your criteria.</p> | ||
<?php endif; ?> | ||
|
||
<!-- // this is just the end of the motor - don't touch that line either :) --> | ||
<?php //} ?> | ||
<p class="credit"><?php timer_stop(1); ?> <?php echo sprintf(__("<cite>Powered by <a href=\"http://wordpress.org\" title=\"%s\"><strong>WordPress</strong></a></cite>"),__("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></p> | ||
<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?> | ||
<script type="text/javascript"> | ||
<!-- | ||
document.onkeypress = function esc(e) { | ||
if(typeof(e) == "undefined") { e=event; } | ||
if (e.keyCode == 27) { self.close(); } | ||
} | ||
// --> | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage Classic_Theme | ||
*/ | ||
|
||
if ( post_password_required() ) : ?> | ||
<p><?php _e('Enter your password to view comments.'); ?></p> | ||
<?php return; endif; ?> | ||
|
||
<h5 id="comments"><?php comments_number(__(''), __('1 Comment'), __('% Comments')); ?> | ||
<?php if ( comments_open() ) : ?> | ||
<a href="#postcomment" title="<?php _e("Leave a comment"); ?>">»</a> | ||
<?php endif; ?> | ||
</h5> | ||
|
||
<?php if ( have_comments() ) : ?> | ||
<ol id="commentlist"> | ||
|
||
<?php foreach ($comments as $comment) : ?> | ||
<li <?php comment_class(); ?> id="comment-<?php comment_ID() ?>"> | ||
<?php echo get_avatar( $comment, 32 ); ?> | ||
<?php comment_text() ?> | ||
<p><cite><?php comment_type(_x('Comment', 'noun'), __('Trackback'), __('Pingback')); ?> <?php _e('by'); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p> | ||
</li> | ||
|
||
<?php endforeach; ?> | ||
|
||
</ol> | ||
|
||
<?php else : // If there are no comments yet ?> | ||
<!--p><?php _e('No comments yet.'); ?></p--> | ||
<?php endif; ?> | ||
|
||
<p><?php post_comments_feed_link(__('Comments <abbr title="Really Simple Syndication">RSS</abbr> feed for this post.')); ?> | ||
<?php if ( pings_open() ) : ?> | ||
<a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Universal Resource Locator">URL</abbr>'); ?></a> | ||
<?php endif; ?> | ||
</p> | ||
|
||
<?php if ( comments_open() ) : ?> | ||
<h5 id="postcomment"><?php _e('Leave a comment'); ?></h5> | ||
|
||
<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> | ||
<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), wp_login_url( get_permalink() ) );?></p> | ||
<?php else : ?> | ||
|
||
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> | ||
|
||
<?php if ( is_user_logged_in() ) : ?> | ||
|
||
<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><input type="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" tabindex="1" /> | ||
<label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p> | ||
|
||
<p><input type="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" /> | ||
<label for="email"><small><?php _e('Mail (will not be published)');?> <?php if ($req) _e('(required)'); ?></small></label></p> | ||
|
||
<p><input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" /> | ||
<label for="url"><small><?php _e('Website'); ?></small></label></p> | ||
|
||
<?php endif; ?> | ||
|
||
<!--<p><small><strong>XHTML:</strong> <?php printf(__('You can use these tags: %s'), allowed_tags()); ?></small></p>--> | ||
|
||
<p><textarea name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea></p> | ||
|
||
<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php esc_attr_e('Submit Comment'); ?>" /> | ||
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> | ||
</p> | ||
<?php do_action('comment_form', $post->ID); ?> | ||
|
||
</form> | ||
|
||
<?php endif; // If registration required and not logged in ?> | ||
|
||
<?php else : // Comments are closed ?> | ||
<p><!--?php _e('Sorry, the comment form is closed at this time.'); ?--></p> | ||
<?php endif; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage Classic_Theme | ||
*/ | ||
?> | ||
<!-- begin footer --> | ||
|
||
</div> | ||
<?php get_sidebar(); ?> | ||
<div id="footer"> | ||
|
||
<strong><a href="/">Global Alliance of Waste Pickers</a></strong>. <a href="http://www.globalrec.org/feed/">Feed/RSS</a>. Powered by <a href='http://wordpress.org/'><strong>Wordpress</strong></a>. Web | ||
<a href='http://montera34.com' title='montera34'>M34</a>. | ||
</div> | ||
|
||
<?php wp_footer(); ?> | ||
|
||
|
||
<!-- Place this render call where appropriate --> | ||
<script type="text/javascript"> | ||
(function() { | ||
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; | ||
po.src = 'https://apis.google.com/js/plusone.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); | ||
})(); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.