| 1 |
<?php |
<?php |
| 2 |
// $Id: procon_views.inc,v 1.1.2.2 2007/08/07 06:54:03 fajerstarter Exp $ |
// $Id: procon_views.inc,v 1.1.2.3 2007/09/27 06:06:51 fajerstarter Exp $ |
| 3 |
|
|
| 4 |
function procon_views_tables() { |
function procon_views_tables() { |
| 5 |
$tables['procon'] = array( |
$tables['procon'] = array( |
| 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; |
|
// Enables collapsible comments. |
|
|
drupal_add_js(drupal_get_path('module', 'procon') .'/procon.js'); |
|
|
drupal_add_js(array('procon' => array('show' => t('Show all'), 'hide' => t('Hide all'))), 'setting'); |
|
| 138 |
|
|
| 139 |
$output .= '<div id="procon" class="clear-block">'; // Div wrapper to clear floats |
$output .= '<div id="procon" class="clear-block">'; // Div wrapper to clear floats |
| 140 |
foreach ($nodes as $n) { |
foreach ($nodes as $n) { |