/[drupal]/contributions/themes/civicspace/node.tpl.php
ViewVC logotype

Contents of /contributions/themes/civicspace/node.tpl.php

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


Revision 1.5 - (show annotations) (download) (as text)
Mon Aug 29 21:51:57 2005 UTC (4 years, 2 months ago) by robinmonks
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--2, DRUPAL-4-7
Changes since 1.4: +1 -0 lines
File MIME type: text/x-php
Add correct info strings to all files.
1 <?php /* $Id: Exp $ */ ?>
2 <div class="node <?php print 'node-'.$node->type; print ($sticky) ? " sticky" : ""; ?>">
3 <!-- Node header -->
4 <div class="header">
5 <?php if (!$page) { ?>
6 <h2 class="title">
7 <?php if (!(arg(0) == 'node' && is_numeric(arg(1)) && is_null(arg(2)))) { ?>
8 <a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a>
9 <?php } else { ?>
10 <?php print $title ?> <a href="<?php print $node_url ?>" rel="bookmark" class="permalink" title="Permanent link to <?php print $title ?>">#</a>
11 <?php } ?>
12 </h2>
13 <?php } ?>
14 <?php if ($page) : ?>
15 <div class="print-preview-toggle no-print rfloat">
16 <a href="<?php print url($_GET['q'], NULL, NULL, TRUE); ?>&print" class="icon-print" title="<?php print t('Format for printing') ?>"><img src="<?php print path_to_theme() ?>/global/images/icon_print.png" alt="<?php print t('Format for printing') ?>" /></a>
17 </div>
18 <?php endif; ?>
19 <?php if ($submitted): ?>
20 <div class="meta">
21 <small><?php print $submitted ?></small>
22 </div>
23 <?php endif; ?>
24 </div>
25
26 <!-- Node content -->
27 <div class="content">
28 <?php if ($page) : ?>
29 <div id="local-tasks">
30 <?php print theme('menu_local_tasks'); ?>
31 </div>
32 <?php endif; ?>
33
34 <?php if ( $picture) : ?>
35 <div class="user-picture">
36 <?php print $picture ?>
37 </div>
38 <?php endif; ?>
39
40 <?php print civicspace_word_split(phptemplate_wrap_content($content)); ?>
41
42 <?php if (!$page && $node->readmore) { ?>
43 <div class="read-more">
44 <?php print l(t('Read the rest of this entry...'),'node/'. $node->nid); ?>
45 </div>
46 <?php } ?>
47 </div>
48
49 <?php if ($links): ?>
50 <!-- Node footer -->
51 <div class="footer">
52 <div class="links">
53 <p><?php if ($terms): ?> <span class="postmetadata">Posted in <?php print $terms ?></span> | <?php endif; ?><?php print $links ?> &#187;</p>
54 </div>
55 </div>
56 <?php endif; ?>
57 </div>

  ViewVC Help
Powered by ViewVC 1.1.2