function hilite_head()
{
    $css = search_hilite_getCss();
    if (get_option('search_hilite_use_own_css') == '1') {
    } elseif (!empty($css)) {
        echo $css;
    } else {
        echo "";
    }
}
Esempio n. 2
0
/**
* @desc insert hilite css into head
* @author Georg Leciejewski
*/
function hilite_head()
{
    $css = search_hilite_getCss();
    if (get_option('search_hilite_use_own_css') == '1') {
    } elseif (!empty($css)) {
        echo $css;
    } else {
        echo "\n       <style type='text/css'>\n      .hilite {\n\t\t\tcolor: #000;\n\t\t\tbackground-color: #99ccff;\n\t\t\t}\n    .hilite1 {\n\t\t\tcolor: #000;\n\t\t\tbackground-color: #ffcc66;\n\t\t\t}\n    .hilite2 {\n\t\t\tcolor: #000;\n\t\t\tbackground-color: #99ff66;\n\t\t\t}\n    .hilite3 {\n\t\t\tcolor: #000;\n\t\t\tbackground-color: #ff9999;\n\t\t\t}\n\t</style>";
    }
}