| | Yannick Torres | | Mehdi Achour | | Gabor Hojtsy | | Sean Coates | | Maciej Sobaczewski | +----------------------------------------------------------------------+ */ function get_svn_dir($project) { // @@@ make this return something until the function is found return $GLOBALS['PROJECTS'][$project][1] . '/'; } function site_header() { $TITLE = 'Documentation Tools'; $SUBDOMAIN = 'doc'; $CSS = array('/styles/doc.css'); $LINKS = array( array('href' => '/revcheck.php', 'text' => 'Documentation Tools'), array('href' => '/tutorial/', 'text' => 'Tutorial for Contributors'), array('href' => '/phd.php', 'text' => 'PhD Homepage'), ); require __DIR__ . '/../shared/templates/header.inc'; echo << table { margin-left: auto; margin-right: auto; text-align: left; border-spacing: 2px; font-size:14px;} th { color: white; background-color: #666699; padding: 0.2em; text-align: center; vertical-align: middle; } td { padding: 0.2em 0.3em; } .oc { white-space: nowrap; overflow: hidden; max-width: 6em; } .copy { margin:0; padding: 0; font-size:small; } .copy:hover { text-transform: uppercase; } .copy:active { background: aqua; font-weight: bold; } .o { white-space: nowrap; overflow: hidden; max-width: 3em; } .c { text-align: center; } END_OF_MULTILINE; echo '
'; } function site_footer($SECONDSCREEN = false) { echo '
'; echo << END_OF_MULTILINE; require __DIR__ . '/../shared/templates/footer.inc'; } function nav_languages() { global $LANGUAGES; $out = '
'; $out .= '

Translation status

'; $out .= '
'; $out .= '
    '; foreach ($LANGUAGES as $code => $name) { $out .='
  • '.$name.'
  • '; } $out .= '
'; return $out; } function nav_tools($lang) { global $LANGUAGES; $out = '
'; $out .= '

Tools ('.$LANGUAGES[$lang].' Manual)

'; $out .= '
'; $out .= '
'; return $out; }