Ignore:
Timestamp:
Dec 6, 2013, 10:30:44 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: Nepoužívat zatím rozpracovaný nový systém oprávnění.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/System.php

    r598 r599  
    124124      if($Action['Icon'] == '') $Action['Icon'] = 'clear.png';
    125125      if(substr($Action['URL'], 0, 4) != 'http') $Action['URL'] = $this->Link($Action['URL']);
    126       if($this->User->CheckPermission('System', 'Read', 'Item', $Id))
     126      if(!defined('NEW_PERMISSION') or $this->User->CheckPermission('System', 'Read', 'Item', $Id))
    127127        $Output .= '<img alt="'.$Action['Title'].'" src="'.$this->Link('/images/favicons/'.$Action['Icon']).
    128128        '" width="16" height="16" /> <a href="'.$Action['URL'].'">'.$Action['Title'].'</a>';
Note: See TracChangeset for help on using the changeset viewer.