There are ways to make this happen. I believe there are 3 files that do some of the handling for MIME types for the application, and they are:
mime_parser.class.php (in environment/classes/mail)
mime_types.class.php (same directory)
mime_types.txt (same)
However, these do e-mail by the appearance...
In the filemanager.js file (located in public/assets/javascript/og) there is a reference to
if (r.data.isModifiable) {
actions += String.format(
'<a class="list-action ico-edit" href="#" onclick="og.openLink(\'{0}\')" title="{1}" ' + actionStyle + '>' + lang('edit') + '</a>',
r.data.modifyUrl,lang('edit this document'));
}
Is there anybody that could enlighten us to where we can find where we need to edit to get the php files recognized?