Doug Stewart avatar Doug Stewart committed c8f97e3

Quote those strings!

Comments (0)

Files changed (5)

 <?php header("HTTP/1.1 404 Not Found"); ?>
 <?php header("Status: 404 Not Found"); ?>
 <?php
-if (function_exists(afdn_error_page)) {
+if (function_exists('afdn_error_page')) {
 	afdn_error_page(); 
 } else {
 ?>
 	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
 	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
 	<?php if (is_single() or is_page()) {
-		if(function_exists(wp_ozh_yourls_head_linkrel)){
+		if(function_exists('wp_ozh_yourls_head_linkrel')){
 			wp_ozh_yourls_head_linkrel();
 		}
 	?>
 	<div id="lb-content">
 	<h3>Lifestream</h3>
 		<?php 
-			if(function_exists(simplelife)){
+			if(function_exists('simplelife')){
 				simplelife();
 			}
 
-			if(function_exists(lifestream)){
+			if(function_exists('lifestream')){
 				lifestream();
 			}
 		?>
 		wp_list_bookmarks(); 
 	}
 	
-	if ((is_single() || is_archive()) && function_exists(related_posts)){ ?>
+	if ((is_single() || is_archive()) && function_exists('related_posts')){ ?>
 	<li><h2>Possibly Related</h2>
 	<?php related_posts(); ?>
 	</li>
 	<?php 
 	}
 	
-	if ((is_single() || is_archive()) && function_exists(wp_related_posts)) {?>
+	if ((is_single() || is_archive()) && function_exists('wp_related_posts')) {?>
 	<li><h2>Possibly Related</h2>
 	<?php wp_related_posts(); ?>
 	</li>
 	 <?php /* Start The Loop */ if (have_posts()) { while (have_posts()) { the_post(); ?>
-		<?php /* Permalink navigation has to be inside the loop */ if (is_single()) include (TEMPLATEPATH . '/navigation.php'); ?>
+		<?php /* Permalink navigation has to be inside the loop */ if (is_single()) get_template_part('navigation'); ?>
 		<?php 
 			$asides_cat_byname = get_option($shortname.'_asides_category');
 			$asides_cat_id = get_cat_id(get_option($shortname.'_asides_category'));
 					<?php if (function_exists('sharethis_button') && (is_home() || is_page() || is_single())) { sharethis_button(); } ?>
 					<div class="postinfo">
 						<span class="postcats">Posted in <?php the_category(', '); ?></span>
-						<?php if(function_exists(the_tags) && is_single()){?>
+						<?php if(function_exists('the_tags') && is_single()){?>
 						<br />
 						<span class="posttags"><?php the_tags('Tagged as: ',','); ?></span>
 					<?php }?>
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.