1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/3.0/modules/tag_cloud_page/views/tag_cloud_page_cloud.html.php
2011-03-15 18:40:07 -04:00

36 lines
988 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="g-tag-cloud-page-header">
<div id="g-tag-cloud-page-buttons">
<?= $theme->dynamic_top() ?>
</div>
<h1><?= html::clean($title) ?></h1>
</div>
<br />
<? if (module::is_active("tag_cloud")) { ?>
<script type="text/javascript">
$("document").ready(function() {
$("#g-tag-cloud-page").gallery_tag_cloud_page({
movie: "<?= url::file("modules/tag_cloud/lib/tagcloud.swf") ?>"
<? foreach ($options as $option => $value) : ?>
, <?= $option ?> : "<?= $value ?>"
<? endforeach ?>
});
});
</script>
<div id="g-tag-cloud-page">
<div id="g-tag-cloud-page-animation" ref="<?= url::site("tag_cloud_page") ?>">
<div id="g-tag-cloud-movie-page">
<?= tag::cloud(ORM::factory("tag")->count_all()); ?>
</div>
</div>
</div>
<? } else { ?>
<div id="g-tag-cloud-page">
<?= tag::cloud(ORM::factory("tag")->count_all()); ?>
</div>
<? } ?>
<?= $theme->dynamic_bottom() ?>