/[drupal]/contributions/modules/slider/slider.module
ViewVC logotype

Diff of /contributions/modules/slider/slider.module

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

revision 1.1.2.4, Thu Feb 26 09:24:06 2009 UTC revision 1.1.2.5, Fri Mar 6 09:47:54 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: slider.module,v 1.1.2.3 2009/02/25 11:45:28 marktheunissen Exp $  // $Id: slider.module,v 1.1.2.4 2009/02/26 09:24:06 marktheunissen Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 60  function slider_nodeapi(&$node, $op, $te Line 60  function slider_nodeapi(&$node, $op, $te
60            unset($node->content['field_slider_content']);            unset($node->content['field_slider_content']);
61          }          }
62          else {          else {
63            drupal_set_message(t('Sliders only display when viewing a slider node by itself on a page. This is because you cannot have multiple sliders on one page.'), 'warning');            if (variable_get('slider_teaser_warning', TRUE)) {
64                $m = t('Sliders only display when viewing a slider node by itself on a page. This is because you cannot have multiple sliders on one page. You can switch this message off on the <a href="@url">slider admin page</a>.', array('@url' => url('admin/settings/slider')));
65                drupal_set_message($m, 'warning');
66              }
67          }          }
68        }        }
69        break;        break;

Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5

  ViewVC Help
Powered by ViewVC 1.1.2