summaryrefslogtreecommitdiff
path: root/modules/node/node.tpl.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-27 07:42:54 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-27 07:42:54 +0000
commit29055d34d6f0ceee253a4122bb6c9dae6cb53b2b (patch)
tree35f015c5d507f9105e8b0e6ee66e8f33f447d169 /modules/node/node.tpl.php
parent80ab60d39ee0f2de0965d9c23d274cbf1dc0019a (diff)
downloadbrdo-29055d34d6f0ceee253a4122bb6c9dae6cb53b2b.tar.gz
brdo-29055d34d6f0ceee253a4122bb6c9dae6cb53b2b.tar.bz2
- Patch #137236 by merlinofchaos: provide a way to secure the theme variables system.
Diffstat (limited to 'modules/node/node.tpl.php')
-rw-r--r--modules/node/node.tpl.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/node/node.tpl.php b/modules/node/node.tpl.php
new file mode 100644
index 000000000..872ea0c29
--- /dev/null
+++ b/modules/node/node.tpl.php
@@ -0,0 +1,29 @@
+<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clear-block">
+
+<?php print $picture ?>
+
+<?php if ($page == 0): ?>
+ <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
+<?php endif; ?>
+
+ <div class="meta">
+ <?php if ($submitted): ?>
+ <span class="submitted"><?php print $submitted ?></span>
+ <?php endif; ?>
+
+ <?php if ($terms): ?>
+ <span class="terms"><?php print $terms ?></span>
+ <?php endif;?>
+ </div>
+
+ <div class="content">
+ <?php print $content ?>
+ </div>
+
+<?php
+ if ($links) {
+ print $links;
+ }
+?>
+
+</div> \ No newline at end of file