Changeset 2476
- Timestamp:
- 04/12/10 09:53:32 (14 years ago)
- Location:
- trunk/expressoAdmin1_2
- Files:
-
- 2 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 -
trunk/expressoAdmin1_2/templates/default/groups_form.tpl
r640 r2476 6 6 </td> 7 7 <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"> 10 10 <input type="hidden" name="gidnumber" value="{gidnumber}"> 11 11 <input type="hidden" name="old_cn" value="{cn}"> … … 106 106 </td> 107 107 </tr> 108 </ form>109 </ table>108 </table> 109 </form> 110 110 </td> 111 111 </tr>
Note: See TracChangeset
for help on using the changeset viewer.