Projet

Général

Profil

Paste
Télécharger (1,96 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / blogbuzz / templates / node.tpl.php @ 87dbc3bf

1
<?php
2
// $Id: node.tpl.php,v 1.1.2.1 2011/01/23 05:03:51 antsin Exp $
3

    
4
/*
5
+----------------------------------------------------------------+
6
|   BlogBuzz for Dupal 7.x - Version 1.0                         |
7
|   Copyright (C) 2011 Antsin.com All Rights Reserved.           |
8
|   @license - GNU GENERAL PUBLIC LICENSE                        |
9
|----------------------------------------------------------------|
10
|   Theme Name: BlogBuzz                                         |
11
|   Description: BlogBuzz by Antsin                              |
12
|   Author: Antsin.com                                           |
13
|   Website: http://www.antsin.com/                              |
14
|----------------------------------------------------------------+
15
*/  
16
?>
17

    
18
<div class="<?php print $classes; ?>">
19
  <div class="node-inner clearfix">
20
    <?php print render($title_prefix); ?>
21
    <?php if (!$page): ?>
22
      <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
23
    <?php endif; ?>
24
    <?php print render($title_suffix); ?>
25

    
26
    <div class="meta">
27
      <?php if ($display_submitted): ?>
28
        <?php print t('Published by '); ?><?php print $name.t(' on ').$date; ?>
29
          <?php endif; ?>
30
      <?php if (!empty($content['field_tags'])): ?>
31
        <?php print ' in '.render($content['field_tags']);  ?>
32
      <?php endif; ?>
33
    </div>
34

    
35
    <div class="content clearfix">
36
    <?php
37
      hide($content['comments']);
38
      hide($content['links']);
39
          hide($content['field_tags']);
40
      print render($content);
41
    ?>
42
    </div>
43

    
44
    <?php if ($content['links']): ?>
45
      <div class="extra-links">
46
            <?php if (!$page): ?>
47
              <div class="read-more"><?php print l(t('Read more'), 'node/' . $nid, array('attributes' => array('class' => t('node-readmore-link')))); ?></div>
48
                <?php endif; ?>
49
        <?php print render($content['links']); ?>
50
      </div>
51
        <?php endif; ?>
52

    
53
    <?php print render($content['comments']); ?>
54
  </div>
55
</div> <!-- /node-inner, /node -->