function description() { return exponent_lang_loadKey('modules/NavigationModule/class.php', 'module_description'); }
function description() { return exponent_lang_loadKey('subsystems/users/profileextensions/phoneextension.php', 'extension_description'); }
function spiderContent($item = null) { global $db; if (!defined('SYS_SEARCH')) { require_once BASE . 'subsystems/search.php'; } $search = null; $search->category = exponent_lang_loadKey('modules/WeblogModule/class.php', 'search_category'); $search->view_link = ""; // FIXME : need a view action $search->ref_module = 'WeblogModule'; $search->ref_type = 'weblog_post'; $view_link = array('module' => 'WeblogModule', 'action' => 'view', 'id' => 0); if ($item && $item->is_draft == 0) { $db->delete('search', "ref_module='WeblogModule' AND ref_type='weblog_post' AND original_id=" . $item->id); $search->original_id = $item->id; $search->body = " " . exponent_search_removeHTML($item->body) . " "; $search->title = " " . $item->title . " "; $search->location_data = $item->location_data; $view_link['id'] = $item->id; $search->view_link = exponent_core_makeLink($view_link, true); $db->insertObject($search, 'search'); } else { $db->delete('search', "ref_module='WeblogModule' AND ref_type='weblog_post'"); foreach ($db->selectObjects('weblog_post', 'is_private=0 AND is_draft=0') as $item) { $search->original_id = $item->id; $search->body = ' ' . exponent_search_removeHTML($item->body) . ' '; $search->title = ' ' . $item->title . ' '; $search->location_data = $item->location_data; $view_link['id'] = $item->id; $search->view_link = exponent_core_makeLink($view_link, true); $db->insertObject($search, 'search'); } } return true; }
function description() { return exponent_lang_loadKey('modules/ResourceModule/class.php', 'module_description'); }
function description() { return exponent_lang_loadKey('modules/imagemanagermodule/class.php', 'module_description'); }
function description() { return exponent_lang_loadKey('modules/SharedCoreModule/class.php', 'module_description'); }
function description() { return exponent_lang_loadKey('modules/UISwitchermodule/class.php', 'module_description'); }
function description() { return exponent_lang_loadKey('modules/addressbookmodule/class.php', 'module_description'); }
function description() { return exponent_lang_loadKey('modules/calendarmodule/class.php', 'module_description'); }
function description() { return exponent_lang_loadKey('modules/HTMLTemplateModule/class.php', 'module_description'); }
function spiderContent($item = null) { global $db; if (!defined('SYS_SEARCH')) { include_once BASE . 'subsystems/search.php'; } $search = null; $search->title = ''; $search->view_link = ''; $search->category = exponent_lang_loadKey('modules/TextModule/class.php', 'search_post_type'); $search->ref_module = 'TextModule'; $search->ref_type = 'textitem'; if ($item) { $db->delete('search', "ref_module='TextModule' AND ref_type='textitem' AND original_id=" . $item->id); $search->original_id = $item->id; $search->body = ' ' . exponent_search_removeHTML($item->text) . ' '; $search->location_data = $item->location_data; $db->insertObject($search, 'search'); } else { $db->delete('search', "ref_module='TextModule' AND ref_type='textitem'"); foreach ($db->selectObjects('textitem') as $item) { $search->original_id = $item->id; $search->body = ' ' . exponent_search_removeHTML($item->text) . ' '; $search->location_data = $item->location_data; $db->insertObject($search, 'search'); } } return true; }
function description() { return exponent_lang_loadKey('modules/administrationmodule/class.php', 'module_description'); }
################################################## //GREP:VIEWIFY if (!defined("EXPONENT")) { exit(""); } // First, check our module config $config = $db->selectObject('searchmodule_config', "location_data='" . serialize($loc) . "'"); if ($config == null) { $config->is_categorized = 0; } if (!defined("SYS_SEARCH")) { include_once BASE . "subsystems/search.php"; } $search_string = trim(strtolower(strip_tags($_GET['search_string']))); if ($search_string == "") { echo exponent_lang_loadKey('modules/searchmodule/actions/search.php', 'need_term'); return; } $term_status = exponent_search_cleanSearchQuery(array_map("addslashes", array_map("trim", split(" ", $search_string)))); $terms = $term_status['valid']; $results = array(); foreach ($db->selectObjects("search", exponent_search_whereClause(array("title", "body"), $terms, SEARCH_TYPE_ANY)) as $r) { $result = null; $rloc = unserialize($r->location_data); $sectionref = $db->selectObject("sectionref", "module='" . $rloc->mod . "' AND source='" . $rloc->src . "'"); $section = $db->selectObject("section", "id=" . $sectionref->section); $canview = navigationmodule::canView($section); if ($canview && $r->view_perm != '') { // No point in checking the perm stuff if they cant even see the section $canview = false; // They need to have specific perms on the module.
function description() { return exponent_lang_loadKey('modules/ContainerModule/class.php', 'module_description'); }