Changeset 901 for trunk/Modules/User


Ignore:
Timestamp:
Feb 17, 2021, 9:27:32 PM (4 years ago)
Author:
chronos
Message:
  • Added: Documents section accessible from users panel.
  • Added: Contract model moved to separate module Contract.
  • Added: New action to generate PDF from Contract.
  • Fixed: Allow users to download files only by hash instead of direct id.
  • Added: Support for SHA1 as allowed mysql function.
File:
1 edited

Legend:

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

    r895 r901  
    7373        } else $Actions .= call_user_func($Action).'<br/>';
    7474      }
    75       $Output .= '<div class="Centred"><table id="MainTable"><tr><td style="vertical-align:top;">';
     75      $Output .= '<div class="Centered"><table id="MainTable"><tr><td style="vertical-align:top;">';
    7676      $Output .= $this->Panel('Nabídka uživatele', $Actions);
    7777      $Output .= '</td><td style="vertical-align:top;">';
     
    106106        $Form->OnSubmit = '?Action=Login';
    107107        $Output .= $Form->ShowEditForm();
    108         $Output .= '<div class="Centred"><a href="?Action=UserRegister">Registrovat se</a> '.
     108        $Output .= '<div class="Centered"><a href="?Action=UserRegister">Registrovat se</a> '.
    109109        '<a href="?Action=PasswordRecovery">Obnova zapomenutého hesla</a></div>';
    110110      } else
     
    125125            $Form->Values['Password'] = '';
    126126            $Output .= $Form->ShowEditForm();
    127             $Output .= '<div class="Centred"><a href="?Action=UserRegister">Registrovat se</a> '.
     127            $Output .= '<div class="Centered"><a href="?Action=UserRegister">Registrovat se</a> '.
    128128              '<a href="?Action=PasswordRecovery">Obnova zapomenutého hesla</a></div>';
    129129          } else {
    130             //$Output .= '<div class="Centred">Za 5 sekund budete přesměrováni na <a href="?Action=UserMenu">nabídku uživatele</a></div>';
     130            //$Output .= '<div class="Centered">Za 5 sekund budete přesměrováni na <a href="?Action=UserMenu">nabídku uživatele</a></div>';
    131131            //Header('refresh:5;url=?Action=UserMenu');
    132132            Header('Location: ?Action=UserMenu');
Note: See TracChangeset for help on using the changeset viewer.