HomeHelpTrac

source: trunk/searchKeywordContent.php @ 15211

Revision 15211, 713 bytes checked in by Alexander Trofimov, 12 months ago (diff)

Code cleaning:

  • converting new lines to \n
  • deleting spaces at the end of every line
  • converting all tabs to 4 spaces
  • automated script for future cleaning was added
Line 
1<?php
2/**
3 * @package     Dolphin Core
4 * @copyright   Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
5 * @license     CC-BY - http://creativecommons.org/licenses/by/3.0/
6 */
7
8require_once('./inc/header.inc.php');
9require_once(BX_DIRECTORY_PATH_INC . "languages.inc.php");
10require_once(BX_DIRECTORY_PATH_INC . "params.inc.php");
11require_once(BX_DIRECTORY_PATH_INC . "design.inc.php");
12
13$bAjaxMode = ( isset( $_SERVER['HTTP_X_REQUESTED_WITH'] ) and $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' ) ? true : false;
14$aChoice = bx_get('section');
15
16bx_import('BxDolSearch');
17$oZ = new BxDolSearch($aChoice);
18$sCode = $oZ->response();
19if ($sCode)
20    echo $sCode;
21else
22    echo $oZ->getEmptyResult();
23
Note: See TracBrowser for help on using the repository browser.