object_type,$shout->object_id); $object->format(); $client = new User($shout->user); $client->format(); require_once Config::get('prefix') . '/templates/show_edit_shout.inc.php'; break; case 'delete': $shout_id = shoutBox::delete($_REQUEST['shout_id']); show_confirmation(_('Shoutbox Post Deleted'),'',Config::get('web_path').'/admin/shout.php'); break; default: Browse::set_type('shoutbox'); Browse::set_simple_browse(1); $shoutbox_ids = Browse::get_objects(); Browse::show_objects($shoutbox_ids); break; } // end switch on action show_footer(); ?>