| 143 |
$result = db_query("SELECT * FROM {annotation_text} WHERE vid = %d ORDER BY offset ASC, length ASC", $vid); |
$result = db_query("SELECT * FROM {annotation_text} WHERE vid = %d ORDER BY offset ASC, length ASC", $vid); |
| 144 |
while ($annotation = db_fetch_object($result)) { |
while ($annotation = db_fetch_object($result)) { |
| 145 |
$annotations[$vid]['c'. $annotation->cid] = $annotation; |
$annotations[$vid]['c'. $annotation->cid] = $annotation; |
| 146 |
|
$annotations[$vid]['c'. $annotation->cid]->options = 'textAnnotationOptions'; |
| 147 |
} |
} |
| 148 |
} |
} |
| 149 |
|
|