Changeset 874 for trunk/Modules/NetworkTopology
- Timestamp:
- Apr 6, 2020, 11:56:19 PM (5 years ago)
- Location:
- trunk/Modules/NetworkTopology
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkTopology/NetworkTopology.php
r873 r874 12 12 if (count($this->System->PathItems) > 1) 13 13 { 14 if ($this->System->PathItems[1] == 'topologie.png') return ($this->ShowImage());15 else return (PAGE_NOT_FOUND);14 if ($this->System->PathItems[1] == 'topologie.png') return $this->ShowImage(); 15 else return PAGE_NOT_FOUND; 16 16 17 } else return ($this->ShowOverview());17 } else return $this->ShowOverview(); 18 18 } 19 19 … … 109 109 imagedestroy($im_dev); 110 110 } 111 return ('');111 return ''; 112 112 } 113 113 … … 126 126 zařízení, které jsou přes něj připojeny. U zařízení, kde není stav možné 127 127 zjišťovat je použita <span style="color:gray">šedá barvou</span>.</p>'; 128 return ($Output);128 return $Output; 129 129 } 130 130 } -
trunk/Modules/NetworkTopology/topologie-img.php
r873 r874 156 156 } while ($level >= 0); 157 157 $data = compact('tbound', 'count', 'tbound', 'vfirst', 'vlast', 'vtop', 'vleft', 'height', 'width', 'index', 'maxindex'); 158 return ($data);158 return $data; 159 159 }; 160 160 … … 194 194 { 195 195 global $vleft, $spacex; 196 return ($vleft[$id] * $spacex);196 return $vleft[$id] * $spacex; 197 197 } 198 198 -
trunk/Modules/NetworkTopology/topologie2.php
r873 r874 50 50 $Result['max'] = max($SubitemResult['max'], $Result['max']); 51 51 } 52 return ($Result);52 return $Result; 53 53 } 54 54
Note:
See TracChangeset
for help on using the changeset viewer.