Browse Source

send correct content-type; add a missing doctype (although technically the table is not allowed inside pre, but that we will need to find another fix for)

tags/v0.99.beta17
Ben Wiley Sittler bsittler 16 years ago
parent
commit
419d70e614
5 changed files with 20 additions and 3 deletions
  1. +1
    -1
      caca-php/examples/www/caca-php.css
  2. +4
    -0
      caca-php/examples/www/cacainfo.php
  3. +6
    -0
      caca-php/examples/www/dithering.php
  4. +5
    -2
      caca-php/examples/www/figlet.php
  5. +4
    -0
      caca-php/examples/www/text.php

+ 1
- 1
caca-php/examples/www/caca-php.css View File

@@ -13,7 +13,7 @@ table, table tr
{
display: block;
}
table td
table tr td
{
display: inline;
padding: 0px;


+ 4
- 0
caca-php/examples/www/cacainfo.php View File

@@ -1,3 +1,6 @@
<?php
header('Content-Type: text/html; charset=UTF-8');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

@@ -16,6 +19,7 @@
?>
<head>
<title>sample program for libcaca php binding</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="StyleSheet" href="caca-php.css" type="text/css" />
</head>
<body text="silver" bgcolor="black">


+ 6
- 0
caca-php/examples/www/dithering.php View File

@@ -1,3 +1,9 @@
<?php
header('Content-Type: text/html; charset=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" xml:lang="en">
<head>
<title>Caca power!</title>


+ 5
- 2
caca-php/examples/www/figlet.php View File

@@ -1,9 +1,12 @@
<?php
header('Content-Type: text/html; charset=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" xml:lang="en">
<head>
<title>Caca power!</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
</style>
</head>
<body>
<?php


+ 4
- 0
caca-php/examples/www/text.php View File

@@ -1,3 +1,6 @@
<?php
header('Content-Type: text/html; charset=UTF-8');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

@@ -20,6 +23,7 @@
?>
<head>
<title>demo for libcaca php binding</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="StyleSheet" href="caca-php.css" type="text/css" />
</head>
<body text="silver" bgcolor="black">


Loading…
Cancel
Save