* @link https://www.dokuwiki.org/template:vector
* @link https://www.dokuwiki.org/devel:templates
*/
//check if we are running within the DokuWiki environment
if (!defined("DOKU_INC")){
die();
}
?>
" lang="" dir="" class="popup">
";
//include default or userdefined favicon
//
//note: since 2011-04-22 "Rincewind RC1", there is a core function named
// "tpl_getFavicon()". But its functionality is not really fitting the
// behaviour of this template, therefore I don't use it here.
if (file_exists(DOKU_TPLINC."user/favicon.ico")){
//user defined - you might find http://tools.dynamicdrive.com/favicon/
//useful to generate one
echo "\n\n";
}elseif (file_exists(DOKU_TPLINC."user/favicon.png")){
//note: I do NOT recommend PNG for favicons (cause it is not supported by
//all browsers), but some users requested this feature.
echo "\n\n";
}else{
//default
echo "\n\n";
}
//include default or userdefined Apple Touch Icon (see for
//details)
if (file_exists(DOKU_TPLINC."user/apple-touch-icon.png")){
echo "\n";
}else{
//default
echo "\n";
}
//load userdefined js?
if (tpl_getConf("vector_loaduserjs")){
echo "\n";
}
//load language specific css hacks?
if (file_exists(DOKU_TPLINC."lang/".$conf["lang"]."/style.css")){
$interim = trim(file_get_contents(DOKU_TPLINC."lang/".$conf["lang"]."/style.css"));
if (!empty($interim)){
echo "\n";
}
}
?>