showBackup($option);
        break;
    case "savecategory":
        saveCategory($option);
        break;
    case "savemailformat":
        saveMailFormat($option);
        break;
    case "savesmsdetails":
        saveSMSDetails($option);
        break;
    case "configuration":
        showNewsMailer($option);
        break;
    default:
        showCPanel($option);
        break;
}
function bulkAddUsers($option)
{
    global $mainframe;
    $database =& JFactory::getDBO();
    require JPATH_SITE . "/administrator/components/com_vemod_news_mailer/config.vemod_news_mailer.php";
    if (strlen($vmnsecs) == 0) {
        $vmnsecs = "-9999999";
    }
    $database->setQuery("SELECT id FROM #__sections WHERE published=1 AND id IN (" . $vmnsecs . ") ORDER BY ordering");
    $sections = $database->loadResultArray();
    if (strlen($vmncats) == 0) {
        $vmncats = "-9999999";
    }
Ejemplo n.º 2
0
        break;
        // DOClink
    // DOClink
    case "doclink":
        require_once $_DOCMAN->getPath('includes_f', 'doclink');
        showDoclink();
        break;
    case "doclink-listview":
        require_once $_DOCMAN->getPath('includes_f', 'doclink');
        showListview();
        break;
        // CPanel
    // CPanel
    case 'cpanel':
    default:
        showCPanel();
}
function showCPanel()
{
    HTML_DMDocman::showCPanel();
}
function showCredits()
{
    global $mosConfig_absolute_path;
    ob_start();
    include $mosConfig_absolute_path . '/administrator/components/com_docman/CHANGELOG.php';
    $changelog = ob_get_clean();
    HTML_DMDocman::showCredits($changelog);
}
function showStatistics()
{