Ignore:
Timestamp:
Apr 14, 2015, 10:20:16 PM (10 years ago)
Author:
chronos
Message:
  • Removed: Spaces on end of line.
  • Modified: Tabs converted to spaces.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/UserPage.php

    r694 r738  
    5454    if($this->System->User->User['Id'] != null)
    5555    {
    56         $Actions = '';
    57         foreach($this->System->ModuleManager->Modules['User']->UserPanel as $Action)
    58         {
    59                 if(is_string($Action[0]))
    60           {
    61                   $Class = new $Action[0]($this->System);
    62                   $Actions .= $Class->$Action[1]();
    63           } else $Actions .= call_user_func($Action).'<br/>';
    64         }
     56      $Actions = '';
     57      foreach($this->System->ModuleManager->Modules['User']->UserPanel as $Action)
     58      {
     59        if(is_string($Action[0]))
     60        {
     61          $Class = new $Action[0]($this->System);
     62          $Actions .= $Class->$Action[1]();
     63        } else $Actions .= call_user_func($Action).'<br/>';
     64      }
    6565      $Output .= '<div class="Centred"><table id="MainTable"><tr><td style="vertical-align:top;">';
    6666      $Output .= $this->Panel('Nabídka uživatele', $Actions);
     
    8383  }
    8484
    85         function Show()
    86         {
    87                 $Output = '';
     85  function Show()
     86  {
     87    $Output = '';
    8888    if(array_key_exists('Action', $_GET))
    8989    {
     
    209209    } else $Output = $this->ShowMain();
    210210    return($Output);
    211         }
    212 
    213         function ShowMain()
    214         {
    215                 $Output = 'Nebyla vybrána akce';
    216                 return($Output);
    217         }
     211  }
     212
     213  function ShowMain()
     214  {
     215    $Output = 'Nebyla vybrána akce';
     216    return($Output);
     217  }
    218218}
Note: See TracChangeset for help on using the changeset viewer.