Make WordPress Core


Ignore:
Timestamp:
07/05/2006 05:09:32 PM (20 years ago)
Author:
ryan
Message:

Markup fixes from leftjustified. fixes #2906

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/link-categories.php

    r3937 r3977  
    352352                <td><?php echo $row->sort_order ?></td>
    353353                <td><?php echo $row->sort_desc == 'Y' ? __('Yes') : __('No') ?></td>
    354                 <td nowrap="nowrap"><?php echo htmlentities($row->text_before_link)?>&nbsp;</td>
    355                 <td nowrap="nowrap"><?php echo htmlentities($row->text_after_link)?>&nbsp;</td>
    356                 <td nowrap="nowrap"><?php echo htmlentities($row->text_after_all)?></td>
     354                <td nowrap="nowrap"><?php echo wp_specialchars($row->text_before_link)?>&nbsp;</td>
     355                <td nowrap="nowrap"><?php echo wp_specialchars($row->text_after_link)?>&nbsp;</td>
     356                <td nowrap="nowrap"><?php echo wp_specialchars($row->text_after_all)?></td>
    357357                <td><?php echo $row->list_limit ?></td>
    358358                <td><a href="link-categories.php?cat_id=<?php echo $row->cat_id?>&amp;action=Edit" class="edit"><?php _e('Edit') ?></a></td>
    359                 <td><a href="<?php echo wp_nonce_url("link-categories.php?cat_id=$row->cat_id?>&amp;action=Delete", 'delete-link-category_' . $row->cat_id) ?>" "onclick="return deleteSomething( 'link category', <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the &quot;%s&quot; link category.\\n&quot;Cancel&quot; to stop, &quot;OK&quot; to delete."), js_escape($row->cat_name)); ?>' );" class="delete"><?php _e('Delete') ?></a></td>
     359                <td><a href="<?php echo wp_nonce_url("link-categories.php?cat_id=$row->cat_id?>&amp;action=Delete", 'delete-link-category_' . $row->cat_id) ?>" onclick="return deleteSomething( 'link category', <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the &quot;%s&quot; link category.\\n&quot;Cancel&quot; to stop, &quot;OK&quot; to delete."), js_escape($row->cat_name)); ?>' );" class="delete"><?php _e('Delete') ?></a></td>
    360360              </tr>
    361361<?php
    … …  
    371371
    372372<div class="wrap">
    373     <form name="addcat" method="post">
     373    <form name="addcat" method="post" action="">
    374374    <?php wp_nonce_field('add-link-category'); ?>
    375375      <input type="hidden" name="action" value="addcat" />
Note: See TracChangeset for help on using the changeset viewer.