Make WordPress Core

Changeset 438


Ignore:
Timestamp:
10/08/2003 10:32:01 PM (22 years ago)
Author:
mikelittle
Message:

Fixed trailing whitespace. Removed duplicate form tag. Sorted invalid markup tags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/linkcategories.php

    r418 r438  
    6868          $show_images = 'N';
    6969      }
    70      
     70
    7171      $show_description = $HTTP_POST_VARS["show_description"];
    7272      if ($show_description != 'Y') {
    7373          $show_description = 'N';
    7474      }
    75      
     75
    7676      $show_rating = $HTTP_POST_VARS["show_rating"];
    7777      if ($show_rating != 'Y') {
    7878          $show_rating = 'N';
    7979      }
    80      
     80
    8181      $show_updated = $HTTP_POST_VARS["show_updated"];
    8282      if ($show_updated != 'Y') {
    8383          $show_updated = 'N';
    8484      }
    85      
     85
    8686      $sort_order = $HTTP_POST_VARS["sort_order"];
    87      
     87
    8888      $sort_desc = $HTTP_POST_VARS["sort_desc"];
    8989      if ($sort_desc != 'Y') {
     
    164164        <td align="right">Sort order:</td>
    165165        <td>
    166           <select name="sort_order" size="1">                                       
     166          <select name="sort_order" size="1">
    167167            <option value="name"    <?php echo ($row->sort_order == 'name') ? 'selected' : ''?>>Name</option>
    168             <option value="id"      <?php echo ($row->sort_order == 'id') ? 'selected' : ''?>>Id</option>                                           
     168            <option value="id"      <?php echo ($row->sort_order == 'id') ? 'selected' : ''?>>Id</option>
    169169            <option value="url"     <?php echo ($row->sort_order == 'url') ? 'selected' : ''?>>URL</option>
    170170            <option value="rating"  <?php echo ($row->sort_order == 'rating') ? 'selected' : ''?>>Rating</option>
     
    222222
    223223    $cat_id=$HTTP_POST_VARS["cat_id"];
    224    
     224
    225225    $cat_name=addslashes($HTTP_POST_VARS["cat_name"]);
    226226    $auto_toggle = $HTTP_POST_VARS["auto_toggle"];
    227227    if ($auto_toggle != 'Y') {
    228228        $auto_toggle = 'N';
    229     } 
     229    }
    230230
    231231    $show_images = $HTTP_POST_VARS["show_images"];
     
    279279            ");
    280280    } // end if save
    281    
     281
    282282
    283283    header("Location: linkcategories.php");
     
    319319                <th valign="top" style="border-bottom: 1px dotted #9C9A9C; border-right: 1px dotted #9C9A9C;" >after</th>
    320320              </tr>
    321                 <form name="cats" method="post">
    322321                <input type="hidden" name="cat_id" value="" />
    323322                <input type="hidden" name="action" value="" />
     
    354353?>
    355354            </table>
    356 
    357             </table>
    358           </form>
     355        </form>
     356      </td>
     357    </tr>
     358  </table>
    359359</div>
    360360
     
    381381      <tr>
    382382        <td align="right">Sort order:</td>
    383         <td><select name="sort_order" size="1">                                       
     383        <td>
     384            <select name="sort_order" size="1">
    384385              <option value="name">Name</option>
    385               <option value="id">Id</option>                                           
     386              <option value="id">Id</option>
    386387              <option value="url">URL</option>
    387388              <option value="rating">Rating</option>
     
    389390              <option value="rand">Random</option>
    390391            </select>&nbsp;&nbsp;
    391             <input type="checkbox" name="sort_desc" value="N" /> Descending?<br /></td>
     392            <input type="checkbox" name="sort_desc" value="N" /> Descending?<br />
     393          </td>
    392394      </tr>
    393395      <tr>
     
    414416        <td align="center" colspan="2"><input type="submit" name="submit" value="Add Category!" class="search" /></td>
    415417      </tr>
    416     </form>
    417418    </table>
    418 
     419  </form>
    419420</div>
    420421
     
    429430} // end case
    430431?>
    431 </table>
    432 
    433432<?php include('b2footer.php'); ?>
Note: See TracChangeset for help on using the changeset viewer.