/[drupal]/contributions/modules/nodeblock/node-nodeblock-default.tpl.php
ViewVC logotype

Contents of /contributions/modules/nodeblock/node-nodeblock-default.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Wed Apr 1 03:12:10 2009 UTC (7 months, 3 weeks ago) by rz
Branch: MAIN
CVS Tags: DRUPAL-6--1-3, HEAD
File MIME type: text/x-php
task #400010: Better theming experience
1 <?php
2 // $Id$
3
4 /**
5 * @file node-nodeblock-default.tpl.php
6 *
7 * Theme implementation to display a nodeblock enabled block. This template is
8 * provided as a default implementation that will be called if no other node
9 * template is provided. Any node-[type] templates defined by the theme will
10 * take priority over this template. Also, a theme can override this template
11 * file to provide its own default nodeblock theme.
12 *
13 * Additional variables:
14 * - $nodeblock: Flag for the nodeblock context.
15 */
16 ?>
17 <div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clear-block">
18
19 <?php print $picture ?>
20
21 <?php if (!$page && !$nodeblock): ?>
22 <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
23 <?php endif; ?>
24
25 <div class="meta">
26 <?php if ($submitted): ?>
27 <span class="submitted"><?php print $submitted ?></span>
28 <?php endif; ?>
29
30 <?php if ($terms): ?>
31 <div class="terms terms-inline"><?php print $terms ?></div>
32 <?php endif;?>
33 </div>
34
35 <div class="content">
36 <?php print $content ?>
37 </div>
38
39 <?php print $links; ?>
40 </div>

  ViewVC Help
Powered by ViewVC 1.1.2