/[drupal]/contributions/modules/mysite/plugins/formats/teasers.theme
ViewVC logotype

Diff of /contributions/modules/mysite/plugins/formats/teasers.theme

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

revision 1.12, Sat Dec 22 02:07:18 2007 UTC revision 1.13, Sun Apr 6 23:08:26 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: teasers.theme,v 1.11 2007/10/24 01:39:39 agentken Exp $  // $Id: teasers.theme,v 1.12 2007/12/22 02:07:18 agentken Exp $
3    
4  /**  /**
5   * @file   * @file
6   * Formats content items with complete teasers.  Optional.   * Formats content items with complete teasers.  Optional.
7     *
8     * @ingroup mysite_plugins
9   */   */
10    
11  /**  /**
12   * Implements theme_mysite_hook_item()   * Implements theme_mysite_hook_item()
  *  
  * @ingroup themes  
13   */   */
14  function theme_mysite_teasers_item($item) {  function theme_mysite_teasers_item($item) {
15    $output = '';    $output = '';
# Line 34  function theme_mysite_teasers_item($item Line 34  function theme_mysite_teasers_item($item
34      // this is a droplet, so output the content      // this is a droplet, so output the content
35      else {      else {
36        $output = theme('mysite_droplet', $element['content']);        $output = theme('mysite_droplet', $element['content']);
37      }      }
38      // spacing for the next item      // spacing for the next item
39      $output .= '<div class="end-item"></div>';      $output .= '<div class="end-item"></div>';
40    }    }
41    return $output;    return $output;
42  }  }
43    
44  /**  /**
45   * Implements mysite_theme_hook()   * Implements mysite_theme_hook()
  *  
  * @ingroup themes  
46   */   */
47  function mysite_theme_teasers() {  function mysite_theme_teasers() {
48    $name = t('Headlines and summaries');    $name = t('Headlines and summaries');

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.2