Skip to content
Snippets Groups Projects
Commit 13bd9b17 authored by lucha's avatar lucha Committed by lechuck
Browse files

Updated Constructor theme 1.6.5

parent b3738fd5
No related branches found
No related tags found
No related merge requests found
Showing
with 47 additions and 28 deletions
= Versions history = = Versions history =
This is local copy of file https://code.google.com/p/wp-constructor/wiki/ConstructorHistory 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 == == 1.6.4 ==
* Hotfix in default layout * Hotfix in default layout
......
...@@ -368,6 +368,14 @@ if (!is_admin()) { ...@@ -368,6 +368,14 @@ if (!is_admin()) {
return $main->getCategory(); return $main->getCategory();
} }
/**
* load empty search template
*/
function get_constructor_nothing()
{
include_once 'nothing.php';
}
} else { } else {
require_once 'admin/admin.php'; require_once 'admin/admin.php';
} }
\ No newline at end of file
...@@ -2,7 +2,7 @@ msgid "" ...@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Constructor Theme\n" "Project-Id-Version: Constructor Theme\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: \n"
"Last-Translator: Anton Shevchuk <Anton.Shevchuk@gmail.com>\n" "Last-Translator: Anton Shevchuk <Anton.Shevchuk@gmail.com>\n"
"Language-Team: Anton Shevchuk <AntonShevchuk@gmail.com>\n" "Language-Team: Anton Shevchuk <AntonShevchuk@gmail.com>\n"
...@@ -17,6 +17,14 @@ msgstr "" ...@@ -17,6 +17,14 @@ msgstr ""
"X-Poedit-SourceCharset: utf-8\n" "X-Poedit-SourceCharset: utf-8\n"
"X-Poedit-SearchPath-0: W:/www/wordpress3/wp-content/themes/constructor\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/sidebar.php:28
#: W:/www/wordpress3/wp-content/themes/constructor/template-monocolumn.php:22 #: W:/www/wordpress3/wp-content/themes/constructor/template-monocolumn.php:22
msgid "Pages" msgid "Pages"
...@@ -256,7 +264,6 @@ msgstr "" ...@@ -256,7 +264,6 @@ msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/layouts/single.php:28 #: 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/column.php:51
#: W:/www/wordpress3/wp-content/themes/constructor/layouts/default.php:25
msgid "Posted in" msgid "Posted in"
msgstr "" msgstr ""
...@@ -274,6 +281,8 @@ msgid "Tile" ...@@ -274,6 +281,8 @@ msgid "Tile"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/layouts/default.php:6 #: 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" msgid "Default"
msgstr "" msgstr ""
...@@ -291,7 +300,6 @@ msgid "Templates" ...@@ -291,7 +300,6 @@ msgid "Templates"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/admin.php:19 #: 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" msgid "Header"
msgstr "" msgstr ""
...@@ -527,7 +535,6 @@ msgid "CSS example" ...@@ -527,7 +535,6 @@ msgid "CSS example"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/css.php:44 #: 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" msgid "Header menu"
msgstr "" msgstr ""
...@@ -597,7 +604,6 @@ 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/slideshow.php:84
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/content.php:85 #: 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" msgid "Position"
msgstr "" msgstr ""
...@@ -646,7 +652,6 @@ msgid "Two Right" ...@@ -646,7 +652,6 @@ msgid "Two Right"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/layout.php:350 #: 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" msgid "Width"
msgstr "" msgstr ""
...@@ -835,24 +840,18 @@ msgid "Image Position" ...@@ -835,24 +840,18 @@ msgid "Image Position"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:176 #: 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" msgid "Top Left"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:177 #: 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" msgid "Top Center"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:178 #: 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" msgid "Top Right"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:182 #: 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" msgid "Center Left"
msgstr "" msgstr ""
...@@ -861,24 +860,18 @@ msgid "Center Center" ...@@ -861,24 +860,18 @@ msgid "Center Center"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:184 #: 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" msgid "Center Right"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:188 #: 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" msgid "Bottom Left"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:189 #: 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" msgid "Bottom Center"
msgstr "" msgstr ""
#: W:/www/wordpress3/wp-content/themes/constructor/admin/settings/images.php:190 #: 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" msgid "Bottom Right"
msgstr "" msgstr ""
......
...@@ -65,7 +65,7 @@ __('Column', 'constructor'); // required for correct translation ...@@ -65,7 +65,7 @@ __('Column', 'constructor'); // required for correct translation
</section> </section>
<?php endfor; ?> <?php endfor; ?>
<?php get_constructor_navigation(); ?> <?php get_constructor_navigation(); ?>
<?php endif; ?> <?php else: get_constructor_nothing(); endif; ?>
</div> </div>
<?php get_constructor_sidebar(); ?> <?php get_constructor_sidebar(); ?>
</div><!-- id='content' --> </div><!-- id='content' -->
\ No newline at end of file
...@@ -40,7 +40,7 @@ __('Default', 'constructor'); // required for correct translation ...@@ -40,7 +40,7 @@ __('Default', 'constructor'); // required for correct translation
<?php endwhile; ?> <?php endwhile; ?>
<?php comments_template(); ?> <?php comments_template(); ?>
<?php get_constructor_navigation(); ?> <?php get_constructor_navigation(); ?>
<?php endif; ?> <?php else: get_constructor_nothing(); endif; ?>
</div> </div>
<?php get_constructor_sidebar(); ?> <?php get_constructor_sidebar(); ?>
</div><!-- id='content' --> </div><!-- id='content' -->
...@@ -28,7 +28,7 @@ __('List', 'constructor'); // required for correct translation ...@@ -28,7 +28,7 @@ __('List', 'constructor'); // required for correct translation
<?php endwhile; ?> <?php endwhile; ?>
<?php comments_template(); ?> <?php comments_template(); ?>
<?php get_constructor_navigation(); ?> <?php get_constructor_navigation(); ?>
<?php endif; ?> <?php else: get_constructor_nothing(); endif; ?>
</div> </div>
<?php get_constructor_sidebar(); ?> <?php get_constructor_sidebar(); ?>
</div><!-- id='content' --> </div><!-- id='content' -->
\ No newline at end of file
...@@ -37,7 +37,7 @@ __('Single', 'constructor'); // required for correct translation ...@@ -37,7 +37,7 @@ __('Single', 'constructor'); // required for correct translation
</article> </article>
<?php endwhile; ?> <?php endwhile; ?>
<?php comments_template(); ?> <?php comments_template(); ?>
<?php endif; ?> <?php else: get_constructor_nothing(); endif; ?>
</div><!-- id='container' --> </div><!-- id='container' -->
<?php get_constructor_sidebar(); ?> <?php get_constructor_sidebar(); ?>
</div><!-- id='content' --> </div><!-- id='content' -->
\ No newline at end of file
...@@ -26,7 +26,7 @@ __('Simple', 'constructor'); // required for correct translation ...@@ -26,7 +26,7 @@ __('Simple', 'constructor'); // required for correct translation
<?php endwhile; ?> <?php endwhile; ?>
<?php comments_template(); ?> <?php comments_template(); ?>
<?php get_constructor_navigation(); ?> <?php get_constructor_navigation(); ?>
<?php endif; ?> <?php else: get_constructor_nothing(); endif; ?>
</div> </div>
<?php get_constructor_sidebar(); ?> <?php get_constructor_sidebar(); ?>
</div><!-- id='content' --> </div><!-- id='content' -->
...@@ -42,7 +42,7 @@ __('Single', 'constructor'); // required for correct translation ...@@ -42,7 +42,7 @@ __('Single', 'constructor'); // required for correct translation
<?php endwhile; ?> <?php endwhile; ?>
<?php comments_template(); ?> <?php comments_template(); ?>
<?php get_constructor_navigation(); ?> <?php get_constructor_navigation(); ?>
<?php endif; ?> <?php else: get_constructor_nothing(); endif; ?>
</div><!-- id='container' --> </div><!-- id='container' -->
<?php get_constructor_sidebar(); ?> <?php get_constructor_sidebar(); ?>
</div><!-- id='content' --> </div><!-- id='content' -->
\ No newline at end of file
...@@ -41,7 +41,7 @@ __('Single', 'constructor'); // required for correct translation ...@@ -41,7 +41,7 @@ __('Single', 'constructor'); // required for correct translation
<?php endwhile; ?> <?php endwhile; ?>
<?php comments_template(); ?> <?php comments_template(); ?>
<?php get_constructor_navigation(); ?> <?php get_constructor_navigation(); ?>
<?php endif; ?> <?php else: get_constructor_nothing(); endif; ?>
</div><!-- id='container' --> </div><!-- id='container' -->
<?php get_constructor_sidebar(); ?> <?php get_constructor_sidebar(); ?>
</div><!-- id='content' --> </div><!-- id='content' -->
\ No newline at end of file
...@@ -34,7 +34,7 @@ __('Tile', 'constructor'); // required for correct translation ...@@ -34,7 +34,7 @@ __('Tile', 'constructor'); // required for correct translation
</div> </div>
<?php endwhile; ?> <?php endwhile; ?>
<?php get_constructor_navigation(); ?> <?php get_constructor_navigation(); ?>
<?php endif; ?> <?php else: get_constructor_nothing(); endif; ?>
</div> </div>
<?php get_constructor_sidebar(); ?> <?php get_constructor_sidebar(); ?>
</div><!-- id='content' --> </div><!-- id='content' -->
\ No newline at end of file
...@@ -32,7 +32,7 @@ __('Tile', 'constructor'); // required for correct translation ...@@ -32,7 +32,7 @@ __('Tile', 'constructor'); // required for correct translation
<div class="tiles next"> <div class="tiles next">
<?php next_posts_link('&rarr;') ?> <?php next_posts_link('&rarr;') ?>
</div> </div>
<?php endif; ?> <?php else: get_constructor_nothing(); endif; ?>
</div> </div>
<?php get_constructor_sidebar(); ?> <?php get_constructor_sidebar(); ?>
</div><!-- id='content' --> </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 @@ ...@@ -2,7 +2,7 @@
Theme Name: Constructor Theme Name: Constructor
Theme URI: http://code.google.com/p/wp-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>. 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: Anton Shevchuk
Author URI: http://anton.shevchuk.name/ 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 Tags: fixed-width, one-column, two-columns, three-columns, threaded-comments, custom-colors, custom-header, theme-options, left-sidebar, right-sidebar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment