Forgot to commit the tag views.
This commit is contained in:
parent
972230ffde
commit
9484bea83f
12
web_client/application/views/tag_block.html.php
Normal file
12
web_client/application/views/tag_block.html.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<div id="wc-tag-cloud">
|
||||
<h3>Tags</h3>
|
||||
<ul>
|
||||
<? foreach ($tags as $tag): ?>
|
||||
<li class="size<?=(int)(($tag->count / $max_count) * 7) ?>">
|
||||
<span><?= $tag->count ?> photos are tagged with </span>
|
||||
<a href="<?= url::site("g3_client/tagged_album/{$tag->name}") ?>"><?= $tag->name ?></a>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
</ul>
|
||||
</div>
|
20
web_client/application/views/tag_detail.html.php
Normal file
20
web_client/application/views/tag_detail.html.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<script>
|
||||
var parent_path = "";
|
||||
var current_path = "tags";
|
||||
var resource_type = "album";
|
||||
</script>
|
||||
<ul id="wc-thumb-grid" class="ui-helper-clearfix">
|
||||
<? foreach ($resources as $child): ?>
|
||||
<li class="wc-thumb-grid-cell" ref="<?= $child->path ?>">
|
||||
<a class="wc-child-link wc-image-block" href="#">
|
||||
<? if ($child->has_thumb): ?>
|
||||
<img src="<?= $child->thumb_url ?>" title="<?= $child->title ?>" />
|
||||
<? else: ?>
|
||||
<span><?= $child->title ?></span>
|
||||
<? endif ?>
|
||||
</a>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user