home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
CMCD0404.ISO
/
Software
/
Freeware
/
Programare
/
groupoffice-com-2.01
/
modules
/
wiki
/
template
/
find.php
< prev
next >
Wrap
PHP Script
|
2004-03-08
|
1KB
|
34 lines
<?php
// $Id: find.php,v 1.1 2004/01/12 22:14:05 comsubvie Exp $
require_once(TemplateDir . '/common.php');
// The find template is passed an associative array with the following
// elements:
//
// find => A string containing the text that was searched for.
// pages => A string containing the XHTML markup for the list of pages
// found containing the given text.
function template_find($args)
{
template_common_prologue(array('norobots' => 1,
'title' => TMPL_Find .' '. $args['find'],
'heading' => TMPL_Find .' '. $args['find'],
'headlink' => '',
'headsufx' => '',
'toolbar' => 1));
?>
<div id="body">
<?php print $args['pages']; ?>
</div>
<?php
template_common_epilogue(array('twin' => '',
'edit' => '',
'editver' => 0,
'history' => '',
'timestamp' => '',
'nosearch' => 0));
}
?>