| | 973 | //}}}------------------------------------------ |
| | 974 | //{{{ html_header_admin: create own html header |
| | 975 | //--------------------------------------------- |
| | 976 | function html_header_admin($title="Admin interface") { |
| | 977 | global $db; |
| | 978 | echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"; |
| | 979 | echo "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\" xml:lang=\"en\">\n"; |
| | 980 | echo "<head>\n"; |
| | 981 | echo "\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-15\" />\n"; |
| | 982 | echo "\t<meta name=\"robots\" content=\"ALL\" />\n"; |
| | 983 | echo "\t<meta name=\"generator\" content=\"MvBlog ".$GLOBALS["version"]."\" />\n"; |
| | 984 | echo "\t<meta name=\"resource-type\" content=\"document\" />\n"; |
| | 985 | echo "\t<meta name=\"audience\" content=\"general\" />\n"; |
| | 986 | echo "\t<meta name=\"web-rev\" content=\"4.0\" />\n"; |
| | 987 | echo "\t<meta name=\"last-modified\" content=\"".date("r")."\" />\n"; |
| | 988 | echo "\t<link rel=\"stylesheet\" href=\"style/index.css\" type=\"text/css\" />\n"; |
| | 989 | echo "\t<link rel=\"alternate\" type=\"application/xml\" title=\"RSS\" href=\"index.php?action=rss\" />\n"; |
| | 990 | echo "\t<link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\" />\n"; |
| | 991 | echo "\t<link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\" />\n"; |
| | 992 | echo "\t<title>".$title." - MvBlog powered</title>\n"; |
| | 993 | echo "</head>\n"; |
| | 994 | echo "<body>\n"; |
| | 995 | } |
| | 996 | |