diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2011-07-23 17:00:38 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2011-07-23 17:00:38 +0000 |
| commit | 4ac3be445ebb041a503bbd2999f5d08dbc9a8578 (patch) | |
| tree | 1df13bcd5f0d435c13b2404cf5909a26b39c499a /modules/photoannotation/views/photoannotation_block.html.php | |
| parent | 4fdb50685b9d805cbb4ba1eb3287e4d8191b7838 (diff) | |
Added a new module for annotating photos.
Diffstat (limited to 'modules/photoannotation/views/photoannotation_block.html.php')
| -rw-r--r-- | modules/photoannotation/views/photoannotation_block.html.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/photoannotation/views/photoannotation_block.html.php b/modules/photoannotation/views/photoannotation_block.html.php new file mode 100644 index 00000000..8861699a --- /dev/null +++ b/modules/photoannotation/views/photoannotation_block.html.php @@ -0,0 +1,17 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<script type="text/javascript"> + $("#g-user-cloud-form").ready(function() { + var url = $("#g-user-cloud").attr("ref") + "/autocomplete"; + $("#g-user-cloud-form input:text").autocomplete( + url, { + max: 30, + multiple: false, + cacheLength: 1 + } + ); + }); +</script> +<div id="g-user-cloud" ref="<?= url::site("photoannotation") ?>"> + <?= $cloud ?> +</div> +<?= $form ?>
\ No newline at end of file |
