| @@ 301-304 (lines=4) @@ | ||
| 298 | } |
|
| 299 | ||
| 300 | $form = new MyXoopsGroupPermForm( _MD_AM_ADGS , 1 , 'block_read' , '' ) ; |
|
| 301 | if( $target_mid > 1 ) { |
|
| 302 | $form->addAppendix( 'module_admin' , $target_mid , $target_mname . ' ' . _AM_ACTIVERIGHTS ) ; |
|
| 303 | $form->addAppendix( 'module_read' , $target_mid , $target_mname .' ' . _AM_ACCESSRIGHTS ) ; |
|
| 304 | } |
|
| 305 | foreach( $item_list as $item_id => $item_name) { |
|
| 306 | $form->addItem( $item_id , $item_name ) ; |
|
| 307 | } |
|
| @@ 309-312 (lines=4) @@ | ||
| 306 | } |
|
| 307 | ||
| 308 | $form = new MyXoopsGroupPermForm( _MD_AM_ADGS , 1 , 'block_read' , '' ) ; |
|
| 309 | if( $target_mid > 1 ) { |
|
| 310 | $form->addAppendix( 'module_admin' , $target_mid , $target_mname . ' ' . _AM_ACTIVERIGHTS ) ; |
|
| 311 | $form->addAppendix( 'module_read' , $target_mid , $target_mname .' ' . _AM_ACCESSRIGHTS ) ; |
|
| 312 | } |
|
| 313 | foreach( $item_list as $item_id => $item_name) { |
|
| 314 | $form->addItem( $item_id , $item_name ) ; |
|
| 315 | } |
|