| @@ 175-183 (lines=9) @@ | ||
| 172 | ||
| 173 | Display::display_header($tool_name); |
|
| 174 | ||
| 175 | if ($add_type == 'multiple') { |
|
| 176 | $link_add_type_unique = '<a href="'.api_get_self().'?add='.$add.'&add_type=unique">'. |
|
| 177 | Display::return_icon('single.gif').get_lang('SessionAddTypeUnique').'</a>'; |
|
| 178 | $link_add_type_multiple = Display::return_icon('multiple.gif').get_lang('SessionAddTypeMultiple'); |
|
| 179 | } else { |
|
| 180 | $link_add_type_unique = Display::return_icon('single.gif').get_lang('SessionAddTypeUnique'); |
|
| 181 | $link_add_type_multiple = '<a href="'.api_get_self().'?add='.$add.'&add_type=multiple">'. |
|
| 182 | Display::return_icon('multiple.gif').get_lang('SessionAddTypeMultiple').'</a>'; |
|
| 183 | } |
|
| 184 | ||
| 185 | echo '<div class="actions">'; |
|
| 186 | echo '<a href="usergroups.php">'.Display::return_icon('back.png',get_lang('Back'), array(), ICON_SIZE_MEDIUM).'</a>'; |
|
| @@ 159-165 (lines=7) @@ | ||
| 156 | Display::display_header($tool_name); |
|
| 157 | ||
| 158 | $add = (empty($_GET['add']) ? '' : Security::remove_XSS($_GET['add'])); |
|
| 159 | if ($add_type == 'multiple') { |
|
| 160 | $link_add_type_unique = '<a href="' . api_get_self() . '?add=' . $add . '&add_type=unique">'. |
|
| 161 | Display::return_icon('single.gif').get_lang('SessionAddTypeUnique').'</a>'; |
|
| 162 | $link_add_type_multiple = Display::return_icon('multiple.gif').get_lang('SessionAddTypeMultiple'); |
|
| 163 | } else { |
|
| 164 | $link_add_type_unique = Display::return_icon('single.gif').get_lang('SessionAddTypeUnique'); |
|
| 165 | $link_add_type_multiple = '<a href="' . api_get_self() . '?add=' . $add . '&add_type=multiple">'. |
|
| 166 | Display::return_icon('multiple.gif').get_lang('SessionAddTypeMultiple').'</a>'; |
|
| 167 | } |
|
| 168 | ||