| 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 |
*/ |
*/ |
| 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 |
|
|