heres the changelog:
- even more quickies, using s9y/serendipity_editor.js
- buttons made s9y style
- started to rewrite the whole code, initEditor() done nicely so far
- preselection of chosen template in the templates dropdown list to prevent confusion
- editor now per default opens info.txt instead of index.tpl to prevent php errors if no index.tpl is available and no file is chosen
- completely rewrote filelist: output is now sorted, images are prevent from being listed and subdirs are shown (but disabled) in preparation of subdir handling
- some little PEAR compliance, still has to be done nearly completely
- rudimentary implementation of a colorpicker
so its worth to check it out, the color picker is in there too
-----
edit:
Hi Carl,
hi Garvin,
as you can see i have implemented the colorpicker testwise. i think it works good the way i have done this, all i have to do is some cosmetical things about it, but thats not really important
@carls template: wow, i didnt know its implemented that easy, really a nice one to make the templates configurable that way. it opens really widespread possibilites and i hope it helps s9y to spread around the worlt even more
well, regarding the template editor, color picker and its integration i have to admit that theres some difficulties with that. i do not think it should be available only within my editor or something, but would like to mention that both the configuration page for templates and my template editor belong together in some way. so my suggestion would be to put them together in the long term. maybe we could find a way to include the template editor at the bottom of the templates configuration page or, even better, put them together and make them show/hide like the different blocks in the "new article" form.
the more i think about this the more i get a clue of it, hehe. is there already an event hook that could easily do this? if we got an event hook "template_configuration_page" or something we could easily allow the plugin to integrate there and everything would be fine