Changeset 392124
- Timestamp:
- 06/02/2011 11:25:26 AM (15 years ago)
- Location:
- wp-seo-tags
- Files:
-
- 18 added
- 3 edited
-
tags/2.2.6 (added)
-
tags/2.2.6/readme.txt (added)
-
tags/2.2.6/screenshot-1.png (added)
-
tags/2.2.6/screenshot-2.png (added)
-
tags/2.2.6/screenshot-3.png (added)
-
tags/2.2.6/screenshot-4.png (added)
-
tags/2.2.6/wp-seo-tags-ar.mo (added)
-
tags/2.2.6/wp-seo-tags-ar.po (added)
-
tags/2.2.6/wp-seo-tags-be_BY.mo (added)
-
tags/2.2.6/wp-seo-tags-be_BY.po (added)
-
tags/2.2.6/wp-seo-tags-de_DE.mo (added)
-
tags/2.2.6/wp-seo-tags-de_DE.po (added)
-
tags/2.2.6/wp-seo-tags-fr_FR.mo (added)
-
tags/2.2.6/wp-seo-tags-fr_FR.po (added)
-
tags/2.2.6/wp-seo-tags-ru_RU.mo (added)
-
tags/2.2.6/wp-seo-tags-ru_RU.po (added)
-
tags/2.2.6/wp-seo-tags-template.php (added)
-
tags/2.2.6/wp-seo-tags.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/screenshot-1.png (modified) (previous)
-
trunk/wp-seo-tags.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-seo-tags/trunk/readme.txt
r387642 r392124 4 4 Tags: Log incoming queries, searchengines, widget, seo 5 5 Requires at least: 3.0 6 Tested up to: 3.1. 27 Stable tag: 2.2. 5.56 Tested up to: 3.1.3 7 Stable tag: 2.2.6 8 8 9 <em>Another form of keyword tagging...</em> 9 Another form of keyword tagging... 10 10 11 11 == Description == … … 17 17 18 18 == Changelog == 19 <ul> 20 <span>2.2.6</span> 21 <li>Global notification respectively errormessage in Worpdress Admin Backend Settings area if the wp-seo-tags-template.php file is missing. It is important that this file can be located in your current theme folder.</li> 22 <li>Improved moderation overview table in layout and a better human readable date time information for the last visits.</li> 23 </ul> 19 24 <ul> 20 25 <span>2.2.5.5</span> -
wp-seo-tags/trunk/wp-seo-tags.php
r387642 r392124 4 4 Plugin URI: http://www.saquery.com/wordpress/wp-seo-tags 5 5 Description: WP SEO Tags 6 Version: 2.2. 5.56 Version: 2.2.6 7 7 Author: Stephan Ahlf 8 8 Author URI: http://saquery.com … … 196 196 } 197 197 198 function saq_wpseotags_adminoptions1(){ 199 global $wpdb; 198 199 function saq_wpseotags_admin_notices() { 200 settings_errors( 'global' ); 200 201 $templatePath = saq_wpseotags_get_template_folder()."/"; 201 202 $templateFile = "wp-seo-tags-template.php"; … … 203 204 204 205 if (!is_file($fn)){ 205 ?> 206 <div class="error"><strong>WP SEO TAGS - ERROR! <br /><br />The file "<?php echo $fn; ?>" could not be found.</strong> <br /> 207 Please upload a copy of this file to your server.</div> 208 <?php 209 } 206 $msg = "WP SEO TAGS - ERROR! <br /><br />The file ".$fn." could not be found. Please upload a copy of this file from the zip archive located at <a href=\"http://wordpress.org/extend/plugins/wp-seo-tags/\">http://wordpress.org/extend/plugins/wp-seo-tags/</a> to your server."; 207 add_settings_error('wp_seo_tags_tamplate_error',esc_attr('wpseotagstemplatetest'),$msg); 208 } 209 } 210 211 212 213 function saq_wpseotags_adminoptions1(){ 214 global $wpdb; 210 215 211 216 … … 233 238 for (var i=0;i<_a.length;i++) _a[i].checked=obj.checked; 234 239 } 240 (function($){ 241 function prettyDate(time){ 242 var date = new Date((time || "").replace(/-/g,"/").replace(/[TZ]/g," ")), 243 diff = (((new Date()).getTime() - date.getTime()) / 1000), 244 day_diff = Math.floor(diff / 86400); 245 246 if ( isNaN(day_diff) || day_diff < 0 || day_diff >= 31 ) 247 return; 248 249 return day_diff == 0 && ( 250 diff < 60 && "just now" || 251 diff < 120 && "1 minute ago" || 252 diff < 3600 && Math.floor( diff / 60 ) + " minutes ago" || 253 diff < 7200 && "1 hour ago" || 254 diff < 86400 && Math.floor( diff / 3600 ) + " hours ago") || 255 day_diff == 1 && "Yesterday" || 256 day_diff < 7 && day_diff + " days ago" || 257 day_diff < 31 && Math.ceil( day_diff / 7 ) + " weeks ago"; 258 } 259 260 if ( typeof jQuery != "undefined" ) 261 jQuery.fn.prettyDate = function(){ 262 return this.each(function(){ 263 var date = prettyDate($(this).text()); 264 if ( date ) 265 jQuery(this).html( date + " - <i>"+$(this).text()+"</i>" ); 266 }); 267 }; 268 $(function(){ 269 $(".wp-seo-tags-date-time").prettyDate(); 270 $("#wp-seo-tags-donation-box").fadeIn(10000); 271 }); 272 })(jQuery); 235 273 </script>'; 236 274 $where = "where deleted = 0 and moderated = 0"; … … 248 286 $query = "SELECT target, moderated, deleted, max(dt) as dt from ".$wpdb->wpseotags_dbTable ." $where group by target, moderated, deleted order by moderated asc, dt desc"; 249 287 $res = $wpdb->get_results($query); 250 echo '< h1>WP SEO TAGS</h1><div name=\"top\" id="icon-tools" class="icon32"><br></div>288 echo '<div name=\"top\" id="icon-tools" class="icon32"><br></div> 251 289 <h2>'.saq_('Moderate incoming searchengine keywords').'</h2> 252 290 <div class="form-wrap"> … … 255 293 '; 256 294 295 echo '<div id="wp-seo-tags-donation-box" style="display:none;" class="update-nag"><br /> 296 <p><strong>Thank you for using wp-seo-tags! </strong><span style="color:#990000;">If you think this software is useful please support the development with a donation or <a target="_blank" href="http://wordpress.org/extend/plugins/wp-seo-tags/">rate this software</a>.</span><br />Feel free to contact me for support at <a href="http://saquery.com/wordpress/wp-seo-tags/" target="_blank" >http://saquery.com/wordpress/wp-seo-tags/</a><br /> 297 <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> 298 299 <input type="hidden" name="cmd" value="_s-xclick"> 300 <input type="hidden" name="hosted_button_id" value="SQRUU7JKE7KFS"> 301 <input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110429-1/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> 302 <img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110429-1/de_DE/i/scr/pixel.gif" width="1" height="1"> 303 </form> 304 </div> 305 <style> 306 .wp-seo-tags 307 { 308 309 margin-top:11px; 310 width: 100%; 311 border-collapse: collapse; 312 text-align: left; 313 } 314 .wp-seo-tags th 315 { 316 font-size: 14px; 317 font-weight: bold; 318 padding: 10px 8px; 319 border-bottom: 2px solid #6678b1; 320 } 321 .wp-seo-tags td 322 { 323 border-bottom: 1px solid #ccc; 324 padding: 6px 8px; 325 vertical-align:top; 326 background-color:#fff; 327 } 328 .wp-seo-tags tbody tr:hover td 329 { 330 color: #009; 331 } 332 333 </style> 334 '; 257 335 echo "<form id=\"frm_wpseo\" action=\"\" method=\"post\">"; 258 echo "<input type=\"checkbox\" onclick=\"CkAllNone(this,'frm_wpseo');\" />".saq_('Select all items in list')."."; 259 echo "<hr><table class=\"form-table\" cellspacing=\"10\" cellpadding=\"10\">"; 336 echo "<table class=\"wp-seo-tags\">"; 260 337 echo "<tr><th>".saq_('Selection')."</th>"; 261 338 echo "<th>URL</th>"; … … 270 347 $lnk = urldecode($lnk); 271 348 echo "<td>$lnk</td>"; 272 echo "<td >".$row->dt."</td>";349 echo "<td class=\"wp-seo-tags-date-time\">".$row->dt."</td>"; 273 350 if ($row->moderated==1){ 274 351 $chk = "<input type=\"checkbox\" disabled=\"disabled\" checked=\"checked\" />"; … … 288 365 $_txt = "<input type=\"text\" style=\"width:130px;\""; 289 366 $delim=" » "; 290 echo "</table><hr>"; 367 echo "</table>"; 368 echo "<input type=\"checkbox\" onclick=\"CkAllNone(this,'frm_wpseo');\" />".saq_('Select all items in list').".<hr />"; 291 369 echo "$_btn name=\"submit\" value=\"".saq_('Moderate')."\" onclick=\"return confirm('".saq_('Mark selected URLs as moderated now')."?');\" />$delim"; 292 370 echo "$_btn name=\"delete\" value=\"".saq_('Delete')."\" onclick=\"return confirm('".saq_('Mark selected URLs as deleted now')."?');\" />$delim"; … … 303 381 echo "</form>"; 304 382 305 echo '<div class="update-nag"><br />306 <p><strong>Thank you for using wp-seo-tags! </strong><span style="color:#990000;">If you think this software is useful please support the development with a donation.</span><br />Feel free to contact me for support at <a href="http://saquery.com/wordpress/wp-seo-tags/" target="_blank" >http://saquery.com/wordpress/wp-seo-tags/</a><br />307 <form action="https://www.paypal.com/cgi-bin/webscr" method="post">308 309 <input type="hidden" name="cmd" value="_s-xclick">310 <input type="hidden" name="hosted_button_id" value="SQRUU7JKE7KFS">311 <input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110429-1/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">312 <img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110429-1/de_DE/i/scr/pixel.gif" width="1" height="1">313 </form>314 </div>315 ';316 383 317 384 echo '</div></div>'; … … 320 387 function saq_wpseotags_admin_menu(){ 321 388 add_submenu_page('options-general.php', 'WP SEO Tags options', 'WP SEO Tags', 'administrator', __FILE__, 'saq_wpseotags_adminoptions1'); 389 saq_wpseotags_admin_notices(); 322 390 } 323 391
Note: See TracChangeset
for help on using the changeset viewer.