Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_official / html / modules / search / pnblocks [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 05 Aug 2002 09:21:04 | postnuke_official/html/modules/search/pnblocks | search.php,NONE,1.1 | John Robeson |
| start of search | |||
Update of /home/cvsroot/postnuke_official/html/modules/search/pnblocks
In directory ns7.hostnuke.net:/tmp/cvs-serv29635
Added Files:
search.php
Log Message:
start of search
--- NEW FILE: search.php ---
<?php // $Id: search.php,v 1.1 2002/08/05 09:21:02 johnny Exp $
// ----------------------------------------------------------------------
// PostNuke Content Management System
// Copyright (C) 2002 by the PostNuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file: search block
// ----------------------------------------------------------------------
/**
* initialise block
*/
function search_searchblock_init()
{
// Security
pnSecAddSchema('search:searchblock:', 'Block title::');
}
/**
* get information on block
*/
function search_searchblock_info()
{
// Values
return array('text_type' => 'Search',
'module' => 'search',
'text_type_long' => 'Search Block',
'allow_multiple' => true,
'form_content' => false,
'form_refresh' => false,
'show_preview' => true);
}
/**
* display block
*/
function search_searchblock_display($blockinfo)
{
// Security check
if (!pnSecAuthAction(0,
'search:searchblock:',
"$blockinfo[title]::",
ACCESS_READ)) {
return themesideblock($blockinfo);
}
/**
* modify block settings
*/
function search_searchblock_modify($blockinfo)
{
}
/**
* update block settings
*/
function search_firstblock_update($blockinfo)
{
return $blockinfo;
}
/**
* built-in block help/information system.
*/
function search_searchblock_help()
{
$output = new pnHTML();
$output->SetInputMode(_PNH_VERBATIMINPUT);
$output->Text('Any related block info should be placed in your modname_blocknameblock_help() function.');
$output->LineBreak(2);
$output->Text('More information.');
$output->SetInputMode(_PNH_PARSEINPUT);
return $output->GetOutput();
}
?>
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |