Changeset 738 for trunk/Modules/Meals/Meals.php
- Timestamp:
- Apr 14, 2015, 10:20:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Meals/Meals.php
r586 r738 4 4 { 5 5 var $FullTitle = 'Jídleníček jídelny Na kopečku'; 6 var $ShortTitle = 'Jídelníček'; 6 var $ShortTitle = 'Jídelníček'; 7 7 var $ParentClass = 'PagePortal'; 8 8 var $DayNames = array('Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota'); … … 14 14 { 15 15 if(count($this->System->PathItems) > 1) 16 { 16 { 17 17 if($this->System->PathItems[1] == 'tisk') return($this->ShowPrint()); 18 18 else if($this->System->PathItems[1] == 'menuedit.php') return($this->ShowEdit()); … … 42 42 return($Output); 43 43 } 44 44 45 45 function ShowPrint() 46 46 { 47 47 $this->ClearPage = true; 48 48 49 49 $Output = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 50 50 <html> … … 79 79 { 80 80 $Output .= '<br>'.$this->Status[$Row['Status']].'<br> '; 81 } 81 } 82 82 $Output .= '</td></tr>'; 83 83 } … … 91 91 92 92 $Output .= '</body></html>'; 93 return($Output); 93 return($Output); 94 94 } 95 95 … … 109 109 '">Tisk</a></td>'; 110 110 else $WeekRowSpan = ''; 111 if($Week == 0) $Color = ' style="color: #ff0000;" '; else $Color = ''; 111 if($Week == 0) $Color = ' style="color: #ff0000;" '; else $Color = ''; 112 112 $Output = '<tr><td'.$Color.'>'.$this->DayNames[$Week].'</td><td>'.HumanDate($Row['Date']).'</td>'.$WeekRowSpan.' 113 113 <td><input name="soup_'.$Row['Date'].'" size="30" value="'.$Row['Soup'].'"></td> … … 190 190 $this->SupportedModels = array('Meals', 'MealsInfo'); 191 191 } 192 192 193 193 function DoInstall() 194 194 { 195 195 } 196 196 197 197 function DoUnInstall() 198 198 {
Note:
See TracChangeset
for help on using the changeset viewer.