Plugin Directory

Changeset 2825450


Ignore:
Timestamp:
11/28/2022 07:59:05 PM (3 years ago)
Author:
aixeiger
Message:

update form style to more readable form

Location:
monitor-login/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • monitor-login/trunk/README.txt

    r2809992 r2825450  
    33Tags: monitor, login, access, access login, monitor login, email, login notifications, notifications, themes, plugins
    44Tested up to: 6.1
    5 Stable tag: 0.1.3
     5Stable tag: 0.1.4
    66Requires PHP: 7.4
    77License: GPLv2 or later
  • monitor-login/trunk/monitorlogin.php

    r2808130 r2825450  
    55 * Author: TocinoDev
    66 * Author URI: https://tocino.mx
    7  * Version: 0.1.3
     7 * Version: 0.1.4
    88 * Tested up to: 6.0
    99 * Requires PHP: 7.4
  • monitor-login/trunk/src/App.php

    r2808130 r2825450  
    556556                settings_fields('monitorlogin_settings');
    557557                ?>
    558                 <div>
    559                     <div>
    560                         <p>Email for login alerts notifications</p>
    561                     </div>
    562                     <div>
    563                         <input type="text" name="monitorlogin_email" value="<?php echo esc_html($monitoremail); ?>">
    564                     </div>
    565                     <div style="margin-top: 25px;">
    566                         <p>Plugin activation/deactivation/deleted notifications</p>
    567                     </div>
    568                     <div>
    569                         <select name="monitorlogin_plugs">
    570                             <option value="no" <?php if($monitorplugs == 'no'){echo 'selected="selected"';} ?>>No</option>
    571                             <option value="yes" <?php if($monitorplugs == 'yes'){echo 'selected="selected"';} ?>>Yes</option>
    572                         </select>
    573                     </div>
    574                     <div style="margin-top: 25px;">
    575                         <p>Themes switching notifications</p>
    576                     </div>
    577                     <div>
    578                         <select name="monitorlogin_themes">
    579                             <option value="no" <?php if($monitorthemes == 'no'){echo 'selected="selected"';} ?>>No</option>
    580                             <option value="yes" <?php if($monitorthemes == 'yes'){echo 'selected="selected"';} ?>>Yes</option>
    581                         </select>
    582                     </div>
    583                 </div>
     558                <table class="form-table">
     559                    <tbody>
     560                        <tr>
     561                            <td style="width: 250px;">
     562                                <p>Email for login alerts notifications</p>
     563                            </td>   
     564                            <td>
     565                                <input type="text" name="monitorlogin_email" value="<?php echo esc_html($monitoremail); ?>">       
     566                            </td>
     567                        </tr>
     568                        <tr>
     569                            <td style="width: 250px;">
     570                                <p>Plugin activation/deactivation/deleted notifications</p>     
     571                            </td>
     572                            <td>
     573                                <select name="monitorlogin_plugs">
     574                                    <option value="no" <?php if($monitorplugs == 'no'){echo 'selected="selected"';} ?>>No</option>
     575                                    <option value="yes" <?php if($monitorplugs == 'yes'){echo 'selected="selected"';} ?>>Yes</option>
     576                                </select>       
     577                            </td>
     578                        </tr>
     579                        <tr>
     580                            <td style="width: 250px;">
     581                                <p>Themes switching notifications</p>       
     582                            </td>
     583                            <td>
     584                                <select name="monitorlogin_themes">
     585                                <option value="no" <?php if($monitorthemes == 'no'){echo 'selected="selected"';} ?>>No</option>
     586                                <option value="yes" <?php if($monitorthemes == 'yes'){echo 'selected="selected"';} ?>>Yes</option>
     587                            </select>       
     588                            </td>
     589                        </tr>
     590                    </tbody>
     591                </table>
    584592                <?php submit_button('save'); ?>
    585593            </form>
Note: See TracChangeset for help on using the changeset viewer.