File: open_calendar_search.js

package info (click to toggle)
kronolith2 2.1.4-1etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 5,560 kB
  • ctags: 2,171
  • sloc: php: 8,755; xml: 1,049; sql: 258; makefile: 65
file content (16 lines) | stat: -rw-r--r-- 491 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<script type="text/javascript">
<!--

var selfUrl = '<?php echo Util::addParameter(Horde::selfUrl(false, true), 'display_cal', '', false); ?>';

function open_calendar_search()
{
    var name = 'calendar_search_window';
    name = window.open('<?php echo Horde::applicationUrl('calendar_search.php', true) ?>', name, 'toolbar=no,location=no,status=yes,scrollbars=yes,resizable=yes,width=300,height=200');
    if (!eval('name.opener')) {
        name.opener = self;
    }
}

// -->
</script>