index 9a1695b419e9733ac97a20917681808844c3de45..049e3a220b812d713a5360813ffc90478ace2903 100644 (file)
<?php
/*
This code is part of GOsa (https://gosa.gonicus.de)
- Copyright (C) 2003 Cajus Pollmeier, Fabian Hickert
+ Copyright (C) 2005, Fabian Hickert
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
return($str);
}
+
/* Read filecontent */
function getcontents($file)
{
return($str);
}
+
/*Remove tags */
function remove_unwanted_tags($str,$replacements)
{
return($str);
}
+
/*Converts the all links to specified path, is needed to get simple navigation */
function linkwrapper($str,$link)
{
return($str);
}
+
/* Search content */
function search($arr,$word)
{
return($result);
}
+
/* Detect 10 Best result entries, sort and call createResultEntry to create HTML output for complete list */
function searchlist($arr,$res,$maxresults)
{
return($ret);
}
+
/* This function marks a string with the given search result for this string*/
function markup_page($arr,$res)
{
-global $pre_mark,$suf_mark;
+ global $pre_mark,$suf_mark;
+
$ret = ""; // return value
$repl = array();
$posadd = 0;
return($arr);
}
+
/* This function marks a single word with the specified prefix and suffix */
function markword($string,$position,$word,$prefix,$suffix)
{
return($str);
}
+
/*Simple function to detect if we prepare to change a tag or visible text */
function is_in_tag($string,$pos)
{