-Admin menu updates
-Moved getchangelogtype/where to functions file and added to twig
-Added changelog editor to admin panel and updated changelog page
-Renamed the changelog md reader to clmd and edited the version file.
Updates the creature pages to show more information.
You will need to reload your creatures.
-modifies database with migration 31
-small customisations are allowed via config file.
-functions added, getMonsterLink, getItemRarity, getCreatureImgPath, left, right,
-added functions to twig.
-view elements, immunities, summons, voices, loot, pushables, canpush, canwalk, runonhealth,hostile,attackable,rewardboss,defense,armor
-filter bosses
-show list as picture preview or names list
Fixed link to next page on first visit default highscores
Fixed position of "No records yet."
Also count pages is starting from 1 now (not from 0 like before)
I noticed if the datatables files wasn't cached some pages that didn't use it would take slightly longer to load whilst it downloaded it.
This will only write the js and css files onto the page if $use_datatable = true; is set on the page.
See accounts/news/players pages for examples.
It wasn't a massive performance loss for the user but not needed if those pages are hardly ever used.
* Move highscores to twig
* Add highscores frags for TFS 1.x
* Change $config to config()
* Cache highscores
The most asked and long awaited feature? :>
* Fix highscores_per_page and rename configurable
* Fix next page link (some typo)
* Fix too many players being shown
* Fix when changing config.highscores_per_page
* Update system/pages/highscores.php
Co-authored-by: whiteblXK <krzys16001@gmail.com>
Co-authored-by: whiteblXK <krzys16001@gmail.com>
* Update characters.php
* Update config.php
* Variable name change, better use LIMIT in query instead in loop
* Just to be sure. Security first :)
* use config function
Co-authored-by: slawkens <slawkens@gmail.com>
(cherry picked from commit dc536f0fc01862f052d5edee29ac188ac63fcf66)