Beispiel #1
0
                    $rows .= wf_TableRow($cells, 'row3');
                }
                $result .= wf_TableBody($rows, '100%', '0', 'sortable');
                $result .= wf_tag('b') . __('Total') . ':' . wf_tag('b', true) . ' ' . $totalCount;
            }
            show_window(__('Tags'), $result);
        }
    }
    /*
     * Controller & view section
     */
    $tagCloud = new TagCloud();
    //show cloud or grid tag view
    if (!wf_CheckGet(array('gridview'))) {
        if (wf_CheckGet(array('report'))) {
            $tagCloud->renderReport();
        } else {
            //default tag cloud
            $tagCloud->renderTagCloud();
        }
    } else {
        //grid view
        $tagCloud->renderTagGrid();
    }
    //show selected tag users
    if (isset($_GET['tagid'])) {
        $tagid = vf($_GET['tagid'], 3);
        $tagCloud->renderTagUsers($tagid);
    }
} else {
    show_error(__('You cant control this module'));