header('Pragma: no-cache');
header('Content-Type: text/html; charset=' . CONTENT_CHARSET);
-// HTML DTD, <html>, and receive content-type
-if (isset($pkwk_dtd)) {
- $meta_content_type = pkwk_output_dtd($pkwk_dtd);
-} else {
- $meta_content_type = pkwk_output_dtd();
-}
-
?>
+<!DOCTYPE html>
+<html lang="<?php echo LANG ?>">
<head>
- <?php echo $meta_content_type ?>
- <meta http-equiv="content-style-type" content="text/css" />
+ <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CONTENT_CHARSET ?>" />
<?php if ($nofollow || ! $is_read) { ?> <meta name="robots" content="NOINDEX,NOFOLLOW" /><?php } ?>
-<?php if (PKWK_ALLOW_JAVASCRIPT && isset($javascript)) { ?> <meta http-equiv="Content-Script-Type" content="text/javascript" /><?php } ?>
<title><?php echo $title ?> - <?php echo $page_title ?></title>
<link rel="SHORTCUT ICON" href="<?php echo $image['favicon'] ?>" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo SKIN_DIR ?>theme/base.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo SKIN_DIR ?>theme/<?php echo $theme ?>/<?php echo $theme ?>.css" />
- <link rel="stylesheet" type="text/css" href="<?php echo SKIN_DIR ?>tdiary.css.php?color=<?php echo $css_theme ?>" />
+ <link rel="stylesheet" type="text/css" href="<?php echo SKIN_DIR ?>tdiary.css" />
+<?php if ($css_theme === 'black') { ?> <link rel="stylesheet" type="text/css" href="<?php echo SKIN_DIR ?>tdiary_black.css" /><?php } ?>
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo $link['rss'] ?>" /><?php // RSS auto-discovery ?>
<?php echo $head_tag ?>
$link = $GLOBALS['_LINK'];
if (! isset($lang[$key])) { echo 'LANG NOT FOUND'; return FALSE; }
if (! isset($link[$key])) { echo 'LINK NOT FOUND'; return FALSE; }
- if (! PKWK_ALLOW_JAVASCRIPT) $javascript = '';
echo '<span class="adminmenu"><a href="' . $link[$key] . '" ' . $javascript . '>' .
(($value === '') ? $lang[$key] : $value) .