diff --git a/cdm.css b/cdm.css index 0d0a007be..b793ee058 100644 --- a/cdm.css +++ b/cdm.css @@ -151,3 +151,7 @@ div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a { div.cdmContentInner p { max-width : 650px; } + +.Unread div.cdmHeader { + font-weight : bold; +} diff --git a/include/functions.php b/include/functions.php index 66054c23b..d9a3a5963 100644 --- a/include/functions.php +++ b/include/functions.php @@ -4070,4 +4070,25 @@ return $rv; } + function stylesheet_tag($filename) { + $timestamp = filemtime($filename); + + echo "\n"; + } + + function javascript_tag($filename) { + $query = ""; + + if (!(strpos($filename, "?") === FALSE)) { + $query = substr($filename, strpos($filename, "?")+1); + $filename = substr($filename, 0, strpos($filename, "?")); + } + + $timestamp = filemtime($filename); + + if ($query) $timestamp .= "&$query"; + + echo "\n"; + } + ?> diff --git a/index.php b/index.php index 68d6fc753..6d9608a38 100644 --- a/index.php +++ b/index.php @@ -44,8 +44,6 @@ login_sequence($link); - $dt_add = time(); - no_cache_incantation(); header('Content-Type: text/html; charset=utf-8'); @@ -56,9 +54,10 @@