/dev/adei-asec

To get this branch, use:
bzr branch http://darksoft.org/webbzr/dev/adei-asec

« back to all changes in this revision

Viewing changes to setups/katrin/modules/filter.php

  • Committer: Suren A. Chilingaryan
  • Date: 2010-08-13 14:18:27 UTC
  • Revision ID: csa@dside.dyndns.org-20100813141827-u3o97425ppvd5g7y
Revert back to SetConfiguration from SetCustomProperties while handling certain property in search; trully support HTML content in description field within search results; support execution in XMLModule; support for setup-specific javascript code; KATRIN update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
// Author: Sebastian Voecking <sebastian.voecking@uni-muenster.de>
 
3
 
 
4
$filter_title = _("Filter");
 
5
 
 
6
function filterJS()
 
7
{
 
8
?>
 
9
    filter = new FILTER("katrin_filter_div");
 
10
<?php
 
11
}
 
12
 
 
13
function filterPage()
 
14
{
 
15
?>
 
16
<h4>Filter by parameters</h4>
 
17
<form name="form" onsubmit="return false">
 
18
<input name="filter" type="text" size="30" />
 
19
<input type="submit" value="Apply" onclick="katrin.SetCustomProperties('filter=' + encodeURIComponent(document.form.filter.value))"/>
 
20
</form>
 
21
 
 
22
<h4>Filter by date</h4>
 
23
<div id="katrin_filter_div"></div>
 
24
<?php
 
25
}
 
26
?>
 
 
b'\\ No newline at end of file'