summaryrefslogtreecommitdiff
path: root/modules/photoannotation/views/photoannotation_cloud.html.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2011-07-23 17:00:38 +0000
committerNathan Kinkade <nath@nkinka.de>2011-07-23 17:00:38 +0000
commit4ac3be445ebb041a503bbd2999f5d08dbc9a8578 (patch)
tree1df13bcd5f0d435c13b2404cf5909a26b39c499a /modules/photoannotation/views/photoannotation_cloud.html.php
parent4fdb50685b9d805cbb4ba1eb3287e4d8191b7838 (diff)
Added a new module for annotating photos.
Diffstat (limited to 'modules/photoannotation/views/photoannotation_cloud.html.php')
-rw-r--r--modules/photoannotation/views/photoannotation_cloud.html.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/photoannotation/views/photoannotation_cloud.html.php b/modules/photoannotation/views/photoannotation_cloud.html.php
new file mode 100644
index 00000000..6f47b272
--- /dev/null
+++ b/modules/photoannotation/views/photoannotation_cloud.html.php
@@ -0,0 +1,9 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<ul>
+ <? foreach ($users as $user): ?>
+ <li class="size<?=(int)(($user->size / $max_count) * 7) ?>">
+ <span><?= $user->size ?> photos are tagged with </span>
+ <a href="<?= $user->url ?>"><?= html::clean($user->name) ?></a>
+ </li>
+ <? endforeach ?>
+</ul>