------------------------------------------------------------
revno: 877
committer: Christopher Adams <[email protected]>
branch nick: aikiframework
timestamp: Thu 2011-07-07 03:52:30 +0000
message:
switch to html5 doctype, bump version number
modified:
src/bootstrap.php
src/libs/output.php
--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk
Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'src/bootstrap.php'
--- src/bootstrap.php 2011-06-27 20:23:02 +0000
+++ src/bootstrap.php 2011-07-07 03:52:30 +0000
@@ -25,7 +25,7 @@
* When the MAJOR number changes, the MINOR number should reset to zero.
* When the MAJOR number is zero, this indicates an alpha or beta type
* release. Each number can, but should probably not exceed 99 */
-define('AIKI_VERSION','0.8.23');
+define('AIKI_VERSION','0.8.24');
/**
* Used to test for script access
=== modified file 'src/libs/output.php'
--- src/libs/output.php 2011-07-07 01:17:22 +0000
+++ src/libs/output.php 2011-07-07 03:52:30 +0000
@@ -80,8 +80,7 @@
{
global $site_info;
$header = '
- <meta http-equiv="Content-Type" content="text/html; charset=__encoding__" />
- <meta http-equiv="Content-Style-Type" content="text/css" />
+ <meta charset="__encoding__"/>
<title>' . ( $this->title ? "$this->title - " : "" ) .
$site_info->site_name . '</title>
<meta name="generator" content="Aikiframework '.
@@ -117,10 +116,8 @@
* @todo this really needs to be abstracted? why just output xthml???
*/
return
-'<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="'.$languages->language_short_name.'" xml:lang="'.$languages->language_short_name.'"
- dir="'.$languages->dir.'">
+'<!doctype html>
+<html lang="'.$languages->language_short_name.'" dir="'.$languages->dir.'">
';
} // end of write_doctype function
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help : https://help.launchpad.net/ListHelp