Plugin Directory

Changeset 446963


Ignore:
Timestamp:
10/04/2011 01:49:14 AM (14 years ago)
Author:
JohnONolan
Message:

Removing dirty shorthand php. Ollie.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ui-labs/trunk/settings.php

    r446942 r446963  
    77        <tr valign="top">
    88        <th scope="row"><strong>Experiment 1:</strong> Colour-coded Post Statuses</th>
    9         <td><input type="checkbox" name="poststatuses" value="yes"<?=get_option('poststatuses') == 'yes' ? ' checked' : '';?> /></td>
     9        <td><input type="checkbox" name="poststatuses" value="yes"<?php echo get_option('poststatuses') == 'yes' ? ' checked' : '';?> /></td>
    1010        </tr>
    1111         
    1212        <tr valign="top">
    1313        <th scope="row"><strong>Experiment 2:</strong> Classic WordPress Admin Bar</th>
    14         <td><input type="checkbox" name="adminbar" value="yes"<?=get_option('adminbar') == 'yes' ? ' checked' : '';?> /></td>
     14        <td><input type="checkbox" name="adminbar" value="yes"<?php echo get_option('adminbar') == 'yes' ? ' checked' : '';?> /></td>
    1515        </tr>
    1616       
    1717        <tr valign="top">
    1818        <th scope="row"><strong>Experiment 3:</strong> Identify This Server</th>
    19         <td><input type="checkbox" name="identify" value="yes"<?=get_option('identify') == 'yes' ? ' checked' : '';?> /></td>
     19        <td><input type="checkbox" name="identify" value="yes"<?php echo get_option('identify') == 'yes' ? ' checked' : '';?> /></td>
    2020        </tr>
    2121        <tr valign="top">
     
    2323        <td>
    2424            <select id="servertype" name="servertype">
    25                 <option value="uilabs-blank"<?=get_option('servertype') == 'uilabs-blank' ? ' selected' : '';?>>--</option>
    26                 <option value="uilabs-development"<?=get_option('servertype') == 'uilabs-development' ? ' selected' : '';?>>Development</option>
    27                 <option value="uilabs-staging"<?=get_option('servertype') == 'uilabs-staging' ? ' selected' : '';?>>Staging</option>
    28                 <option value="uilabs-live"<?=get_option('servertype') == 'uilabs-live' ? ' selected' : '';?>>Live</option>
     25                <option value="uilabs-blank"<?php echo get_option('servertype') == 'uilabs-blank' ? ' selected' : '';?>>--</option>
     26                <option value="uilabs-development"<?php echo get_option('servertype') == 'uilabs-development' ? ' selected' : '';?>>Development</option>
     27                <option value="uilabs-staging"<?php echo get_option('servertype') == 'uilabs-staging' ? ' selected' : '';?>>Staging</option>
     28                <option value="uilabs-live"<?php echo get_option('servertype') == 'uilabs-live' ? ' selected' : '';?>>Live</option>
    2929            </select>
    3030        </td>
Note: See TracChangeset for help on using the changeset viewer.