Permalink
Browse files

Replace tabs with spaces.

  • Loading branch information...
1 parent bc6a8e2 commit 078b6ff96e90ada8ceabdddc56e1d67473fab7c9 @beastaugh committed Mar 15, 2011
View
14 404.php
@@ -4,15 +4,15 @@
<div class="primary-span entry">
- <div class="meta">
- <h1 class="title"><?php _e('Error 404','tarski'); ?></h1>
- </div>
+ <div class="meta">
+ <h1 class="title"><?php _e('Error 404','tarski'); ?></h1>
+ </div>
- <div class="content">
- <?php tarski_404_content(); ?>
- </div>
+ <div class="content">
+ <?php tarski_404_content(); ?>
+ </div>
- <?php th_postend(); ?>
+ <?php th_postend(); ?>
</div> <!-- /primary-span -->
View
@@ -24,7 +24,7 @@
* internally to add the header image, site title, tagline and navbar.
*/
function th_header() {
- do_action('th_header');
+ do_action('th_header');
}
/**
@@ -45,7 +45,7 @@ function th_header() {
* used to add content to the navbar.
*/
function th_navbar() {
- do_action('th_navbar');
+ do_action('th_navbar');
}
/**
@@ -65,7 +65,7 @@ function th_navbar() {
* internally to add tags to posts and navigation for multi-page posts.
*/
function th_postend() {
- do_action('th_postend');
+ do_action('th_postend');
}
/**
@@ -85,7 +85,7 @@ function th_postend() {
* pages. It could be used to replace this navigation with some other kind.
*/
function th_posts_nav() {
- do_action('th_posts_nav');
+ do_action('th_posts_nav');
}
/**
@@ -106,7 +106,7 @@ function th_posts_nav() {
* sidebar code.
*/
function th_sidebar() {
- do_action('th_sidebar');
+ do_action('th_sidebar');
}
/**
@@ -125,7 +125,7 @@ function th_sidebar() {
* secondary footer area.
*/
function th_fsidebar() {
- do_action('th_fsidebar');
+ do_action('th_fsidebar');
}
/**
@@ -144,7 +144,7 @@ function th_fsidebar() {
* the primary footer area.
*/
function th_fmain() {
- do_action('th_fmain');
+ do_action('th_fmain');
}
/**
@@ -164,7 +164,7 @@ function th_fmain() {
* Used by default to add the theme credit and site feed link.
*/
function th_footer() {
- do_action('th_footer');
+ do_action('th_footer');
}
?>
@@ -1,3 +1,3 @@
<div class="secondary">
- <p><a class="feed" href="<?php echo get_feed_link(); ?>"><?php _e('Subscribe to feed', 'tarski'); ?></a></p>
+ <p><a class="feed" href="<?php echo get_feed_link(); ?>"><?php _e('Subscribe to feed', 'tarski'); ?></a></p>
</div>
View
@@ -1,14 +1,14 @@
<div class="entry">
-
- <div class="meta">
- <h1 class="title"><?php _e('No posts found','tarski'); ?></h1>
- </div>
-
- <div class="content">
- <p><?php printf(
- __('Looks like there&#8127;s nothing here, sorry. You might want to try the search function. Alternatively, return to the %s.', 'tarski'),
- '<a href="' . home_url() . '/">' . __('front page', 'tarski') . '</a>'
- ); ?></p>
- </div>
-
+
+ <div class="meta">
+ <h1 class="title"><?php _e('No posts found','tarski'); ?></h1>
+ </div>
+
+ <div class="content">
+ <p><?php printf(
+ __('Looks like there&#8127;s nothing here, sorry. You might want to try the search function. Alternatively, return to the %s.', 'tarski'),
+ '<a href="' . home_url() . '/">' . __('front page', 'tarski') . '</a>'
+ ); ?></p>
+ </div>
+
</div> <!-- /entry -->
@@ -3,25 +3,25 @@
$styles = _tarski_list_alternate_styles();
if (count($styles) > 0) { ?>
- <select name="alternate_style" id="alternate_style" size="1">
- <option<?php if(!get_tarski_option('style')) { echo ' selected="selected"'; } ?> value=""><?php _e('Default style','tarski'); ?></option>
- <?php foreach($styles as $style) {
+ <select name="alternate_style" id="alternate_style" size="1">
+ <option<?php if(!get_tarski_option('style')) { echo ' selected="selected"'; } ?> value=""><?php _e('Default style','tarski'); ?></option>
+ <?php foreach($styles as $style) {
printf(
'<option%1$s value="%2$s">%3$s</option>' . "\n",
$style['current'] ? ' selected="selected"' : '',
$style['name'],
$style['public']);
} ?>
- </select>
+ </select>
<?php } ?>
<?php if (is_multisite()) { // WP Multisite users ?>
- <p><?php _e('Tarski allows you to select an alternate style that modifies the default one. Choose from the list above.','tarski'); ?></p>
+ <p><?php _e('Tarski allows you to select an alternate style that modifies the default one. Choose from the list above.','tarski'); ?></p>
<?php } else { // non-WP Multisite users ?>
- <p><?php printf( __('Tarski allows you to select an %1$s that modifies the default one. Choose from the list above, or upload your own to %2$s.', 'tarski'), '<a href="http://tarskitheme.com/help/styles/">' . __('alternate style', 'tarski') . '</a>', '<kbd>wp-content/themes/' . get_template() . '/styles/</kbd>' ); ?></p>
+ <p><?php printf( __('Tarski allows you to select an %1$s that modifies the default one. Choose from the list above, or upload your own to %2$s.', 'tarski'), '<a href="http://tarskitheme.com/help/styles/">' . __('alternate style', 'tarski') . '</a>', '<kbd>wp-content/themes/' . get_template() . '/styles/</kbd>' ); ?></p>
<?php } ?>
<?php if (count($styles) < 1) { ?>
- <p><strong><?php _e('No alternate stylesheets appear to be present.', 'tarski'); ?></strong></p>
- <?php tarski_options_fragment('missing_files'); ?>
+ <p><strong><?php _e('No alternate stylesheets appear to be present.', 'tarski'); ?></strong></p>
+ <?php tarski_options_fragment('missing_files'); ?>
<?php } ?>
@@ -1,11 +1,11 @@
<?php if (!is_numeric(get_raw_tarski_option('deleted'))) { if (isset($_GET['restored'])) { ?>
- <div class="updated fade below-h2"><p><?php printf(
- __('Tarski options have been restored. %s', 'tarski'),
- '<a href="' . user_trailingslashit(home_url()) . '">' . __('View site &rsaquo;','tarski') . '</a>'
- ); ?></p></div>
+ <div class="updated fade below-h2"><p><?php printf(
+ __('Tarski options have been restored. %s', 'tarski'),
+ '<a href="' . user_trailingslashit(home_url()) . '">' . __('View site &rsaquo;','tarski') . '</a>'
+ ); ?></p></div>
<?php } elseif (isset($_GET['updated'])) { ?>
- <div class="updated fade below-h2"><p><?php printf(
- __('Tarski options have been updated. %s', 'tarski'),
- '<a href="' . user_trailingslashit(home_url()) . '">' . __('View site &rsaquo;','tarski') . '</a>'
- ); ?></p></div>
+ <div class="updated fade below-h2"><p><?php printf(
+ __('Tarski options have been updated. %s', 'tarski'),
+ '<a href="' . user_trailingslashit(home_url()) . '">' . __('View site &rsaquo;','tarski') . '</a>'
+ ); ?></p></div>
<?php } } ?>
@@ -1,7 +1,7 @@
<form action="<?php echo admin_url('admin-post.php?action=delete_tarski_options'); ?>" method="post">
- <p><input class="button-secondary" type="submit" name="submit" value="<?php _e('Reset Tarski&#8217;s options to their default values','tarski'); ?>" /></p>
- <?php wp_nonce_field('admin_post_delete_tarski_options', '_wpnonce_delete_tarski_options'); ?>
- <input type="hidden" name="delete_options" value="1" />
+ <p><input class="button-secondary" type="submit" name="submit" value="<?php _e('Reset Tarski&#8217;s options to their default values','tarski'); ?>" /></p>
+ <?php wp_nonce_field('admin_post_delete_tarski_options', '_wpnonce_delete_tarski_options'); ?>
+ <input type="hidden" name="delete_options" value="1" />
</form>
<p><?php _e('If you change your mind, you&#8217;ll have three hours to restore your options before they&#8217;re removed for good.','tarski'); ?></p>
@@ -1,9 +1,9 @@
<?php if (is_numeric(get_raw_tarski_option('deleted'))) { ?>
- <div class="updated fade below-h2">
- <form action="<?php echo admin_url('admin-post.php?action=restore_tarski_options'); ?>" method="post">
- <?php wp_nonce_field('admin_post_restore_tarski_options', '_wpnonce_restore_tarski_options'); ?>
- <input type="hidden" name="restore_options" value="1" />
- <p><?php _e('You have deleted your Tarski options.','tarski'); ?> <input class="button" type="submit" name="submit" value="<?php _e('Restore Tarski Options &raquo;','tarski'); ?>" /></p>
- </form>
- </div>
+ <div class="updated fade below-h2">
+ <form action="<?php echo admin_url('admin-post.php?action=restore_tarski_options'); ?>" method="post">
+ <?php wp_nonce_field('admin_post_restore_tarski_options', '_wpnonce_restore_tarski_options'); ?>
+ <input type="hidden" name="restore_options" value="1" />
+ <p><?php _e('You have deleted your Tarski options.','tarski'); ?> <input class="button" type="submit" name="submit" value="<?php _e('Restore Tarski Options &raquo;','tarski'); ?>" /></p>
+ </form>
+ </div>
<?php } ?>
@@ -1,7 +1,7 @@
<p><?php _e('The sidebar for posts and pages can be the same as that for index pages, or use its own set of widgets.','tarski'); ?></p>
-
+
<label for="sidebar-pp-type">
- <input type="hidden" name="sidebar_pp_type" value="0" />
- <input type="checkbox" id="sidebar-pp-type" name="sidebar_pp_type" value="main" <?php if(get_tarski_option('sidebar_pp_type') == 'main') { echo 'checked="checked" '; } ?>/>
- <?php _e('Same content as main sidebar?','tarski'); ?>
+ <input type="hidden" name="sidebar_pp_type" value="0" />
+ <input type="checkbox" id="sidebar-pp-type" name="sidebar_pp_type" value="main" <?php if(get_tarski_option('sidebar_pp_type') == 'main') { echo 'checked="checked" '; } ?>/>
+ <?php _e('Same content as main sidebar?','tarski'); ?>
</label>
View
@@ -8,39 +8,39 @@
<?php if (have_posts()) { while (have_posts()) { the_post(); ?>
- <div class="primary-span entry">
- <div class="meta">
- <h1 class="title"><?php the_title(); ?></h1>
- <?php edit_post_link(__('edit page','tarski'), '<p class="metadata">(', ')</p>'); ?>
- </div> <!-- /meta -->
-
- <?php if(get_the_content() != "") { ?>
- <div class="content">
- <?php the_content(); ?>
- </div> <!-- /content -->
- <?php } ?>
- </div> <!-- /page header -->
-
- <div class="primary">
- <h3><?php _e('Monthly Archives', 'tarski'); ?></h3>
-
- <ul class="archivelist xoxo">
- <?php wp_get_archives(array('type' => 'monthly', 'show_post_count' => true)); ?>
- </ul>
- <?php th_postend(); ?>
- </div> <!-- /primary -->
+ <div class="primary-span entry">
+ <div class="meta">
+ <h1 class="title"><?php the_title(); ?></h1>
+ <?php edit_post_link(__('edit page','tarski'), '<p class="metadata">(', ')</p>'); ?>
+ </div> <!-- /meta -->
+
+ <?php if(get_the_content() != "") { ?>
+ <div class="content">
+ <?php the_content(); ?>
+ </div> <!-- /content -->
+ <?php } ?>
+ </div> <!-- /page header -->
+
+ <div class="primary">
+ <h3><?php _e('Monthly Archives', 'tarski'); ?></h3>
+
+ <ul class="archivelist xoxo">
+ <?php wp_get_archives(array('type' => 'monthly', 'show_post_count' => true)); ?>
+ </ul>
+ <?php th_postend(); ?>
+ </div> <!-- /primary -->
<?php } } ?>
- <div class="secondary">
- <?php if(get_tarski_option('show_categories')) { ?>
- <h3><?php _e('Category Archives', 'tarski'); ?></h3>
- <ul class="archivelist xoxo">
- <?php wp_list_categories(array('order' => 'DESC', 'title_li' => false)); ?>
- </ul>
- <?php } ?>
- <?php th_sidebar(); ?>
- </div> <!-- /secondary -->
-
-
+ <div class="secondary">
+ <?php if(get_tarski_option('show_categories')) { ?>
+ <h3><?php _e('Category Archives', 'tarski'); ?></h3>
+ <ul class="archivelist xoxo">
+ <?php wp_list_categories(array('order' => 'DESC', 'title_li' => false)); ?>
+ </ul>
+ <?php } ?>
+ <?php th_sidebar(); ?>
+ </div> <!-- /secondary -->
+
+
<?php get_footer(); ?>
View
@@ -251,12 +251,12 @@
### Version 2.3 [&sect;](http://tarskitheme.com/2008/08/10/23-release/)
#### New features
-
+
* Options page now compatible with
<abbr title="Secure Sockets Layer">SSL</abbr> admin (r731)
-
+
#### Tweaks
-
+
* Don't serialise the data passed to `update_option` (r763)
* Show version cache notice when _file_, not directory, isn't writable (r760)
* Clean up `cache_is_writable` function (r759, r761)
@@ -272,7 +272,7 @@
`version_compare` function (r737)
* Options page access granted only to users with `edit_themes` capability (r736)
* Stylesheets for the admin section enqueued, not printed (r734)
-
+
#### Bug fixes
* Added more checks to upgrade functionality (r746)
@@ -290,17 +290,17 @@
### Version 2.2.1 [&sect;](http://tarskitheme.com/2008/07/19/22-release/)
#### Bug fixes
-
+
* Always show authors if Tarski options haven't been saved (r715)
### Version 2.2 [&sect;](http://tarskitheme.com/2008/07/19/22-release/)
-
+
#### New features
* Navbar selector: sub-page lists are collapsible (r606)
* Navbar selector: sub-pages are listed as such (r599)
-
+
#### Tweaks
* Better handling of attachments (r697, r698)
@@ -346,7 +346,7 @@
### Version 2.1.1 [&sect;](http://tarskitheme.com/2008/05/20/21-release/)
-
+
#### Bug fixes
* Fixed navbar character encoding problem (r595)
View
@@ -3,25 +3,25 @@
<div id="footer" class="clearfix">
-
- <div class="secondary">
-
- <?php th_fsidebar(); ?>
-
- </div> <!-- /secondary -->
-
- <div class="primary">
-
- <?php th_fmain(); ?>
-
- </div> <!-- /primary -->
-
- <div id="theme-info" class="clearfix">
-
- <?php th_footer(); ?>
-
- </div> <!-- /theme-info -->
-
+
+ <div class="secondary">
+
+ <?php th_fsidebar(); ?>
+
+ </div> <!-- /secondary -->
+
+ <div class="primary">
+
+ <?php th_fmain(); ?>
+
+ </div> <!-- /primary -->
+
+ <div id="theme-info" class="clearfix">
+
+ <?php th_footer(); ?>
+
+ </div> <!-- /theme-info -->
+
</div> <!-- /footer -->
</div><?php wp_footer(); ?></body></html>
Oops, something went wrong.

0 comments on commit 078b6ff

Please sign in to comment.