Changeset 884 for trunk/Application


Ignore:
Timestamp:
Apr 8, 2020, 7:27:09 PM (4 years ago)
Author:
chronos
Message:
  • Fixed: Error during user registration.
  • Fixed: Error on user enter to new team.
Location:
trunk/Application
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Core.php

    r883 r884  
    150150  function Link($Target)
    151151  {
    152     $Remaining = substr($Target, strlen($this->BaseURL));
     152    if (substr($Target, 0, strlen($this->BaseURL)) == $this->BaseURL)
     153      $Remaining = substr($Target, strlen($this->BaseURL));
     154      else $Remaining = $Target;
    153155    $TargetParts = explode('/', $Remaining);
    154     if ((count($TargetParts) > 0) and ($TargetParts[0] == '')) 
     156    if ((count($TargetParts) > 0) and ($TargetParts[0] == ''))
    155157      array_splice($TargetParts, 0, 1);
    156158    if (count($TargetParts) > 0)
  • trunk/Application/Version.php

    r883 r884  
    77
    88$Version = '1.0';
    9 $Revision = 883; // Subversion revision
     9$Revision = 884; // Subversion revision
    1010$DatabaseRevision = 873; // Database structure revision
    1111$ReleaseDate = strtotime('2020-04-08');
  • trunk/Application/View.php

    r881 r884  
    4040    foreach ($this->System->Bars['Top'] as $BarItem)
    4141      $Bar .= call_user_func($BarItem);
    42       if (trim($Bar) != '') $Output .= $Bar;
     42    if (trim($Bar) != '') $Output .= $Bar;
    4343      else $Output .= ' ';
    4444
     
    5454      '<div class="verticalmenu"><ul>';
    5555    foreach ($this->System->Menu as $MenuItem)
     56    {
    5657      if (!isset($this->System->User) or $this->System->User->Licence($MenuItem['Permission']))
    5758      {
     
    6364          $MenuItem['Link'].'"'.$OnClick.'>'.$MenuItem['Title'].'</a></li>';
    6465      }
    65       $Output .= '</ul></div>';
    66       return $Output;
     66    }
     67    $Output .= '</ul></div>';
     68    return $Output;
    6769  }
    6870
     
    101103    foreach ($this->System->Bars['Left'] as $BarItem)
    102104      $Bar .= call_user_func($BarItem);
    103       if (trim($Bar) != '') $Output .= $Bar;
     105    if (trim($Bar) != '') $Output .= $Bar;
    104106      else $Output .= '&nbsp;';
    105107
Note: See TracChangeset for help on using the changeset viewer.