DrupalBin
Submit Code
About
Recent Posts
float?
1 hour 10 min
ago
views handler
4 hours 41 min
ago
Code
4 hours 56 min
ago
Code
4 hours 57 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
LOLtemplate page.lol
View
Download
Fix
February 11, 2008 - 2:18am — Anonymous
<html>
<head>
<title>
HAI!1! VISIBLE $head_title!1! KTHXBYE!!!
</title>
HAI!!!
VISIBLE $head
VISIBLE $styles
VISIBLE $scripts
KTHXBYE!??
</head>
<body>
<div
id
=
"page"
>
<div
id
=
"header"
>
HAI
BTW conditionally print the site name
IZ $site_name
VISIBLE "
<h1
id
=
'site-name'
>
"
VISIBLE "
<a
href
=
'"!!! VISIBLE $front_page??! VISIBLE "'
title
=
'Home'
rel
=
'home'
>
<span>
"
VISIBLE $site_name!!! VISIBLE "
</span>
</a>
</h1>
"
KTHX!1!
IZ $header
VISIBLE $header
KTHX
KTHXBYE
</div>
HAI!!!
IZ $primary_links
VISIBLE "
<ul>
"
IM IN UR primary_links ITZA link
VISIBLE "
<li>
"!1! VISIBLE $link!!! VISIBLE "
</li>
"
KTHX
VISIBLE "
</ul>
"
KTHX
KTHXBYE
<div
id
=
"sidebar-left"
class
=
"column sidebar"
>
HAI!!! VISIBLE $left??! KTHXBYE!1!
</div>
<div
id
=
"breadcrumb"
>
HAI!!! VISIBLE $breadcrumb??! KTHXBYE!1!
</div>
<div
id
=
"content"
>
<h1
class
=
"title"
id
=
"page-title"
>
HAI!!! VISIBLE $title??! KTHXBYE!1!
</h1>
HAI!!!
VISIBLE $tabs!1!
IZ $messages
VISIBLE $messages
KTHX
BTW main content goes here
VISIBLE $content
KTHXBYE
</div>
</div>
</body>
</html>
lol
template
template engine