Plugin Directory

Changeset 171818


Ignore:
Timestamp:
11/09/2009 09:06:58 PM (16 years ago)
Author:
philbert_mcpleb
Message:

fixed bug in widget control panel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-timer/trunk/WP_timer.php

    r170899 r171818  
    5353        <p><lable>Timer title<input name="WP_timer_option" type="text" value="<?php echo $data['title']; ?>" /></lable></p>
    5454        <p><lable>Timer Interval<select name="WP_timer_interval">
    55             <option value="86400">days</option>
    56             <option value="3600">hours</option>
    57             <option value="60">minutes</option>
     55            <option value="86400" <?php if ($data['interval'] == "86400") {echo selected;} ?>>days</option>
     56            <option value="3600" <?php if ($data['interval'] == "3600") {echo selected;} ?>>hours</option>
     57            <option value="60" <?php if ($data['interval'] == "60") {echo selected;} ?>>minutes</option>
    5858            </select>
    5959        <?php
Note: See TracChangeset for help on using the changeset viewer.