forked from horde/mnemo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.php
More file actions
28 lines (24 loc) · 696 Bytes
/
search.php
File metadata and controls
28 lines (24 loc) · 696 Bytes
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
<?php
/**
* Copyright 2001-2017 Horde LLC (http://www.horde.org/)
*
* See the enclosed file LICENSE for license information (ASL). If you
* did not receive this file, see http://www.horde.org/licenses/apache.
*
* @author Jon Parise <jon@horde.org>
* @author Jan Schneider <jan@horde.org>
* @package Mnemo
*/
require_once __DIR__ . '/lib/Application.php';
Horde_Registry::appInit('mnemo');
$vars = Horde_Variables::getDefaultVariables();
$form = new Mnemo_Form_Search($vars);
$page_output->addInlineScript(array(
'$("search_pattern").focus()'
), true);
$page_output->header(array(
'title' => _("Search")
));
$notification->notify();
$form->render();
$page_output->footer();