[wp-cvs] wordpress/wp-content/themes/default comments.php, 1.3, 1.4 page.php, 1.2, 1.3 searchform.php, 1.1, 1.2 sidebar.php, 1.4, 1.5 single.php, 1.1, 1.2 style.css, 1.3, 1.4

Matthew Mullenweg saxmatt at users.sourceforge.net
Mon Jan 24 08:15:12 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-content/themes/default
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9994/wp-content/themes/default

Modified Files:
	comments.php page.php searchform.php sidebar.php single.php 
	style.css 
Log Message:
Some Kubrick cleanups

Index: comments.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/themes/default/comments.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** comments.php	14 Jan 2005 23:37:37 -0000	1.3
--- comments.php	24 Jan 2005 08:15:10 -0000	1.4
***************
*** 15,19 ****
  
  		/* This variable is for alternating comment background */
! 		$oddcomment = 'graybox';
  ?>
  
--- 15,19 ----
  
  		/* This variable is for alternating comment background */
! 		$oddcomment = 'alt';
  ?>
  
***************
*** 21,25 ****
  
  <?php if ($comments) : ?>
! 	<h3 id="comments"><?php comments_number('No Responses','One Response','% Responses' );?> to '<?php the_title(); ?>'</h3> 
  
  	<ol class="commentlist">
--- 21,25 ----
  
  <?php if ($comments) : ?>
! 	<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3> 
  
  	<ol class="commentlist">
***************
*** 37,42 ****
  		
  		<?php /* Changes every other comment to a different class */	
! 			if('graybox' == $oddcomment) {$oddcomment="";}
! 			else { $oddcomment = "graybox"; }
  		?>
  
--- 37,42 ----
  		
  		<?php /* Changes every other comment to a different class */	
! 			if ('alt' == $oddcomment) $oddcomment = '';
! 			else $oddcomment = 'alt';
  		?>
  
***************
*** 63,72 ****
  <form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
  
! <p><input type="text" name="author" id="author" class="styled" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
  <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
! <label for="author"><small>Name</small></label></p>
  
  <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
! <label for="email"><small>Mail (will not be published)</small></label></p>
  
  <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
--- 63,72 ----
  <form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
  
! <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
  <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
! <label for="author"><small>Name <?php if ($req) _e('(required)'); ?></small></label></p>
  
  <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
! <label for="email"><small>Mail (will not be published) <?php if ($req) _e('(required)'); ?></small></label></p>
  
  <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />

Index: single.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/themes/default/single.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** single.php	4 Jan 2005 05:20:06 -0000	1.1
--- single.php	24 Jan 2005 08:15:10 -0000	1.2
***************
*** 18,25 ****
  				<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
  	
! 				<p class="postmetadata graybox">
  					<small>
  						This entry was posted
! 						<?php /* This is uncommented, because it requires a little adjusting sometimes.
  							You'll need to download this plugin, and follow the instructions:
  							http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
--- 18,25 ----
  				<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
  	
! 				<p class="postmetadata alt">
  					<small>
  						This entry was posted
! 						<?php /* This is commented, because it requires a little adjusting sometimes.
  							You'll need to download this plugin, and follow the instructions:
  							http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */

Index: style.css
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/themes/default/style.css,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** style.css	4 Jan 2005 05:24:20 -0000	1.3
--- style.css	24 Jan 2005 08:15:10 -0000	1.4
***************
*** 65,69 ****
  	}
  
! .graybox {
  	background-color: #f8f8f8;
  	border-top: 1px solid #ddd;
--- 65,69 ----
  	}
  
! .alt {
  	background-color: #f8f8f8;
  	border-top: 1px solid #ddd;
***************
*** 438,442 ****
  
  #sidebar #searchform #s {
! 	width: 130px;
  	padding: 2px;
  	}
--- 438,442 ----
  
  #sidebar #searchform #s {
! 	width: 115px;
  	padding: 2px;
  	}
***************
*** 474,478 ****
  
  /* Begin Comments*/
! .graybox {
  	margin: 0;
  	padding: 10px;
--- 474,478 ----
  
  /* Begin Comments*/
! .alt {
  	margin: 0;
  	padding: 10px;

Index: page.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/themes/default/page.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** page.php	24 Jan 2005 05:59:00 -0000	1.2
--- page.php	24 Jan 2005 08:15:10 -0000	1.3
***************
*** 14,17 ****
--- 14,18 ----
  		</div>
  	  <?php endwhile; endif; ?>
+ 	<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
  	</div>
  

Index: searchform.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/themes/default/searchform.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** searchform.php	4 Jan 2005 05:20:06 -0000	1.1
--- searchform.php	24 Jan 2005 08:15:10 -0000	1.2
***************
*** 1,5 ****
  <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
  <div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
! <input type="submit" id="searchsubmit" name="Submit" value="Go!" />
  </div>
  </form>
\ No newline at end of file
--- 1,5 ----
  <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
  <div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
! <input type="submit" id="searchsubmit" name="Submit" value="Search" />
  </div>
  </form>
\ No newline at end of file

Index: sidebar.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/themes/default/sidebar.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** sidebar.php	11 Jan 2005 01:08:01 -0000	1.4
--- sidebar.php	24 Jan 2005 08:15:10 -0000	1.5
***************
*** 37,49 ****
  			<?php } ?>
  			</li>
- 			
- 		
- 		
- 			
- 			<!-- The Calendar is disabled per default. Uncomment if you want to use it.
- 			<li><h2><?php _e('Calendar'); ?></h2>
- 				<?php get_calendar(); ?>
- 			</li>
- 			-->
  
  			<?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
--- 37,40 ----
***************
*** 61,70 ****
  			</li>
  
! 			<?php /* If this is the frontpage */ if (is_home()) { ?>				
! 				<li><h2><?php _e('Links'); ?></h2>
! 					<ul>
! 						<?php get_links('-1', '<li>', '</li>', '<br />'); ?>
! 					</ul>
! 				</li>
  				
  				<li><h2><?php _e('Meta'); ?></h2>
--- 52,57 ----
  			</li>
  
! 			<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>				
! 				<?php get_links_list(); ?>
  				
  				<li><h2><?php _e('Meta'); ?></h2>



More information about the cvs mailing list