Make WordPress Core

Ticket #1221: link-manager-i18n.diff

File link-manager-i18n.diff, 997 bytes (added by nbachiyski, 19 years ago)
  • wp-admin/link-manager.php

     
    675675            $visible = ($link->link_visible == 'Y') ? __('Yes') : __('No');
    676676            ++$i;
    677677            $style = ($i % 2) ? ' class="alternate"' : '';
    678             echo <<<LINKS
    679 
    680     <tr valign="middle" $style>
    681         <td><strong>$link->link_name</strong><br />
    682 LINKS;
     678?>
     679    <tr valign="middle" <?php echo $style; ?>>
     680                <td><strong><?php echo $link->link_name; ?></strong><br />
     681<?php                   
    683682        echo sprintf(__('Description: %s'), $link->link_description) . "</td>";
    684683        echo "<td><a href=\"$link->link_url\" title=\"" . sprintf(__('Visit %s'), $link->link_name) . "\">$short_url</a></td>";
    685684        echo <<<LINKS
     
    753752} // end case
    754753?>
    755754
    756 <?php include('admin-footer.php'); ?>
    757  No newline at end of file
     755<?php include('admin-footer.php'); ?>