<commit_before><?php 
// UliCMS Suchfunktions-Modul
// Version 0.3
// Neu: Jetzt indizierte Volltextsuche


function search_render(){
        // check if database has fulltext
        include getModulePath("search")."search_install.php";
        search_check_install();
        
	$html_output = "";
	
	$html_output .= "<form class='search-form' action='./' method='get'>
	<input type='hidden' name='seite' value='".get_requested_pagename()."'>
	Suchbegriff: <input type='text' name='q' value=''> <input type='submit' value='Suchen'>
	</form>
	";
	<commit_msg>Suchbegriff bleibt im Feld erhalten.<commit_after><?php 
// UliCMS Suchfunktions-Modul
// Version 0.3
// Neu: Jetzt indizierte Volltextsuche


function search_render(){
        // check if database has fulltext
        include getModulePath("search")."search_install.php";
        search_check_install();
        
	$html_output = "";
	
	if(!empty($_GET["q"])){
          $search_subject = htmlspecialchars($_GET["q"]);
	} else{
	  $search_subject = "";
	}
	
	$html_output .= "<form class='search-form' action='./' method='get'>
	<input type='hidden' name='seite' value='".get_requested_pagename()."'>
	Suchbegriff: <input type='text' name='q' value='".$search_subject."'> <input type='submit' value='Suchen'>
	</form>
	";
	
{'fraction_non_alphanumeric': 0.17706708268330734, 'fraction_numerical': 0.0031201248049922, 'mean_word_length': 4.01171875, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4097698', 'n_tokens_mistral': 441, 'n_tokens_neox': 429, 'n_words': 85}