/[drupal]/contributions/modules/annotation/annotation_image/annotation_image.module
ViewVC logotype

Diff of /contributions/modules/annotation/annotation_image/annotation_image.module

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

revision 1.3, Thu Apr 30 23:05:29 2009 UTC revision 1.4, Fri May 1 02:27:17 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: annotation_image.module,v 1.6 2009/03/06 16:46:22 hunvreus Exp $  // $Id: annotation_image.module,v 1.3 2009/04/30 23:05:29 drumm Exp $
3  /**  /**
4   * Implementation of hook_comment   * Implementation of hook_comment
5   */   */
# Line 63  function annotation_image_annotations($v Line 63  function annotation_image_annotations($v
63      $result = db_query("SELECT i.* FROM {annotation_image} i WHERE i.vid = %d ORDER BY (i.size_height*i.size_width) ASC", $vid);      $result = db_query("SELECT i.* FROM {annotation_image} i WHERE i.vid = %d ORDER BY (i.size_height*i.size_width) ASC", $vid);
64      while ($annotation = db_fetch_object($result)) {      while ($annotation = db_fetch_object($result)) {
65        $annotations[$vid]['c'. $annotation->cid] = $annotation;        $annotations[$vid]['c'. $annotation->cid] = $annotation;
66          $annotations[$vid]['c'. $annotation->cid]->options = 'imageAnnotationOptions';
67      }      }
68    }    }
69    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.2