well, i've been sitting on this for a few months actually. just needed to make a workable skin. it's another version of what enesce did, with a GPL attached to it, and is my way of offering help as mentioned above. i'll be happy to fix any bugs with the current version, though any features to be added would probably be on the part of another programmer. feel free to take parts of use parts of this in your own version or modify mine to your liking. and on a side note: although you can do a crapload with the skinning, conceivably, if and when i get that php soldat admin server done, it will have pretty much this, but with full XSLT support, which is a far cry above css styling.
you can download it here
- php soldat weapons editor (or php-swed)
the class that controls ini loading and saving makes it almost impossible to send invalid data without excessive checking.
can configure the soldat installation path, for loading weapons.ini plus additional paths that correspond to any valid PHP stream (ftp, filesystem, etc) for saving.
can rename all weapons and bullet-styles in the configuration file, in addition to grouping in any way seen fit.
nearly every element can be controlled in any way through css with the excessive number of id and class hooks.
can configure which ip addresses are considered local/admin. all other ip addresses will only be able to download the file, while admins can choose to save it directly to the disk (if the config is set correctly, it will overwrite weapons.ini in the soldat directory
when download is selected, will force browser to display save-file dialog.
object oriented programming might help anyone wanting to modify/extend this since half of it is in a completely stand-alone module
EDIT: it'll be a while until i get my own dedicated server up and running (the one i'm hosting the file off of only supports php 4, and this script requires php 5), but when i do, i'll setup a preview version of this.