Commit 13bd9b17 authored by lucha's avatar lucha Committed by lechuck

Updated Constructor theme 1.6.5

parent b3738fd5
= Versions history =
This is local copy of file https://code.google.com/p/wp-constructor/wiki/ConstructorHistory
== 1.6.6 ==
* Fixed "blank page" for empty search results
== 1.6.4 ==
* Hotfix in default layout
......
......@@ -367,6 +367,14 @@ if (!is_admin()) {
global $main;
return $main->getCategory();
}
/**
* load empty search template
*/
function get_constructor_nothing()
{
include_once 'nothing.php';
}
} else {
require_once 'admin/admin.php';
......
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Constructor Theme\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-14 12:36+0200\n"
"POT-Creation-Date: 2012-01-27 17:32+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: Anton Shevchuk <Anton.Shevchuk@gmail.com>\n"
"Language-Team: Anton Shevchuk <AntonShevchuk@gmail.com>\n"
......@@ -17,6 +17,14 @@ msgstr ""
"X-Poedit-SourceCharset: utf-8\n"
"X-Poedit-SearchPath-0: W:/www/wordpress3/wp-content/themes/constructor\n"
#: W:/www/wordpress3/wp-content/themes/constructor/nothing.php:8
msgid "Nothing Found"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/nothing.php:9
msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords."
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/sidebar.php:28
#: W:/www/wordpress3/wp-content/themes/constructor/template-monocolumn.php:22
msgid "Pages"
......@@ -256,7 +264,6 @@ msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/layouts/single.php:28
#: W:/www/wordpress3/wp-content/themes/constructor/layouts/column.php:51
#: W:/www/wordpress3/wp-content/themes/constructor/layouts/default.php:25
msgid "Posted in"
msgstr ""
......@@ -274,6 +281,8 @@ msgid "Tile"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/layouts/default.php:6
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/slideshow.php:106
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/slideshow.php:107
msgid "Default"
msgstr ""
......@@ -291,7 +300,6 @@ msgid "Templates"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/admin.php:19
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:1
msgid "Header"
msgstr ""
......@@ -527,7 +535,6 @@ msgid "CSS example"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/css.php:44
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:37
msgid "Header menu"
msgstr ""
......@@ -597,7 +604,6 @@ msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/slideshow.php:84
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/content.php:85
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:47
msgid "Position"
msgstr ""
......@@ -646,7 +652,6 @@ msgid "Two Right"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/layout.php:350
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:67
msgid "Width"
msgstr ""
......@@ -835,24 +840,18 @@ msgid "Image Position"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:176
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:10
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:49
msgid "Top Left"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:177
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:11
msgid "Top Center"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:178
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:12
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:51
msgid "Top Right"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:182
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:55
msgid "Center Left"
msgstr ""
......@@ -861,24 +860,18 @@ msgid "Center Center"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:184
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:57
msgid "Center Right"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:188
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:22
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:61
msgid "Bottom Left"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:189
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:23
msgid "Bottom Center"
msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:190
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:24
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/header.php:63
msgid "Bottom Right"
msgstr ""
......
......@@ -65,7 +65,7 @@ __('Column', 'constructor'); // required for correct translation
</section>
<?php endfor; ?>
<?php get_constructor_navigation(); ?>
<?php endif; ?>
<?php else: get_constructor_nothing(); endif; ?>
</div>
<?php get_constructor_sidebar(); ?>
</div><!-- id='content' -->
\ No newline at end of file
......@@ -40,7 +40,7 @@ __('Default', 'constructor'); // required for correct translation
<?php endwhile; ?>
<?php comments_template(); ?>
<?php get_constructor_navigation(); ?>
<?php endif; ?>
<?php else: get_constructor_nothing(); endif; ?>
</div>
<?php get_constructor_sidebar(); ?>
</div><!-- id='content' -->
......@@ -28,7 +28,7 @@ __('List', 'constructor'); // required for correct translation
<?php endwhile; ?>
<?php comments_template(); ?>
<?php get_constructor_navigation(); ?>
<?php endif; ?>
<?php else: get_constructor_nothing(); endif; ?>
</div>
<?php get_constructor_sidebar(); ?>
</div><!-- id='content' -->
\ No newline at end of file
......@@ -37,7 +37,7 @@ __('Single', 'constructor'); // required for correct translation
</article>
<?php endwhile; ?>
<?php comments_template(); ?>
<?php endif; ?>
<?php else: get_constructor_nothing(); endif; ?>
</div><!-- id='container' -->
<?php get_constructor_sidebar(); ?>
</div><!-- id='content' -->
\ No newline at end of file
......@@ -26,7 +26,7 @@ __('Simple', 'constructor'); // required for correct translation
<?php endwhile; ?>
<?php comments_template(); ?>
<?php get_constructor_navigation(); ?>
<?php endif; ?>
<?php else: get_constructor_nothing(); endif; ?>
</div>
<?php get_constructor_sidebar(); ?>
</div><!-- id='content' -->
......@@ -42,7 +42,7 @@ __('Single', 'constructor'); // required for correct translation
<?php endwhile; ?>
<?php comments_template(); ?>
<?php get_constructor_navigation(); ?>
<?php endif; ?>
<?php else: get_constructor_nothing(); endif; ?>
</div><!-- id='container' -->
<?php get_constructor_sidebar(); ?>
</div><!-- id='content' -->
\ No newline at end of file
......@@ -41,7 +41,7 @@ __('Single', 'constructor'); // required for correct translation
<?php endwhile; ?>
<?php comments_template(); ?>
<?php get_constructor_navigation(); ?>
<?php endif; ?>
<?php else: get_constructor_nothing(); endif; ?>
</div><!-- id='container' -->
<?php get_constructor_sidebar(); ?>
</div><!-- id='content' -->
\ No newline at end of file
......@@ -34,7 +34,7 @@ __('Tile', 'constructor'); // required for correct translation
</div>
<?php endwhile; ?>
<?php get_constructor_navigation(); ?>
<?php endif; ?>
<?php else: get_constructor_nothing(); endif; ?>
</div>
<?php get_constructor_sidebar(); ?>
</div><!-- id='content' -->
\ No newline at end of file
......@@ -32,7 +32,7 @@ __('Tile', 'constructor'); // required for correct translation
<div class="tiles next">
<?php next_posts_link('&rarr;') ?>
</div>
<?php endif; ?>
<?php else: get_constructor_nothing(); endif; ?>
</div>
<?php get_constructor_sidebar(); ?>
</div><!-- id='content' -->
\ No newline at end of file
<?php
/**
* @package WordPress
* @subpackage Constructor
*/
?>
<article <?php post_class(); ?>>
<h1 class="opacity box center"><a href="#" title="<?php _e( 'Nothing Found', 'constructor' ); ?>"><?php _e( 'Nothing Found', 'constructor' ); ?></a></h1>
<p><?php _e('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'constructor'); ?></p>
<?php get_search_form() ?>
</article>
<script type="text/javascript">
// focus on search field after it has loaded
document.getElementById('s') && document.getElementById('s').focus();
</script>
\ No newline at end of file
......@@ -2,7 +2,7 @@
Theme Name: Constructor
Theme URI: http://code.google.com/p/wp-constructor/
Description: Wordpress Constructor Theme for those who want to create a unique blog design quickly and effortlessly (many layouts, configured colors, custom fonts and slideshow, etc). Start build your own theme from <a href="themes.php?page=functions.php">settings page</a>.
Version: 1.6.4
Version: 1.6.5
Author: Anton Shevchuk
Author URI: http://anton.shevchuk.name/
Tags: fixed-width, one-column, two-columns, three-columns, threaded-comments, custom-colors, custom-header, theme-options, left-sidebar, right-sidebar
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment