Changeset 874 for trunk/Modules/News/News.php
- Timestamp:
- Apr 6, 2020, 11:56:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/News/News.php
r873 r874 5 5 function CategoryItemCompare($Item1, $Item2) 6 6 { 7 if ($Item1['Index'] == $Item2['Index']) return (0);8 return ($Item1['Index'] > $Item2['Index'])? -1 : 1;7 if ($Item1['Index'] == $Item2['Index']) return 0; 8 return $Item1['Index'] > $Item2['Index'] ? -1 : 1; 9 9 } 10 10 … … 133 133 } 134 134 $Output .= '</div></div>'; 135 return ($Output);135 return $Output; 136 136 } 137 137 … … 191 191 $Output .= '<a href="aktuality/subscription"><img class="RSSIcon" src="images/rss20.png" alt="Aktuality přes RSS" /></a> <a href="aktuality/subscription">Automatické sledování novinek</a>'; 192 192 $Output .= '</div>'; 193 return ($Output);193 return $Output; 194 194 } 195 195 … … 214 214 } 215 215 $Output .= '</table><input type="hidden" name="NewsCategoryCount" value="'.count($this->NewsSetting).'" /><input type="submit" value="Uložit" /></form></td></tr></table><br>'; 216 return ($Output);216 return $Output; 217 217 } 218 218 … … 267 267 } 268 268 $Result .= $Content; 269 return ($Result);269 return $Result; 270 270 } 271 271 }
Note:
See TracChangeset
for help on using the changeset viewer.