Make WordPress Core


Ignore:
Timestamp:
01/10/2006 05:16:17 AM (21 years ago)
Author:
matt
Message:

HTML and JS cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-manager.php

    r3295 r3422  
    77$title = __('Manage Links');
    88$this_file = $parent_file = 'link-manager.php';
     9$list_js = true;
    910
    1011$wpvarstoreset = array('action','cat_id', 'linkurl', 'name', 'image',
    … …  
    180181
    181182  case 'linkedit': {
    182         $xfn = true;
    183     include_once ('admin-header.php');
    184     if ( !current_user_can('manage_links') )
    185       die(__('You do not have sufficient permissions to edit the links for this blog.'));
    186 
    187     $link_id = (int) $_GET['link_id'];
    188  
     183        $xfn_js = true;
     184        include_once ('admin-header.php');
     185        if ( !current_user_can('manage_links') )
     186                die(__('You do not have sufficient permissions to edit the links for this blog.'));
     187       
     188        $link_id = (int) $_GET['link_id'];
     189       
    189190        if ( !$link = get_link_to_edit($link_id) )
    190191                die( __('Link not found.') );
    191                
     192       
    192193        include('edit-link-form.php');
    193     break;
     194        break;
    194195  } // end linkedit
    195196  case __("Show"):
Note: See TracChangeset for help on using the changeset viewer.