Changeset 738 for trunk/Modules/Meals


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/Meals/Meals.php

    r586 r738  
    44{
    55  var $FullTitle = 'Jídleníček jídelny Na kopečku';
    6   var $ShortTitle = 'Jídelníček'; 
     6  var $ShortTitle = 'Jídelníček';
    77  var $ParentClass = 'PagePortal';
    88  var $DayNames = array('Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota');
     
    1414  {
    1515    if(count($this->System->PathItems) > 1)
    16     { 
     16    {
    1717      if($this->System->PathItems[1] == 'tisk') return($this->ShowPrint());
    1818        else if($this->System->PathItems[1] == 'menuedit.php') return($this->ShowEdit());
     
    4242    return($Output);
    4343  }
    44  
     44
    4545  function ShowPrint()
    4646  {
    4747    $this->ClearPage = true;
    48    
     48
    4949    $Output = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    5050<html>
     
    7979      {
    8080        $Output .= '<br>'.$this->Status[$Row['Status']].'<br>&nbsp;';
    81       } 
     81      }
    8282      $Output .= '</td></tr>';
    8383    }
     
    9191
    9292    $Output .= '</body></html>';
    93     return($Output);   
     93    return($Output);
    9494  }
    9595
     
    109109        '">Tisk</a></td>';
    110110      else $WeekRowSpan = '';
    111     if($Week == 0) $Color = ' style="color: #ff0000;" '; else $Color = ''; 
     111    if($Week == 0) $Color = ' style="color: #ff0000;" '; else $Color = '';
    112112    $Output = '<tr><td'.$Color.'>'.$this->DayNames[$Week].'</td><td>'.HumanDate($Row['Date']).'</td>'.$WeekRowSpan.'
    113113    <td><input name="soup_'.$Row['Date'].'" size="30" value="'.$Row['Soup'].'"></td>
     
    190190    $this->SupportedModels = array('Meals', 'MealsInfo');
    191191  }
    192  
     192
    193193  function DoInstall()
    194194  {
    195195  }
    196  
     196
    197197  function DoUnInstall()
    198198  {
Note: See TracChangeset for help on using the changeset viewer.