Plugin Directory

Changeset 974244


Ignore:
Timestamp:
08/27/2014 08:26:15 PM (12 years ago)
Author:
blots
Message:

fix bug to key entry settings

Location:
wolfnet-idx-for-wordpress/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wolfnet-idx-for-wordpress/trunk/ReadMe.txt

    r972601 r974244  
    55Requires at least:  3.5.1
    66Tested up to:       3.9
    7 Stable tag:         1.6.0
     7Stable tag:         1.6.1
    88License:            GPLv2 or later
    99License URI:        http://www.gnu.org/licenses/gpl-2.0.html
     
    5252== Changelog ==
    5353
    54 = 1.6 =
     54= 1.6.1 =
     55* Fixed key entry bug
     56
     57= 1.6.0 =
    5558* Code refactoring
    5659* minor bug fixes
  • wolfnet-idx-for-wordpress/trunk/humans.txt

    r972601 r974244  
    1616    Website: tompenney.com
    1717    Twitter: @tompenney
    18     Location: Oakdale, MN, USA
     18    Location: Minneapolis, MN, USA
    1919
    2020
  • wolfnet-idx-for-wordpress/trunk/template/adminSettings.php

    r972601 r974244  
    4343                    <td>
    4444                        <table class="key-table" id="wolfnet_keys">
    45                             <?php for($i=1; $i<=count($productKey); $i++): ?>
     45                            <?php
     46                            $numrows = count($productKey);
     47                            // we need to show at least one row of form fields so they can add a key if there are none
     48                            if ($numrows < 1 ) $numrows = 1;
     49                            for($i=1; $i<=$numrows; $i++):
     50                            ?>
    4651                            <tr class="row<?php echo $i; ?>">
    4752                                <th scope="row"><label for="wolfnet_productKey_<?php echo $i; ?>">Product Key</label></th>
Note: See TracChangeset for help on using the changeset viewer.