From: short <> Date: Thu, 16 Aug 2001 12:31:59 +0000 (+0000) Subject: month_full()->month_a() to unify month elements naming X-Git-Url: http://git.jankratochvil.net/?p=www.energie.vellum.cz.git;a=commitdiff_plain;h=f92fb2c5794f689c5a2328be9e7637062a4e234c month_full()->month_a() to unify month elements naming Cosmetic: Explicit db_connect() no longer needed --- diff --git a/obsah.php b/obsah.php index 3a8f994..aee9ede 100644 --- a/obsah.php +++ b/obsah.php @@ -13,8 +13,10 @@ $title_tail="Obsahy v¹ech èísel"; else if (!$month) $title_tail="Obsahy èísel roku $year"; - else - $title_tail="Obsah èísla $year/".month_full($year,$month); + else { + $month_a=month_a($year,$month); + $title_tail="Obsah èísla ".$month_a["name"]; + } $head_css=" .page { font-style: italic; } @@ -22,7 +24,6 @@ heading(); print("