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

Diff of /contributions/modules/syndication/syndication.module

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

revision 1.58.2.7, Fri Mar 13 23:47:17 2009 UTC revision 1.58.2.8, Mon Mar 23 19:56:01 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: syndication.module,v 1.58.2.6 2009/03/13 22:14:51 aaron1234nz Exp $  // $Id: syndication.module,v 1.58.2.7 2009/03/13 23:47:17 aaron1234nz Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 83  function syndication_page() { Line 83  function syndication_page() {
83    }    }
84    
85    //taxonomy    //taxonomy
   $syndication_vocab =  variable_get('syndication_vocabularies', array());  
   foreach ($syndication_vocab as $key => $value) {  
     // Throw away the vids that aren't enabled.  
     if (!$value) {  
       unset($syndication_vocab[$key]);  
     }  
   }  
86    if (module_exists('taxonomy') && user_access('access content') && !empty($syndication_vocab)) {    if (module_exists('taxonomy') && user_access('access content') && !empty($syndication_vocab)) {
87        $syndication_vocab =  variable_get('syndication_vocabularies', array());
88        foreach ($syndication_vocab as $key => $value) {
89          // Throw away the vids that aren't enabled.
90          if (!$value) {
91            unset($syndication_vocab[$key]);
92          }
93        }
94      $output .= theme('box', t('Categories'), syndication_vocabularies());      $output .= theme('box', t('Categories'), syndication_vocabularies());
95    }    }
96    

Legend:
Removed from v.1.58.2.7  
changed lines
  Added in v.1.58.2.8

  ViewVC Help
Powered by ViewVC 1.1.2