Changeset 73 for trunk/admin/login.php

Show
Ignore:
Timestamp:
01/29/06 14:47:25 (3 years ago)
Author:
michiel
Message:

the new styleswitcher thing fucked up our backend style.
That is fixed now

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/login.php

    r42 r73  
    7070} 
    7171 
    72 html_header("Admin Interface", "."); 
     72function 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 
     93html_header_admin("Admin Interface", "."); 
    7394switch ($_REQUEST["action"]) { 
    7495        case "login" : check_login($_POST["login"]); break;