I'm wondering how to add admin warnings to amxbans admin list.
At the moment my admin list looks like this:

But i'd like it to look like this:

So far I've reached the point that I have some of the stuff but not enough. I made a WAMP server just to test out my progress and I have this:

I added some code to admin_list.tpl
Code: Select all
<th>{"_WARNINGS"|LANG}</th>
and
Code: Select all
<td>{$admins.warnings}</td>
I also added some code to admin_av.tpl
Code: Select all
<tr class="settings_line">
<td>{"_WARNINGS"|lang}:</td>
<td><nobr><input size"5" type="text" name"warnings" "value="{$input.warnings}" />
But for some reason it doesn't show me the 0 at first only a blank row.
The code on line 112 of the admin_av.tpl should add warnings, for example I typed 3 in the box, clicked save, but for some reason it still didn't show the warnings ammount. What did I do wrong or what should I do to make it work?
PS. I'm using AMXBans 6.0.3