Plugin Directory

Changeset 442675


Ignore:
Timestamp:
09/23/2011 05:46:33 PM (15 years ago)
Author:
dexxaye
Message:

0.9 Commit

Location:
auto-url/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • auto-url/trunk/auto-url.php

    r442657 r442675  
    55  Plugin URI: http://www.bunchacode.com/programming/auto-url
    66  Description: generates customized permalinks according to post types, categories and tags
    7   Version: 0.8.5
     7  Version: 0.9
    88  Author: FunkyDude
    99  Author URI: http://www.bunchacode.com
  • auto-url/trunk/js/auto_url.js

    r435918 r442675  
    7979        });
    8080       
     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       
    81107        function regenPattern(row){
    82108            var newPattern = '';
  • auto-url/trunk/readme.txt

    r442657 r442675  
    44Requires at least: 3.1
    55Tested up to: 3.2.1
    6 Stable tag: 0.8.5
     6Stable tag: 0.9
    77
    88Auto URL generates customized permalinks according to post types, categories and tags
  • auto-url/trunk/templates/url.php

    r439221 r442675  
    11<?php include('common/header.php');?>
    22<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" />
    44</div>
    55<table id="autoUrlTable" class="wp-list-table widefat" cellspacing="0">
Note: See TracChangeset for help on using the changeset viewer.