theme preview for end users
This commit is contained in:
parent
7ab117fd31
commit
c88674aaf2
4 changed files with 23 additions and 1 deletions
6
mod/pretheme.php
Normal file
6
mod/pretheme.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
|
||||
function pretheme_init(&$a) {
|
||||
if($_REQUEST['theme']) echo json_encode(array('img' => get_theme_screenshot($_REQUEST['theme'])));
|
||||
killme();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue