aboutsummaryrefslogtreecommitdiff
path: root/mod/logbrowser/views/default/logbrowser/refine.php
blob: 27cb6042fb6c5bea7cf0a5d319f9e917027e70f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
 * Log browser search form
 *
 * @package ElggLogBrowser
 */

$form_vars = array(
	'method' => 'get',
	'action' => 'admin/administer_utilities/logbrowser',
	'disable_security' => true,
);
$form = elgg_view_form('logbrowser/refine', $form_vars, $vars);

$toggle_link = elgg_view('output/url', array(
	'href' => '#log-browser-search-form',
	'text' => elgg_echo('logbrowser:search'),
	'rel' => 'toggle',
));

?>

<div id="logbrowser-search-area" class="mbm">
	<div>
		<?php echo $toggle_link; ?>
	</div>
	<div id="log-browser-search-form" class="elgg-module elgg-module-inline hidden">
		<div class="elgg-head">
			<h3><?php echo elgg_echo('logbrowser:search'); ?></h3>
		</div>
		<div class="elgg-body">
			<?php echo $form; ?>
		</div>
	</div>
</div>