1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 16:33:00 +00:00

Comment cleanup

This commit is contained in:
Starbeamrainbowlabs 2015-10-24 10:09:15 +01:00
parent 5004544b25
commit 855e1f6d46

View file

@ -200,19 +200,11 @@ register_module([
http_response_code(501);
exit("Unrecognised file type.");
}
// todo render a preview here
/*
* size (image outputs only, possibly width / height)
* 1-2048 (configurable)
* filetype
* either a mime type or 'native'
*/
});
page_renderer::register_part_preprocessor(function(&$parts) {
// Todo add the preview to the top of the page here, but onyl if the current action is view and we are on a page prefixed with file:
});
}
]);