summaryrefslogtreecommitdiff
path: root/modules/photoannotation/views/photoannotation_cloud.html.php
diff options
context:
space:
mode:
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>