@@ -9,23 +9,6 @@ |
||
| 9 | 9 | * how to use |
| 10 | 10 | * The following code inserted in the template |
| 11 | 11 | * |
| 12 | - * @param string $module module dirname |
|
| 13 | - * @param string $file block function file |
|
| 14 | - * @param string $show_func show block function |
|
| 15 | - * @param string $options show block function's option |
|
| 16 | - * @param int $cachetime cachetime Unit for seconds |
|
| 17 | - * @param mixed $user Generate cache solution |
|
| 18 | - |
|
| 19 | -<{xoBlkTpl module="ilog" file="ilog_block_tag.php" show_func="ilog_tag_block_cloud_show" options="100|0|100|80" cachetime=5 userid=$xoops_userid}> |
|
| 20 | - <link rel="stylesheet" href="<{$xoops_url}>/modules/tag/templates/style.css" /> |
|
| 21 | - <div class="tag-cloud" style="line-height: 150%; padding: 5px;"> |
|
| 22 | - <{foreach item=tag from=$block.tags}> |
|
| 23 | - <span class="tag-level-<{$tag.level}>" style="font-size: <{$tag.font}>%; display: inline; padding-right: 5px;"> |
|
| 24 | - <a href="<{$xoops_url}>/modules/<{$block.tag_dirname}>/view.tag.php<{$smarty.const.URL_DELIMITER}><{$tag.id}>/" title="<{$tag.term}>"><{$tag.term}></a> |
|
| 25 | - </span> |
|
| 26 | - <{/foreach}> |
|
| 27 | - </div> |
|
| 28 | -<{/xoBlkTpl}> |
|
| 29 | 12 | */ |
| 30 | 13 | function smarty_block_xoBlkTpl ($params, $content, $smarty, &$repeat) { |
| 31 | 14 | static $old_block; |
@@ -9,22 +9,6 @@ |
||
| 9 | 9 | * how to use |
| 10 | 10 | * The following code inserted in the template |
| 11 | 11 | * |
| 12 | - * @param string $module module dirname |
|
| 13 | - * @param string $file block function file |
|
| 14 | - * @param string $show_func show block function |
|
| 15 | - * @param string $options show block function's option |
|
| 16 | - * @param int $cachetime cachetime Unit for seconds |
|
| 17 | - * @param mixed $user Generate cache solution |
|
| 18 | - |
|
| 19 | -<{xoBlk |
|
| 20 | - module="ilog" |
|
| 21 | - file="ilog_block_tag.php" |
|
| 22 | - show_func="ilog_tag_block_cloud_show" |
|
| 23 | - options="100|0|150|80" |
|
| 24 | - template="ilog_tag_block_cloud.html" |
|
| 25 | - cachetime=10 |
|
| 26 | - user=admin |
|
| 27 | -}> |
|
| 28 | 12 | */ |
| 29 | 13 | function smarty_function_xoBlk( $params, $smarty ) |
| 30 | 14 | { |