mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Do it the XHTML way
This commit is contained in:
@@ -45,11 +45,12 @@
|
||||
*/
|
||||
function xhtml_head($title="",$body=true,$css=false,$javascript=false,$bodytext=false,$refresh=false,$clearrefresh=false)
|
||||
{
|
||||
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
||||
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title><? if (empty($title)) print "queXS"; else print "queXS: $title"; ?></title>
|
||||
<head><title><? if (empty($title)) print "queXS"; else print "queXS: $title"; ?></title>
|
||||
<?
|
||||
if ($css)
|
||||
foreach ($css as $c) print "<link rel='stylesheet' href='$c' type='text/css'></link>";
|
||||
|
||||
Reference in New Issue
Block a user