示例#1
0
//----------------------------------
$noQUERY_STRING = true;
$out = '';
// Title
$out .= claro_html_tool_title($nameTools, null, $cmdList) . $dialogBox->render() . '<div>' . "\n" . '<ul id="navlist">' . "\n";
// Display the module type tabbed naviguation bar
foreach ($moduleTypeList as $type) {
    if ($typeReq == $type) {
        $out .= '<li><a href="module_list.php?typeReq=' . $type . '" class="current">' . $typeLabel[$type] . '</a></li>' . "\n";
    } else {
        $out .= '<li><a href="module_list.php?typeReq=' . $type . '">' . $typeLabel[$type] . '</a></li>' . "\n";
    }
}
$out .= '</ul>' . "\n" . '</div>' . "\n";
// Display Pager list
if ($myPager->get_next_offset()) {
    $out .= $myPager->disp_pager_tool_bar('module_list.php?typeReq=' . $typeReq);
}
// Start table...
$out .= '<table class="claroTable emphaseLine" width="100%" border="0" cellspacing="2">' . "\n\n" . '<thead>' . "\n" . '<tr>' . "\n" . '<th>' . get_lang('Icon') . '</th>' . "\n" . '<th>' . get_lang('Module name') . '</th>' . "\n" . '<th>' . get_lang('Module administration') . '</th>' . "\n";
if ($typeReq == 'applet') {
    $out .= '<th>' . get_lang('Display') . '</th>' . "\n";
} else {
    $out .= '<th colspan="2">' . get_lang('Order') . '</th>' . "\n";
}
$out .= '<th>' . get_lang('Properties') . '</th>' . "\n" . '<th>' . get_lang('Uninstall') . '</th>' . "\n" . '<th>' . get_lang('Activated') . '</th>' . "\n";
if ($typeReq == 'tool') {
    $out .= '<th>' . get_lang('Default visibility') . '</th>' . "\n";
}
$out .= '</tr>' . "\n" . '</thead>' . "\n\n" . '<tbody>';
// Start the list of modules...