<?php
/**
 * JavaScript components
 */

$body = elgg_view('theme_sandbox/javascript/lightbox');
echo elgg_view_module('theme-sandbox-demo', 'Lightbox (.elgg-lightbox)', $body);

$body = elgg_view('theme_sandbox/javascript/popup');
echo elgg_view_module('theme-sandbox-demo', 'Popup (rel=popup)', $body);

$body = elgg_view('theme_sandbox/javascript/toggle');
echo elgg_view_module('theme-sandbox-demo', 'Toggle (rel=toggle)', $body);

$body = elgg_view('theme_sandbox/javascript/system_messages');
echo elgg_view_module('theme-sandbox-demo', 'System Messages and Errors', $body);

$body = elgg_view('theme_sandbox/javascript/user_hover_menu');
echo elgg_view_module('theme-sandbox-demo', 'User Icon with Hover Menu', $body);
