36 lines
988 B
PHP
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() ?>
|