>>It should be forbidden to edit a non-py file under controllers/models
>>and non-html files under views/
Aham, actual admin allows edit non-html under views,
then one of your target is to get enforced good practices, isn't?
I have some ideas too, I'll comment them soon
>>I very much like elRTE but I cannot find a way to customize the header
>>beyond the tiny, compact, etc. options.
>>I would like it to fit in one line
i think composition of toolbar is made in "src/elrte/js/
elRTE.options.js",
take a look at its content:
----------------------------------------------
....
panels : {
save : ['save'],
copypaste : ['copy', 'cut', 'paste', 'pastetext',
'pasteformattext', 'removeformat', 'docstructure'],
undoredo : ['undo', 'redo'],
style : ['bold', 'italic', 'underline', 'strikethrough',
'subscript', 'superscript'],
colors : ['forecolor', 'hilitecolor'],
alignment : ['justifyleft', 'justifycenter', 'justifyright',
'justifyfull'],
indent : ['outdent', 'indent'],
format : ['formatblock', 'fontsize', 'fontname'],
lists : ['insertorderedlist', 'insertunorderedlist'],
elements : ['horizontalrule', 'blockquote', 'div',
'stopfloat',
'css', 'nbsp'],
links : ['link', 'unlink', 'anchor'],
images : ['image'],
media : ['image', 'flash'],
tables : ['table', 'tableprops', 'tablerm', 'tbrowbefore',
'tbrowafter', 'tbrowrm', 'tbcolbefore', 'tbcolafter', 'tbcolrm',
'tbcellprops', 'tbcellsmerge', 'tbcellsplit'],
elfinder : ['elfinder'],
fullscreen : ['fullscreen']
},
toolbars : {
tiny : ['style'],
compact : ['save', 'undoredo', 'style', 'alignment', 'lists',
'links', 'fullscreen'],
normal : ['save', 'copypaste', 'undoredo', 'style',
'alignment',
'colors', 'indent', 'lists', 'links', 'elements', 'images',
'fullscreen'],
complete : ['save', 'copypaste', 'undoredo', 'style',
'alignment',
'colors', 'format', 'indent', 'lists', 'links', 'elements', 'media',
'fullscreen'],
maxi : ['save', 'copypaste', 'undoredo', 'elfinder',
'style',
'alignment', 'colors', 'format', 'indent', 'lists', 'links',
'elements', 'media', 'tables', 'fullscreen'],
eldorado : ['save', 'copypaste', 'elfinder', 'undoredo',
'style',
'alignment', 'colors', 'format', 'indent', 'lists', 'links',
'elements', 'media', 'tables', 'fullscreen']
},
panelNames : {
save : 'Save',
copypaste : 'Copy/Pase',
undoredo : 'Undo/Redo',
style : 'Text styles',
colors : 'Colors',
alignment : 'Alignment',
indent : 'Indent/Outdent',
format : 'Text format',
lists : 'Lists',
elements : 'Misc elements',
links : 'Links',
images : 'Images',
media : 'Media',
tables : 'Tables',
elfinder : 'File manager (elFinder)'