Update 16.02.06: See this post for the latest version 1.1.2
Hi everyone,
For the last few days, I've been working on a file/text editor for PunBB, and I now think it's ready for at least a beta release. The code still could use a *lot* of cleanup, but I've been testing it on several systems, and it have worked very well on all of them.
I'm still considering adding more features to it, but I'm sure you'll let me know what's needed
Some of the features:
* File browser
* Line by line editing of files, with line numbering (in line edit mode). Can switch between this mode, and free edit in a text area.
* To delete a complete line, just mark the checkbox for said line and save.
* "Save as..."
* Limit the type of files you're allowed to edit (see line: 13).
* Reject editing of specific files regardless of setting mentioned above. Defaults to reject this script, and config.php (see line: 26).
Now, as you can see, it's not the most advanced thing in the world, but as it's my first script of this type, I'm quite happy with it
---
Installation: Upload to your ./plugins folder, and add the CSS from the file 'add_this_to_your_style_sheet.css' to your CSS file (e.g. Oxygen.css).
---
Download: http://www.tasarinan.com/upload/AP_PunB … Editor.zip
Screens:
Browser:
Line editor:
Free edit:
EDIT: Updated script to check if the file extension specified when using "save as..." is allowed.