/[drupal]/contributions/modules/procon/procon_views.inc
ViewVC logotype

Diff of /contributions/modules/procon/procon_views.inc

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

revision 1.1.2.2, Tue Aug 7 06:54:03 2007 UTC revision 1.1.2.3, Thu Sep 27 06:06:51 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: procon_views.inc,v 1.1.2.1 2007/07/26 20:12:45 fajerstarter Exp $  // $Id: procon_views.inc,v 1.1.2.2 2007/08/07 06:54:03 fajerstarter Exp $
3    
4  function procon_views_tables() {  function procon_views_tables() {
5    $tables['procon'] = array(    $tables['procon'] = array(
# Line 131  function procon_views_default_views() { Line 131  function procon_views_default_views() {
131  }  }
132    
133  /**  /**
134   * Theme the arguments view provided by this module.   * Theme the arguments view.
135   */   */
136  function theme_views_view_nodes_procon_arguments($view, $nodes, $type, $teasers = false, $links = true) {  function theme_views_view_nodes_procon_arguments($view, $nodes, $type, $teasers = false, $links = true) {
137    $first_match = true;    $first_match = true;
138      // Enables collapsible comments.
139      drupal_add_js(drupal_get_path('module', 'procon') .'/procon.js');
140      drupal_add_js(array('procon' => array('show' => t('Show all'), 'hide' => t('Hide all'))), 'setting');
141    
142    $output .= '<div id="procon" class="clear-block">'; // Div wrapper to clear floats    $output .= '<div id="procon" class="clear-block">'; // Div wrapper to clear floats
143    foreach ($nodes as $n) {    foreach ($nodes as $n) {

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.2