/[drupal]/contributions/modules/icanlocalize/icl_content/icl_content.module
ViewVC logotype

Diff of /contributions/modules/icanlocalize/icl_content/icl_content.module

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

revision 1.131, Fri May 29 05:24:47 2009 UTC revision 1.132, Mon Jun 1 01:29:28 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  /*  /*
3   * $Id: icl_content.module,v 1.130 2009/05/12 03:35:18 brucepearson Exp $   * $Id: icl_content.module,v 1.131 2009/05/29 05:24:47 brucepearson Exp $
4   *   *
5   * @file ICanLocalize content handling   * @file ICanLocalize content handling
6   */   */
# Line 2659  function theme_icl_content_fancy_status( Line 2659  function theme_icl_content_fancy_status(
2659    // This is to check for the case that we are sending a node that is a translation    // This is to check for the case that we are sending a node that is a translation
2660    // to be translated in a new language    // to be translated in a new language
2661    // eg Dutch -> English -> Chinese.    // eg Dutch -> English -> Chinese.
2662    $request = db_fetch_array(db_query("SELECT rid FROM {icl_content_status} WHERE nid =" . $node->nid));    if(isset($node->nid)){
2663        $request = db_fetch_array(db_query("SELECT rid FROM {icl_content_status} WHERE nid =" . $node->nid));
2664      }
2665    
2666    if(!isset($request['rid']) && $node->tnid != $node->nid && $node->tnid != 0){    if(!isset($request['rid']) && $node->tnid != $node->nid && $node->tnid != 0){
2667    

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132

  ViewVC Help
Powered by ViewVC 1.1.2