hlp->getLangPart(cleanID(getId())); //current language part $transplugin_langs = explode(" ", trim($transplugin->getConf("translations"))); //available languages if (empty($transplugin_langs) || empty($transplugin_langcur) || !is_array($transplugin_langs) || !in_array($transplugin_langcur, $transplugin_langs)) { //current page is no translation or something is wrong, load default site notice $sitenotice_location = tpl_getConf("vector_sitenotice_location"); } else { //load language specific site notice $sitenotice_location = tpl_getConf("vector_sitenotice_location")."_".$transplugin_langcur; } }else{ //default site notice, no translation $sitenotice_location = tpl_getConf("vector_sitenotice_location"); } //we have to show a custom site notice if (empty($conf["useacl"]) || auth_quickaclcheck(cleanID($sitenotice_location)) >= AUTH_READ){ //current user got access? echo "\n
\n"; //get the rendered content of the defined wiki article to use as //custom site notice. $interim = tpl_include_page($sitenotice_location, false); if ($interim === "" || $interim === false){ //show creation/edit link if the defined page got no content echo "[ "; tpl_pagelink($sitenotice_location, hsc($lang["vector_fillplaceholder"]." (".hsc($sitenotice_location).")")); echo " ]
"; }else{ //show the rendered page content echo "
\n" //dokuwiki CSS class needed cause we are showing rendered page content .$interim."\n " ."
"; } echo "\n
\n"; } } //show breadcrumps if enabled and position = top if ($conf["breadcrumbs"] == true && $ACT !== "media" && //var comes from DokuWiki (empty($conf["useacl"]) || //are there any users? $loginname !== "" || //user is logged in? !tpl_getConf("vector_closedwiki")) && tpl_getConf("vector_breadcrumbs_position") === "top"){ echo "\n \n"; } //show hierarchical breadcrumps if enabled and position = top if ($conf["youarehere"] == true && $ACT !== "media" && //var comes from DokuWiki (empty($conf["useacl"]) || //are there any users? $loginname !== "" || //user is logged in? !tpl_getConf("vector_closedwiki")) && tpl_getConf("vector_youarehere_position") === "top"){ echo "\n \n"; } ?>

\n "; tpl_breadcrumbs(); echo "\n

\n"; } //show hierarchical breadcrumps if enabled and position = bottom if ($conf["youarehere"] == true && $ACT !== "media" && //var comes from DokuWiki (empty($conf["useacl"]) || //are there any users? $loginname !== "" || //user is logged in? !tpl_getConf("vector_closedwiki")) && tpl_getConf("vector_youarehere_position") === "bottom"){ echo "\n \n"; } ?>