コード例 #1
0
ファイル: default.php プロジェクト: sumudinie/hubzero-cms
echo $this->escape($this->filters['tag']);
?>
" />
				</fieldset>
				<?php 
if ($this->filters['tag']) {
    ?>
					<fieldset class="applied-tags">
						<ol class="tags">
						<?php 
    $url = 'index.php?option=' . $this->option . '&task=browse';
    $url .= $this->filters['search'] ? '&search=' . $this->escape($this->filters['search']) : '';
    $url .= $this->filters['sortby'] ? '&sortby=' . $this->escape($this->filters['sortby']) : '';
    $url .= $this->filters['type'] ? '&type=' . $this->escape($this->filters['type']) : '';
    $rt = new \Components\Resources\Helpers\Tags(0);
    $tags = $rt->parseTopTags($this->filters['tag']);
    foreach ($tags as $tag) {
        ?>
							<li>
								<a href="<?php 
        echo Route::url($url . '&tag=' . implode(',', $rt->parseTopTags($this->filters['tag'], $tag)));
        ?>
">
									<?php 
        echo $this->escape(stripslashes($tag));
        ?>
									<span class="remove" title="<?php 
        echo Lang::txt('COM_RESOURCES_REMOVE_TAG');
        ?>
">x</a>
								</a>