Changeset 1818 for trunk/wp-admin/link-categories.php
- Timestamp:
- 10/19/2004 03:03:06 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-categories.php
r1599 r1818 2 2 // Links 3 3 // Copyright (C) 2002, 2003 Mike Little -- mike@zed1.com 4 require_once(' ../wp-includes/wp-l10n.php');4 require_once('admin.php'); 5 5 $title = __('Link Categories'); 6 6 $this_file='link-categories.php'; 7 7 $parent_file = 'link-manager.php'; 8 8 9 $wpvarstoreset = array('action', 'standalone','cat', 'auto_toggle');9 $wpvarstoreset = array('action', 'cat', 'auto_toggle'); 10 10 for ($i=0; $i<count($wpvarstoreset); $i += 1) { 11 11 $wpvar = $wpvarstoreset[$i]; … … 26 26 case 'addcat': 27 27 { 28 $standalone = 1;29 include_once('admin-header.php');30 31 28 if ($user_level < 5) 32 29 die (__("Cheatin' uh ?")); … … 83 80 case 'Delete': 84 81 { 85 $standalone = 1;86 include_once('admin-header.php');87 88 82 $cat_id = $_GET['cat_id']; 89 83 $cat_name=get_linkcatname($cat_id); … … 205 199 case "editedcat": 206 200 { 207 $standalone = 1;208 include_once("./admin-header.php");209 210 201 if ($user_level < 5) 211 202 die (__("Cheatin' uh ?")); … … 279 270 default: 280 271 { 281 $standalone=0; 282 include_once ("./admin-header.php"); 272 include_once ("admin-header.php"); 283 273 if ($user_level < 5) { 284 274 die(__("You have do not have sufficient permissions to edit the link categories for this blog. :)"));
Note: See TracChangeset
for help on using the changeset viewer.