--- css/css.install.ORIGINAL	2008-12-26 16:20:36.000000000 +0100
+++ css/css.install		2010-05-03 09:14:13.000000000 +0200
@@ -1,6 +1,11 @@
 <?php
 // $Id: css.install,v 1.2 2008/12/26 15:20:36 fax8 Exp $
 
+/**
+ * @file
+ * CSS module install file.
+ */
+
 /**
  * Database table schema definition.
  */
@@ -40,4 +45,4 @@ function css_install() {
  */
 function css_uninstall() {
   drupal_uninstall_schema('css');
-}
\ No newline at end of file
+}
--- css/css.module.ORIGINAL	2010-04-29 12:40:04.000000000 +0200
+++ css/css.module		2010-05-03 09:13:04.000000000 +0200
@@ -26,8 +26,8 @@
 /**
  * Implementation of hook_help().
  */
-function css_help($section) {
-  switch ($section) {
+function css_help($path, $arg) {
+  switch ($path) {
     case 'admin/modules#description':
       // This description is shown in the listing at admin/modules.
       return t('A module which add customizable CSS support.');
@@ -64,7 +64,7 @@ function css_perm() {
  */ 
 function css_form_alter(&$form, $form_state, $form_id) {
   //Add a text area to the form where users will put their csses rules.
-  if (user_access('create css for nodes') && variable_get('css__'.$form['#node']->type, FALSE)) {
+  if (user_access('create css for nodes') && variable_get('css__'. $form['#node']->type, FALSE)) {
     if (isset($form['type']) && $form['type']['#value'] .'_node_form' == $form_id) {
       $node = $form['#node'];
       // create a fieldset so we can collapse it
@@ -89,11 +89,11 @@ function css_form_alter(&$form, $form_st
   // Create a settings on content types configuration page
   // which enable to activate/deactivate css editing for a node type	
   if (isset($form['#node_type']) && 'node_type_form' == $form_id) {
-    $form['workflow']['css_'.$node->type] = array(
+    $form['workflow']['css_'. $node->type] = array(
           '#type' => 'checkbox',
           '#title' => t('Enable CSS Editing.'),
           '#return_value' => 1,
-          '#default_value' => variable_get('css__'.$form['#node_type']->type, FALSE),
+          '#default_value' => variable_get('css__'. $form['#node_type']->type, FALSE),
           '#description' => t('Users with the <em>create css for nodes</em> permission will be able to edit CSS rules to be applied to this node type.'),
     );
   }
@@ -158,11 +158,12 @@ function css_nodeapi(&$node, $op, $tease
           // 'validate' immediately followed by 'view' means this is a preview
           if ($node->css_css) {
             $css = '<style type="text/css" media="all"> '.
-                   css_sanitize($node->css_css, 'preview').
+                   css_sanitize($node->css_css, 'preview') .
                    ' </style>';
             drupal_set_html_head($css, 'preview');
           }
-        } else {
+        }
+        else {
           // Drupal 6 seems to check for the physical existence of CSS files
           // before allowing them to be added. We have to include the virtual
           // CSS file manually since it does not really exist.
@@ -174,11 +175,11 @@ function css_nodeapi(&$node, $op, $tease
               'type' => 'text/css',
               'rel' => 'stylesheet',
               'media' => 'all',
-              'href' => url('css/get/'.$node->nid),
+              'href' => url('css/get/'. $node->nid),
             );
             $link = '<link'. drupal_attributes($attributes) .' />';
             $css = "\n//--><!]]>\n"."</script>\n".
-           $link."\n".
+           $link ."\n".
            '<script type="text/javascript">'."\n<!--//--><![CDATA[//><!--\n";
            drupal_add_js($css, 'inline', 'header', FALSE, FALSE, FALSE);
           }
