summaryrefslogtreecommitdiffstats
path: root/modules-available/news/api.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* [locations] Cleanup Location classSimon Rettberg2025-07-071-2/+6
| | | | | | | | | | There was a mess of functions which mostly, but not quite, did the same things. Get rid of a couple of them and fix call sites to use alternative ones that also fit the job. While at it, add phpdoc and comments to the remaining functions, trying to clarify what they were designed for. Lastly, the return type of functions that retrieve a location id has been changed from false|int to ?int (nullable types are just nicer).
* [news] Fix news display: Load locations module before using itSimon Rettberg2022-05-131-6/+10
|
* [locations/news] Add per-location news/help/loginscreentextSimon Rettberg2022-05-031-15/+46
|
* [news] Modularize; add 'login-news' categorySimon Rettberg2019-05-281-2/+2
| | | | TODO: Use date/time picker for expire time
* [news] Move over global news API, add support for type paramSimon Rettberg2016-06-241-0/+29