Changeset 874 for trunk/Application/System.php
- Timestamp:
- Apr 6, 2020, 11:56:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/System.php
r873 r874 75 75 { 76 76 array_shift($PathItems); 77 return ($this->SearchPage($PathItems, $Pages[$PathItem]));78 } else return ($Pages[$PathItem]);79 } else return ('');77 return $this->SearchPage($PathItems, $Pages[$PathItem]); 78 } else return $Pages[$PathItem]; 79 } else return ''; 80 80 } 81 81 82 82 function PageNotFound() 83 83 { 84 return ('Page '.implode('/', $this->PathItems).' not found.');84 return 'Page '.implode('/', $this->PathItems).' not found.'; 85 85 } 86 86 … … 102 102 function ModulePresent($Name) 103 103 { 104 return (array_key_exists($Name, $this->Modules));104 return array_key_exists($Name, $this->Modules); 105 105 } 106 106 … … 112 112 function HumanDate($Time) 113 113 { 114 return (date('j.n.Y', $Time));114 return date('j.n.Y', $Time); 115 115 } 116 116 117 117 function Link($Target) 118 118 { 119 return ($this->RootURLFolder.$Target);119 return $this->RootURLFolder.$Target; 120 120 } 121 121 … … 135 135 '" width="16" height="16" /> <a href="'.$Action['URL'].'">'.$Action['Title'].'</a>'; 136 136 } 137 return ($Output);137 return $Output; 138 138 } 139 139 … … 282 282 { 283 283 Header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found'); 284 return ('<h3 align="center">Požadovaná stránka neexistuje.</h3>');284 return '<h3 align="center">Požadovaná stránka neexistuje.</h3>'; 285 285 } 286 286 }
Note:
See TracChangeset
for help on using the changeset viewer.