Changeset 864 for trunk/Application


Ignore:
Timestamp:
Feb 5, 2016, 11:47:36 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Do not allow to regenerate multipletimes already running export task.
  • Modified: Progress reimplemented as Page class extension with virtual URL to avoid execution of any scripts with path to Modules subdirectory.
  • Added: Show estimated time to complete export task.
Location:
trunk/Application
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Core.php

    r862 r864  
    332332    $this->PageHeaders[$Name] = $Callback;
    333333  }
     334
     335  function HumanDate($Time)
     336  {
     337    return(date('j.n.Y', $Time));
     338  }
    334339}
  • trunk/Application/Version.php

    r862 r864  
    66// and system will need database update.
    77
    8 $Version = '1.0-alfa';
    9 $Revision = 862; // Subversion revision
     8$Version = '1.0';
     9$Revision = 864; // Subversion revision
    1010$DatabaseRevision = 857; // Database structure revision
    11 $ReleaseTime = '2016-01-22';
     11$ReleaseDate = strtotime('2016-02-05');
  • trunk/Application/View.php

    r863 r864  
    109109  function ShowFooter()
    110110  {
    111     global $ScriptStartTime, $Revision, $ReleaseTime, $Version;
     111    global $ScriptStartTime, $Revision, $ReleaseDate, $Version;
    112112
    113113    $ScriptGenerateDuration = round(GetMicrotime() - $ScriptStartTime, 2);
     
    123123    $Output .= '</td>';
    124124    $Output .= '</tr><tr>'.
    125       '<td colspan="4" class="page-bottom">'.T('Version').': '.$Version.' '.T('Revision').': '.$Revision.' ('.HumanDate($ReleaseTime).')'.
     125      '<td colspan="4" class="page-bottom">'.T('Version').': '.$Version.' '.T('Revision').': '.$Revision.' ('.$this->System->HumanDate($ReleaseDate).')'.
    126126      ' &nbsp; <a href="http://svn.zdechov.net/trac/wowpreklad/browser/trunk">'.T('Source code').'</a> &nbsp; '.
    127127      '<a href="http://svn.zdechov.net/trac/wowpreklad/log/trunk?verbose=on">'.T('Changelog').'</a> &nbsp; '.
Note: See TracChangeset for help on using the changeset viewer.