Changeset 507 for trunk/Common


Ignore:
Timestamp:
Apr 1, 2013, 7:14:59 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: Generování nastavení sítě. Generování front Queue nyní pracuje s přiřazením služeb k zařízením a podsítím.
  • Opraveno: Zjišťování adresáře souborů na disku dle id adresáře.
Location:
trunk/Common
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Form/Types/File.php

    r502 r507  
    6868  {
    6969    parent::__construct($FormManager);
    70     $this->FileDownloadURL = 'File.php';
     70    $this->FileDownloadURL = 'file';
    7171    $this->DirectoryId = null;
    7272  }
     
    7575  {
    7676    $File = &$Item['Value'];
    77     return('<a href="'.$this->FileDownloadURL.'?Id='.$File->Id.'">'.
     77    return('<a href="'.$this->FileDownloadURL.'?id='.$File->Id.'">'.
    7878      $File.'</a> ('.HumanSize($File->Size).')');
    7979  }
  • trunk/Common/Global.php

    r506 r507  
    196196  $System->AddModule(new Bill());
    197197  $System->AddModule(new Finance());
     198  $System->Modules['Finance']->MainSubject = $Config['Finance']['MainSubjectId'];
     199  $System->Modules['Finance']->DirectoryId = $Config['Finance']['DirectoryId'];
    198200  $System->Modules['Finance']->LoadMonthParameters(0);
    199201  RegisterFormClasses($System->FormManager);
  • trunk/Common/Update.php

    r505 r507  
    7676          echo($Query.';<br/>');
    7777          flush();
    78           $this->Database->query($Query);
     78          return($this->Database->query($Query));
    7979  }
    8080}
  • trunk/Common/Version.php

    r505 r507  
    11<?php
    22
    3 $Revision = 505; // Subversion revision
    4 $DatabaseRevision = 505;
    5 $ReleaseTime = '2013-03-31';
     3$Revision = 507; // Subversion revision
     4$DatabaseRevision = 507;
     5$ReleaseTime = '2013-04-01';
    66
    77?>
Note: See TracChangeset for help on using the changeset viewer.