Znote / ZnoteAAC

Developement repository for the Znote AAC project. A website portal to represent and manage your Open Tibia server.
MIT License
145 stars 127 forks source link

Changelog limit #449

Open paola92 opened 3 years ago

paola92 commented 3 years ago

Hi, how to change limit of changelogs on page from 5 to 3? I tried change for ($i = 0; $i < count($changelogs) && $i < 5; $i++) { in index.php but not working.

Znote commented 3 years ago

https://github.com/Znote/ZnoteAAC/blob/81288040217209c1c55d3a3a8f69866b3e8c8ba2/index.php#L13-L39

In line 27, change the value 5 to 3. This determines the amount of rows it will loop through in the changelogs cache.