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

Diff of /contributions/modules/taxonomy_theme/taxonomy_theme.module

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

revision 1.49, Sun Jun 8 15:21:03 2008 UTC revision 1.50, Mon Jan 12 19:58:32 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy_theme.module,v 1.48 2006/10/23 06:50:50 profix898 Exp $  // $Id: taxonomy_theme.module,v 1.49 2008/06/08 15:21:03 profix898 Exp $
3    
4  /**  /**
5   * Implementation of hook_theme()   * Implementation of hook_theme()
# Line 72  function taxonomy_theme_taxonomy($op, $t Line 72  function taxonomy_theme_taxonomy($op, $t
72    //    //
73    if ($type == 'vocabulary') {    if ($type == 'vocabulary') {
74      if ($op == 'delete') {      if ($op == 'delete') {
75        db_query('DELETE FROM {themekey_properties} WHERE property = \'vid\' AND value = \'%s\'', $array['vid']);        db_query('DELETE FROM {themekey_properties} WHERE property = \'taxonomy:vid\' AND value = \'%s\'', $array['vid']);
76      }      }
77      _themekey_properties_resort('vid');      _themekey_properties_resort('taxonomy:vid');
78    }    }
79    else if ($type == 'term') {    else if ($type == 'term') {
80      if ($op == 'delete') {      if ($op == 'delete') {
81        db_query('DELETE FROM {themekey_properties} WHERE property = \'tid\' AND value = \'%s\'', $array['tid']);        db_query('DELETE FROM {themekey_properties} WHERE property = \'taxonomy:tid\' AND value = \'%s\'', $array['tid']);
82      }      }
83      _themekey_properties_resort('tid');      _themekey_properties_resort('taxonomy:tid');
84    }    }
85  }  }

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

  ViewVC Help
Powered by ViewVC 1.1.2