Changeset 73 for trunk/admin/index.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/index.php

    r56 r73  
    971971} 
    972972 
     973//}}}------------------------------------------ 
     974//{{{ html_header_admin: create own html header 
     975//--------------------------------------------- 
     976function 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 
    973997//}}}-------------------------------- 
    974998//{{{ show the user some html code ;) 
    975999//----------------------------------- 
    976 html_header("Admin Interface", "."); 
     1000html_header_admin("Admin Interface", "."); 
    9771001        ?> 
    9781002        <div id="if_container">