XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Espaces de nommage | |
core | |
Variables | |
$config_handler = xoops_getHandler('config') | |
$xoopsConfigSearch = $config_handler->getConfigsByCat(XOOPS_CONF_SEARCH) | |
if($xoopsConfigSearch['enable_search'] !=1) | $action = 'search' |
if(!empty($_GET['action'])) elseif(!empty($_POST['action'])) | $query = '' |
if(!empty($_GET['query'])) elseif(!empty($_POST['query'])) | $andor = 'AND' |
if(!empty($_GET['andor'])) elseif(!empty($_POST['andor'])) | $mid = $uid = $start = 0 |
if(!empty($_GET['mid'])) elseif(!empty($_POST['mid'])) if(!empty($_GET['uid'])) elseif(!empty($_POST['uid'])) if(!empty($_GET['start'])) elseif(!empty($_POST['start'])) | $queries = array() |
if($action==='results') elseif($action==='showall') elseif($action==='showallbyuser') | $GLOBALS ['xoopsOption']['template_main'] = 'system_search.tpl' |
$groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS | |
$gperm_handler = xoops_getHandler('groupperm') | |
$available_modules = $gperm_handler->getItemIds('module_read', $groups) | |
if($action==='search') if($andor !=='OR' && $andor !=='exact' && $andor !=='AND') | $myts = MyTextSanitizer::getInstance() |
if($action !=='showallbyuser') | switch ( $action) |
if ( $xoopsConfigSearch[ 'enable_search'] !=1) $action = 'search' |
$available_modules = $gperm_handler->getItemIds('module_read', $groups) |
$config_handler = xoops_getHandler('config') |
if ( $action==='results') elseif ( $action==='showall') elseif ( $action==='showallbyuser') $GLOBALS[ 'xoopsOption'][ 'template_main'] = 'system_search.tpl' |
$gperm_handler = xoops_getHandler('groupperm') |
$groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS |
if ( $action==='search') if ( $andor !=='OR' &&$andor !=='exact' &&$andor !=='AND') $myts = MyTextSanitizer::getInstance() |
if (!empty( $_GET[ 'mid'])) elseif (!empty( $_POST[ 'mid'])) if (!empty( $_GET[ 'uid'])) elseif (!empty( $_POST[ 'uid'])) if (!empty( $_GET[ 'start'])) elseif (!empty( $_POST[ 'start'])) $queries = array() |
$xoopsConfigSearch = $config_handler->getConfigsByCat(XOOPS_CONF_SEARCH) |
if ( $action !=='showallbyuser') switch($action) |