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:
parent
5004544b25
commit
855e1f6d46
1 changed files with 2 additions and 10 deletions
|
@ -200,19 +200,11 @@ register_module([
|
||||||
http_response_code(501);
|
http_response_code(501);
|
||||||
exit("Unrecognised file type.");
|
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) {
|
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:
|
// 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:
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue