Changeset 2476


Ignore:
Timestamp:
04/12/10 09:53:32 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Correção de problemas no ExpressoAdmin, na gerência de grupos.

Location:
trunk/expressoAdmin1_2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.uigroups.inc.php

    r2459 r2476  
    162162                                $p->set_var('input_search',lang('Search') . '&nbsp;<input name="query" value="'.htmlspecialchars(stripslashes($GLOBALS['query'])).'">'); 
    163163                        } 
     164                        echo "<script>var expressoAdmin_controller = '{$GLOBALS[ 'phpgw' ] -> link( '/expressoAdmin1_2/controller.php' )}?action=';</script>" . $GLOBALS[ 'phpgw' ] -> common -> get_java_script( ); 
    164165                        $p->pfp('out','list'); 
    165166                } 
     
    240241                        $p->set_var($var); 
    241242                        $p->set_var($this->functions->make_dinamic_lang($p, 'list')); 
    242                          
     243 
     244                        echo "<script>var expressoAdmin_controller = '{$GLOBALS[ 'phpgw' ] -> link( '/expressoAdmin1_2/controller.php' )}?action=';</script>" . $GLOBALS[ 'phpgw' ] -> common -> get_java_script( ); 
    243245                        $p->pfp('out','create_group'); 
     246                        echo '<script>get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);</script>'; 
     247                        if ($this->current_config['expressoAdmin_samba_support'] == 'true') 
     248                                echo '<script>get_available_sambadomains(document.forms[0].context.value, \'create_group\');</script>'; 
    244249                } 
    245250                 
    246251                function edit_groups() 
    247252                { 
    248                         $GLOBALS['phpgw']->js->set_onload('get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);'); 
     253                        //$GLOBALS['phpgw']->js->set_onload('get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);'); 
    249254 
    250255                        $manager_lid = $GLOBALS['phpgw']->accounts->data['account_lid']; 
     
    357362                        $p->set_var($var); 
    358363                        $p->set_var($this->functions->make_dinamic_lang($p, 'list')); 
     364                        echo "<script>var expressoAdmin_controller = '{$GLOBALS[ 'phpgw' ] -> link( '/expressoAdmin1_2/controller.php' )}?action=';</script>" . $GLOBALS[ 'phpgw' ] -> common -> get_java_script( ); 
    359365                        $p->pfp('out','create_group'); 
     366                        echo '<script>get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);</script>'; 
    360367                } 
    361368                                 
  • trunk/expressoAdmin1_2/templates/default/groups_form.tpl

    r640 r2476  
    66                </td> 
    77                <td valign="top"> 
    8                         <table border="0" width=100% cellspacing="4"> 
    9                                 <form action="{form_action}" method="POST" name="app_form"> 
     8                        <form action="{form_action}" method="POST" name="app_form"> 
     9                                <table border="0" width=100% cellspacing="4"> 
    1010                                        <input type="hidden" name="gidnumber"                   value="{gidnumber}"> 
    1111                                        <input type="hidden" name="old_cn"                              value="{cn}"> 
     
    106106                                                </td> 
    107107                                        </tr> 
    108                                 </form> 
    109                         </table> 
     108                                </table> 
     109                        </form> 
    110110                </td> 
    111111        </tr> 
Note: See TracChangeset for help on using the changeset viewer.