Changeset 2476 for trunk/expressoAdmin1_2/inc
- Timestamp:
- 04/12/10 09:53:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uigroups.inc.php
r2459 r2476 162 162 $p->set_var('input_search',lang('Search') . ' <input name="query" value="'.htmlspecialchars(stripslashes($GLOBALS['query'])).'">'); 163 163 } 164 echo "<script>var expressoAdmin_controller = '{$GLOBALS[ 'phpgw' ] -> link( '/expressoAdmin1_2/controller.php' )}?action=';</script>" . $GLOBALS[ 'phpgw' ] -> common -> get_java_script( ); 164 165 $p->pfp('out','list'); 165 166 } … … 240 241 $p->set_var($var); 241 242 $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( ); 243 245 $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>'; 244 249 } 245 250 246 251 function edit_groups() 247 252 { 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);'); 249 254 250 255 $manager_lid = $GLOBALS['phpgw']->accounts->data['account_lid']; … … 357 362 $p->set_var($var); 358 363 $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( ); 359 365 $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>'; 360 367 } 361 368
Note: See TracChangeset
for help on using the changeset viewer.