Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
git-svn-id: https://tarski.googlecode.com/svn/trunk@317 8ec1c81d-c82d-0410-ab24-9d07384f4a97
  • Loading branch information
beastaugh committed Oct 30, 2007
1 parent 8d2a4ff commit 341a810
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 15 deletions.
9 changes: 8 additions & 1 deletion archives.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
<?php
/*
Template Name: Archives
*/ ?>
*/
?>
<?php get_header(); ?>



<?php if (have_posts()) { while (have_posts()) { the_post(); ?>
<div class="primary-span entry">
<div class="meta">
Expand Down Expand Up @@ -36,4 +40,7 @@
<?php } ?>
<?php th_sidebar(); ?>
</div> <!-- /secondary -->



<?php get_footer(); ?>
6 changes: 3 additions & 3 deletions library/display/admin/options_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<label for="update-on"><input type="radio" id="update-on" name="update_notification" value ="on" <?php if(get_tarski_option('update_notification')) { echo 'checked="checked" '; } ?>/> <?php _e('Update notification on (recommended)','tarski'); ?></label>
<label for="update-off"><input type="radio" id="update-off" name="update_notification" value ="off" <?php if(!get_tarski_option('update_notification')) { echo 'checked="checked" '; } ?>/> <?php _e('Update notification off','tarski'); ?></label>
<?php if(!cache_is_writable() && get_tarski_option('update_notification')) { ?>
<p class="insert"><?php echo sprintf( __('The version check could not be cached. To enable caching, follow the tutorial on the %s page.','tarski'), '<a href="http://tarskitheme.com/help/updates/notifier/">'. __('update notifier','tarski'). '</a>' ); ?></p>
<p class="insert"><?php printf( __('The version check could not be cached. To enable caching, follow the tutorial on the %s page.','tarski'), '<a href="http://tarskitheme.com/help/updates/notifier/">'. __('update notifier','tarski'). '</a>' ); ?></p>
<?php } ?>
<p class="insert"><strong><?php _e('Privacy notice: ','tarski'); ?></strong><?php _e('The update notifier does not transmit any information about you or your website.'); ?></p>
</fieldset>
Expand Down Expand Up @@ -124,12 +124,12 @@


<div id="widgets-sidebar-section" class="insert"<?php if(get_tarski_option('sidebar_type') != 'widgets') { echo ' style="display: none;"'; } ?>>
<p><?php echo sprintf( __('To configure your Sidebar Widgets, go to the %s page and select the widgets you&#8217;d like to use.','tarski'), '<a href="' . $widgets_link . '">' . __('Widgets configuration','tarski') . '</a>' ); ?></p>
<p><?php printf( __('To configure your Sidebar Widgets, go to the %s page and select the widgets you&#8217;d like to use.','tarski'), '<a href="' . $widgets_link . '">' . __('Widgets configuration','tarski') . '</a>' ); ?></p>
</div>

<?php if(!detectWPMU()) { ?>
<div id="custom-sidebar-section" class="insert"<?php if(get_tarski_option('sidebar_type') != 'custom') { echo ' style="display: none;"'; } ?>>
<p><?php echo sprintf( __('To use your own custom sidebar code, upload a file named %s to your Tarski directory.','tarski'), "<code>user-sidebar.php</code>" ); ?></p>
<p><?php printf( __('To use your own custom sidebar code, upload a file named %s to your Tarski directory.','tarski'), "<code>user-sidebar.php</code>" ); ?></p>
</div>
<?php } ?>

Expand Down
19 changes: 15 additions & 4 deletions links.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<?php /*
<?php
/*
Template Name: Links
*/ ?>
*/
?>
<?php get_header(); ?>



<?php if (have_posts()) { while(have_posts()) { the_post(); ?>

<div class="primary entry">
<div class="meta">
<h1 class="title"><?php the_title(); ?></h1>
Expand All @@ -21,7 +26,13 @@

<?php th_postend(); ?>
</div> <!-- /primary -->

<?php } } ?>



<?php get_sidebar(); ?>



<?php get_footer(); ?>
4 changes: 2 additions & 2 deletions search.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<h1 class="title"><?php _e('Search Results','tarski'); ?></h1>
</div>
<div class="content">
<p><?php echo sprintf(__('Your search for %s returned the following results.','tarski'), '<strong>' . get_search_query() . '</strong>'); ?></p>
<p><?php printf( __('Your search for %s returned the following results.','tarski'), '<strong>' . get_search_query() . '</strong>' ); ?></p>
</div>
</div> <!-- /archive -->

Expand All @@ -28,7 +28,7 @@
<h1 class="title"><?php _e('No results','tarski'); ?></h1>
</div>
<div class="content">
<p><?php echo sprintf( __('Your search for %1$s returned no results. Try returning to the %2$s.','tarski'), '<strong>'.get_search_query().'</strong>', '<a href="'. get_bloginfo('url'). '">'. __('front page','tarski'). '</a>' ); ?></p>
<p><?php printf( __('Your search for %1$s returned no results. Try returning to the %2$s.','tarski'), '<strong>' . get_search_query() . '</strong>', '<a href="' . get_bloginfo('url') . '">' . __('front page','tarski') . '</a>' ); ?></p>
</div>
</div> <!-- /entry -->

Expand Down
3 changes: 1 addition & 2 deletions searchform.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php global $s; ?>
<div class="searchbox">
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>"><fieldset>
<input type="text" value="<?php if($s) { the_search_query(); } else { _e('Search this site','tarski'); } ?>" name="s" id="s" tabindex="21" />
<input type="text" value="<?php if(get_search_query()) { the_search_query(); } else { _e('Search this site','tarski'); } ?>" name="s" id="s" tabindex="21" />
<input type="submit" id="searchsubmit" value="<?php _e('Search','tarski'); ?>" tabindex="22" />
</fieldset></form>
</div>
2 changes: 1 addition & 1 deletion sidebar.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="sidebar" class="secondary">

<?php th_sidebar(); // Tarski's sidebar code is output via this hook ?>
<?php th_sidebar(); // The magical sidebar hook ?>

<?php $wp_the_query->current_post--; setup_postdata($wp_query->next_post()); // Reset post data for comments ?>

Expand Down
15 changes: 13 additions & 2 deletions tags.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<?php /*
<?php
/*
Template Name: Tags
*/ ?>
*/
?>
<?php get_header(); ?>



<?php if (have_posts()) { while(have_posts()) { the_post(); ?>

<div class="primary entry">
Expand All @@ -26,5 +31,11 @@
</div> <!-- /primary -->

<?php } } ?>



<?php get_sidebar(); ?>



<?php get_footer(); ?>

0 comments on commit 341a810

Please sign in to comment.