diff options
author | sarnowski <sarnowski@cosmocode.de> | 2009-08-24 13:22:30 +0200 |
---|---|---|
committer | sarnowski <sarnowski@cosmocode.de> | 2009-08-24 13:22:30 +0200 |
commit | bf1f3ac4f72c26ff386c08c920dda651d91c6898 (patch) | |
tree | 4b720e186993b1f96a0b55641f85d988c7bf5bb9 /lib/exe/ajax.php | |
parent | 8ec12455ec81c8832085594acd6c082b1f9e625a (diff) | |
download | rpg-bf1f3ac4f72c26ff386c08c920dda651d91c6898.tar.gz rpg-bf1f3ac4f72c26ff386c08c920dda651d91c6898.tar.bz2 |
Search capabilities for the media manager added.
darcs-hash:20090824112230-8c5bd-7b8d8ba14e7533c1035b7b732983a0e3de8251a1.gz
Diffstat (limited to 'lib/exe/ajax.php')
-rw-r--r-- | lib/exe/ajax.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/exe/ajax.php b/lib/exe/ajax.php index c10893db7..4d9a8105a 100644 --- a/lib/exe/ajax.php +++ b/lib/exe/ajax.php @@ -216,6 +216,18 @@ function ajax_medialist(){ } /** + * Return list of search result for the Mediamanager + * + * @author Tobias Sarnowski <sarnowski@cosmocode.de> + */ +function ajax_mediasearchlist(){ + global $conf; + require_once(DOKU_INC.'inc/media.php'); + + media_searchlist($_POST['ns']); +} + +/** * Return sub index for index view * * @author Andreas Gohr <andi@splitbrain.org> |