Changeset 512 for trunk


Ignore:
Timestamp:
Apr 8, 2013, 9:06:21 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: Staré již neplatné odkazy na modul User.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/.htaccess

    r493 r512  
    1111RewriteCond  %{REQUEST_FILENAME}  !-f
    1212RewriteCond  %{REQUEST_FILENAME}  !-d
    13 RewriteRule   ^(.*)$ dev/centrala/trunk/index.php?$1
     13RewriteRule   ^(.*)$ centrala/index.php?$1
    1414
    1515# Pretty urls
  • trunk/Common/Version.php

    r508 r512  
    11<?php
    22
    3 $Revision = 508; // Subversion revision
     3$Revision = 512; // Subversion revision
    44$DatabaseRevision = 507;
    5 $ReleaseTime = '2013-04-01';
     5$ReleaseTime = '2013-04-08';
    66
    77?>
  • trunk/Modules/News/NewsPage.php

    r506 r512  
    197197              else $Author = $Row['Name'];
    198198            $Output .= '<div class="Panel"><div class="Title"><a href="?action=view&amp;id='.$Row['Id'].'">'.$Row['Title'].'</a> ('.HumanDate($Row['Date']).', '.$Author.')';
    199             if($this->System->Models['User']->User['Id'] == $Row['User'])
     199            if($this->System->Modules['User']->User['Id'] == $Row['User'])
    200200            {
    201201              $Output .= '<div class="Action">';
  • trunk/Modules/Portal/Portal.php

    r506 r512  
    1616      if($HyperLink['IconFile'] == '') $HyperLink['IconFile'] = 'clear.png';
    1717        if(substr($HyperLink['URL'], 0, 4) != 'http') $HyperLink['URL'] = $this->System->Config['Web']['RootFolder'].$HyperLink['URL'];
    18         if(($HyperLink['PermissionModule'] == '') or (($HyperLink['PermissionModule'] != '') and $this->System->Modules['User']->Models['User']->CheckPermission($HyperLink['PermissionModule'], $HyperLink['PermissionOperation'])))       
     18        if(($HyperLink['PermissionModule'] == '') or (($HyperLink['PermissionModule'] != '') and $this->System->Modules['User']->Modules['User']->CheckPermission($HyperLink['PermissionModule'], $HyperLink['PermissionOperation'])))       
    1919        $Output .= '<img alt="'.$HyperLink['Name'].'" src="images/favicons/'.$HyperLink['IconFile'].'" width="16" height="16" /> <a href="'.$HyperLink['URL'].'">'.$HyperLink['Name'].'</a><br />';
    2020    }
Note: See TracChangeset for help on using the changeset viewer.