equal
deleted
inserted
replaced
436 |
436 |
437 return $message; |
437 return $message; |
438 } |
438 } |
439 function get_pageid_from_url() |
439 function get_pageid_from_url() |
440 { |
440 { |
441 return $this->parse_url(); |
441 $url = $this->parse_url(); |
|
442 if ( substr($url, 0, strlen($this->nslist['Special'])) == $this->nslist['Special'] || |
|
443 substr($url, 0, strlen($this->nslist['Admin'])) == $this->nslist['Admin']) |
|
444 { |
|
445 list($url) = explode('/', $url); |
|
446 } |
|
447 return $url; |
442 } |
448 } |
443 // Parses a (very carefully formed) array into Javascript code compatible with the Tigra Tree Menu used in the admin menu |
449 // Parses a (very carefully formed) array into Javascript code compatible with the Tigra Tree Menu used in the admin menu |
444 function parseAdminTree() |
450 function parseAdminTree() |
445 { |
451 { |
446 global $lang; |
452 global $lang; |