- // New status set?
- if (!is_null($content['actions_new_status'])) {
- // Translate it
- $content['actions_new_status'] = translateSurfbarUrlStatus($content['actions_new_status']);
- } else {
- // "Do nothing" status
- $content['actions_new_status'] = '{--SURFBAR_URL_STATUS_NONE--}';
- }
-
- // Load row template
- $OUT .= loadTemplate('admin_list_surfbar_actions_row', true, $content);
- } // END - while
-
- // Load main template
- loadTemplate('admin_list_surfbar_actions', false, $OUT);
-} else {
- // No entries found, very bad!
- displayMessage('{--ADMIN_SURFBAR_NO_ACTIONS--}');
+ // Do not show the list of URLs after this template
+ $show = false;
+} elseif (isFormSent('do_edit')) {
+ // Change data of entries
+ showEntriesByXmlCallback('admin_edit_do_surfbar_actions');