Diff of /mambo/branches/4.6/includes/core.classes.php
Parent Directory
|
Revision Log
|
Patch
| revision 760, Thu Oct 19 17:19:07 2006 UTC | revision 761, Thu Oct 19 20:00:14 2006 UTC | |
|---|---|---|
| # | Line 1576 | Line 1576 |
| 1576 | if ($this->getIDLikeLink($dblink) == 0) return true; | if ($this->getIDLikeLink($dblink) == 0) return true; |
| 1577 | if ($Itemid) { | if ($Itemid) { |
| 1578 | $menu =& $this->getMenuByID($Itemid); | $menu =& $this->getMenuByID($Itemid); |
| 1579 | // special case for typed content - need a better way to handle this - alwarren | |
| 1580 | if ($menu->type == 'content_typed') { | |
| 1581 | parse_str( $menu->link, $temp ); | |
| 1582 | $GLOBALS['task'] = 'view'; | |
| 1583 | $_REQUEST['task'] = 'view'; | |
| 1584 | $GLOBALS['id'] = $temp['id']; | |
| 1585 | $_REQUEST['id'] = $temp['id']; | |
| 1586 | } | |
| 1587 | if (strpos($menu->link,$dblink) ===0) { | if (strpos($menu->link,$dblink) ===0) { |
| 1588 | $access = $menu->access; | $access = $menu->access; |
| 1589 | } elseif ($menu_option == 'com_content' AND $Itemid == 1) { | } elseif ($menu_option == 'com_content' AND $Itemid == 1) { |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

