  |
60 | 60 | | } |
| |
61 | 61 | | |
| |
62 | 62 | | if ( !empty($names_string) ) { |
  |
63 | | - | $names_string = substr($names_string, 0, -2) . osc_draw_hidden_field('subaction', 'confirm'); |
| |
| 63 | + | $names_string = substr($names_string, 0, -2); |
|
64 | 64 | | } |
| |
65 | 65 | | |
| |
66 | 66 | | echo '<p>' . $names_string . '</p>'; |
| |
67 | 67 | | |
  |
68 | | - | echo '<p>' . osc_draw_radio_field('type', array(array('id' => 'add', 'text' => 'Add To'), array('id' => 'remove', 'text' => 'Remove From'), array('id' => 'set', 'text' => 'Set To')), 'add') . '</p>'; |
| |
| 68 | + | echo '<p>' . osc_draw_radio_field('mode', array(array('id' => OSC_ADMINISTRATORS_ACCESS_MODE_ADD, 'text' => 'Add To'), array('id' => OSC_ADMINISTRATORS_ACCESS_MODE_REMOVE, 'text' => 'Remove From'), array('id' => OSC_ADMINISTRATORS_ACCESS_MODE_SET, 'text' => 'Set To')), OSC_ADMINISTRATORS_ACCESS_MODE_ADD) . '</p>'; |
|
69 | 69 | | |
| |
70 | 70 | | echo '<ul style="list-style-type: none; padding-left: 0;">' . |
| |
71 | 71 | | ' <li>' . osc_draw_checkbox_field('modules[]', '*', null, 'id="access_globaladmin"') . ' <label for="access_globaladmin"><b>' . TEXT_GLOBAL_ACCESS . '</b></label></li>' . |
| |
|
|
 |
… |
|
87 | 87 | | echo '</ul>'; |
| |
88 | 88 | | ?> |
| |
89 | 89 | | |
  |
90 | | - | <p align="center"><?php echo '<input type="submit" value="' . IMAGE_SAVE . '" class="operationButton"> <input type="button" value="' . IMAGE_CANCEL . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&page=' . $_GET['page']) . '\';" class="operationButton">'; ?></p> |
| |
| 90 | + | <p align="center"><?php echo osc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . IMAGE_SAVE . '" class="operationButton" /> <input type="button" value="' . IMAGE_CANCEL . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&page=' . $_GET['page']) . '\';" class="operationButton" />'; ?></p> |
  |
91 | 91 | | |
| |
92 | 92 | | </form> |
| |
93 | 93 | | </div> |