dirroot."/search/lib.php"; $defaultfiletypes = "PDF,TXT,HTML,PPT,XML,DOC,HTM"; if (!isset($CFG->block_search_utf8dir)){ $CFG->block_search_utf8dir = 0; } if (!isset($CFG->block_search_softlock)){ $CFG->block_search_softlock = 0; } ?>
:
:

: block_search_utf8dir) echo "checked=\"checked\"" ?> /> block_search_utf8dir) echo "checked=\"checked\"" ?> />

: block_search_softlock) echo "checked=\"checked\"" ?> /> block_search_softlock) echo "checked=\"checked\"" ?> />

: block_search_enable_file_indexing) && $CFG->block_search_enable_file_indexing) { echo " checked=\"checked\" "; } ?> /> - block_search_enable_file_indexing) || !$CFG->block_search_enable_file_indexing) { echo " checked=\"checked\" "; } ?> />

:

: block_search_usemoodleroot)) ? 'checked="checked"' : '' ; $notusemoodleroot = (!isset($CFG->block_search_usemoodleroot)) ? 'checked="checked"' : '' ; ?> value="1"/> - value="0"/>

:

: ostype == 'WINDOWS'){ p("lib/xpdf/win32/pdftotext.exe -eol dos $encoding -q"); } else{ p("lib/xpdf/linux/pdftotext $encoding -eol unix -q"); } } ?>"/>

: "/>

: dirroot}\\lib\\antiword\\win32"); } else{ p("ANTIWORDHOME={$CFG->dirroot}/lib/antiword/linux/usr/share/antiword"); } } ?>"/>

block_search_filetypes); if (!empty($types)){ foreach($types as $type) { $utype = strtoupper($type); $type = strtolower($type); $type = trim($type); if (preg_match("/\\b$type\\b/i", $defaultfiletypes)) continue; ?>
: $propname)) { p($CFG->$propname); } ?>"/>

: $propname)) { echo stripslashes($CFG->$propname); } ?>"/>

            
            
name}"; $checkedup = (!isset($CFG->$keyname) || $CFG->$keyname) ? 'checked="checked"' : '' ; $checkeddown = !(!isset($CFG->$keyname) || $CFG->$keyname) ? 'checked="checked"' : '' ; echo "name}\" value=\"0\" {$checkeddown} /> " . get_string('no'); echo " - name}\" value=\"1\" {$checkedup} /> " . get_string('yes'); echo " - ".get_string('modulename', $module->name).'
'; if ($i % 20 == 0){ echo "
"; } $found_searchable_modules = 1; } } if (!$found_searchable_modules) { print_string('nosearchablemodules', 'block_search'); } ?>
name}"; $checked = (!isset($CFG->$keyname) || $CFG->$keyname) ? 'checked="checked"' : '' ; echo "name}\" value=\"1\" {$checked} />"; // multiple fallback strategy to get the name of the block $blocklabel = get_string('blockname', 'block_'.$block->name); if ($blocklabel == '[[blockname]]') $blocklabel = get_string($block->name, 'block_'.$block->name); if ($blocklabel == "[[{$block->name}]]") $blocklabel = "$block->name"; echo " - ".$blocklabel.'
'; if ($i % 20 == 0){ echo "
"; } $found_searchable_blocks = 1; } } if (!$found_searchable_blocks) { print_string('nosearchableblocks', 'block_search'); } ?>