source: extensions/rv_autocomplete/admin/custom.php @ 22201

Last change on this file since 22201 was 22201, checked in by rvelices, 11 years ago

rv autocomplete svn first commit

File size: 367 bytes
Line 
1<?php 
2defined('PHPWG_ROOT_PATH') or die('Hacking attempt!');
3
4$query = 'SELECT * FROM '.RVAC_SUGGESTIONS.'
5ORDER BY name';
6
7$suggestions = array_from_query($query);
8
9$roots = rvac_get_url_roots();
10foreach($suggestions as &$suggestion)
11  rvac_custom_link($suggestion, $roots);
12
13$template->assign('suggestions', $suggestions);
14$template->assign('RVAC_ID', RVAC_ID);
15?>
Note: See TracBrowser for help on using the repository browser.