Changeset 442675
- Timestamp:
- 09/23/2011 05:46:33 PM (15 years ago)
- Location:
- auto-url/trunk
- Files:
-
- 4 edited
-
auto-url.php (modified) (1 diff)
-
js/auto_url.js (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
templates/url.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
auto-url/trunk/auto-url.php
r442657 r442675 5 5 Plugin URI: http://www.bunchacode.com/programming/auto-url 6 6 Description: generates customized permalinks according to post types, categories and tags 7 Version: 0. 8.57 Version: 0.9 8 8 Author: FunkyDude 9 9 Author URI: http://www.bunchacode.com -
auto-url/trunk/js/auto_url.js
r435918 r442675 79 79 }); 80 80 81 if($('#searchBox').length && $('#autoUrlTable').length){ 82 var sb = $('#searchBox'); 83 var rows = $('#autoUrlTable tbody tr'); 84 var rowTexts = []; 85 86 rows.each(function(){ 87 var text = $(this).find('td:gt(0):lt(3)').text(); 88 rowTexts.push(text); 89 }); 90 91 sb.keyup(function(){ 92 var key = sb.val(); 93 94 if(key.length > 0){ 95 for(i=0;i<rowTexts.length;i++){ 96 if(rowTexts[i].indexOf(key) != -1){ 97 $(rows[i]).show(); 98 }else{ 99 $(rows[i]).down(); 100 } 101 } 102 } 103 }) 104 105 } 106 81 107 function regenPattern(row){ 82 108 var newPattern = ''; -
auto-url/trunk/readme.txt
r442657 r442675 4 4 Requires at least: 3.1 5 5 Tested up to: 3.2.1 6 Stable tag: 0. 8.56 Stable tag: 0.9 7 7 8 8 Auto URL generates customized permalinks according to post types, categories and tags -
auto-url/trunk/templates/url.php
r439221 r442675 1 1 <?php include('common/header.php');?> 2 2 <div class="formRow"> 3 <input type="text" id="searchBox" value='Search...' />3 <input type="text" id="searchBox" value='Search...' onfocus="this.value='';this.focus=null" /> 4 4 </div> 5 5 <table id="autoUrlTable" class="wp-list-table widefat" cellspacing="0">
Note: See TracChangeset
for help on using the changeset viewer.