PHP Classes

File: app/test/tpl.php

Recommend this page to a friend!
  Classes of deirathe  >  UI Template  >  app/test/tpl.php  >  Download  
File: app/test/tpl.php
Role: Example script
Content type: text/plain
Description: Sample template file
Class: UI Template
Compile HTML templates into PHP scripts
Author: By
Last change:
Date: 13 years ago
Size: 687 bytes


Class file image Download
<!DOCTYPE html>
    <title><ui:var select="$title"/></title>
    <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8"/>
<a href="">link</a>

<ui:define-component name="test">
    <div clas="${class}">
        <a href="${href}">${odd}
        <ui:if test="${odd}">
            click me once
            <ui:else>click me twice</ui:else>

start loop
<ui:loop select="$arr" name="te">
    <ui:if test="@te.odd">
    <ui:component use="test" class="@te" href="" odd="@te.odd" />

end loop


For more information send a message to info at phpclasses dot org.