Changeset 73
- Timestamp:
- 01/29/06 14:47:25 (3 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/index.php
r56 r73 971 971 } 972 972 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 973 997 //}}}-------------------------------- 974 998 //{{{ show the user some html code ;) 975 999 //----------------------------------- 976 html_header ("Admin Interface", ".");1000 html_header_admin("Admin Interface", "."); 977 1001 ?> 978 1002 <div id="if_container"> -
trunk/admin/login.php
r42 r73 70 70 } 71 71 72 html_header("Admin Interface", "."); 72 function html_header_admin($title="Admin interface") { 73 echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"; 74 echo "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\" xml:lang=\"en\">\n"; 75 echo "<head>\n"; 76 echo "\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-15\" />\n"; 77 echo "\t<meta name=\"robots\" content=\"ALL\" />\n"; 78 echo "\t<meta name=\"generator\" content=\"MvBlog ".$GLOBALS["version"]."\" />\n"; 79 echo "\t<meta name=\"resource-type\" content=\"document\" />\n"; 80 echo "\t<meta name=\"audience\" content=\"general\" />\n"; 81 echo "\t<meta name=\"web-rev\" content=\"4.0\" />\n"; 82 echo "\t<meta name=\"last-modified\" content=\"".date("r")."\" />\n"; 83 echo "\t<link rel=\"stylesheet\" href=\"style/index.css\" type=\"text/css\" />\n"; 84 echo "\t<link rel=\"alternate\" type=\"application/xml\" title=\"RSS\" href=\"index.php?action=rss\" />\n"; 85 echo "\t<link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\" />\n"; 86 echo "\t<link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\" />\n"; 87 echo "\t<title>".$title." - MvBlog powered</title>\n"; 88 echo "</head>\n"; 89 echo "<body>\n"; 90 } 91 92 93 html_header_admin("Admin Interface", "."); 73 94 switch ($_REQUEST["action"]) { 74 95 case "login" : check_login($_POST["login"]); break;
