Changeset 1319447
- Timestamp:
- 01/01/2016 09:43:34 AM (10 years ago)
- Location:
- expresscurate/trunk
- Files:
-
- 28 edited
-
ExpressCurate.php (modified) (1 diff)
-
ExpressCurate_Actions.php (modified) (2 diffs)
-
ExpressCurate_AjaxExportAPI.php (modified) (1 diff)
-
ExpressCurate_FeedManager.php (modified) (6 diffs)
-
ExpressCurate_HtmlParser.php (modified) (4 diffs)
-
ExpressCurate_Tags.php (modified) (1 diff)
-
css/dialog-style-3.9.css (modified) (2 diffs)
-
css/expresscurate.css (modified) (5 diffs)
-
js/Buttons.js (modified) (5 diffs)
-
js/keywords/KeywordUtils.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
templates/advanced_seo_widget.php (modified) (13 diffs)
-
templates/bookmarks.php (modified) (7 diffs)
-
templates/content_feed_archive.php (modified) (4 diffs)
-
templates/dashboard.php (modified) (10 diffs)
-
templates/dialog.php (modified) (8 diffs)
-
templates/faq.php (modified) (6 diffs)
-
templates/feed_dashboard.php (modified) (2 diffs)
-
templates/feed_list.php (modified) (7 diffs)
-
templates/keywords.php (modified) (4 diffs)
-
templates/news.php (modified) (1 diff)
-
templates/settings.php (modified) (27 diffs)
-
templates/sitemap.php (modified) (9 diffs)
-
templates/social_posts_widget.php (modified) (3 diffs)
-
templates/sources_coll_widget.php (modified) (3 diffs)
-
templates/support.php (modified) (3 diffs)
-
templates/websites.php (modified) (3 diffs)
-
templates/widget.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
expresscurate/trunk/ExpressCurate.php
r1252098 r1319447 5 5 Plugin URI: http://www.expresscurate.com/products 6 6 Description: ExpressCurate plugin is a content curation tool for WordPress. It enables you to create and publish high quality content within minutes. 7 Version: 2.1. 47 Version: 2.1.5 8 8 Author: ExpressCurate 9 9 Author URI: http://www.expresscurate.com -
expresscurate/trunk/ExpressCurate_Actions.php
r1252098 r1319447 167 167 add_action('wp_ajax_expresscurate_bookmark_set', array($this->feedManager, 'set_bookmark')); 168 168 add_action('wp_ajax_expresscurate_bookmark_get', array($this->feedManager, 'get_bookmark')); 169 add_action('wp_ajax_expresscurate_bookmarks_get', array($this->feedManager, 'get_bookmarks')); 169 170 add_action('wp_ajax_expresscurate_bookmarks_delete', array($this->feedManager, 'delete_bookmarks')); 170 171 add_action('wp_ajax_expresscurate_delete_feed_content_items', array($this->feedManager, 'delete_feed_content_items')); … … 1848 1849 } 1849 1850 1850 1851 1852 if (!ExpressCurate_HtmlParser::isNotSafeMode() || strlen(ini_get('open_basedir'))!=0) { 1851 if(ExpressCurate_HtmlParser::isSafeMode() || strlen(ini_get('open_basedir')) !=0 ) { 1853 1852 echo '<div class="update-nag"> 1854 1853 For the plugin to perform properly make sure those settings on your server in the following states.</br> -
expresscurate/trunk/ExpressCurate_AjaxExportAPI.php
r1191825 r1319447 51 51 52 52 $sppResult = array(); 53 foreach ($profiles as $profile) { 54 $profileId = $profile->id; 55 if ($profilesStatus->$profileId == 'on' || empty($profilesStatus->$profileId)) { 56 $sppResult[] = array( 57 'id' => $profileId, 58 'title' => $profile->formatted_service . '/' . $profile->formatted_username); 59 } 60 } 53 if(isset($profiles)){ 54 foreach ($profiles as $profile) { 55 $profileId = $profile->id; 56 if ($profilesStatus->$profileId == 'on' || empty($profilesStatus->$profileId)) { 57 $sppResult[] = array( 58 'id' => $profileId, 59 'title' => $profile->formatted_service . '/' . $profile->formatted_username); 60 } 61 } 62 } 63 61 64 62 65 $data['social_publishing'] = $sppResult; -
expresscurate/trunk/ExpressCurate_FeedManager.php
r1252098 r1319447 119 119 $data = $_REQUEST; 120 120 if ($data['url']) { 121 $data['url'] = htmlentities($data['url'], ENT_COMPAT);122 121 $curated_links_rss = get_option('expresscurate_links_rss', ''); 123 122 if ($curated_links_rss) { … … 384 383 } 385 384 386 387 385 public function get_feed_content() 388 386 { … … 421 419 foreach ($curated_links_rss as $url => $feed_url) { 422 420 // pull content 423 $lookup_url = "http://ajax.googleapis.com/ajax/services/feed/load?v=1.0& q=" . urlencode($feed_url['feed_url']) . "&num=-1";421 $lookup_url = "http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=-1&q=" . urlencode($feed_url['feed_url']); 424 422 $htmlparser = new ExpressCurate_HtmlParser($lookup_url); 425 423 $res = $htmlparser->download(); … … 428 426 $this->collect_feed($result, $deleted_urls, $feed_array, 'feed', $date, $unseen_feeds); 429 427 } 428 430 429 update_option('unseen_feeds_count', $unseen_feeds); 431 430 } … … 753 752 $this->collectBookmark($bookmarks, $item); 754 753 755 //$result[$bookmarkURL]['status'] = 'success';754 $result[$bookmarkURL]['status'] = 'success'; 756 755 } 757 756 } … … 969 968 { 970 969 $bookmarks = get_option('expresscurate_bookmarks', ''); 971 if ($bookmarks) { 972 $bookmarks = json_decode($bookmarks, true); 973 } else { 974 $bookmarks = array(); 975 } 976 return $bookmarks; 970 if(isset($_REQUEST['action']) && $_REQUEST['action'] == "expresscurate_bookmarks_get"){ 971 echo $bookmarks; 972 die; 973 } 974 else { 975 if ($bookmarks) { 976 $bookmarks = json_decode($bookmarks, true); 977 } else { 978 $bookmarks = array(); 979 } 980 return $bookmarks; 981 } 977 982 } 978 983 -
expresscurate/trunk/ExpressCurate_HtmlParser.php
r1252098 r1319447 47 47 } 48 48 49 public static function is NotSafeMode()49 public static function isSafeMode() 50 50 { 51 51 $safeMode = ini_get('safe_mode'); 52 52 if(!empty($safeMode) && version_compare(PHP_VERSION, '5.4.0') < 0) { 53 return true; 54 } else { 53 55 return false; 54 } else {55 return true;56 56 } 57 57 } … … 177 177 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 178 178 curl_setopt($ch, CURLOPT_MAXREDIRS, 5); 179 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5 );179 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 500); 180 180 return $ch; 181 181 } … … 248 248 } 249 249 $curlDownload = true; 250 if( !self::isNotSafeMode()){250 if(self::isSafeMode()){ 251 251 $curlDownload = false; 252 } else if(strlen(ini_get('open_basedir')) !=0){252 } else if(strlen(ini_get('open_basedir')) !=0 ){ 253 253 $curlDownload = false; 254 254 } else if(self::supportsAsynch()) { … … 332 332 if (!$this->raw) { 333 333 // cleanup the content 334 $content = self::sanitizeContent($content); 334 if ($contentType) { 335 list($content_type,$encoding) = explode("=", $contentType); 336 if(trim($content_type)=="text/html"){ 337 $content = self::sanitizeContent($content); 338 } 339 } 335 340 336 341 // check if encoding is found -
expresscurate/trunk/ExpressCurate_Tags.php
r1191825 r1319447 25 25 { 26 26 // TODO for multiline use /m 27 return preg_replace_callback('/(?![^<]*<\/ a)(\b' . $this->word . '\b)(?=[^>]*(<|$))(?=(.*?))/uUis', array(&$this, 'checkOpenTag'), $html,1);27 return preg_replace_callback('/(?![^<]*<\/[a|h])(\b' . $this->word . '\b)(?=[^>]*(<|$))(?=(.*?))/uUis', array(&$this, 'checkOpenTag'), $html,1); 28 28 //return preg_replace_callback('/(#?)(\b' . $this->word . '\b)(?=[^>]*(<|$))(?=(.*?))/Uuis', array(&$this, 'checkOpenTag'), $html,1); 29 29 } -
expresscurate/trunk/css/dialog-style-3.9.css
r1165036 r1319447 4 4 border-radius: 0 !important; 5 5 border:none; 6 z-index: 100 091!important;6 z-index: 1002 !important; 7 7 } 8 8 .ui-widget-overlay{ … … 11 11 background: #000 !important; 12 12 position: fixed; 13 z-index: 100 090!important;13 z-index: 1001 !important; 14 14 } 15 15 div[aria-describedby="expresscurate_clone_dialog"] .ui-dialog-titlebar, -
expresscurate/trunk/css/expresscurate.css
r1252098 r1319447 1245 1245 margin-left: 6px; 1246 1246 margin-right: 6px; 1247 z-index: 90000;1247 z-index: 1001; 1248 1248 } 1249 1249 .expresscurate_settings .addUsers, … … 2824 2824 border-color: #ddd; 2825 2825 -webkit-box-shadow: none; 2826 box-shadow: none);2827 -moz-box-shadow: none;2828 -webkit-box-shadow:none;2829 2826 box-shadow: none; 2830 2827 -moz-box-shadow: none; … … 4317 4314 .expresscurate_feedBoxes .checkInput[type=checkbox]:checked + label{ 4318 4315 background: url("../images/feed_icons.svg") no-repeat -75px -3px; 4319 background-size: auto 73px; 4320 } 4316 background-size: 157px auto; 4317 } 4318 @-moz-document url-prefix() { 4319 .expresscurate_bookmarkBoxes .checkInput[type=checkbox]:checked + label, 4320 .expresscurate_feedBoxes .checkInput[type=checkbox]:checked + label { 4321 background: url("../images/feed_icons.svg") no-repeat -75px 1px; 4322 background-size: 157px auto; 4323 } 4324 .expresscurate_controls li.linkToDeletedPosts{ 4325 background-position: -180px -35px; 4326 background-size: auto 100px; 4327 } 4328 .expresscurate_controls li.linkToDeletedPosts:hover{ 4329 background-position: -181px -76px; 4330 } 4331 .expresscurate_feed_list .feedListControls .pull { 4332 background-position: -148px -34px; 4333 } 4334 .expresscurate_feed_list .feedListControls .pull:hover { 4335 background-position: -148px -75px; 4336 } 4337 .expresscurate_controls .check { 4338 background-position: -104px -35px; 4339 } 4340 .expresscurate_controls .check.active { 4341 background-position: -104px -75px; 4342 } 4343 .expresscurate_controls .remove { 4344 background-position: -49px 8px; 4345 } 4346 .expresscurate_controls .remove.active { 4347 background-position: -49px -25px; 4348 } 4349 .expresscurate_controls .remove.active:hover { 4350 background-position: -49px -59px; 4351 } 4352 } 4321 4353 .expresscurate_bookmarkBoxes li input[type=checkbox], 4322 4354 .expresscurate_feedBoxes li input[type=checkbox]{ … … 5144 5176 .expresscurate_masonryItem{ 5145 5177 width: 32%; 5146 width: -webkit-calc( ( 100% - 20px ) / 3);5147 width: -moz-calc( ( 100% - 20px ) / 3);5148 width: calc( ( 100% - 20px ) / 3);5178 width: -webkit-calc((100% - 20px)/3); 5179 width: -moz-calc((100% - 20px)/3); 5180 width: calc((100% - 20px )/3); 5149 5181 } 5150 5182 } … … 5157 5189 .expresscurate_masonryItem{ 5158 5190 width: 47%; 5159 width: -webkit-calc( ( 100% - 10px ) / 2);5160 width: -moz-calc( ( 100% - 10px ) / 2);5161 width: calc( ( 100% - 10px ) / 2);5191 width: -webkit-calc((100% - 10px)/2); 5192 width: -moz-calc((100% - 10px )/2); 5193 width: calc((100% - 10px)/2); 5162 5194 } 5163 5195 } -
expresscurate/trunk/js/Buttons.js
r1191825 r1319447 150 150 151 151 var imagesInPost = $(content).find('img').length ? true : false, 152 videoInPost = tinyMCE.get('content').getContent().indexOf('[embed]') > -1;152 videoInPost = $(content).text().indexOf('[embed]') > -1; 153 153 messageHtml += (!imagesInPost && !videoInPost) ? '<p class="lengthSuggestion red">Your post currently doesn’t have an image(video). Adding a media is a good way to improve conversion rates by creating visual associations with your posts.</p>' : ''; 154 154 messageHtml += $('.attachment-post-thumbnail').length ? '' : '<p class="lengthSuggestion red">Your post currently doesn’t have a featured image. Adding a featured image is a good way to improve conversion rates by creating visual associations with your posts.</p>'; … … 455 455 456 456 recoverShortcode: function (co) { 457 function getAttr(s, n) {457 /*function getAttr(s, n) { 458 458 n = new RegExp(n + '=\"([^\"]+)\"', 'g').exec(s); 459 459 return n ? tinymce.DOM.decode(n[1]) : ''; 460 460 } 461 461 462 return co.replace(/(?:<p[^>]*>)*(<img[^>]+>)(?:<\/p>)* /g, function (a, im) {462 return co.replace(/(?:<p[^>]*>)*(<img[^>]+>)(?:<\/p>)*!/g, function (a, im) { 463 463 var cls = getAttr(im, 'class'); 464 464 if (cls.indexOf('expresscurate_FacebookEmbed') != -1) { … … 466 466 } 467 467 return a; 468 }); 468 });*/return co; 469 469 }, 470 470 … … 472 472 init: function (ed, url) { 473 473 474 var t = this; 474 var t = this, 475 mainEditor= tinyMCE.get('content'); 475 476 t.url = url; 476 477 //replace shortcode before editor content set 477 ed.onBeforeSetContent.add(function (ed, o) { 478 479 mainEditor.onBeforeSetContent.add(function (ed, o) { 478 480 o.content = t.visualizeShortcode(o.content); 479 481 }); 480 482 //replace shortcode as its inserted into editor 481 ed.onExecCommand.add(function (ed, cmd) {483 mainEditor.onExecCommand.add(function (ed, cmd) { 482 484 if (cmd === 'mceInsertContent') { 483 tinyMCE.activeEditor.setContent(t.visualizeShortcode(tinyMCE.activeEditor.getContent()));485 ed.setContent(t.visualizeShortcode(ed.getContent())); 484 486 } 485 487 }); 486 488 //replace the image back to shortcode on save 487 ed.onPostProcess.add(function (ed, o) {488 if (o.get) 489 /* mainEditor.onPostProcess.add(function (ed, o) { 490 if (o.get){ 489 491 o.content = t.recoverShortcode(o.content); 490 }); 492 } 493 });*/ 491 494 492 495 // Register buttons - trigger above command when clicked … … 592 595 593 596 ed.onLoadContent.add(function (ed) { 594 var dom = tinymce. activeEditor.dom,597 var dom = tinymce.DOM, 595 598 divElements = dom.select('div[class*=expresscurate]'); 596 599 dom.setStyle(divElements, 'height', 'auto'); -
expresscurate/trunk/js/keywords/KeywordUtils.js
r1179063 r1319447 65 65 return result; 66 66 } 67 67 function escapeRegExp(str) { 68 return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); 69 } 68 70 function close(keyword, elemToRemove, defElem) { 71 72 keyword=escapeRegExp(keyword); 69 73 70 74 var $defTags =defElem ? defElem : $('textarea[name=expresscurate_defined_tags]'), -
expresscurate/trunk/readme.txt
r1252098 r1319447 4 4 Donate link: https://bit.ly/expresscuratedonate 5 5 Requires at least: 3.9 6 Tested up to: 4. 3.17 Stable tag: 2.1. 46 Tested up to: 4.4.0 7 Stable tag: 2.1.5 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl.html … … 132 132 == Changelog == 133 133 134 = 2.1.5 = 135 * Wordpress 4.4 supported now. 136 * Miscellaneous bug fixes and improvements. 137 134 138 = 2.1.4 = 135 139 * Wordpress 4.3 supported now. -
expresscurate/trunk/templates/advanced_seo_widget.php
r1162493 r1319447 11 11 id="expresscurate_post_analysis_notification"/> 12 12 <ul class="tabs"> 13 <li class="tab-link expresscurate_preventTextSelection green current" data-tab="tab-1"> General</li>13 <li class="tab-link expresscurate_preventTextSelection green current" data-tab="tab-1"><?php _e('General'); ?></li> 14 14 <li class="tab-link expresscurate_preventTextSelection red <?php if (get_option('expresscurate_sitemap_update_permission') == 'error') echo 'disabled'; ?>" 15 data-tab="tab-2"> Sitemap15 data-tab="tab-2"><?php _e('Sitemap'); ?> 16 16 </li> 17 <li class="tab-link expresscurate_preventTextSelection blue" data-tab="tab-3"> Social</li>18 <li class="tab-link postAnalysisLink expresscurate_preventTextSelection yellow" data-tab="tab-4"> Post Analysis17 <li class="tab-link expresscurate_preventTextSelection blue" data-tab="tab-3"><?php _e('Social'); ?> </li> 18 <li class="tab-link postAnalysisLink expresscurate_preventTextSelection yellow" data-tab="tab-4"><?php _e('Post Analysis'); ?> 19 19 </li> 20 20 </ul> … … 26 26 <div id="expresscurate_ClonePostWrap" class="<?php if(!$postCopy) {echo 'expresscurate_displayNone';} ?>"> 27 27 <div class="info"> 28 <label for="expresscurate_advanced_seo_post_copy" class="label"> Content cloned</label>28 <label for="expresscurate_advanced_seo_post_copy" class="label"><?php _e('Content cloned'); ?></label> 29 29 </div> 30 30 <div class="value"> … … 42 42 </div> 43 43 <div class="info"> 44 <label for="expresscurate_advanced_seo_title" class="label"> SEO Title</label>44 <label for="expresscurate_advanced_seo_title" class="label"><?php _e('SEO Title'); ?></label> 45 45 </div> 46 46 <div class="value"> … … 51 51 <div class="expresscurate_clear"></div> 52 52 <div class="info"> 53 <label for="expresscurate_advanced_seo_canonical_url" class="label"> Canonical URL</label>53 <label for="expresscurate_advanced_seo_canonical_url" class="label"><?php _e('Canonical URL'); ?></label> 54 54 </div> 55 55 <div class="value"> … … 63 63 <div class="expresscurate_clear"></div> 64 64 <div class="info"> 65 <label class="robotsLabel"> Robots must follow links</label>65 <label class="robotsLabel"><?php _e('Robots must follow links '); ?></label> 66 66 </div> 67 67 <div class="value"> … … 79 79 <div class="expresscurate_clear"></div> 80 80 <div class="info"> 81 <label class="robotsLabel"> Robots must index this page</label>81 <label class="robotsLabel"><?php _e('Robots must index this page '); ?></label> 82 82 </div> 83 83 <div class="value"> … … 101 101 <li> 102 102 <div class="info"> 103 <span class="label"> Configure Sitemap Manually</span>103 <span class="label"><?php _e('Configure Sitemap Manually'); ?></span> 104 104 </div> 105 105 <div class="value"> … … 115 115 <li> 116 116 <div class="info"> 117 <span class="label"> Exclude from sitemap</span>117 <span class="label"><?php _e('Exclude from sitemap'); ?></span> 118 118 </div> 119 119 <div class="value"> … … 129 129 <li> 130 130 <div class="info"> 131 <span class="label"> Sitemap frequency</span>132 <span class="gray-italic desc"> Please select frequency for posts in sitemap</span>131 <span class="label"><?php _e('Sitemap frequency'); ?></span> 132 <span class="gray-italic desc"><?php _e('Please select frequency for posts in sitemap'); ?></span> 133 133 </div> 134 134 <div class="value"> … … 149 149 <li> 150 150 <div class="info"> 151 <span class="label"> Sitemap priority</span>152 <span class="gray-italic desc"> Please select priority for posts in sitemap</span>151 <span class="label"><?php _e('Sitemap priority'); ?></span> 152 <span class="gray-italic desc"><?php _e('Please select priority for posts in sitemap'); ?></span> 153 153 </div> 154 154 <div class="value"> … … 176 176 <div id="expresscurate_social_widget"> 177 177 <div class="info"> 178 <label for="expresscurate_advanced_seo_social_title" class="label"> Title</label>178 <label for="expresscurate_advanced_seo_social_title" class="label"><?php _e('Title'); ?></label> 179 179 </div> 180 180 <div class="value"> … … 185 185 <div class="expresscurate_clear"></div> 186 186 <div class="info"> 187 <label for="expresscurate_advanced_seo_social_shortdesc" class="label"> Short Description</label>187 <label for="expresscurate_advanced_seo_social_shortdesc" class="label"><?php _e('Short Description'); ?></label> 188 188 </div> 189 189 <div class="value"> … … 195 195 <div class="expresscurate_clear"></div> 196 196 <div class="info"> 197 <label for="expresscurate_advanced_seo_social_desc" class="label"> Description</label>197 <label for="expresscurate_advanced_seo_social_desc" class="label"><?php _e('Description'); ?></label> 198 198 </div> 199 199 <div class="value"> -
expresscurate/trunk/templates/bookmarks.php
r1252098 r1319447 12 12 } ?>"> 13 13 <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular"> 14 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"> Suggestions? <span>Submit here!</span></a>14 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?><span><?php _e('Submit here!'); ?></span></a> 15 15 16 <h2> Bookmarks</h2>16 <h2><?php _e('Bookmarks'); ?></h2> 17 17 18 18 <div class="pageDesc"> 19 List of your bookmarked web pages. You can start a post by picking a bookmarked article (or multiple20 articles) and clicking on the curate button. 19 <?php _e('List of your bookmarked web pages. You can start a post by picking a bookmarked article (or multiple 20 articles) and clicking on the curate button.'); ?> 21 21 </div> 22 22 <div class="controlsWrap"> 23 23 <ul class="bookmarkListControls expresscurate_preventTextSelection expresscurate_controls"> 24 24 <li class="check"> 25 <span class="tooltip"> select / deselect</span>25 <span class="tooltip"><?php _e('select / deselect'); ?></span> 26 26 </li> 27 27 <li class="remove expresscurate_floatRight"> 28 <span class="tooltip"> delete</span>28 <span class="tooltip"><?php _e('delete'); ?></span> 29 29 </li> 30 30 <li class="quotes expresscurate_floatRight"> 31 <span class="tooltip"> curate</span>31 <span class="tooltip"><?php _e('curate'); ?></span> 32 32 </li> 33 33 <li class="layout expresscurate_floatRight"> 34 34 <span class="tooltip"><?php if (get_option('expresscurate_bookmark_layout', '') == 'single') { 35 echo 'view as grid';35 _e('view as grid'); 36 36 } else { 37 echo 'view as list';37 _e('view as list'); 38 38 } ?></span> 39 39 </li> … … 43 43 </div> 44 44 45 <label class="expresscurate_displayNone expresscurate_notDefined"> Currently you have no bookmarked web46 pages. </label>45 <label class="expresscurate_displayNone expresscurate_notDefined"><?php _e('Currently you have no bookmarked web 46 pages.'); ?></label> 47 47 <ul class="expresscurate_bookmarkBoxes expresscurate_masonryWrap"> 48 48 <div class="addNewBookmark expresscurate_masonryItem grid-sizer"> 49 <label for="addBookmark "> Add new Bookmark</label>49 <label for="addBookmark "><?php _e('Add new Bookmark'); ?></label> 50 50 51 51 <div class="addBookmark"> … … 87 87 <li class="<?php echo $color ?>"><?php echo $keyword; ?> 88 88 <span class="tooltip"> 89 <div class="<?php echo $color ?>"> Keyword match</div>90 <span class="inTitle"> title<p class=""><?php echo $stats['title'] ?></p></span><!--inTitle yes|no-->91 <span class="inContent"> content<p><?php echo $stats['percent'] * 100 ?>%</p></span>89 <div class="<?php echo $color ?>"><?php _e('Keyword match'); ?></div> 90 <span class="inTitle"><?php _e('title'); ?><p class=""><?php echo $stats['title'] ?></p></span><!--inTitle yes|no--> 91 <span class="inContent"><?php _e('content'); ?><p><?php echo $stats['percent'] * 100 ?>%</p></span> 92 92 </span> 93 93 </li> … … 100 100 <a target="_blank"><?php echo $item['title'] ?></a><br/> 101 101 <a data-encodedurl="<?php echo base64_encode(urlencode($item['link'])) ?>" class="url" target="_blank" href="<?php echo $item['link'] ?>"><?php echo $item['domain'] ?></a> 102 <!--<span class="curatedBy">/<?php /*echo $item['curated'] ? 'curated by' : 'author'; */ ?> <span><?php /*echo $item['author']; */ ?></span> /</span>--> 103 <span class="curatedBy">/ by <span><?php echo $item['user']; ?></span> /</span> 102 <span class="curatedBy"><?php _e('/ by '); ?><span><?php echo $item['user']; ?></span> /</span> 104 103 <span 105 104 class="time"><?php echo human_time_diff(strtotime($item['bookmark_date']), current_time('timestamp')) . ' ago'; ?></span> … … 109 108 echo 'active'; 110 109 } ?>" 111 for="comment__<?php echo $i ?>"><?php echo $item['comment'] ? stripslashes($item['comment']) : 'add comment'; ?></label>110 for="comment__<?php echo $i ?>"><?php echo $item['comment'] ? stripslashes($item['comment']) : __('add comment'); ?></label> 112 111 <input type="text" class="expresscurate_disableInputStyle expresscurate_displayNone" 113 112 id="comment__<?php echo $i ?>" value="<?php echo stripslashes( $item['comment']); ?>"> … … 122 121 if (get_option('expresscurate_social_publishing', '') == "on" && strlen(get_option('expresscurate_buffer_access_token')) > 2) { 123 122 ?> 124 <li class="share"> Share</li>123 <li class="share"><?php _e('Share'); ?> </li> 125 124 <li class="separator">-</li> 126 125 <?php } ?> 127 <li class="copyURL"> Copy URL</li>126 <li class="copyURL"><?php _e('Copy URL'); ?></li> 128 127 <li class="separator">-</li> 129 <li class="hide"> Delete</li>128 <li class="hide"><?php _e('Delete'); ?></li> 130 129 </ul> 131 130 <div class="expresscurate_clear"></div> 132 <!--<span class="label label_<?php /*echo $item['type'];*/ ?>"><?php /*echo $item['type'];*/ ?></span>-->133 131 </li> 134 132 <?php … … 161 159 <a class="postTitle" href="{{data.link}}" target="_blank">{{data.title}}</a><br/> 162 160 <a class="url" href="{{data.link}}" target="_blank">{{data.domain}}</a> 163 <span class="curatedBy"> / by<span>{{data.user}}</span> /</span>161 <span class="curatedBy"><?php _e('/ by '); ?><span>{{data.user}}</span> /</span> 164 162 <span class="time">Just now</span> 165 163 166 164 <div class="comment"> 167 <label class="" for="uniqueId"> add comment</label>165 <label class="" for="uniqueId"><?php _e('add comment'); ?></label> 168 166 <input type="text" class="expresscurate_disableInputStyle expresscurate_displayNone" id="uniqueId"> 169 167 <span class="expresscurate_displayNone">×</span> 170 168 </div> 171 169 <ul class="controls expresscurate_preventTextSelection"> 172 <li><a class="curate" href="post-new.php?expresscurate_load_source={{data.curateLink}}"> Curate</a></li>170 <li><a class="curate" href="post-new.php?expresscurate_load_source={{data.curateLink}}"><?php _e('Curate'); ?></a></li> 173 171 <li class="separator">-</li> 174 172 <?php 175 173 if (get_option('expresscurate_social_publishing', '') == "on" && strlen(get_option('expresscurate_buffer_access_token')) > 2) { 176 174 ?> 177 <li class="share"> Share</li>175 <li class="share"><?php _e('Share '); ?></li> 178 176 <li class="separator">-</li> 179 177 <?php } ?> 180 <li class="copyURL"> Copy URL</li>178 <li class="copyURL"><?php _e('Copy URL'); ?></li> 181 179 <li class="separator">-</li> 182 <li class="hide"> Delete</li>180 <li class="hide"><?php _e('Delete'); ?></li> 183 181 184 182 </ul> 185 183 <div class="expresscurate_clear"></div> 186 <!--<span class="label label_{{data.type}}">{{data.type}}</span>-->187 184 </li> 188 185 </script> -
expresscurate/trunk/templates/content_feed_archive.php
r1252098 r1319447 45 45 } ?>"> 46 46 <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular"> 47 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"> Suggestions? <span>Submit here!</span></a>47 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?><span><?php _e('Submit here!'); ?></span></a> 48 48 49 <h2> Content Feed Archive</h2>49 <h2><?php _e('Content Feed Archive'); ?></h2> 50 50 51 51 <div class="pageDesc"> 52 This page contains all posts were deleted from Content feed page which you can be restore or delete permanently. 52 <?php _e('This page contains all posts were deleted from Content feed page which you can be restore or delete permanently.'); ?> 53 53 </div> 54 54 <div class="controlsWrap"> 55 55 <ul class="feedListControls expresscurate_preventTextSelection expresscurate_controls "> 56 56 <li class="check"> 57 <span class="tooltip"> select / deselect</span>57 <span class="tooltip"><?php _e('select / deselect'); ?></span> 58 58 </li> 59 59 <br class="first"/> 60 60 <li class="removePermanently expresscurate_floatRight"> 61 <span class="tooltip"> remove</span>61 <span class="tooltip"><?php _e('remove'); ?></span> 62 62 </li> 63 63 <li class="bookmark expresscurate_floatRight"> 64 <span class="tooltip"> bookmark</span>64 <span class="tooltip"><?php _e('bookmark'); ?></span> 65 65 </li> 66 66 <li class="restore expresscurate_floatRight"> 67 <span class="tooltip"> restore</span>67 <span class="tooltip"><?php _e('restore'); ?></span> 68 68 </li> 69 69 <li class="layout expresscurate_floatRight"> 70 70 <span class="tooltip"><?php if (get_option('expresscurate_bookmark_layout', '') == 'single') { 71 echo 'view as grid';71 _e('view as grid'); 72 72 } else { 73 echo 'view as list';73 _e('view as list'); 74 74 } ?></span> 75 75 </li> … … 111 111 <li class="expresscurate_keyword <?php echo $color ?>"><?php echo $keyword; ?> 112 112 <span class="tooltip"> 113 <div class="<?php echo $color ?>"> Keyword match</div>114 <span class="inTitle"> title<p class=""><?php echo $stats['title'] ?></p></span><!--inTitle yes|no-->115 <span class="inContent"> content<p><?php echo $stats['percent'] * 100 ?>%</p></span>113 <div class="<?php echo $color ?>"><?php _e('Keyword match'); ?></div> 114 <span class="inTitle"><?php _e('title'); ?><p class=""><?php echo $stats['title'] ?></p></span><!--inTitle yes|no--> 115 <span class="inContent"><?php _e('content'); ?><p><?php echo $stats['percent'] * 100 ?>%</p></span> 116 116 </span> 117 117 </li> … … 131 131 132 132 <ul class="controls expresscurate_preventTextSelection"> 133 <li class="restore"> Restore In Feed</li>133 <li class="restore"><?php _e('Restore In Feed'); ?></li> 134 134 <li class="separator">-</li> 135 <li class="bookmark"> Bookmark</li>135 <li class="bookmark"><?php _e('Bookmark'); ?></li> 136 136 <li class="separator">-</li> 137 <li class="permanent_remove"> Remove</li>137 <li class="permanent_remove"><?php _e('Remove'); ?></li> 138 138 139 139 </ul> 140 140 <div class="expresscurate_clear"></div> 141 <!--<span class="label label_<?php /*echo $item['type'] */ ?>"><?php /*echo $item['type'] */ ?></span>-->142 141 </li> 143 142 … … 146 145 ?><?php 147 146 } ?> 148 <label class="expresscurate_notDefined expresscurate_displayNone"> Your content feed is149 empty. <?php echo (strlen(get_option('expresscurate_links_rss', '')) > 2) ? '' : 'Configure<a150 href="admin.php?page=expresscurate_feeds"> RSS feeds</a>to151 start.' ; ?></label>147 <label class="expresscurate_notDefined expresscurate_displayNone"><?php _e('Your content feed is 148 empty. '); echo (strlen(get_option('expresscurate_links_rss', '')) > 2) ? '' : _e('Configure'); ?> <a 149 href="admin.php?page=expresscurate_feeds"><?php _e('RSS feeds'); ?></a> <?php _e('to 150 start.'); ?></label> 152 151 </ul> 153 152 <form method="POST" action="<?php echo get_admin_url() ?>post-new.php#expresscurate_sources_collection" -
expresscurate/trunk/templates/dashboard.php
r1191825 r1319447 20 20 <div class="expresscurate_blocks expresscurate_Styles wrap"> 21 21 <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular"> 22 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"> Suggestions?23 <span>Submit here!</span></a>22 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? 23 '); ?><span><?php _e('Submit here!'); ?></span></a> 24 24 25 <h2> ExpressCurate</h2>25 <h2><?php _e('ExpressCurate'); ?></h2> 26 26 </div> 27 27 <div class="expresscurate_blocksContainer expresscurate_masonryWrap"> … … 38 38 if ($ordered_item == "welcome"): 39 39 echo '<div id="welcome" class="expresscurate_welcomeBlock expresscurate_masonryItem"> 40 <label class="label"> Welcome to ExpressCurate!</label>';40 <label class="label">' . __('Welcome to ExpressCurate!') . '</label>'; 41 41 $this->welcome_widget(); 42 42 echo '</div>'; … … 44 44 if ($ordered_item == "keyWords"): 45 45 echo '<div id="keyWords" class="expresscurate_keywordsBlock expresscurate_masonryItem"> 46 <label class="label"> Keywords Summary</label>';46 <label class="label">' . __('Keywords Summary') . '</label>'; 47 47 $this->keywords_widget(); 48 48 echo '</div>'; … … 50 50 if ($ordered_item == "keyWordsIntOverTime"): 51 51 echo '<div id="keyWordsIntOverTime" class="expresscurate_keywordsBlock expresscurate_masonryItem"> 52 <label class="label"> Keywords Interest Over Time</label>';52 <label class="label">' . __('Keywords Interest Over Time') . '</label>'; 53 53 $this->keywords_interest_over_time_widget(); 54 54 echo '</div>'; … … 56 56 if ($ordered_item == "keyWordsRelTopics"): 57 57 echo '<div id="keyWordsRelTopics" class="expresscurate_keywordsBlock expresscurate_masonryItem"> 58 <label class="label"> Keywords Related Topics</label>';58 <label class="label">' . __('Keywords Related Topics') . '</label>'; 59 59 $this->keywords_related_topics_widget(); 60 60 echo '</div>'; … … 63 63 if (get_option('expresscurate_publish', '') == "on") { 64 64 echo '<div id="smartPublish" class="expresscurate_smartPublishBlock expresscurate_masonryItem"> 65 <label class="label"> Smart Publishing Overview</label>';65 <label class="label">' . __('Smart Publishing Overview') . '</label>'; 66 66 $this->smart_publishing_widget(); 67 67 echo '</div>'; … … 71 71 if (get_option('expresscurate_social_publishing', '') == "on" && strlen(get_option('expresscurate_buffer_access_token')) > 2) { 72 72 echo '<div id="socialPublish" class="expresscurate_socialPublishBlock expresscurate_masonryItem"> 73 <label class="label"> Social Publishing Overview</label>';73 <label class="label">' . __('Social Publishing Overview') . '</label>'; 74 74 $this->social_publishing_widget(); 75 75 echo '</div>'; … … 78 78 if ($ordered_item == "feedWidget"): 79 79 echo '<div id="feedWidget" class="expresscurate_feedBlock expresscurate_masonryItem"> 80 <label class="label"> Feed</label>';80 <label class="label">' . __('Feed') . '</label>'; 81 81 $this->feed_widget(); 82 82 echo '</div>'; … … 84 84 if ($ordered_item == "bookmarks"): 85 85 echo '<div id="bookmarks" class="expresscurate_bookmarksBlock expresscurate_masonryItem"> 86 <label class="label"> Bookmarks</label>';86 <label class="label">' . __('Bookmarks') . '</label>'; 87 87 $this->bookmarks_widget(); 88 88 echo '</div>'; … … 90 90 if ($ordered_item == "support"): 91 91 echo '<div id="support" class="expresscurate_supportBlock expresscurate_masonryItem"> 92 <label class="label"> Support</label><div>';92 <label class="label">' . __('Support') . '</label><div>'; 93 93 if (!$sent) { 94 echo '<label for="expresscurate_support_email"> Leave your feedback</label>';94 echo '<label for="expresscurate_support_email">' . __('Leave your feedback') . '</label>'; 95 95 } else { 96 echo '<label for="expresscurate_support_email"> Thanks for your feedback</label>';96 echo '<label for="expresscurate_support_email">' . __('Thanks for your feedback') . '</label>'; 97 97 } 98 98 echo '<form method="post" action="' . get_admin_url() . 'admin.php?page=expresscurate" -
expresscurate/trunk/templates/dialog.php
r1162493 r1319447 16 16 id="expresscurate_clone_source" name="expresscurate_source" 17 17 value="<?php echo @get_post_meta($post->ID, 'expresscurate_source', true); ?>"> 18 <button class="load" id="expresscurate_submit"> Load</button>19 <button class="load expresscurate_displayNone" id="expresscurate_clone"> Clone</button>18 <button class="load" id="expresscurate_submit"><?php _e('Load'); ?></button> 19 <button class="load expresscurate_displayNone" id="expresscurate_clone"><?php _e('Clone') ?></button> 20 20 </div> 21 21 <div class="title"> … … 32 32 <div class="sizeX active"> 33 33 <div class="tooltipWrap"> 34 <span> Large size</span>34 <span><?php _e('Large size'); ?></span> 35 35 </div> 36 36 </div> 37 37 <div class="sizeM"> 38 38 <div class="tooltipWrap"> 39 <span> Middle size</span>39 <span><?php _e('Middle size'); ?></span> 40 40 </div> 41 41 </div> 42 42 <div class="sizeS"> 43 43 <div class="tooltipWrap"> 44 <span> Small size</span>44 <span><?php _e('Small size'); ?></span> 45 45 </div> 46 46 </div> … … 48 48 <div class="prevImg prev"> 49 49 <div class="tooltipWrap"> 50 <span> Previous</span>50 <span><?php _e('Previous'); ?></span> 51 51 </div> 52 52 </div> 53 53 <div class="nextImg next"> 54 54 <div class="tooltipWrap"> 55 <span> Next</span>55 <span><?php _e('Next'); ?></span> 56 56 </div> 57 57 </div> … … 59 59 <div class="alignleft imgAlign"> 60 60 <div class="tooltipWrap"> 61 <span> Align left</span>61 <span><?php _e('Align left'); ?></span> 62 62 </div> 63 63 </div> 64 64 <div class="alignnone active imgAlign"> 65 65 <div class="tooltipWrap"> 66 <span> Fit to center</span>66 <span><?php _e('Fit to center'); ?></span> 67 67 </div> 68 68 </div> 69 69 <div class="alignright imgAlign"> 70 70 <div class="tooltipWrap"> 71 <span> Align right</span>71 <span><?php _e('Align right') ?></span> 72 72 </div> 73 73 </div> … … 113 113 <ul class="labels" id="curated_tags"> 114 114 <li class="markButton expresscurate_displayNone expresscurate_preventTextSelection"> 115 <span> mark keywords</span></li>115 <span><?php _e('mark keywords'); ?></span></li> 116 116 </ul> 117 117 <div class="clear"></div> … … 158 158 </script> 159 159 <script type="text/html" id="tmpl-dialogMarkButton"> 160 <li class="markButton expresscurate_preventTextSelection"><span> mark keywords</span></li>160 <li class="markButton expresscurate_preventTextSelection"><span><?php _e('mark keywords'); ?></span></li> 161 161 </script> 162 162 <script type="text/html" id="tmpl-dialogInsertTags"> … … 166 166 <script type="text/html" id="tmpl-dialogSearchParagraphs"> 167 167 <li class="expresscurate_preventTextSelection expresscurate_dialog_shortPar expresscurate_shortParInactiveColor"> 168 <label> Short Paragraphs</label>168 <label><?php _e('Short Paragraphs'); ?></label> 169 169 <span class="shortPButton shortPButtonInactive"><span></span></span> 170 170 </li> … … 181 181 </script> 182 182 <script type="text/html" id="tmpl-dialogCuratedDescription"> 183 <li id="curated_description" title="{{data}}"> Description</li>183 <li id="curated_description" title="{{data}}"><?php _e('Description'); ?></li> 184 184 </script> 185 185 <script type="text/html" id="tmpl-socialPostDialog"> -
expresscurate/trunk/templates/faq.php
r1191825 r1319447 21 21 <div class="expresscurate_faq wrap"> 22 22 <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular"> 23 <h2>FAQ</h2> 24 <!--<label>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sagittis nulla lectus,</label>--> 23 <h2><?php _e('FAQ'); ?></h2> 25 24 </div> 26 <h2 class="expresscurate_displayNone"> FAQ</h2>25 <h2 class="expresscurate_displayNone"><?php _e('FAQ'); ?></h2> 27 26 28 27 <div> … … 43 42 <div class="inlineBlock"> 44 43 <a class="questionBox moreQuestions" href="http://news.expresscurate.com/category/faq/" 45 target="_blank"><span> More questions</span></a>44 target="_blank"><span><?php _e('More questions'); ?></span></a> 46 45 </div> 47 46 <?php } else { … … 49 48 <div class="inlineBlock"> 50 49 <a class="questionBox moreQuestions" href="http://news.expresscurate.com/category/faq/" 51 target="_blank"><span> Visit our faq blog</span></a>50 target="_blank"><span><?php _e('Visit our faq blog'); ?></span></a> 52 51 </div> 53 52 <?php } … … 56 55 <div class="block"> 57 56 <?php if (!$sent) { ?> 58 <label for="expresscurate_support_email"> Ask a question</label>57 <label for="expresscurate_support_email"><?php _e('Ask a question'); ?></label> 59 58 <?php 60 59 } else { 61 60 ?> 62 <label for="expresscurate_support_email"> Your question has been sent</label>61 <label for="expresscurate_support_email"><?php _e('Your question has been sent'); ?></label> 63 62 <?php 64 63 } … … 69 68 placeholder="Email" 70 69 value="<?php echo $user_email ?>"/> 71 <span> Please make sure to provide a working email address so that we can respond back to your support issue.</span>70 <span><?php _e('Please make sure to provide a working email address so that we can respond back to your support issue.'); ?></span> 72 71 <span id="expresscurate_support_email_validation" class="expresscurate_errorMessage"></span> 73 72 </div> … … 77 76 <span id="expresscurate_support_message_validation" class="expresscurate_errorMessage"></span> 78 77 </div> 79 <a class="askButton send greenBackground" href="#"> Ask</a>78 <a class="askButton send greenBackground" href="#"><?php _e('Ask'); ?></a> 80 79 </form> 81 80 </div> -
expresscurate/trunk/templates/feed_dashboard.php
r1252098 r1319447 7 7 <div class="expresscurate_feed_dashboard expresscurate_Styles wrap"> 8 8 <div class="expresscurate_headBorderBottom expresscurate_headerPart expresscurate_OpenSansRegular"> 9 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"> Suggestions? <span>Submit here!</span></a>9 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?><span><?php _e('Submit here!'); ?></span></a> 10 10 11 <h2> RSS Feeds</h2>11 <h2><?php _e('RSS Feeds'); ?></h2> 12 12 13 13 <div class="pageDesc"> 14 Manage RSS feeds to customize the content that gets delivered to your ExpressCurate Content Feed. 14 <?php _e('Manage RSS feeds to customize the content that gets delivered to your ExpressCurate Content Feed.'); ?> 15 15 </div> 16 16 </div> 17 17 <div class="expresscurate_content_wrapper whiteWrap"> 18 18 <ul class="expresscurate_columnsName"> 19 <li class="mainTitle"> RSS feeds</li>20 <li class="title expresscurate_floatRight"> # of curated posts</li>19 <li class="mainTitle"><?php _e('RSS feeds'); ?></li> 20 <li class="title expresscurate_floatRight"><?php _e('# of curated posts'); ?></li> 21 21 </ul> 22 <label class="expresscurate_displayNone expresscurate_notDefined"> There is no enough data</label>22 <label class="expresscurate_displayNone expresscurate_notDefined"><?php _e('There is no enough data'); ?></label> 23 23 <ul class="expresscurate_feedSettingsList"> 24 24 <?php … … 39 39 </ul> 40 40 <div class="addNewFeed"> 41 <label for="addFeed "> Add RSS feed</label>41 <label for="addFeed "><?php _e('Add RSS feed'); ?></label> 42 42 43 43 <div class="addFeed"> -
expresscurate/trunk/templates/feed_list.php
r1252098 r1319447 47 47 } ?>"> 48 48 <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular"> 49 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"> Suggestions? <span>Submit here!</span></a>50 51 <h2> Content Feed</h2>49 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?><span><?php _e('Submit here!'); ?></span></a> 50 51 <h2><?php _e('Content Feed'); ?></h2> 52 52 53 53 <div class="pageDesc"> 54 Content Feed brings content from your RSS feeds directly into ExpressCurate, providing you a convenient54 <?php _e('Content Feed brings content from your RSS feeds directly into ExpressCurate, providing you a convenient 55 55 starting point 56 56 for writing your curated posts. Pick an article (or multiple articles) and click on the curate button to 57 create a post. 57 create a post.'); ?> 58 58 </div> 59 59 <div class="controlsWrap"> 60 60 <ul class="feedListControls expresscurate_preventTextSelection expresscurate_controls "> 61 61 <li class="check"> 62 <span class="tooltip"> select / deselect</span>62 <span class="tooltip"><?php _e('select / deselect'); ?></span> 63 63 </li> 64 64 <select name="expresscurate_keywordFilter" id="expresscurate_keywordFilter"> 65 <option value="none" selected> Fillter by keyword</option>65 <option value="none" selected><?php _e('Fillter by keyword'); ?></option> 66 66 <?php foreach($keywords as $keyword){ ?> 67 67 <option class="expresscurate_filterOption" value="<?php echo $keyword; ?>"><?php echo $keyword; ?></option> … … 70 70 <br class="second"/> 71 71 <select name="expresscurate_blogFilter" id="expresscurate_blogFilter"> 72 <option value="none" selected> Filter by blog</option>72 <option value="none" selected><?php _e('Filter by blog'); ?></option> 73 73 <?php foreach($domains as $domain){ ?> 74 74 <option class="expresscurate_filterOption" value="<?php echo $domain; ?>"><?php echo $domain; ?></option> … … 77 77 <br class="first"/> 78 78 <li class="remove expresscurate_floatRight"> 79 <span class="tooltip"> delete</span>79 <span class="tooltip"><?php _e('delete'); ?></span> 80 80 </li> 81 81 <li class="bookmark expresscurate_floatRight"> 82 <span class="tooltip"> bookmark</span>82 <span class="tooltip"><?php _e('bookmark'); ?></span> 83 83 </li> 84 84 <li class="quotes expresscurate_floatRight"> 85 <span class="tooltip"> curate</span>85 <span class="tooltip"><?php _e('curate'); ?></span> 86 86 </li> 87 87 <br class="second"/> 88 88 <?php if (strlen(get_option('expresscurate_links_rss', '')) > 2) { ?> 89 89 <li class="pull active expresscurate_floatRight"> 90 <span class="tooltip"> pull</span>90 <span class="tooltip"><?php _e('pull'); ?></span> 91 91 <span class="loading"></span> 92 92 </li> 93 93 <li class="pullTime active expresscurate_floatRight"> 94 next update:94 <?php _e('next update:'); ?> 95 95 <p>in <?php echo $nextPullTime; ?></p> 96 96 </li> … … 99 99 <a href="?page=expresscurate_content_feed_archive"> 100 100 <li class="linkToDeletedPosts expresscurate_floatRight"> 101 <span class="tooltip"> Content Feed Archive</span>101 <span class="tooltip"><?php _e('Content Feed Archive'); ?></span> 102 102 </li> 103 103 </a> … … 105 105 <li class="layout expresscurate_floatRight"> 106 106 <span class="tooltip"><?php if (get_option('expresscurate_bookmark_layout', '') == 'single') { 107 echo 'view as grid';107 _e('view as grid'); 108 108 } else { 109 echo 'view as list';109 _e('view as list'); 110 110 } ?></span> 111 111 </li> … … 148 148 <li class="expresscurate_keyword <?php echo $color ?>"><?php echo $keyword; ?> 149 149 <span class="tooltip"> 150 <div class="<?php echo $color ?>"> Keyword match</div>150 <div class="<?php echo $color ?>"><?php _e('Keyword match'); ?></div> 151 151 <span class="inTitle">title<p class=""><?php echo $stats['title'] ?></p></span><!--inTitle yes|no--> 152 152 <span class="inContent">content<p><?php echo $stats['percent'] * 100 ?>%</p></span> … … 175 175 if (get_option('expresscurate_social_publishing', '') == "on" && strlen(get_option('expresscurate_buffer_access_token')) > 2) { 176 176 ?> 177 <li class="share"> Share</li>177 <li class="share"><?php _e('Share '); ?></li> 178 178 <li class="separator">-</li> 179 179 <?php } ?> 180 <li class="bookmark"> Bookmark</li>180 <li class="bookmark"><?php _e('Bookmark') ?></li> 181 181 <li class="separator">-</li> 182 <li class="hide"> Delete</li>182 <li class="hide"><?php _e('Delete'); ?></li> 183 183 184 184 </ul> 185 185 <div class="expresscurate_clear"></div> 186 <!--<span class="label label_<?php /*echo $item['type'] */ ?>"><?php /*echo $item['type'] */ ?></span>-->187 186 </li> 188 187 -
expresscurate/trunk/templates/keywords.php
r1137344 r1319447 8 8 <input type="hidden" id="expresscurate_plugin_dir" value="<?php echo plugin_dir_url(__FILE__); ?>"/> 9 9 <label>Keywords Dashboard</label> 10 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"> Suggestions?11 <span> Submit here!</span></a>10 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?> 11 <span><?php _e('Submit here!'); ?></span></a> 12 12 <br/> 13 <label class="pageDescription pageDesc"> Monitor and manage keyword utilization in your blog.</label>13 <label class="pageDescription pageDesc"><?php _e('Monitor and manage keyword utilization in your blog.') ?></label> 14 14 15 15 <div class="expresscurate_clear"></div> … … 18 18 <div class="keywordsPart"> 19 19 <div> 20 <label class="blockTitle expresscurate_color_lightGreen"> Keywords</label>21 <label class="colTitle expresscurate_margin30 expresscurate_floatRight"> # of posts</label>22 <label class="colTitle expresscurate_margin15 expresscurate_floatRight"> in content</label>23 <label class="colTitle expresscurate_margin30 expresscurate_floatRight"> in title</label>20 <label class="blockTitle expresscurate_color_lightGreen"><?php _e('Keywords'); ?></label> 21 <label class="colTitle expresscurate_margin30 expresscurate_floatRight"><?php _e('# of posts'); ?></label> 22 <label class="colTitle expresscurate_margin15 expresscurate_floatRight"><?php _e('in content'); ?></label> 23 <label class="colTitle expresscurate_margin30 expresscurate_floatRight"><?php _e('in title'); ?></label> 24 24 25 25 <div class="expresscurate_clear"></div> 26 <label class="expresscurate_displayNone expresscurate_notDefined"> Add your keywords in the box27 below. </label>26 <label class="expresscurate_displayNone expresscurate_notDefined"><?php _e('Add your keywords in the box 27 below.'); ?></label> 28 28 <ul> 29 29 <?php … … 50 50 <div class="legend expresscurate_floatLeft"> 51 51 <span id="blue" class="expresscurate_blue"></span> 52 <label for="blue"><3%<span> Usage is low</span></label>52 <label for="blue"><3%<span><?php _e('Usage is low'); ?></span></label> 53 53 <span id="green" class="expresscurate_green"></span> 54 <label for="green">3-5% <span> Usage is good</span></label>54 <label for="green">3-5% <span><?php _e('Usage is good'); ?></span></label> 55 55 <span id="red" class="expresscurate_red"></span> 56 <label for="red">>5%<span> Too many occurances</span></label>56 <label for="red">>5%<span><?php _e('Too many occurances'); ?></span></label> 57 57 </div> 58 <a href="https://www.google.com/alerts" class="googleAlert expresscurateLink expresscurate_floatRight"> Create59 Google Alert </a>58 <a href="https://www.google.com/alerts" class="googleAlert expresscurateLink expresscurate_floatRight"><?php _e('Create 59 Google Alert'); ?></a> 60 60 61 61 <div class="expresscurate_clear"></div> 62 62 <div class="addNewKeyword"> 63 <label for="addKeyword"> Add new keyword</label>63 <label for="addKeyword"><?php _e('Add new keyword'); ?></label> 64 64 <textarea id="expresscurate_defined_tags" class="expresscurate_displayNone" 65 65 name="expresscurate_defined_tags"><?php echo get_option('expresscurate_defined_tags', '') ?> </textarea> … … 74 74 <p class="expresscurate_errorMessage"></p> 75 75 <div class="expresscurate_clear"></div> 76 <p><span> Recommendation:</span>avoid using stop words like: </br>76 <p><span><?php _e('Recommendation: '); ?></span>avoid using stop words like: </br> 77 77 ain’t, all, is, at, on, which, etc. </p> 78 78 </div> 79 79 </div> 80 80 <div class="usedWordsPart"> 81 <label class="blockTitle"> Top words</label>81 <label class="blockTitle"><?php _e('Top words'); ?></label> 82 82 83 83 <div class="expresscurate_clear"></div> 84 <div class="expresscurate_topWordsDesc"> List of most frequently used words in your blog. Pick the “+” sign85 to turn them into target keywords. 84 <div class="expresscurate_topWordsDesc"><?php _e('List of most frequently used words in your blog. Pick the “+” sign 85 to turn them into target keywords.'); ?> 86 86 </div> 87 87 88 <label class="colTitle expresscurate_margin35 expresscurate_floatRight"> in content</label>89 <label class="colTitle expresscurate_margin35 expresscurate_floatRight"> in title</label>90 <label class="expresscurate_displayNone expresscurate_notDefined"> There is no top words data at this time.91 Please check again later. </label>88 <label class="colTitle expresscurate_margin35 expresscurate_floatRight"><?php _e('in content'); ?></label> 89 <label class="colTitle expresscurate_margin35 expresscurate_floatRight"><?php _e('in title'); ?></label> 90 <label class="expresscurate_displayNone expresscurate_notDefined"><?php _e('There is no top words data at this time. 91 Please check again later.'); ?></label> 92 92 <ul> 93 93 <?php -
expresscurate/trunk/templates/news.php
r1137344 r1319447 1 1 <div class="expresscurate_Styles wrap "> 2 2 <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular"> 3 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"> Suggestions? <span>Submit here!</span></a>3 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?><span><?php _e('Submit here!'); ?></span></a> 4 4 <h2>News</h2> 5 5 </div> -
expresscurate/trunk/templates/settings.php
r1252098 r1319447 1 1 <div class="expresscurate expresscurate_Styles expresscurate_settings wrap"> 2 2 <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular"> 3 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"> Suggestions?4 <span> Submit here!</span></a>5 6 <h2> Settings</h2>3 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions?'); ?> 4 <span><?php _e('Submit here!'); ?></span></a> 5 6 <h2><?php _e('Settings'); ?></h2> 7 7 </div> 8 <h2 class="expresscurate_displayNone"> Settings</h2>8 <h2 class="expresscurate_displayNone"><?php _e('Settings'); ?></h2> 9 9 <?php 10 10 $expresscurate_seo = get_option('expresscurate_seo', '') == "on" ? 'On' : 'Off'; 11 11 ?> 12 12 <ul class="tabs" data-currenttab="<?php echo $_SESSION['settings_current_tab'] ?>"> 13 <li class="tab-link expresscurate_preventTextSelection green current" data-tab="tab-1"> General</li>14 <li class="tab-link expresscurate_preventTextSelection orange" data-tab="tab-5"> Feed</li>15 <li class="tab-link expresscurate_preventTextSelection red" data-tab="tab-2"> Smart publishing</li>13 <li class="tab-link expresscurate_preventTextSelection green current" data-tab="tab-1"><?php _e('General'); ?></li> 14 <li class="tab-link expresscurate_preventTextSelection orange" data-tab="tab-5"><?php _e('Feed'); ?></li> 15 <li class="tab-link expresscurate_preventTextSelection red" data-tab="tab-2"><?php _e('Smart publishing'); ?></li> 16 16 <li id="sitemapTab" 17 17 class="tab-link expresscurate_preventTextSelection blue <?php if ($expresscurate_seo == 'Off') { … … 21 21 data-tab="tab-3">Sitemap 22 22 </li> 23 <li class="tab-link expresscurate_preventTextSelection yellow" data-tab="tab-4"> Extension</li>23 <li class="tab-link expresscurate_preventTextSelection yellow" data-tab="tab-4"><?php _e('Extension'); ?></li> 24 24 </ul> 25 25 … … 31 31 <ul> 32 32 <li> 33 <div class="title"> Image Placement33 <div class="title"><?php _e('Image Placement'); ?> 34 34 <div class="description"> 35 There are two options for placing the images (picked from the original article) in your36 curated post: 35 <?php _e('There are two options for placing the images (picked from the original article) in your 36 curated post:'); ?> 37 37 <ol> 38 <li> Featured. The image will be placed above the title, at the very top of your38 <li><?php _e('Featured. The image will be placed above the title, at the very top of your 39 39 post. This will give 40 your image a more prominent look. 40 your image a more prominent look.'); ?> 41 41 </li> 42 <li> Standard. The image will be placed below the title and category. This option42 <li><?php _e('Standard. The image will be placed below the title and category. This option 43 43 will focus your 44 viewer 's attention more on the title and less on the image.44 viewer\'s attention more on the title and less on the image.'); ?> 45 45 </li> 46 46 </ol> … … 66 66 </li> 67 67 <li> 68 <label for="expresscurate_curated_text" class="title"> Attribution Text For Original Article Link<span68 <label for="expresscurate_curated_text" class="title"><?php _e('Attribution Text For Original Article Link<span 69 69 class="description">Type in the prefix text for attributing the original article link. 70 70 It will show up at the bottom of your curated post. For example, if you type "Curated from" 71 in the box below and you curate from google.com, "Curated from google.com" will appear at the bottom of your post .</span>71 in the box below and you curate from google.com, "Curated from google.com" will appear at the bottom of your post'); ?>.</span> 72 72 </label> 73 73 <input type="text" class="controls" id="expresscurate_curated_text" value="<?php … … 80 80 </li> 81 81 <li> 82 <p class="title"> Open Original Article Link in a New Window/Tab<span scope="row"83 class="description "> 84 Select "Yes" if you want the original article link to be opened in a New Window/Tab. Select "No" if you want the link to be opened in the Same Window/Tab (default behavior). 82 <p class="title"><?php _e('Open Original Article Link in a New Window/Tab'); ?><span scope="row" 83 class="description "><?php _e(' 84 Select "Yes" if you want the original article link to be opened in a New Window/Tab. Select "No" if you want the link to be opened in the Same Window/Tab (default behavior).'); ?> 85 85 </span></p> 86 86 … … 95 95 </li> 96 96 <li> 97 <label for="expresscurate_max_tags" class="title"> Max Number of Auto-suggested Tags<span98 class="description"> The recommended value is 3.<br/>99 <span> ExpressCurate can auto-suggest tags for your post. It is based on the keywords and tags defined in your prior WordPress blogs. Enter the max number of auto-suggested tags you would like to have in each curated posts.</span>97 <label for="expresscurate_max_tags" class="title"><?php _e('Max Number of Auto-suggested Tags');?><span 98 class="description"> <?php _e('The recommended value is 3.'); ?><br/> 99 <span><?php _e('ExpressCurate can auto-suggest tags for your post. It is based on the keywords and tags defined in your prior WordPress blogs. Enter the max number of auto-suggested tags you would like to have in each curated posts.'); ?></span> 100 100 </label> 101 101 <input type="text" id="expresscurate_max_tags" class="controls" value="<?php … … 110 110 </li> 111 111 <li> 112 <label for="expresscurate_autosummary" class="title"> Number of Curated Paragraphs<span113 class="description "> Pick the number of paragraphs to be inserted from the original article into your post.</span>114 <br/><span> The default value is 5</span></label>112 <label for="expresscurate_autosummary" class="title"><?php _e('Number of Curated Paragraphs'); ?><span 113 class="description "><?php _e('Pick the number of paragraphs to be inserted from the original article into your post.'); ?></span> 114 <br/><span> <?php _e('The default value is 5');?></span></label> 115 115 <input type="text" id="expresscurate_autosummary" class="controls" value="<?php 116 116 $autosummary = get_option('expresscurate_autosummary'); … … 124 124 </li> 125 125 <li> 126 <p class="title"> Enable ExpressCurate Blockquote<span class="description ">127 Select "Yes" to use ExpressCurate blockquote for marking the original content quote. Select "No" if you are already using a theme that has a good enough quote style and ExpressCurate won't override it.126 <p class="title"><?php _e('Enable ExpressCurate Blockquote'); ?><span class="description "> 127 <?php _e('Select "Yes" to use ExpressCurate blockquote for marking the original content quote. Select "No" if you are already using a theme that has a good enough quote style and ExpressCurate won\'t override it.');?> 128 128 </span></p> 129 129 <input class="expresscurate_displayNone" type="checkbox" id="quotes_style" … … 136 136 </li> 137 137 <li> 138 <p class="title"> SEO Enhancements<span scope="row" class="description ">139 Click on "Yes" to enable ExpressCurate SEO enhancements for your curated post.138 <p class="title"><?php _e('SEO Enhancements'); ?><span scope="row" class="description "> 139 <?php _e('Click on "Yes" to enable ExpressCurate SEO enhancements for your curated post.'); ?> 140 140 </span></p> 141 141 … … 154 154 } 155 155 ?> />"> 156 <label for="expresscurate_publusher" class="title"> Publisher (Google+)<span157 class="description "> You can link content you publish on this blog to your company or personal Google+ profile.158 <a href="https://plus.google.com/authorship" target="_blank"> More Info</a>.</label></span>156 <label for="expresscurate_publusher" class="title"><?php _e('Publisher (Google+)'); ?><span 157 class="description "><?php _e('You can link content you publish on this blog to your company or personal Google+ profile.'); ?> 158 <a href="https://plus.google.com/authorship" target="_blank"><?php _e('More Info'); ?></a>.</label></span> 159 159 160 160 <input class="controls" type="text" id="expresscurate_publusher" size="50" value="<?php … … 167 167 <a class="expresscurateLink verifyPublisherLink expresscurate_marginleft10" 168 168 href="http://www.google.com/webmasters/tools/richsnippets?url=<?php echo bloginfo('url') ?>&user_profile=<?php echo get_option('expresscurate_publisher'); ?>" 169 target="_blank"> Verify publisher</a>169 target="_blank"><?php _e('Verify publisher'); ?></a> 170 170 <br/> 171 <label for="expresscurate_publisher_twitter" class="title"> Publisher (Twitter)<span172 class="description "> You can link content you publish on this blog to your company or personal Twitter profile.173 <a href="https://plus.google.com/authorship" target="_blank"> More Info</a>.</label></span>171 <label for="expresscurate_publisher_twitter" class="title"><?php _e('Publisher (Twitter)'); ?><span 172 class="description "><?php _e('You can link content you publish on this blog to your company or personal Twitter profile.'); ?> 173 <a href="https://plus.google.com/authorship" target="_blank"><?php _e('More Info'); ?></a>.</label></span> 174 174 175 175 <input class="controls" type="text" id="expresscurate_publisher_twitter" size="50" … … 183 183 184 184 <br/> 185 <label for="expresscurate_publisher_facebook" class="title"> Publisher (Facebook)<span186 class="description "> You can link content you publish on this blog to your company or personal Facebook profile.185 <label for="expresscurate_publisher_facebook" class="title"><?php _e('Publisher (Facebook)'); ?><span 186 class="description "><?php _e('You can link content you publish on this blog to your company or personal Facebook profile.');?> 187 187 <a href="https://plus.google.com/authorship" target="_blank">More Info</a>.</label></span> 188 188 … … 198 198 </li> 199 199 <li> 200 <p class="title"> Auto Hashtagging<span class="description ">201 Transform words starting with # into tags and add # to the words previously defined as tags.200 <p class="title"><?php _e('Auto Hashtagging'); ?><span class="description "> 201 <?php _e('Transform words starting with # into tags and add # to the words previously defined as tags.'); ?> 202 202 </span></p> 203 203 <?php … … 213 213 </li> 214 214 <li> 215 <p class="title"> Your Keyword Tags<span class="description ">216 Enter your target keywords that you want to be tagged in the post. Multiple keywords need to be separated by commas.217 <br/> When this list is defined, ExpressCurate will look for these words in curated content and try to tag them in the article, as well as create links from these keywords that show up on tag's page.</span>215 <p class="title"><?php _e('Your Keyword Tags'); ?><span class="description "> 216 <?php _e('Enter your target keywords that you want to be tagged in the post. Multiple keywords need to be separated by commas.'); ?> 217 <br/><?php _e('When this list is defined, ExpressCurate will look for these words in curated content and try to tag them in the article, as well as create links from these keywords that show up on tag\'s page.'); ?></span> 218 218 </p> 219 <a class="expresscurateLink" href="admin.php?page=expresscurate_keywords"> Keywords Dashboard</a>219 <a class="expresscurateLink" href="admin.php?page=expresscurate_keywords"><?php _e('Keywords Dashboard'); ?></a> 220 220 </li> 221 221 <!-- Number of posts --> 222 222 <li> 223 <p class="title"> Keyword Statistics.223 <p class="title"> <?php _e('Keyword Statistics.'); ?> 224 224 <span class="description"> 225 225 Generates comprehensive keyword statistics for the last <?php echo(get_option('expresscurate_posts_number') ? get_option('expresscurate_posts_number') : 100); ?> … … 250 250 <ul> 251 251 <li> 252 <p class="title"> Smart publishing</p>252 <p class="title"><?php _e('Smart publishing '); ?></p> 253 253 <input class="expresscurate_displayNone" type="checkbox" id="expresscurate_publish" 254 254 name="expresscurate_publish" <?php … … 266 266 <div id="smartPublishingWrap" class="<?php echo $show_interval; ?>"> 267 267 268 <p class="title"> Manually approve posts for smart publishing</p>268 <p class="title"><?php _e('Manually approve posts for smart publishing'); ?></p> 269 269 <?php 270 270 $expresscurate_manually_approve_smart = get_option('expresscurate_manually_approve_smart', '') == 'On' ? 'On' : 'Off'; … … 281 281 <br/> 282 282 283 <p class="title" for="expresscurate_hours_interval"> Publish draft284 articles </p>283 <p class="title" for="expresscurate_hours_interval"><?php _e('Publish draft 284 articles'); ?></p> 285 285 286 286 <select class="controls" id="expresscurate_hours_interval" … … 320 320 </li> 321 321 <li> 322 <p class="title"> Social publishing</p>322 <p class="title"><?php _e('Social publishing '); ?></p> 323 323 <input class="expresscurate_displayNone" type="checkbox" id="expresscurate_social_publishing" 324 324 name="expresscurate_social_publishing" <?php … … 402 402 <ul> 403 403 <li> 404 <p class="title"> Default Category for Curated Posts<span class="description ">Please pick a default category for your curated posts from the list below. This will prevent a default "Uncategorized" being assigned to your post automatically.</span>404 <p class="title"><?php _e('Default Category for Curated Posts'); ?><span class="description "><?php _e('Please pick a default category for your curated posts from the list below. This will prevent a default "Uncategorized" being assigned to your post automatically.'); ?></span> 405 405 </p> 406 406 … … 436 436 </li> 437 437 <li> 438 <p class="title"> Post type for ExpressCurate Chrome Extension<span class="description ">Please pick a post type for your curated posts from the list below. This will allow custom post types when curating with ExpressCurate Chrome Extension.</span>438 <p class="title"><?php _e('Post type for ExpressCurate Chrome Extension'); ?><span class="description "><?php _e('Please pick a post type for your curated posts from the list below. This will allow custom post types when curating with ExpressCurate Chrome Extension.'); ?></span> 439 439 </p> 440 440 … … 471 471 </li> 472 472 <li> 473 <p class="title"> Publishing Directly from ExpressCurate Chrome Extension<span474 class="description "> This setting gives you an option to save your curated post as a draft or publish it when you click on the "Curate" button on ExpressCurate Chrome extension.</span>473 <p class="title"><?php _e('Publishing Directly from ExpressCurate Chrome Extension'); ?><span 474 class="description "><?php _e('This setting gives you an option to save your curated post as a draft or publish it when you click on the "Curate" button on ExpressCurate Chrome extension.'); ?></span> 475 475 </p> 476 476 … … 493 493 ?> /> 494 494 <label class="controls expresscurate_radioLabel" for="expresscurate_post_draft"> 495 Draft</label>495 <?php _e('Draft'); ?> </label> 496 496 </div> 497 497 </li> … … 511 511 <li> 512 512 <div class="title"> 513 Content Pull Frequency 513 <?php _e('Content Pull Frequency'); ?> 514 514 <div class="description"> 515 How frequently should ExpressCurate pull content (from RSS feeds, Alerts, etc) into your 516 <a href="#"> Content Feed</a>?515 <?php _e('How frequently should ExpressCurate pull content (from RSS feeds, Alerts, etc) into your'); ?> 516 <a href="#"><?php _e('Content Feed'); ?></a>? 517 517 </div> 518 518 </div> … … 554 554 <li> 555 555 <div class="title"> 556 Stop Keywords 556 <?php _e('Stop Keywords'); ?> 557 557 <div class="description"> 558 ExpressCurate will filter out the posts that contain any stop keywords. 558 <?php _e(' ExpressCurate will filter out the posts that contain any stop keywords.'); ?> 559 559 </div> 560 560 </div> … … 586 586 <li> 587 587 <div class="title"> 588 Keyword Match Email Alerts 588 <?php _e('Keyword Match Email Alerts'); ?> 589 589 <div class="description"> 590 Would you like to receive email alerts when keyword matches are found in your<a591 href="#"> Content Feed</a>?590 <?php _e('Would you like to receive email alerts when keyword matches are found in your '); ?><a 591 href="#"><?php _e('Content Feed'); ?></a>? 592 592 </div> 593 593 </div> … … 600 600 <li> 601 601 <div class="title"> 602 Content Alert Frequency 602 <?php _e('Content Alert Frequency'); ?> 603 603 <div class="description"> 604 How frequently should ExpressCurate send content Alert Emails (from RSS feeds,604 <?php _e('How frequently should ExpressCurate send content Alert Emails (from RSS feeds, 605 605 Alerts, 606 etc) 606 etc)'); ?> 607 607 </div> 608 608 </div> … … 645 645 <li> 646 646 <div class="title"> 647 Users 647 <?php _e('Users'); ?> 648 648 <div class="description"> 649 Define who should get content alerts. 649 <?php _e('Define who should get content alerts.'); ?> 650 650 </div> 651 651 </div> -
expresscurate/trunk/templates/sitemap.php
r1252098 r1319447 13 13 } else { 14 14 echo 'generated'; 15 } ?>" id="submitSiteMap" href="#"> Submit Sitemap<span class="loading"></span></a>15 } ?>" id="submitSiteMap" href="#"><?php _e('Submit Sitemap'); ?><span class="loading"></span></a> 16 16 </div> 17 <a class="generate" id="generateSiteMap" href="#"> Generate Sitemap</a>17 <a class="generate" id="generateSiteMap" href="#"><?php _e('Generate Sitemap'); ?></a> 18 18 </li> 19 19 <br/> 20 20 <li> 21 <p class="title"> Sitemap update frequency<span22 class="description "> How often should the sitemap be updated?</span></p>21 <p class="title"><?php _e('Sitemap update frequency'); ?><span 22 class="description "><?php _e('How often should the sitemap be updated?'); ?></span></p> 23 23 <select class="controls" name="expresscurate_sitemap_generation_interval"> 24 24 <option value="always" <?php … … 50 50 51 51 <li> 52 <p class="title"> Include all new posts in sitemap?<span class="description ">All new posts will be included in your sitemap if this option is enabled</span>52 <p class="title"><?php _e('Include all new posts in sitemap?'); ?><span class="description "><?php _e('All new posts will be included in your sitemap if this option is enabled'); ?></span> 53 53 </p> 54 54 <input class="expresscurate_displayNone" type="checkbox" id="expresscurate_sitemap_include_new_posts" … … 57 57 </li> 58 58 <li> 59 <p class="title"> Include all new pages in sitemap?<span class="description ">All new pages will be included in your sitemap if this option is enabled</span>59 <p class="title"><?php _e('Include all new pages in sitemap?'); ?><span class="description "><?php _e('All new pages will be included in your sitemap if this option is enabled'); ?></span> 60 60 </p> 61 61 <input class="expresscurate_displayNone" type="checkbox" id="expresscurate_sitemap_include_new_pages" … … 90 90 ?> 91 91 <li> 92 <p class="title"> Sitemap manual priority value<span class="description ">Please select the priority for new posts in your sitemap</span>92 <p class="title"><?php _e('Sitemap manual priority value'); ?><span class="description "><?php _e('Please select the priority for new posts in your sitemap'); ?></span> 93 93 </p> 94 94 <select class="controls" id="expresscurate_sitemap_priority_manual_value" … … 104 104 </li> 105 105 <li> 106 <p class="title"> Sitemap default changefreq<span class="description ">Please select the sitemap changefreq value for your new posts</span>106 <p class="title"><?php _e('Sitemap default changefreq'); ?><span class="description "><?php _e('Please select the sitemap changefreq value for your new posts'); ?></span> 107 107 </p> 108 108 <select class="controls" name="expresscurate_sitemap_default_changefreq"> … … 117 117 </li> 118 118 <li> 119 <p class="title"> Sitemap archiving frequency<span class="description ">Please select the frequency of archiving old post definitions in the sitemap</span>119 <p class="title"><?php _e('Sitemap archiving frequency'); ?><span class="description "><?php _e('Please select the frequency of archiving old post definitions in the sitemap'); ?></span> 120 120 </p> 121 121 <select class="controls" name="expresscurate_sitemap_archiving"> … … 143 143 </li> 144 144 <li class="expresscurate_sitemap_webmasters"> 145 <p class="title"> Submit sitemap automatically?<span class="description ">If this option is enabled, sitemap will be submitted to webmaster tools of search engines automatically.</span>145 <p class="title"><?php _e('Submit sitemap automatically?'); ?><span class="description "><?php _e('If this option is enabled, sitemap will be submitted to webmaster tools of search engines automatically.'); ?></span> 146 146 </p> 147 147 <input class="expresscurate_displayNone" type="checkbox" id="expresscurate_sitemap_submit" … … 154 154 echo 'expresscurate_displayNone'; 155 155 } ?> />"> 156 <p class="title"> Registered domain in Google Search Console (aka Webmaster Tools)<span157 class="description"> Specify if different from blog address</span></p>156 <p class="title"><?php _e('Registered domain in Google Search Console (aka Webmaster Tools)'); ?><span 157 class="description"><?php _e('Specify if different from blog address'); ?></span></p> 158 158 <input class="controls" type="text" name="expresscurate_sitemap_domain" id="expresscurate_sitemap_domain" 159 159 value="<?php echo get_option('expresscurate_sitemap_domain',''); ?>" placeholder="<?php echo get_site_url(); ?>"> 160 160 <br> 161 <p class="title"> Sitemap submission frequency<span class="description ">How often should sitemap be submitted to search engines?</span>161 <p class="title"><?php _e('Sitemap submission frequency'); ?><span class="description "><?php _e('How often should sitemap be submitted to search engines?'); ?></span> 162 162 </p> 163 163 <select class="controls" name="expresscurate_sitemap_submit_frequency"> … … 193 193 echo 'expresscurate_displayNone'; 194 194 } ?>" 195 href="https://www.expresscurate.com/api/connector/google/webmasters/refreshtoken/<?= $blogName ?>"> Authorize196 access to Google Search Console (aka Webmaster Tools) </a>195 href="https://www.expresscurate.com/api/connector/google/webmasters/refreshtoken/<?= $blogName ?>"><?php _e('Authorize 196 access to Google Search Console (aka Webmaster Tools)'); ?></a> 197 197 </div> 198 198 </li> -
expresscurate/trunk/templates/social_posts_widget.php
r1191825 r1319447 29 29 30 30 <ul class="mainControls"> 31 <li id="expresscurate_addTweet" class="expresscurate_social_widget_buttons"> New</li>32 <li class="expresscurate_social_widget_buttons expresscurate_social_get_content"> Get content</li>33 <li data-header="h1" class="expresscurate_headerTweet expresscurate_social_widget_buttons"> H1</li>34 <li data-header="h2" class="expresscurate_headerTweet expresscurate_social_widget_buttons"> H2</li>35 <li data-header="h3" class="expresscurate_headerTweet expresscurate_social_widget_buttons"> H3</li>31 <li id="expresscurate_addTweet" class="expresscurate_social_widget_buttons"><?php _e('New'); ?></li> 32 <li class="expresscurate_social_widget_buttons expresscurate_social_get_content"><?php _e('Get content'); ?></li> 33 <li data-header="h1" class="expresscurate_headerTweet expresscurate_social_widget_buttons"><?php _e('H1'); ?></li> 34 <li data-header="h2" class="expresscurate_headerTweet expresscurate_social_widget_buttons"><?php _e('H2'); ?></li> 35 <li data-header="h3" class="expresscurate_headerTweet expresscurate_social_widget_buttons"><?php _e('H3'); ?></li> 36 36 37 37 <?php if (!$socialPost) { ?> 38 <li id="expresscurate_socialTitlePost" class="expresscurate_social_widget_buttons"> Social Title</li>39 <li id="expresscurate_socialDescriptionPost" class="expresscurate_social_widget_buttons"> Social40 Description 38 <li id="expresscurate_socialTitlePost" class="expresscurate_social_widget_buttons"><?php _e('Social Title'); ?></li> 39 <li id="expresscurate_socialDescriptionPost" class="expresscurate_social_widget_buttons"><?php _e('Social 40 Description'); ?> 41 41 </li> 42 <li id="expresscurate_socialShortDescriptionPost" class="expresscurate_social_widget_buttons"> Social Short43 Description 42 <li id="expresscurate_socialShortDescriptionPost" class="expresscurate_social_widget_buttons"><?php _e('Social Short 43 Description'); ?> 44 44 </li> 45 45 <?php } ?> … … 104 104 <span class="expresscurate_social_post_content_published"><?php echo $data['message']; ?></span> 105 105 <ul class="bottomControls"> 106 <li class="expresscurate_socialPostLength expresscurate_floatRight"> Scheduled</li>106 <li class="expresscurate_socialPostLength expresscurate_floatRight"><?php _e('Scheduled'); ?></li> 107 107 <div class="expresscurate_clear"></div> 108 108 </ul> … … 135 135 id="">{{data.message}}</textarea> 136 136 <ul class="bottomControls"> 137 <li class="expresscurate_social_widget_buttons approve expresscurate_floatRight"> Approve</li>138 <li class="expresscurate_social_widget_buttons clone expresscurate_floatRight"> Copy</li>137 <li class="expresscurate_social_widget_buttons approve expresscurate_floatRight"><?php _e('Approve'); ?></li> 138 <li class="expresscurate_social_widget_buttons clone expresscurate_floatRight"><?php _e('Copy'); ?></li> 139 139 <li class="expresscurate_socialPostLength expresscurate_floatRight {{data.errorColor}}"> 140 140 {{data.postLength}} 141 141 </li> 142 <li class="expresscurate_social_widget_buttons expresscurate_displayNone edit"> Edit</li>142 <li class="expresscurate_social_widget_buttons expresscurate_displayNone edit"><?php _e('Edit'); ?></li> 143 143 <div class="expresscurate_clear"></div> 144 144 </ul> -
expresscurate/trunk/templates/sources_coll_widget.php
r1162493 r1319447 36 36 37 37 <div class="hover"> 38 <a class="curate expresscurate_curate"> Curate</a><a class="delete">39 Delete</a>38 <a class="curate expresscurate_curate"><?php _e('Curate'); ?></a><a class="delete"> 39 <?php _e('Delete'); ?></a> 40 40 <span class="tooltip"> 41 <p> Collected from</p>41 <p><?php _e('Collected from'); ?></p> 42 42 <a href="<?php echo $item['link'] ?>"><?php echo $item['domain'] ?></a> 43 43 </span> … … 50 50 <!--add new--> 51 51 <li class="addSource"> 52 <span class="text"> + Add new source</span>52 <span class="text"><?php _e('+ Add new source'); ?></span> 53 53 54 54 <div> … … 65 65 66 66 <div class="hover"> 67 <a class="curate expresscurate_curate"> Curate</a><a class="delete">Delete</a>67 <a class="curate expresscurate_curate"><?php _e('Curate'); ?></a><a class="delete"><?php _e('Delete'); ?></a> 68 68 <span class="tooltip"> 69 <p> Collected from</p>69 <p><?php _e('Collected from'); ?></p> 70 70 <a href="{{data.link}}" target="_newtab">{{data.domain}}</a> 71 71 </span> -
expresscurate/trunk/templates/support.php
r1191825 r1319447 22 22 <div class="expresscurate_support expresscurate_Styles wrap"> 23 23 <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular"> 24 <h2> Support</h2>24 <h2><?php _e('Support');?></h2> 25 25 </div> 26 <h2 class="expresscurate_displayNone"> Support</h2>26 <h2 class="expresscurate_displayNone"><?php _e('Support');?></h2> 27 27 28 28 <div class=""> 29 29 <div class="block"> 30 <label class="publicRevolution"> Join the public curating revolution and leave a feedback by email or31 twitter </label>30 <label class="publicRevolution"><?php _e('Join the public curating revolution and leave a feedback by email or 31 twitter');?></label> 32 32 33 33 <div> 34 <a href="mailto:[email protected]" class="feedbackButton redBackground"> email</a>35 <span> or</span>36 <a href="https://twitter.com/CurateSupport" target="_blank" class="feedbackButton blueBackground"> twitter</a>34 <a href="mailto:[email protected]" class="feedbackButton redBackground"><?php _e('email');?></a> 35 <span><?php _e('or');?></span> 36 <a href="https://twitter.com/CurateSupport" target="_blank" class="feedbackButton blueBackground"><?php _e('twitter');?></a> 37 37 </div> 38 <label class="margin10"> Like ExpressCurate tools & want to support us?</label>38 <label class="margin10"><?php _e('Like ExpressCurate tools & want to support us?');?></label> 39 39 <a href="https://www.bit.ly/expresscuratedonate" target="_blank" 40 class="donate"> donate</a>40 class="donate"><?php _e('donate');?></a> 41 41 </div> 42 42 <div class="block"> 43 43 <?php if (!$sent) { ?> 44 <label for="expresscurate_support_email"> Leave your feedback</label>44 <label for="expresscurate_support_email"><?php _e('Leave your feedback');?></label> 45 45 <?php 46 46 } else { 47 47 ?> 48 <label for="expresscurate_support_email"> Thanks for your feedback</label>48 <label for="expresscurate_support_email"><?php _e('Thanks for your feedback');?></label> 49 49 <?php 50 50 } … … 56 56 placeholder="Email" 57 57 value="<?php echo $user_email ?>"/> 58 <label> Please make sure to provide a working email address so that we can respond back to your support issue.</label>58 <label><?php _e('Please make sure to provide a working email address so that we can respond back to your support issue.'); ?></label> 59 59 <span id="expresscurate_support_email_validation" class="expresscurate_errorMessage"></span> 60 60 </div> … … 64 64 <span class="expresscurate_errorMessage" id="expresscurate_support_message_validation"></span> 65 65 </div> 66 <a class="feedbackButton send greenBackground" href="#"> Send</a>66 <a class="feedbackButton send greenBackground" href="#"><?php _e('Send');?></a> 67 67 </form> 68 68 </div> -
expresscurate/trunk/templates/websites.php
r1137344 r1319447 5 5 <div class="expresscurate_topSources expresscurate_Styles wrap"> 6 6 <div class="expresscurate_headBorderBottom expresscurate_headerPart expresscurate_OpenSansRegular"> 7 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"> Suggestions? <span>Submit here!</span></a>8 <h2> Top Sources</h2>9 <label class="pageDesc"> Top sources where you have curated from.</label>7 <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? ');?><span><?php _e('Submit here!');?></span></a> 8 <h2><?php _e(' Sources');?></h2> 9 <label class="pageDesc"><?php _e('Top sources where you have curated from.');?></label> 10 10 </div> 11 11 <div class="expresscurate_content_wrapper"> … … 14 14 ?> 15 15 <ul class="expresscurate_columnsName"> 16 <li class="mainTitle"> Sources</li>17 <li class="title expresscurate_floatRight"> rss subscription status</li>18 <li class="title expresscurate_floatRight expresscurate_marginRight30"> # of curated posts</li>16 <li class="mainTitle"><?php _e('Sources');?></li> 17 <li class="title expresscurate_floatRight"><?php _e('rss subscription status');?></li> 18 <li class="title expresscurate_floatRight expresscurate_marginRight30"><?php _e('# of curated posts');?></li> 19 19 </ul> 20 20 <ul class="expresscurate_URL"> … … 45 45 ?> 46 46 <span class="expresscurate_notDefined"> 47 No Curated Post. <a href="<?php echo admin_url(); ?>post-new.php">Curate New Post Now</a>.47 <?php _e(' No Curated Post.'); ?> <a href="<?php echo admin_url(); ?>post-new.php"><?php _e('Curate New Post Now'); ?></a>. 48 48 </span> 49 49 <?php } -
expresscurate/trunk/templates/widget.php
r1129694 r1319447 5 5 <div id="expresscurate_widget_wrapper" 6 6 class="expresscurate_widget_wrapper expresscurate_Styles expresscurate_preventTextSelection"> 7 <label> Keywords<span class="rotate"><a href="#"></a></span>8 <span class="mark"><span> mark keywords</span></span>7 <label><?php _e('Keywords '); ?><span class="rotate"><a href="#"></a></span> 8 <span class="mark"><span><?php _e('mark keywords');?></span></span> 9 9 </label> 10 10 <?php … … 49 49 ?> 50 50 <div class="description"> 51 <label for="description"> Description</label>51 <label for="description"><?php _e('Description');?></label> 52 52 53 53 <div class="descriptionWrap textareaBorder"> … … 63 63 </div> 64 64 <div class="hint expresscurate_displayNone borderRight"> 65 <span> characters left</span>65 <span><?php _e('characters left');?></span> 66 66 67 67 <p class="lettersCount"><span class="bold">156</span> / 156</p> 68 <span class="tooltip"> The meta description will be limited to 156 chars.</span>68 <span class="tooltip"><?php _e('The meta description will be limited to 156 chars.');?></span> 69 69 </div> 70 70 <div class="hint expresscurate_displayNone"> … … 72 72 73 73 <p class="usedKeywordsCount"><span class="bold">0</span> / 0</p> 74 <span class="tooltip"> It'll be better to use keywords in meta description.</span>74 <span class="tooltip"><?php _e('It\'ll be better to use keywords in meta description.');?></span> 75 75 </div> 76 76 77 <p class="expresscurate_displayNone"> The meta description tag is intented to be a brief and concise summary of77 <p class="expresscurate_displayNone"><?php _e('The meta description tag is intented to be a brief and concise summary of 78 78 your 79 page 's content.</p>79 page\'s content.');?></p> 80 80 </div> 81 81 82 <a href="#" class="expresscurate_moveToAdvanced"> Advanced SEO</a>82 <a href="#" class="expresscurate_moveToAdvanced"><?php _e('Advanced SEO');?></a> 83 83 <?php } ?> 84 84 <script type="text/html" id="tmpl-SEOControlCenter"> … … 87 87 <div data-color="{{data.color}}" class="statisticsTitle expresscurate_{{data.color}}"><span>{{data.keyword}}</span></div> 88 88 <div class="statistics {{data.inTitle}} borderRight"> 89 <div class="center"> title</div>89 <div class="center"><?php _e('title');?></div> 90 90 </div> 91 91 <div class="statistics"> 92 <div class="center"> content<span>{{data.inContent}}%</span></div>92 <div class="center"><?php _e('content');?><span>{{data.inContent}}%</span></div> 93 93 </div> 94 94 </div>
Note: See TracChangeset
for help on using the changeset viewer.