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

Diff of /contributions/modules/css/css.module

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

revision 1.3, Sun Nov 2 15:16:09 2008 UTC revision 1.3.2.1, Wed Dec 3 18:21:01 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: css.module,v 1.1.2.3 2006/05/15 18:39:51 fax8 Exp $  // $Id: css.module,v 1.3 2008/11/02 15:16:09 fax8 Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 95  function css_form_alter($form_id, &$form Line 95  function css_form_alter($form_id, &$form
95   * Implementation of hook_nodeapi().   * Implementation of hook_nodeapi().
96   */   */
97  function css_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {  function css_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
98    if (variable_get('css_'. $node->type, TRUE)) { // check that CSS editing is enabled for the given node type    if (variable_get('css__'. $node->type, FALSE)) { // check that CSS editing is enabled for the given node type
99      switch ($op) {      switch ($op) {
100    
101        // Controls for valid input data        // Controls for valid input data

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.2.1

  ViewVC Help
Powered by ViewVC 1.1.2