Thursday, October 30, 2008

What I wished Template Code Looked Like

<?xml version="1.0" encoding="utf-8"?>

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tpl="http://www.smarty.net/v/3"><tpl:strip>

    <head>
       
<title><tpl:var name="siteName" default="My Website"
/> | <tpl:var name="pageTitle" default="Page Title" /></title>

        <tpl:createTag
name="link">
           
<tpl:property name="rel">stylesheet</tpl:property>
           
<tpl:property name="type">text/css</tpl:property>
           
<tpl:property name="href"><tpl:var name="cssDir" />/default.css</tpl:property>

        </tpl:createTag>

        <tpl:createTag
name="link" rel="stylesheet" type="text/css">

           
<tpl:property name="href"><tpl:var name="cssDir" />/christmass.css</tpl:property>

        </tpl:createTag>

    </head>
   
<body></body>
</tpl:strip></html>

class="wlWriterHeaderFooter" style="text-align:right; margin:0px; padding:4px 0px 4px 0px;"> type="text/javascript">digg_url =
"http://tech.gtaero.net/2008/10/what-i-wished-template-code-looked-like.html";digg_title = "What I wished
Template Code Looked Like";digg_bgcolor = "#FFFFFF";digg_skin = "compact"; src="http://digg.com/tools/diggthis.js" type="text/javascript"> type="text/javascript">digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin =
undefined;