Changeset 925
- Timestamp:
- May 10, 2022, 11:05:51 PM (2 years ago)
- Location:
- trunk/Modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r921 r925 896 896 { 897 897 $Duration = $Time - MysqlDateTimeToTime($Item['LastOnline']); 898 $DurationText = sprintf('%02d', floor($Duration / 3600 % 24)).':'.899 sprintf('%02d', floor($Duration / 60 % 60)).':'.900 sprintf('%02d', floor($Duration % 60));898 $DurationText = sprintf('%02d', floor($Duration / 3600) % 24).':'. 899 sprintf('%02d', floor($Duration / 60) % 60).':'. 900 sprintf('%02d', floor($Duration) % 60); 901 901 $Days = floor($Duration / (60 * 60 * 24)); 902 902 if ($Days > 0) $DurationText = $Days.' dnů '.$DurationText; … … 947 947 { 948 948 $Duration = $Time - MysqlDateTimeToTime($Item['LastOnline']); 949 $DurationText = sprintf('%02d', floor($Duration / 3600 % 24)).':'.950 sprintf('%02d', floor($Duration / 60 % 60)).':'.951 sprintf('%02d', floor($Duration % 60));949 $DurationText = sprintf('%02d', floor($Duration / 3600) % 24).':'. 950 sprintf('%02d', floor($Duration / 60) % 60).':'. 951 sprintf('%02d', floor($Duration) % 60); 952 952 $Days = floor($Duration / (60 * 60 * 24)); 953 953 if ($Days > 0) $DurationText = $Days.' dnů '.$DurationText; -
trunk/Modules/Notify/Notify.php
r912 r925 100 100 $Mail = new Mail(); 101 101 $Mail->Subject = $Title; 102 $Mail->From = $this->System->Config['Web']['Title'].' <noreplay@zdechov.net>'; 102 103 $Mail->AddTo($User['Value'], $User['Name']); 103 104 $Mail->AddBody(strip_tags($Content), 'text/plain');
Note:
See TracChangeset
for help on using the changeset viewer.