Ignore:
Timestamp:
Dec 14, 2013, 2:53:10 PM (11 years ago)
Author:
maron
Message:
  • Added: Link to download czech text on FrontPage.php
  • fixed: datetime of last generation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/FrontPage/FrontPage.php

    r636 r648  
    7676        $Output = '';
    7777        if(isset($Message)) $Output .= ShowMessage($Message, $MessageType);
    78          
     78                            
    7979        $Output .= '<br />'.
    8080                        '<table class="Home"><tr><td colspan="3">'.$this->ShowWelcome().
    81                         '</td></tr>'.
    82                         '<tr><td>'.$this->ShowLastTranslated().'</td>'.
     81                        '</td></tr>';
     82        $file = $this->System->Config['Web']['TempFolder'].'mpq/Instalace_CzechWoW_3.3.3a.exe';                                                                                               
     83    if (file_exists($file))
     84      $Output .= '<tr><td><h3><a href="'.$file.'" title="'.T('Automatic every day generated czech text for client').' ('.date('d.m.Y h:i',(filemtime($file))).')">'.sprintf(T('Download czech text %s'), '3.3.5a').'</a></h3><br/></tr><td>';
     85
     86        $Output .= '<tr><td>'.$this->ShowLastTranslated().'</td>'.
    8387                        '<td class="news-box">'.$this->System->ModuleManager->Modules['News']->ShowBox().'</td>'.
    8488                        '<td>'.$this->System->ModuleManager->Modules['ShoutBox']->ShowBox().'</td>'.
Note: See TracChangeset for help on using the changeset viewer.