Projet

Général

Profil

Paste
Télécharger (2,05 ko) Statistiques
| Branche: | Révision:

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

1
<?php
2
// $Id: node--blog.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
    <span class="date"><?php print date("d", $created);?> <?php print date("M", $created);?></span>
21
    <?php print render($title_prefix); ?>
22
    <?php if (!$page): ?>
23
      <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
24
    <?php endif; ?>
25
    <?php print render($title_suffix); ?>
26

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

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

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

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