/[drupal]/contributions/themes/TVframe/node-class.tpl.php
ViewVC logotype

Contents of /contributions/themes/TVframe/node-class.tpl.php

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


Revision 1.2 - (show annotations) (download) (as text)
Wed Oct 21 15:35:20 2009 UTC (5 weeks ago) by kreynen
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, HEAD
Changes since 1.1: +1 -1 lines
File MIME type: text/x-php
Last updates before install profile changes
1 <div class="node <?php print $node_classes; ?>" id="node-<?php print $node->nid; ?>"><div class="node-inner">
2
3 <?php if ($page == 0): ?>
4 <h2 class="title">
5 <a href="<?php print $node_url; ?>"><?php print $title; ?></a>
6 </h2>
7 <?php endif; ?>
8
9 <?php if ($unpublished): ?>
10 <div class="unpublished"><?php print t('Unpublished'); ?></div>
11 <?php endif; ?>
12
13 <?php if ($picture) print $picture; ?>
14
15 <?php if ($submitted): ?>
16 <div class="submitted">
17 <?php print $submitted; ?>
18 </div>
19 <?php endif; ?>
20
21 <?php if (count($taxonomy)): ?>
22 <div class="taxonomy"><?php print t(' in ') . $terms; ?></div>
23 <?php endif; ?>
24
25 <div class="content">
26 <?php print $content; ?>
27 </div>
28
29 <div class="registration">
30 <?php if($user->uid) { ?>
31 <?php print $node->field_registration_link[0]['value']; ?>
32 <?php } else { ?>
33 <strong>In order to register for a class, you must first login or register for an account on the website.
34 <a href="/user">Click here to login or register.</a></strong>
35 <?php } ?>
36 </div>
37 </div></div> <!-- /node-inner, /node -->

  ViewVC Help
Powered by ViewVC 1.1.2