1
|
<?php
|
2
|
/**
|
3
|
* QuickSkin Extension header
|
4
|
* Sends HTTP Header
|
5
|
*
|
6
|
* Usage Example:
|
7
|
* Content: $template->assign( 'TITLE', 'SVG Template Demo:' );
|
8
|
*
|
9
|
* Template:
|
10
|
* {header:"Content-type: image/svg+xml"}<?xml version="1.0" ?>
|
11
|
* <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
12
|
* <svg width="300px" height="150px" style="shape-rendering:optimizeQuality;text-rendering:optimizeQuality">
|
13
|
* <circle id="ball" cx="150" cy="75" r="50" style="fill:rgb(200,200,255)" />
|
14
|
* <text x="70" y="80" id="title" style="font-face:Courier;font-size:12pt">{TITLE}</text>
|
15
|
* </svg>
|
16
|
*
|
17
|
* @author Andy Prevost andy@codeworxtech.com - original by Philipp v. Criegern philipp@criegern.de
|
18
|
*/
|
19
|
function qx_header ( $param ) {
|
20
|
header($param);
|
21
|
}
|