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

Diff of /contributions/modules/sioc/sioc.module

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

revision 1.32.2.11, Fri Oct 17 12:12:17 2008 UTC revision 1.32.2.12, Fri Oct 17 12:16:41 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: sioc.module,v 1.32.2.10 2008/10/17 11:59:14 scor Exp $  // $Id: sioc.module,v 1.32.2.11 2008/10/17 12:12:17 scor Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 664  function sioc_autodiscovery() { Line 664  function sioc_autodiscovery() {
664    else if (arg(0)=='comment' && is_numeric($id=arg(2))) $type = "node/$id";    else if (arg(0)=='comment' && is_numeric($id=arg(2))) $type = "node/$id";
665    else if (arg(0)=='user' && $id=arg(1)) $type = "user/$id";    else if (arg(0)=='user' && $id=arg(1)) $type = "user/$id";
666    else if (arg(0)=='blog' && $id=arg(1)) $type = "blog/$id";    else if (arg(0)=='blog' && $id=arg(1)) $type = "blog/$id";
667      else if (arg(0)=='forum' && $id=arg(1)) $type = "forum/$id";
668    else $type = 'site';    else $type = 'site';
669    drupal_set_html_head('<link rel="media" type="application/rdf+xml" title="SIOC" href="'.url("sioc/$type", NULL, NULL, 1).'"/>');    drupal_set_html_head('<link rel="media" type="application/rdf+xml" title="SIOC" href="'.url("sioc/$type", NULL, NULL, 1).'"/>');
670  }  }

Legend:
Removed from v.1.32.2.11  
changed lines
  Added in v.1.32.2.12

  ViewVC Help
Powered by ViewVC 1.1.2