コード例 #1
0
ファイル: admin.massmail.php プロジェクト: Fellah/govnobaki
function messageForm($option)
{
    $acl =& JFactory::getACL();
    $gtree = array(JHTML::_('select.option', 0, '- ' . JText::_('All User Groups') . ' -'));
    // get list of groups
    $lists = array();
    $gtree = array_merge($gtree, $acl->get_group_children_tree(null, 'users', false));
    $lists['gid'] = JHTML::_('select.genericlist', $gtree, 'mm_group', 'size="10"', 'value', 'text', 0);
    HTML_massmail::messageForm($lists, $option);
}
コード例 #2
0
function messageForm($option)
{
    global $acl;
    $gtree = array(mosHTML::makeOption(0, '- All User Groups -'));
    // get list of groups
    $lists = array();
    $gtree = array_merge($gtree, $acl->get_group_children_tree(null, 'USERS', false));
    $lists['gid'] = mosHTML::selectList($gtree, 'mm_group', 'size="10"', 'value', 'text', 0);
    HTML_massmail::messageForm($lists, $option);
}
コード例 #3
0
ファイル: admin.massmail.php プロジェクト: cwcw/cms
function messageForm($option)
{
    global $database, $acl;
    $gtree = array(mosHTML::makeOption(0, $adminLanguage->A_COMP_MASS_ALL));
    // get list of groups
    $lists = array();
    $gtree = array_merge($gtree, $acl->get_group_children_tree(null, 'USERS', false));
    $lists['gid'] = mosHTML::selectList($gtree, 'mm_group', 'size="10"', 'value', 'text', 0);
    HTML_massmail::messageForm($lists, $option);
}