Mercurial > hg > mgallery
comparison mgallery.php @ 336:0d1bd22fcb39
PHP 8 fix.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 19 Jun 2023 12:44:52 +0300 |
parents | 9dece4d00e30 |
children | d6422e856ecd |
comparison
equal
deleted
inserted
replaced
335:c9147be13386 | 336:0d1bd22fcb39 |
---|---|
799 $ptmp[] = count($galImagesIndex)." ".mgQM("gallery_nimages"); | 799 $ptmp[] = count($galImagesIndex)." ".mgQM("gallery_nimages"); |
800 if (count($galAlbumsIndex) > 0) | 800 if (count($galAlbumsIndex) > 0) |
801 $ptmp[] = count($galAlbumsIndex)." ".mgQM("gallery_nsubalbums"); | 801 $ptmp[] = count($galAlbumsIndex)." ".mgQM("gallery_nsubalbums"); |
802 | 802 |
803 if (count($ptmp)) | 803 if (count($ptmp)) |
804 $pageTitle .= " (".implode($ptmp, ", ").")"; | 804 $pageTitle .= " (".implode(", ", $ptmp).")"; |
805 | 805 |
806 echo | 806 echo |
807 mgGetPageInfoHeaderStart("galleryPageHeader"). | 807 mgGetPageInfoHeaderStart("galleryPageHeader"). |
808 "<h1>".$pageTitle."</h1>\n"; | 808 "<h1>".$pageTitle."</h1>\n"; |
809 | 809 |