defaultlang; /** @var Doku_Renderer_xhtml $xhtml_renderer */ $xhtml_renderer = p_get_renderer('xhtml'); echo "
default: $default_language | "; if ($this->getConf('show_path')) { echo "" . $this->getLang('path') . " | "; } foreach ($helper->translations as $t) { if($t === $default_language) { continue; } echo "$t | "; } echo "
---|---|---|
" . $xhtml_renderer->internallink($page['id'],null,null,true) . " | "; if ($this->getConf('show_path')) { $row .= "" . $xhtml_renderer->internallink($page['id'],$page['id'],null,true) . " | "; } list($lc, $idpart) = $helper->getTransParts($page["id"]); foreach ($helper->translations as $t) { if ($t === $default_language) { continue; } list($translID, $name) = $helper->buildTransID($t, $idpart); $difflink = ''; if(!page_exists($translID)) { $class = "missing"; $title = $this->getLang("missing"); $showRow = true; } else { $translfn = wikiFN($translID); if($page['mtime'] > filemtime($translfn)) { $class = "outdated"; $difflink = " getLang('old'); $showRow = true; } else { $class = "current"; $title = $this->getLang('current'); } } $row .= "" . $xhtml_renderer->internallink($translID,$title,null,true) . $difflink . " | "; } $row .= "