~ubuntu-drupal-devs/ubuntu-drupal-theme/6.x-brown

22 by Michael Lustfield
Merging all other branches
1
<?php
109 by Michael Lustfield
Fixing multiple bugs and cleaning some unused CSS. Bug 382887 Bug 384283 Bug 384282
2
// $Id$
151 by Michael Lustfield
Code now complies with standards
3
4
/**
152 by Michael Lustfield
Making minor changes to coding specifications
5
 * @file
6
 * Themed output for all nodes
151 by Michael Lustfield
Code now complies with standards
7
 */
8
9
$node_nid = $node->nid;
153 by Michael Lustfield
Removing php syntax from .info
10
$sticky_class = ($sticky) ? ' sticky' : '' ;
11
$status_class = (!$status) ? ' node-unpublished' : '';
151 by Michael Lustfield
Code now complies with standards
12
22 by Michael Lustfield
Merging all other branches
13
?>
151 by Michael Lustfield
Code now complies with standards
14
153 by Michael Lustfield
Removing php syntax from .info
15
<div id="node-<?php print $node_nid; ?>" class="node<?php print $sticky_class; print $status_class; ?>">
22 by Michael Lustfield
Merging all other branches
16
34 by David Giard
Patching for bug 327271, the title no longer appear twice, i will dead with the graphics change later.
17
<?php print $picture ?>
18
19
<?php if ($page == 0): ?>
22 by Michael Lustfield
Merging all other branches
20
  <div id="node-title"><div class="inner"><span class="corners-top"><span></span></span>
21
    <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
22
  <span class="corners-bottom"><span></span></span></div></div>
34 by David Giard
Patching for bug 327271, the title no longer appear twice, i will dead with the graphics change later.
23
<?php endif; ?>
24
22 by Michael Lustfield
Merging all other branches
25
  <div class="content">
26
    <?php print $content ?>
27
  </div>
28
29
  <div class="meta">
30
    <?php if ($links): ?>
31
      <div class="links">
32
        <?php print $links; ?>
33
      </div>
34
    <?php endif; ?>
35
36
    <?php if ($taxonomy): ?>
37
      <div class="terms">
38
        <?php print $terms ?>
39
      </div>
40
    <?php endif;?>
41
    <span class="clear"></span>
42
  </div>
43
</div>