diff --git a/wp-content/themes/zenlite/functions.php b/wp-content/themes/zenlite/functions.php index 1cd95ff3a7bb8b40ee4b439919d78265b59f6df7..f4ac31c79768fe9a32e199611fade5efd7f840cd 100644 --- a/wp-content/themes/zenlite/functions.php +++ b/wp-content/themes/zenlite/functions.php @@ -91,7 +91,7 @@ add_action( 'after_setup_theme', 'zenlite_setup' ); // Load custom theme options require_once(get_template_directory() . '/library/theme-options.php'); -$zenlite_options = get_option('zenlite_theme_options'); +$zenlite_options = get_option('zenlite_options'); // Register sidebar if ( !function_exists( 'zenlite_widgets_init' )) : @@ -133,14 +133,14 @@ function zenlite_filter_wp_title( $old_title, $sep, $sep_location ) { $left_sep = ( $sep_location != 'right' ? ' ' . $sep . ' ' : '' ); $right_sep = ( $sep_location != 'right' ? '' : ' ' . $sep . ' ' ); - if( is_category() ) $page_type = $left_sep . 'Category' . $right_sep; - elseif( is_tag() ) $page_type = $left_sep . 'Tag' . $right_sep; - elseif( is_author() ) $page_type = $left_sep . 'Author' . $right_sep; - elseif( is_archive() || is_date() ) $page_type = $left_sep . 'Archives'. $right_sep; + if( is_category() ) $page_type = $left_sep . __('Category', 'zenlite') . $right_sep; + elseif( is_tag() ) $page_type = $left_sep . __('Tag', 'zenlite') . $right_sep; + elseif( is_author() ) $page_type = $left_sep . __('Author', 'zenlite') . $right_sep; + elseif( is_archive() || is_date() ) $page_type = $left_sep . __('Archives', 'zenlite') . $right_sep; else $page_type = ''; - if( get_query_var( 'paged' ) ) $page_num = $left_sep. get_query_var( 'paged' ) . $right_sep; // on index - elseif( get_query_var( 'page' ) ) $page_num = $left_sep . get_query_var( 'page' ) . $right_sep; // on single + if( get_query_var( 'paged' ) ) $page_num = $left_sep. __('page ', 'zenlite') . get_query_var( 'paged' ) . $right_sep; // on index + elseif( get_query_var( 'page' ) ) $page_num = $left_sep . __('page ', 'zenlite') . get_query_var( 'page' ) . $right_sep; // on single else $page_num = ''; if( !is_feed() ) return get_bloginfo( 'name' ) . $page_type . $old_title . $page_num; @@ -247,7 +247,7 @@ function zenlite_password_form() { $label = 'pwbox-'.(empty($post->ID) ? rand() : $post->ID); $output = '<div class="password-form"> <p class="protected-text">' . __('This post is password protected. To view it, please enter your password below:', 'zenlite') . '</p> - <form action="' . get_option('siteurl') . '/wp-pass.php" method="post"> + <form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" method="post"> <p><label for="' . $label . '">' . __('Password:', 'zenlite') . ' </label> <input name="post_password" id="' . $label . '" type="password" size="20" /> <input type="submit" name="Submit" value="' . esc_attr__('Submit', 'zenlite') . '" /></p></form></div>'; return $output; } @@ -267,8 +267,8 @@ add_filter('the_excerpt','zenlite_password_excerpt'); // Auto-generate post/page titles if ( !function_exists( 'zenlite_autogenerate_title' ) ) : function zenlite_autogenerate_title( $title ) { - global $zenlite_options; - if ( !$title && ( !isset($zenlite_options['notitle_display']) || $zenlite_options['notitle_display'] == 'yes' ) ) $title = __('No Title', 'zenlite'); + global $zenlite_options, $post; + if ( !$title && ( !isset($zenlite_options['notitle_display']) || $zenlite_options['notitle_display'] == 'yes' ) ) $title = sprintf( __('Post %1$s', 'zenlite'), $post->ID ); return $title; } endif; diff --git a/wp-content/themes/zenlite/langs/zenlite.mo b/wp-content/themes/zenlite/langs/zenlite.mo index 1a8e1f3b8171f191a38ebf71c8120054d5d11f7a..13d02ae1dc4873ccb979ae0154536effb0d7bcc6 100644 Binary files a/wp-content/themes/zenlite/langs/zenlite.mo and b/wp-content/themes/zenlite/langs/zenlite.mo differ diff --git a/wp-content/themes/zenlite/langs/zenlite.po b/wp-content/themes/zenlite/langs/zenlite.po index 43de058ccf518af5b26627731a40ae2ef1bc9583..6f95e4e797baadae707e1be7babe3508871e397e 100644 --- a/wp-content/themes/zenlite/langs/zenlite.po +++ b/wp-content/themes/zenlite/langs/zenlite.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: ZenLite\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-14 21:59-0000\n" -"PO-Revision-Date: 2011-09-14 21:59-0000\n" +"POT-Creation-Date: 2013-06-11 13:42-0000\n" +"PO-Revision-Date: 2013-06-11 13:42-0000\n" "Last-Translator: Mel P. <esmi@quirm.net>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -11,6 +11,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n" "X-Poedit-Basepath: E:\\data\\data3\\server\\wordpress\\wp-content\\themes\\\n" +"X-Generator: Poedit 1.5.5\n" "X-Poedit-SearchPath-0: zenlite\n" #: zenlite/404.php:7 @@ -64,7 +65,7 @@ msgstr "" msgid "Updated on %1$s at %2$s" msgstr "" -#: zenlite/attachment.php:36 +#: zenlite/attachment.php:36 zenlite/image.php:35 msgid "Posted under" msgstr "" @@ -72,58 +73,60 @@ msgstr "" msgid "Return to parent page" msgstr "" -#: zenlite/author.php:8 +#: zenlite/author.php:6 msgid "About" msgstr "" -#: zenlite/author.php:12 +#: zenlite/author.php:10 msgid "Bio" msgstr "" -#: zenlite/author.php:17 +#: zenlite/author.php:15 zenlite/functions.php:337 msgid "Website" msgstr "" -#: zenlite/author.php:23 +#: zenlite/author.php:21 msgid "Jabber / Google Talk" msgstr "" -#: zenlite/author.php:28 +#: zenlite/author.php:26 #, php-format msgid "<abbr title=\"%1$s\">%2$s</abbr>" msgstr "" -#: zenlite/author.php:28 +#: zenlite/author.php:26 msgid "AOL Instant Messenger" msgstr "" -#: zenlite/author.php:28 +#: zenlite/author.php:26 msgid "AIM" msgstr "" -#: zenlite/author.php:33 +#: zenlite/author.php:31 #, php-format msgid "%1$s <abbr title=\"%2$s\">%3$s</abbr>" msgstr "" -#: zenlite/author.php:33 +#: zenlite/author.php:31 msgid "Yahoo" msgstr "" -#: zenlite/author.php:33 +#: zenlite/author.php:31 msgid "Instant Messenger" msgstr "" -#: zenlite/author.php:33 +#: zenlite/author.php:31 msgid "IM" msgstr "" -#: zenlite/author.php:41 +#: zenlite/author.php:39 msgid "Posts by" msgstr "" #: zenlite/comments.php:3 -msgid "This entry's comments are password protected. Enter the password into the form above to view the comments." +msgid "" +"This entry's comments are password protected. Enter the password into the " +"form above to view the comments." msgstr "" #: zenlite/comments.php:13 @@ -138,8 +141,8 @@ msgstr "" msgid "% Comments" msgstr "" -#: zenlite/comments.php:17 -#: zenlite/format-chat.php:32 +#: zenlite/comments.php:17 zenlite/format-chat.php:32 +#: zenlite/format-quote.php:17 msgid " on " msgstr "" @@ -163,84 +166,76 @@ msgstr "" msgid "URI" msgstr "" -#: zenlite/footer.php:18 +#: zenlite/footer.php:17 #, php-format -msgid "Powered by the %1$s Theme %2$s" +msgid "Powered by the %1$s Theme" msgstr "" -#: zenlite/format-aside.php:1 -#: zenlite/format-audio.php:1 -#: zenlite/format-audio.php:19 -#: zenlite/format-chat.php:1 -#: zenlite/format-gallery.php:1 -#: zenlite/format-gallery.php:11 -#: zenlite/format-image.php:1 -#: zenlite/format-image.php:10 -#: zenlite/format-page.php:2 +#: zenlite/format-aside.php:1 zenlite/format-audio.php:1 +#: zenlite/format-audio.php:19 zenlite/format-chat.php:1 +#: zenlite/format-gallery.php:1 zenlite/format-gallery.php:11 +#: zenlite/format-image.php:1 zenlite/format-image.php:10 +#: zenlite/format-page.php:2 zenlite/format-quote.php:1 +#: zenlite/format-standard.php:1 zenlite/format-status.php:1 +#: zenlite/format-video.php:1 zenlite/format-video.php:15 msgid "Permalink to " msgstr "" -#: zenlite/format-aside.php:5 -#: zenlite/format-chat.php:5 -#: zenlite/format-gallery.php:5 -#: zenlite/format-image.php:5 -#: zenlite/format-link.php:15 +#: zenlite/format-aside.php:5 zenlite/format-chat.php:5 +#: zenlite/format-gallery.php:5 zenlite/format-image.php:5 +#: zenlite/format-link.php:15 zenlite/format-quote.php:5 +#: zenlite/format-standard.php:6 zenlite/format-status.php:5 +#: zenlite/format-video.php:3 #, php-format msgid "Edit %1$s" msgstr "" -#: zenlite/format-aside.php:22 -#: zenlite/format-aside.php:34 +#: zenlite/format-aside.php:22 zenlite/format-aside.php:34 +#: zenlite/format-status.php:22 zenlite/format-status.php:34 msgid " @ " msgstr "" -#: zenlite/format-aside.php:27 -#: zenlite/format-chat.php:36 -#: zenlite/format-gallery.php:28 -#: zenlite/format-image.php:41 -#: zenlite/format-link.php:34 +#: zenlite/format-aside.php:27 zenlite/format-chat.php:36 +#: zenlite/format-gallery.php:28 zenlite/format-image.php:41 +#: zenlite/format-link.php:34 zenlite/format-quote.php:21 +#: zenlite/format-standard.php:44 zenlite/format-status.php:27 msgid "Comment on " msgstr "" -#: zenlite/format-aside.php:28 -#: zenlite/format-chat.php:37 -#: zenlite/format-gallery.php:29 -#: zenlite/format-image.php:42 -#: zenlite/format-link.php:35 +#: zenlite/format-aside.php:28 zenlite/format-chat.php:37 +#: zenlite/format-gallery.php:29 zenlite/format-image.php:42 +#: zenlite/format-link.php:35 zenlite/format-quote.php:22 +#: zenlite/format-standard.php:45 zenlite/format-status.php:28 msgid "1 Comment on " msgstr "" -#: zenlite/format-aside.php:29 -#: zenlite/format-chat.php:38 -#: zenlite/format-gallery.php:30 -#: zenlite/format-image.php:43 -#: zenlite/format-link.php:36 +#: zenlite/format-aside.php:29 zenlite/format-chat.php:38 +#: zenlite/format-gallery.php:30 zenlite/format-image.php:43 +#: zenlite/format-link.php:36 zenlite/format-quote.php:23 +#: zenlite/format-standard.php:46 zenlite/format-status.php:29 msgid "% Comments on " msgstr "" -#: zenlite/format-aside.php:31 -#: zenlite/format-chat.php:40 -#: zenlite/format-gallery.php:32 -#: zenlite/format-image.php:45 -#: zenlite/format-link.php:38 +#: zenlite/format-aside.php:31 zenlite/format-chat.php:40 +#: zenlite/format-gallery.php:32 zenlite/format-image.php:45 +#: zenlite/format-link.php:38 zenlite/format-quote.php:25 +#: zenlite/format-standard.php:48 zenlite/format-status.php:31 msgid "Comments are off for " msgstr "" -#: zenlite/format-aside.php:37 -#: zenlite/format-audio.php:23 -#: zenlite/format-chat.php:44 -#: zenlite/format-gallery.php:36 -#: zenlite/format-image.php:49 -#: zenlite/format-link.php:42 +#: zenlite/format-aside.php:37 zenlite/format-audio.php:23 +#: zenlite/format-chat.php:44 zenlite/format-gallery.php:36 +#: zenlite/format-image.php:49 zenlite/format-link.php:42 +#: zenlite/format-quote.php:29 zenlite/format-standard.php:52 +#: zenlite/format-status.php:37 zenlite/format-video.php:19 msgid "Filed under:" msgstr "" -#: zenlite/format-aside.php:39 -#: zenlite/format-audio.php:25 -#: zenlite/format-chat.php:46 -#: zenlite/format-gallery.php:38 -#: zenlite/format-image.php:51 -#: zenlite/format-link.php:44 +#: zenlite/format-aside.php:39 zenlite/format-audio.php:25 +#: zenlite/format-chat.php:46 zenlite/format-gallery.php:38 +#: zenlite/format-image.php:51 zenlite/format-link.php:44 +#: zenlite/format-quote.php:31 zenlite/format-standard.php:54 +#: zenlite/format-status.php:39 zenlite/format-video.php:21 msgid "Tags:" msgstr "" @@ -249,39 +244,36 @@ msgstr "" msgid "Listen to %1$s" msgstr "" -#: zenlite/format-audio.php:21 -#: zenlite/format-link.php:30 +#: zenlite/format-audio.php:21 zenlite/format-link.php:30 +#: zenlite/format-video.php:17 msgid "Posted on " msgstr "" -#: zenlite/format-audio.php:21 -#: zenlite/format-gallery.php:22 -#: zenlite/format-image.php:37 -#: zenlite/format-link.php:30 +#: zenlite/format-audio.php:21 zenlite/format-gallery.php:22 +#: zenlite/format-image.php:37 zenlite/format-link.php:30 +#: zenlite/format-video.php:17 msgid " by " msgstr "" -#: zenlite/format-chat.php:18 -#: zenlite/format-page.php:19 +#: zenlite/format-chat.php:18 zenlite/format-page.php:19 +#: zenlite/format-standard.php:23 msgid "Pages:" msgstr "" -#: zenlite/format-chat.php:30 +#: zenlite/format-chat.php:30 zenlite/format-standard.php:37 msgid "Continue reading " msgstr "" -#: zenlite/format-chat.php:32 +#: zenlite/format-chat.php:32 zenlite/format-quote.php:17 msgid "Added by " msgstr "" -#: zenlite/format-gallery.php:11 -#: zenlite/format-image.php:10 +#: zenlite/format-gallery.php:11 zenlite/format-image.php:10 #, php-format msgid "View %1$s" msgstr "" -#: zenlite/format-gallery.php:22 -#: zenlite/format-image.php:37 +#: zenlite/format-gallery.php:22 zenlite/format-image.php:37 msgid "Published on " msgstr "" @@ -290,7 +282,7 @@ msgstr "" msgid "Updated on %1$s %2$s" msgstr "" -#: zenlite/format-image.php:24 +#: zenlite/format-image.php:24 zenlite/image.php:12 msgid "(press ESC to close)" msgstr "" @@ -306,8 +298,7 @@ msgstr "" msgid "Edit this page" msgstr "" -#: zenlite/format-standard.php:39 -#: zenlite/format-standard.php:40 +#: zenlite/format-standard.php:39 zenlite/format-standard.php:40 msgid "Author: " msgstr "" @@ -316,137 +307,154 @@ msgstr "" msgid "Watch %1$s" msgstr "" -#: zenlite/functions.php:48 +#: zenlite/functions.php:69 msgid "Header 1" msgstr "" -#: zenlite/functions.php:53 +#: zenlite/functions.php:74 msgid "Header 2" msgstr "" -#: zenlite/functions.php:58 +#: zenlite/functions.php:79 msgid "Header 3" msgstr "" -#: zenlite/functions.php:63 +#: zenlite/functions.php:84 msgid "Header 4" msgstr "" -#: zenlite/functions.php:79 +#: zenlite/functions.php:100 msgid "Main menu" msgstr "" -#: zenlite/functions.php:81 +#: zenlite/functions.php:102 msgid "Main horizontal menu. Recommended use: Pages or Categories." msgstr "" -#: zenlite/functions.php:88 +#: zenlite/functions.php:109 msgid "Footer" msgstr "" -#: zenlite/functions.php:90 -msgid "Displayed in the footer area of every page. Just about any widget will work here." +#: zenlite/functions.php:111 +msgid "" +"Displayed in the footer area of every page. Just about any widget will work " +"here." msgstr "" -#: zenlite/functions.php:97 +#: zenlite/functions.php:118 msgid "404 Page" msgstr "" -#: zenlite/functions.php:99 -msgid "Displayed in the Not Found (404) Page only. Just about any widget will work here." +#: zenlite/functions.php:120 +msgid "" +"Displayed in the Not Found (404) Page only. Just about any widget will work " +"here." +msgstr "" + +#: zenlite/functions.php:136 +msgid "Category" +msgstr "" + +#: zenlite/functions.php:137 +msgid "Tag" +msgstr "" + +#: zenlite/functions.php:138 +msgid "Author" +msgstr "" + +#: zenlite/functions.php:139 +msgid "Archives" msgstr "" -#: zenlite/functions.php:123 +#: zenlite/functions.php:142 zenlite/functions.php:143 +msgid "page " +msgstr "" + +#: zenlite/functions.php:201 msgid "Primary" msgstr "" -#: zenlite/functions.php:179 -msgid "This post is password protected. To view it, please enter your password below:" +#: zenlite/functions.php:249 +msgid "" +"This post is password protected. To view it, please enter your password " +"below:" msgstr "" -#: zenlite/functions.php:181 +#: zenlite/functions.php:251 msgid "Password:" msgstr "" -#: zenlite/functions.php:191 +#: zenlite/functions.php:261 msgid "This is a password protected entry." msgstr "" -#: zenlite/functions.php:201 -msgid "No Title" +#: zenlite/functions.php:271 +#, php-format +msgid "Post %1$s" msgstr "" -#: zenlite/functions.php:249 -#: zenlite/header.php:50 +#: zenlite/functions.php:319 zenlite/header.php:27 msgid "Home" msgstr "" -#: zenlite/functions.php:261 -#: zenlite/functions.php:279 +#: zenlite/functions.php:331 zenlite/functions.php:349 msgid "*" msgstr "" -#: zenlite/functions.php:263 +#: zenlite/functions.php:333 msgid "Name" msgstr "" -#: zenlite/functions.php:265 +#: zenlite/functions.php:335 msgid "Email" msgstr "" -#: zenlite/functions.php:279 +#: zenlite/functions.php:349 msgid " Required fields are marked " msgstr "" -#: zenlite/functions.php:279 -msgid "Your details will be stored in a non-tracking cookie but your email address will <em>never</em> be published or shared." +#: zenlite/functions.php:349 +msgid "" +"Your details will be stored in a non-tracking cookie but your email address " +"will <em>never</em> be published or shared." msgstr "" -#: zenlite/functions.php:281 +#: zenlite/functions.php:351 #, php-format -msgid "You must be <a href=\"%s\">logged in</a> to post a comment. If you choose to login - or register - on this site, a non-tracking cookie will be stored on your computer but your email address will <em>never</em> be published or shared." +msgid "" +"You must be <a href=\"%s\">logged in</a> to post a comment. If you choose to " +"login - or register - on this site, a non-tracking cookie will be stored on " +"your computer but your email address will <em>never</em> be published or " +"shared." msgstr "" -#: zenlite/functions.php:283 +#: zenlite/functions.php:353 #, php-format -msgid "Logged in as <a href=\"%s\">%s</a>. <a href=\"%s\" title=\"Log out of this account\">Log out?</a></label></p>" +msgid "" +"Logged in as <a href=\"%s\">%s</a>. <a href=\"%s\" title=\"Log out of this " +"account\">Log out?</a></label></p>" msgstr "" -#: zenlite/functions.php:285 +#: zenlite/functions.php:355 msgid "Comment" msgstr "" -#: zenlite/functions.php:286 +#: zenlite/functions.php:356 msgid "Submit Reply" msgstr "" -#: zenlite/functions.php:288 -msgid "You may use these <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr> tags and attributes:" -msgstr "" - -#: zenlite/header.php:26 -msgid " - No search query entered!" -msgstr "" - -#: zenlite/header.php:29 -#, php-format -msgid " - Entries tagged with %1$s " -msgstr "" - -#: zenlite/header.php:30 -#, php-format -msgid " - Archives for %1$s " -msgstr "" - -#: zenlite/header.php:31 -msgid " - Page not found!" +#: zenlite/functions.php:358 +msgid "" +"You may use these <abbr title=\"eXtensible HyperText Markup Language" +"\">XHTML</abbr> tags and attributes:" msgstr "" -#: zenlite/header.php:45 +#: zenlite/header.php:22 msgid "Jump to Main Content" msgstr "" -#: zenlite/header.php:46 +#: zenlite/header.php:23 msgid "Jump to Footer" msgstr "" @@ -454,15 +462,11 @@ msgstr "" msgid "More images posted under" msgstr "" -#: zenlite/loop.php:3 -#: zenlite/loop.php:21 -#: zenlite/search.php:33 +#: zenlite/loop.php:3 zenlite/loop.php:21 zenlite/search.php:33 msgid "Older Posts" msgstr "" -#: zenlite/loop.php:4 -#: zenlite/loop.php:22 -#: zenlite/search.php:34 +#: zenlite/loop.php:4 zenlite/loop.php:22 zenlite/search.php:34 msgid "Newer Posts" msgstr "" @@ -507,63 +511,67 @@ msgstr "" msgid "Search" msgstr "" -#: zenlite/library/donate.php:2 +#: zenlite/library/donate.php:4 msgid "Theme Donations" msgstr "" -#: zenlite/library/donate.php:3 -msgid "Please support us so we can support you." +#: zenlite/library/donate.php:5 +msgid "Please support us so that we can support you." msgstr "" -#: zenlite/library/donate.php:22 +#: zenlite/library/donate.php:24 msgid "Thank you!" msgstr "" -#: zenlite/library/donate.php:26 +#: zenlite/library/donate.php:28 zenlite/library/theme-options.php:28 msgid "Theme Support" msgstr "" +#: zenlite/library/donate.php:33 +msgid "Child Themes" +msgstr "" + #: zenlite/library/theme-options.php:14 msgid "Theme Options" msgstr "" -#: zenlite/library/theme-options.php:21 +#: zenlite/library/theme-options.php:23 msgid "ZenLite support on Quirm.net" msgstr "" -#: zenlite/library/theme-options.php:22 +#: zenlite/library/theme-options.php:24 msgid "ZenLite support on wordress.org" msgstr "" -#: zenlite/library/theme-options.php:64 +#: zenlite/library/theme-options.php:62 msgid "Your theme options have been saved" msgstr "" -#: zenlite/library/theme-options.php:111 +#: zenlite/library/theme-options.php:109 msgid "Use the non-custom navigation menu to display links to:" msgstr "" -#: zenlite/library/theme-options.php:117 +#: zenlite/library/theme-options.php:115 msgid "Display site name & tagline above header image?" msgstr "" -#: zenlite/library/theme-options.php:123 +#: zenlite/library/theme-options.php:121 msgid "Display \"Pages in this section\" list?" msgstr "" -#: zenlite/library/theme-options.php:129 +#: zenlite/library/theme-options.php:127 msgid "Display auto-generated title on Posts/Pages without titles?" msgstr "" -#: zenlite/library/theme-options.php:135 +#: zenlite/library/theme-options.php:133 msgid "Display author name/link on Posts?" msgstr "" -#: zenlite/library/theme-options.php:141 +#: zenlite/library/theme-options.php:139 msgid "Display allowed tags on comment form?" msgstr "" -#: zenlite/library/theme-options.php:146 +#: zenlite/library/theme-options.php:144 msgid "Update Theme" msgstr "" @@ -576,7 +584,9 @@ msgid "Display links to" msgstr "" #: zenlite/library/zenlite-options-guide.php:10 -msgid "If you are not using widgets or a custom menu in your main navigation menu, you can choose to display links to either your Pages or your Categories." +msgid "" +"If you are not using widgets or a custom menu in your main navigation menu, " +"you can choose to display links to either your Pages or your Categories." msgstr "" #: zenlite/library/zenlite-options-guide.php:11 @@ -588,7 +598,12 @@ msgid "Display site name & tagline" msgstr "" #: zenlite/library/zenlite-options-guide.php:14 -msgid "The theme will show your site's name and the tagline (as configured in Settings → General) above the header image. Leaving these fields blank will negatively impact on your searc engine optimisation (SEO). If you set this option to 'No', the site name and tagline will be hidden on graphical web browsers but will remain available to search engines." +msgid "" +"The theme will show your site's name and the tagline (as configured in " +"Settings → General) above the header image. Leaving these fields blank " +"will negatively impact on your searc engine optimisation (SEO). If you set " +"this option to 'No', the site name and tagline will be hidden on graphical " +"web browsers but will remain available to search engines." msgstr "" #: zenlite/library/zenlite-options-guide.php:15 @@ -604,7 +619,10 @@ msgid "Display \"Pages in this section\" list" msgstr "" #: zenlite/library/zenlite-options-guide.php:18 -msgid "Pages that belong to a Parent/Child tree will automatically show a sidebox containing links to all Pages in the tree. Select 'No' to remove this box from all Pages." +msgid "" +"Pages that belong to a Parent/Child tree will automatically show a sidebox " +"containing links to all Pages in the tree. Select 'No' to remove this box " +"from all Pages." msgstr "" #: zenlite/library/zenlite-options-guide.php:21 @@ -612,7 +630,13 @@ msgid "Display auto-generated title on Posts/Pages without titles" msgstr "" #: zenlite/library/zenlite-options-guide.php:22 -msgid "Titles in Pages and Posts are often used to create links within WordPress. If you forget to add a title to a document, this can cause problems in some situations. The theme will automatically generate a title ('No Title') on all such pages. If you do not want auto-generated titles, select 'No'. However, you may also see the Post Formats documentation for ways of hiding post titles on specific post formats." +msgid "" +"Titles in Pages and Posts are often used to create links within WordPress. " +"If you forget to add a title to a document, this can cause problems in some " +"situations. The theme will automatically generate a title ('No Title') on " +"all such pages. If you do not want auto-generated titles, select 'No'. " +"However, you may also see the Post Formats documentation for ways of hiding " +"post titles on specific post formats." msgstr "" #: zenlite/library/zenlite-options-guide.php:25 @@ -620,7 +644,10 @@ msgid "Display author name/link on Posts" msgstr "" #: zenlite/library/zenlite-options-guide.php:26 -msgid "Pretty much what it says on the box. Select 'No' if you do not want the author's name (and a link to thr author's profile and list of posts) to appear on Posts." +msgid "" +"Pretty much what it says on the box. Select 'No' if you do not want the " +"author's name (and a link to thr author's profile and list of posts) to " +"appear on Posts." msgstr "" #: zenlite/library/zenlite-options-guide.php:29 @@ -628,7 +655,11 @@ msgid "Display allowed tags on comment form" msgstr "" #: zenlite/library/zenlite-options-guide.php:30 -msgid "The WordPress commenting system only allows a subset of markup tags to be used within comments. It can also display a list of the allowed tags below the comment box. Select 'No' if you do not want this list of allowed tags to be displayed." +msgid "" +"The WordPress commenting system only allows a subset of markup tags to be " +"used within comments. It can also display a list of the allowed tags below " +"the comment box. Select 'No' if you do not want this list of allowed tags to " +"be displayed." msgstr "" #: zenlite/library/zenlite-theme-options-array.php:12 @@ -664,7 +695,12 @@ msgid "Aside" msgstr "" #: zenlite/library/zenlite_post_formats.php:10 -msgid "Similar to a Facebook note update, these posts will not display a title - although a title will be made available for search engines etc. If a featured image has been chosen, it will be shown on all archive (post listing) pages along with the post's excerpt. If there is no featured image, a default aside image will be shown." +msgid "" +"Similar to a Facebook note update, these posts will not display a title - " +"although a title will be made available for search engines etc. If a " +"featured image has been chosen, it will be shown on all archive (post " +"listing) pages along with the post's excerpt. If there is no featured image, " +"a default aside image will be shown." msgstr "" #: zenlite/library/zenlite_post_formats.php:12 @@ -672,7 +708,11 @@ msgid "Gallery" msgstr "" #: zenlite/library/zenlite_post_formats.php:13 -msgid "A gallery of images. If a featured image has been chosen, it will be shown as a link to the single post on all archive (post listing) pages. The gallery itself will only be shown on the single post view. If there is no featured image, a default gallery image will be used instead." +msgid "" +"A gallery of images. If a featured image has been chosen, it will be shown " +"as a link to the single post on all archive (post listing) pages. The " +"gallery itself will only be shown on the single post view. If there is no " +"featured image, a default gallery image will be used instead." msgstr "" #: zenlite/library/zenlite_post_formats.php:15 @@ -680,7 +720,11 @@ msgid "Link" msgstr "" #: zenlite/library/zenlite_post_formats.php:16 -msgid "A single link to another site. The link's text will be used as the post title along with a small link icon to indicate that it leads to an external page. In the single post view, the link's url (address) will also be shown. No other post content will be displayed.," +msgid "" +"A single link to another site. The link's text will be used as the post " +"title along with a small link icon to indicate that it leads to an external " +"page. In the single post view, the link's url (address) will also be shown. " +"No other post content will be displayed.," msgstr "" #: zenlite/library/zenlite_post_formats.php:18 @@ -688,7 +732,12 @@ msgid "Image" msgstr "" #: zenlite/library/zenlite_post_formats.php:19 -msgid "A post containing a single attached image. If a featured image has been chosen, it will be shown as a link to the single post on all archive (post listing) pages. The gallery itself will only be shown on the single post view. If there is no featured image, a default image icon will be used instead." +msgid "" +"A post containing a single attached image. If a featured image has been " +"chosen, it will be shown as a link to the single post on all archive (post " +"listing) pages. The gallery itself will only be shown on the single post " +"view. If there is no featured image, a default image icon will be used " +"instead." msgstr "" #: zenlite/library/zenlite_post_formats.php:21 @@ -696,7 +745,9 @@ msgid "Quote" msgstr "" #: zenlite/library/zenlite_post_formats.php:22 -msgid "A single quotation within <code>blockquote</code> tags.The quotation.post content will be displayed and styled on both archive and single post pages." +msgid "" +"A single quotation within <code>blockquote</code> tags.The quotation.post " +"content will be displayed and styled on both archive and single post pages." msgstr "" #: zenlite/library/zenlite_post_formats.php:24 @@ -704,7 +755,12 @@ msgid "Status" msgstr "" #: zenlite/library/zenlite_post_formats.php:25 -msgid "Similar to a Twitter status update, these posts will not display a title - although a title will be made available for search engines etc. If a featured image has been chosen, it will be shown on all archive (post listing) pages along with the post's excerpt. If there is no featured image, a default status image will be shown." +msgid "" +"Similar to a Twitter status update, these posts will not display a title - " +"although a title will be made available for search engines etc. If a " +"featured image has been chosen, it will be shown on all archive (post " +"listing) pages along with the post's excerpt. If there is no featured image, " +"a default status image will be shown." msgstr "" #: zenlite/library/zenlite_post_formats.php:27 @@ -712,7 +768,11 @@ msgid "Video" msgstr "" #: zenlite/library/zenlite_post_formats.php:28 -msgid "A post containing 1 or more videos. The video itself and any post content will only be shown on the single post view. This format does not support the display of featured images but a default video icon will be displayed on all archive pages." +msgid "" +"A post containing 1 or more videos. The video itself and any post content " +"will only be shown on the single post view. This format does not support the " +"display of featured images but a default video icon will be displayed on all " +"archive pages." msgstr "" #: zenlite/library/zenlite_post_formats.php:30 @@ -720,7 +780,11 @@ msgid "Audio" msgstr "" #: zenlite/library/zenlite_post_formats.php:31 -msgid "A post containing 1 or more audio files. The audio file and any post content will only be shown on the single post view. This format does not support the display of featured images but a default audio icon will displayed on all archive pages." +msgid "" +"A post containing 1 or more audio files. The audio file and any post content " +"will only be shown on the single post view. This format does not support the " +"display of featured images but a default audio icon will displayed on all " +"archive pages." msgstr "" #: zenlite/library/zenlite_post_formats.php:33 @@ -728,7 +792,10 @@ msgid "Chat" msgstr "" #: zenlite/library/zenlite_post_formats.php:34 -msgid "A styled chat transcript. This format does not support the display of featured images but styling will be displayed on both archive and single post pages" +msgid "" +"A styled chat transcript. This format does not support the display of " +"featured images but styling will be displayed on both archive and single " +"post pages" msgstr "" #: zenlite/library/zenlite_post_formats.php:36 @@ -738,4 +805,3 @@ msgstr "" #: zenlite/library/zenlite_post_formats.php:37 msgid "A standard wordPress post." msgstr "" - diff --git a/wp-content/themes/zenlite/library/donate.php b/wp-content/themes/zenlite/library/donate.php index 04a80251415acba3ba4f98c041cbb875054aed11..afc54a3383abd2a25b23db6f078a065cb3e83c8a 100644 --- a/wp-content/themes/zenlite/library/donate.php +++ b/wp-content/themes/zenlite/library/donate.php @@ -32,6 +32,7 @@ <div class="box child-themes"> <h2><?php _e('Child Themes', 'zenlite');?></h2> <ul> +<li><a href="http://quirm.net/themes/zenlite-basic-child/">ZenLite Basic Child</a></li> <li><a href="http://quirm.net/themes/zenlite/zenlite-black-mandarin/">ZenLite Black Mandarin</a></li> <li><a href="http://quirm.net/themes/zenlite/zenlite-blue/">ZenLite Blue</a></li> <li><a href="http://quirm.net/themes/zenlite/zenlite-citrus/">ZenLite Citrus</a></li> diff --git a/wp-content/themes/zenlite/library/theme-options.php b/wp-content/themes/zenlite/library/theme-options.php index 8bb26e2ec16124865559abcb2d3aa377950e7414..7385a3f8a819ed4ca567927e6caaf416dfbee357 100644 --- a/wp-content/themes/zenlite/library/theme-options.php +++ b/wp-content/themes/zenlite/library/theme-options.php @@ -4,17 +4,17 @@ require_once get_template_directory() . '/library/zenlite-theme-options-array.php'; // White list theme options -function theme_options_init() { - register_setting( 'zenlite'. '_options', 'zenlite'. '_theme_options', 'theme_options_validate' ); +function zenlite_options_init() { + register_setting( 'zenlite_options', 'zenlite_theme_options', 'zenlite_options_validate' ); } -add_action( 'admin_init', 'theme_options_init' ); +add_action( 'admin_init', 'zenlite_options_init' ); // Add theme options page -function theme_options_add_page() { - $theme_page = add_theme_page( __( 'Theme Options', 'zenlite' ), __( 'Theme Options', 'zenlite' ), 'edit_theme_options', 'theme_options', 'theme_options_do_page' ); +function zenlite_options_add_page() { + $theme_page = add_theme_page( __( 'Theme Options', 'zenlite' ), __( 'Theme Options', 'zenlite' ), 'edit_theme_options', 'theme_options', 'zenlite_options_do_page' ); if ( $theme_page ) add_action( 'load-' . $theme_page, 'add_zenlite_contextual_help' ); } -add_action('admin_menu', 'theme_options_add_page'); +add_action('admin_menu', 'zenlite_options_add_page'); // Add basic contextual help links function add_zenlite_contextual_help() { @@ -30,12 +30,12 @@ function add_zenlite_contextual_help() { ) ); } -function enqueue_theme_options_style() { +function zenlite_enqueue_options_style() { wp_enqueue_style('theme_options_style', get_template_directory_uri() . '/library/theme-options.css', '', false, 'screen'); if ( file_exists( get_stylesheet_directory() . '/theme-options-custom.css' ) ) wp_enqueue_style('theme_options_custom_style', get_stylesheet_directory_uri() . '/theme-options-custom.css', '', false, 'screen'); } -add_action('admin_print_styles-appearance_page_theme_options', 'enqueue_theme_options_style'); +add_action('admin_print_styles-appearance_page_theme_options', 'zenlite_enqueue_options_style'); // Create tabs function zenlite_option_tabs( $current = 'options' ) { @@ -52,7 +52,7 @@ function zenlite_option_tabs( $current = 'options' ) { } // Theme options form -function theme_options_do_page() { +function zenlite_options_do_page() { global $pagenow; $updated = false; if ( isset( $_REQUEST['updated'] ) || isset( $_REQUEST['settings-updated'] ) ) $updated = true;?> @@ -108,37 +108,37 @@ function zenite_do_options_tab() { <fieldset> <legend><?php _e('Use the non-custom navigation menu to display links to:','zenlite'); ?></legend> <?php $option_name = 'menu_type'; - theme_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> + zenlite_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> </fieldset> <fieldset> <legend><?php _e('Display site name & tagline above header image?','zenlite'); ?></legend> <?php $option_name = 'header_text'; - theme_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> + zenlite_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> </fieldset> <fieldset> <legend><?php _e('Display "Pages in this section" list?','zenlite'); ?></legend> <?php $option_name = 'pagetree'; - theme_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> + zenlite_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> </fieldset> <fieldset> <legend><?php _e('Display auto-generated title on Posts/Pages without titles?','zenlite'); ?></legend> <?php $option_name = 'notitle_display'; - theme_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> + zenlite_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> </fieldset> <fieldset> <legend><?php _e('Display author name/link on Posts?','zenlite'); ?></legend> <?php $option_name = 'author_display'; - theme_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> + zenlite_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> </fieldset> <fieldset> <legend><?php _e('Display allowed tags on comment form?','zenlite'); ?></legend> <?php $option_name = 'kses_display'; - theme_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> + zenlite_options_sort( $zenlite_all_theme_options[$option_name], $stored_options, $option_name);?> </fieldset> <p class="submit"><input type="submit" class="button-primary" value="<?php _e('Update Theme', 'zenlite') ?>" /></p> @@ -149,10 +149,10 @@ function zenite_do_options_tab() { } // sort inputs for display -function theme_options_sort($option_input, $stored_options, $name) { +function zenlite_options_sort($option_input, $stored_options, $name) { switch ($option_input['type']) { case 'radio': - theme_options_do_radio($option_input['options'], $stored_options, $name, $option_input['default']); + zenlite_options_do_radio($option_input['options'], $stored_options, $name, $option_input['default']); break; default: @@ -161,7 +161,7 @@ function theme_options_sort($option_input, $stored_options, $name) { } // Radio button display -function theme_options_do_radio($radio_options, $stored_options, $name, $default) { +function zenlite_options_do_radio($radio_options, $stored_options, $name, $default) { if ( ! isset( $checked ) ) $checked = ''; foreach ( $radio_options as $option ) { if ( isset( $stored_options[$name] ) ) { @@ -178,7 +178,7 @@ function theme_options_do_radio($radio_options, $stored_options, $name, $default } // Sanitize and validate inputs -function theme_options_validate( $input ) { +function zenlite_options_validate( $input ) { $new_input = array(); global $zenlite_all_theme_options; $theme_option_names = array_keys($zenlite_all_theme_options); diff --git a/wp-content/themes/zenlite/readme.txt b/wp-content/themes/zenlite/readme.txt index 14c4616e1f6b58b70dec53437738911135f95c93..2ad640dd78e2afe41d2d64539893b4a068525a0b 100644 --- a/wp-content/themes/zenlite/readme.txt +++ b/wp-content/themes/zenlite/readme.txt @@ -1,5 +1,8 @@ ZENLITE THEME +COPYRIGHTS & lICENSES +All theme images are copyright 2013, Mel P. and are distributed and licensed as part of the ZenLite Theme. + THEME OPTIONS Use the top navigation menu to display links to: @@ -20,7 +23,7 @@ This theme has been developed to support the creation of child themes. Wherever See <http://codex.wordpress.org/Child_Themes> for further information. -There some child themes available for this theme. See <http://quirm.net/themes/> for a full list. Bespoke/customised child themes can also be developed for a moderate fee. +There are some child themes available for this theme. See <http://quirm.net/themes/> for a full list. Bespoke/customised child themes can also be developed for a moderate fee. SUPPORT Free support is available at <http://forum.quirm.net/>. You can also find free support at <http://wordpress.org/support/> but, due to the high traffic on the WordPress forums, I cannot guarantee that I will notice or answer your requests for assistance. diff --git a/wp-content/themes/zenlite/search.php b/wp-content/themes/zenlite/search.php index 7915ffc6ae3b62038b109c095b0be99faf0313cc..4ecbff75fb43318d4f1619edf9fa68c13907d34e 100644 --- a/wp-content/themes/zenlite/search.php +++ b/wp-content/themes/zenlite/search.php @@ -35,7 +35,7 @@ get_template_part( 'format', $format ); </ul> <?php else : ?> -<span class="sorry"><?php printf( __('Sorry - I couldn\'t find anything on %1$s%2$s%3$s', 'zenlite'), '<span>', $zenlite_searchterm, '</span>');?></p> +<span class="sorry"><?php printf( __('Sorry - I couldn\'t find anything on %1$s%2$s%3$s', 'zenlite'), '<span>', $zenlite_searchterm, '</span>');?></span></p> <?php endif; ?> <?php get_footer(); \ No newline at end of file diff --git a/wp-content/themes/zenlite/style.css b/wp-content/themes/zenlite/style.css index 1ec055ba4c6b4181a6fda657fbbd497dc6f3ac8d..c662173204b3039c9d6f84cfd51fa28745fe0c7c 100644 --- a/wp-content/themes/zenlite/style.css +++ b/wp-content/themes/zenlite/style.css @@ -1,6 +1,6 @@ /* Theme Name:ZenLite -Version: 4.8 +Version: 4.10 Theme URI: http://quirm.net/themes/zenlite/ Description: A minimalistic single column design with a widget-ready horizontal navigation menu for listing Pages, Categories or a custom menu. Includes additional templates for archives, categories, author lists, pages without comments, images, attachments and search results. Thickbox enabled image template. Customisable header and background images. Post format support. Additional theme options. Translation-ready and child-theme friendly. Support available at http://forum.quirm.net/ Author: Mel Pedley @@ -11,7 +11,7 @@ License: GNU General Public License v2 License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ -/* Copyright 2009-2012 Mel P. (email : esmi@quirm.net) +/* Copyright 2009-2013 Mel P. (email : esmi@quirm.net) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, @@ -178,13 +178,15 @@ th,td { } /* hides skip links until activated for keyboard navigators */ -ul.jumplinks,.jumplinks { +ul.jumplinks, +.jumplinks { position:absolute; top:-9000px; left:-9000px; - z-index:10; + z-index:90; } -.jumplinks a:active,.jumplinks a:focus { +.jumplinks a:active, +.jumplinks a:focus { position:absolute; top:9020px; left:9010px;