Commits

Doug Stewart committed 1f65e4f

Omnibus checkin - lots of stuff. Added template names to 404.php, archives.php, search.php, single.php. Moing towards menubar actually showing current locatio (Blog, pages, etc.). Altered comments.php slightly. Altered default-inverted.css to take menu changes into effect. I ''think'' that's all I did...

Comments (0)

Files changed (7)

 <?php
-	afdn_error_page(); 
+/*
+Template Name: 404'd
+*/
+	if(function_exists(afdn_error_page)){
+		afdn_error_page(); 
+	}
 ?>
 
 <div id="wrapper">
 	<div id="content">
+	<h2>Archives<br />By Date</h2>
 	<?php arl_subtraction_archives_posts(); ?>
 	</div>
 </div>
-
-<?php get_sidebar(); ?>
+<div id="navigation">
+	<h2>Archives<br />By Category</h2>
+	<?php arl_subtraction_archives_categories(); ?>
+</div>
+<div id="extra">
+	&nbsp;
+</div>
 
 <?php get_footer(); ?>
-<?php 
-/* 	This is comment.phps by Christian Montoya, http://www.christianmontoya.com
-
-	Available to you under the do-whatever-you-want license. If you like it, 
-	you are totally welcome to link back to me. 
-	
-	Use of this code does not grant you the right to use the design or any of the 
-	other files on my site. Beyond this file, all rights are reserved, unless otherwise noted. 
-	
-	Enjoy!
-*/
-?>
-
 <!-- Comments code provided by christianmontoya.com -->
 
 <?php if (!empty($post->post_password) && $_COOKIE['wp-postpass_'.COOKIEHASH]!=$post->post_password) : ?>
         
         /* Compare to $author array values */
         if (strcasecmp($this_name, $author["name"])==0 && strcasecmp($this_email, $author["email"])==0)
-			_e($author["highlight"]); 
+			_e($author["highlight"]." ".$thiscomment); 
 		else 
 			_e($thiscomment); 
 		
 	<p class="description"><?php bloginfo('description'); ?></p>
 </div>
         <ul id="menu">
-                <li><a href="<?php bloginfo('url'); ?>" class="selected">Blog</a></li>
+		<?php if (is_home()) : ?>
+                <li><a href="<?php bloginfo('url'); ?>" class="current_page_item">Blog</a></li>
                 <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
 				<?php wp_register('<li class="admintab">','</li>'); ?>
+		<?php else : ?>
+                <li><a href="<?php bloginfo('url'); ?>">Blog</a></li>
+                <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
+				<?php wp_register('<li class="admintab">','</li>'); ?>
+		<?php endif; ?>
         </ul>
 	
-<?php get_header(); ?>
+<?php
+/*
+Template Name: Search
+*/
+
+get_header(); ?>
 
 <div id="wrapper">
 	<div id="content">
 
 <?php get_sidebar(); ?>
 
-<?php get_footer(); ?>
+<?php get_footer(); ?>
-<?php get_header(); ?>
+<?php 
+/*
+Template Name: Single Post
+*/
+
+get_header(); ?>
 
 <div id="wrapper">
 	<div id="content">
 
 <?php get_sidebar(); ?>
 
-<?php get_footer(); ?>
+<?php get_footer(); ?>

styles/default-inverted.css

 	background: #cfcfd0;
 }
 
-#menu a.selected {
+#menu a.current_page_item {
 	color: #000;
 	background:#cfcfd0;
 }
 }
 
 #comments {
-	border-top: 1px solid #56618f;
+	/*border-top: 1px solid #56618f;*/
 	padding-left: 0px;
 	list-style: none;
 	width: 95%;
 }
 
 #comments li.odd, #comments li.even, #comments li.highlight {
-	border-bottom: 2px solid #56618f;
+	/*border-bottom: 2px solid #56618f;*/
 	padding: 5px;
 }
 
 #comments li.highlight {
 /*	border: 2px solid #56618f;
 	border-top: 0px;*/
+	border: 1px solid #cfcfd0;
 }
 
 .published {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.