pub / kontra

Der linke Newsaggregator.
git clone src.jayvii.de/pub/kontra.git
Home | Log | Files | Exports | Refs | README | RSS

commit ccd01edd0efc48edef68c10d38e2ba296dfd9cd6
parent 21159dd16c0540680dea225011a91a9fa2a35dcf
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  5 Jul 2025 11:30:54 +0200

feat: list sources alphabetically

Diffstat:
Mindex.php | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/index.php b/index.php @@ -368,6 +368,10 @@ </div> <input type="hidden" name="action" value="gen_opml"> <?php + /* Sort sources according to their ID */ + ksort($config["sources"]); + + /* Cycle through sources and list them in article objects */ $cnt = 0; foreach ($config["sources"] as $id => $source) { $cnt++; // increase counter for POST field ID