179 Commits

Author SHA1 Message Date
slawkens
c1027d3663 Fixes on new highscores
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)
2020-12-21 01:54:00 +01:00
Lee
30cdb1ba73 Dashboard modules updated
More flexibility and additions on the dashboard modules.

-Statistics: Accounts, Players, Monsters, Guilds, Houses
-Website Status: Maintenance
-Server Status: name, client, map, monsters loaded, MOTD,

default:
'admin_panel_modules' => 'statistics,web_status,server_status,lastlogin,created,points,coins,balance',
2020-11-07 14:36:12 +00:00
Lee
01e3d366ba Update admin.menus.js.html.twig
replaced del.png with a font awesome icon to go with the style of the rest of the icons on page.
2020-11-06 14:17:40 +00:00
slawkens
cf2c5e36bc
Feature/better highscores (#141)
* 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>
2020-11-02 23:34:29 +01:00
slawkens
5d5875d540
Bans page working for TFS 1.x + move to Twig (#140)
* Bans page working for TFS 1.x + move to Twig

* Remove some debug code

* Add some protection

* Better check.
2020-10-30 06:52:50 +01:00
slawkens
9fe419cfe7 Creatures and monsters are now reloaded in Admin Panel 2020-10-27 07:33:21 +01:00
slawkens
42a628731d move characters link to twig 2020-10-27 07:24:21 +01:00
slawkens
2daa42e124 Add accept=".zip" to plugin upload file 2020-10-24 05:30:04 +02:00
slawkens
abfd2c94f5 Move template_header and change_template to twig 2020-10-18 06:54:54 +02:00
slawkens
65b4b2d183 Rename file to admin.data.html.twig 2020-10-09 23:38:33 +02:00
slawkens
94b145b215 New class: DataLoader (loads data from server)
Also combined some code responsible for loading server data
2020-10-09 23:37:24 +02:00
slawkens
6c9e6af154 Move installer.js to main tools 2020-10-09 23:18:22 +02:00
slawkens
ed3d415c05 Change wrong table header: Description -> Version 2020-10-08 00:03:53 +02:00
slawkens
48874f5b07 Disable mail_enabled by default on clean install
Causes too many issues when no smpt server available and other options are not configured
2020-10-07 23:22:02 +02:00
slawkens
602a4aa835
Feature/experience stages twig (#135)
* Move Experience Stages to Twig

* Change name to underline (standard)

* Update system/pages/experiencestages.php

Co-authored-by: whiteblXK <krzys16001@gmail.com>

Co-authored-by: whiteblXK <krzys16001@gmail.com>
2020-08-24 19:36:43 +02:00
slawkens
e61bfd2722 My fault (wrong email) forgot to change :P 2020-07-03 22:51:58 +02:00
slawkens
a7c5cb8f5a Add some notice about Email validation 2020-07-03 22:15:04 +02:00
slawkens
03467ea64e Update change_password email to be more informal 2020-06-06 19:51:17 +02:00
slawkens
e84c6f7a24 Fix XSS in character search
(cherry picked from commit dfc70c098f43b320cbb750b0a89ee9c027ce8fed)
2020-06-06 18:33:38 +02:00
slawkens
1087aefe0a One more hook 2020-06-01 23:09:27 +02:00
slawkens
9b66edc148 Add some additional hooks to characters.html.twig 2020-06-01 22:41:32 +02:00
Lee
f46a42023f Update admin.login.html.twig
- fix for label not ticking the box when remember me text clicked
2020-05-25 23:34:04 +01:00
Lee
1f0b4425a4 Code cleanup
- Relocated html5shiv.js (v3.7.3) and respond.js (v1.4.2)
- Removed unneeded/duplicate dependency files.
2020-05-23 02:47:12 +01:00
slawkens
416de6b584 Update admin.items.html.twig 2020-05-14 23:16:05 +02:00
slawkens
2ff56c17e3 Added some fancy spinner to items loader 2020-05-10 12:39:06 +02:00
slawkens
e7e327c238 Fix some small typos on admin.menus 2020-04-20 23:31:06 +02:00
Lee
cddd915adf Admin fixes
-login/logout error fix
-debugging code removed
2020-04-02 18:44:15 +01:00
Lee
eaa11c68f3 Admin Panel Updates
- Updated Admin Panel to Bootstrap 4.
- Code cleanup
- Rewrote menu generation code
- Added top 10 coins, top 10 premium points, last 10 logins to modules page.
- Added full account list to Account editor
- Added load outfits from XML to player editor and lists all enabled outfits in editor (will default to textbox if array of outfits do not exist)
- Added tabs to account editor - account, characters,store history, bans(this is based off the bans.php page so will not work on TFS 0.2/1.0)
- Updated datepickers to display the actual date rather than unix time.
- Added last 10 posts to player editor
2020-03-31 02:03:16 +01:00
slawkens
4e935719d3 Change account_login input type from password to text
This allows for browsers to save username & password
2020-03-14 13:51:47 +01:00
slawkens
22b71ae477 Fix houses list View button 2020-03-14 11:33:48 +01:00
slawkens
7424901aca Change tooltip css class to item_image (bootstrap conflict) 2020-02-28 21:50:21 +01:00
slawkens
c071d65c67 Add missing labels 2020-02-25 21:35:28 +01:00
slawkens
e5ca3daa54 This isnt't required anymore 2020-02-15 05:42:23 +01:00
slawkens
2070f91a8f Temp fix for a space that Twig cuts.. 2020-02-15 03:53:33 +01:00
slawkens
5b6b37a867 Add some missing <br/> to online page 2020-02-15 03:30:20 +01:00
slawkens
b95d333dc9 Fix login button in guilds.view page 2020-02-13 01:15:48 +01:00
slawkens
b68077d969 Move rules to Admin Pages
Can be edited by user directly in Admin Panel now
2020-02-11 01:03:41 +01:00
slawkens
f475c671f7 Add enable_tinymce option to Pages editor 2020-02-11 01:02:46 +01:00
slawkens
8345b839e7 Add info if PHP is enabled on the admin pages 2020-02-11 00:37:42 +01:00
slawkens
8146c90efa Remove stupid alerts on account create 2020-02-10 23:13:04 +01:00
slawkens
72c79e005a Add some new hooks for the account/create page
Also moved some account-create text to plugins
2020-02-10 23:07:23 +01:00
slawkens
d252138867 Display plugin.description as raw 2020-02-10 22:49:26 +01:00
slawkens
071289bc48 Add missing closing table </table> 2020-02-07 01:06:30 +01:00
slawkens
1e5e576bd0 Some formatting fixes 2020-02-07 00:57:02 +01:00
slawkens
a03a8bf0d5 Fix #51 2020-01-22 00:33:50 +01:00
slawkens
c7f2cab56a Remove useless .htaccess 2020-01-15 20:57:31 +01:00
slawkens
2bd372dbaa Add index.html to prevent autoindex
This fixes #101
2020-01-15 20:55:57 +01:00
tobi132
be9ce34dc8 Fixed #98 2019-12-25 01:31:30 +01:00
tobi132
711027e450 Move Admin Logs and Reports into Twig 2019-12-09 19:57:42 +01:00
tobi132
8115cc5ecc Better view of guilds (new buttons, table look and feel) 2019-12-03 05:20:31 +01:00