diff options
Diffstat (limited to 'mod/html5/start.php')
-rw-r--r-- | mod/html5/start.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mod/html5/start.php b/mod/html5/start.php new file mode 100644 index 000000000..462eb88e7 --- /dev/null +++ b/mod/html5/start.php @@ -0,0 +1,11 @@ +<?php
+
+function html5_init() {
+ elgg_extend_view('css/elgg', 'html5/css', 1);
+ elgg_extend_view('theme_preview/forms/inputs', 'html5/theme_preview/forms/inputs');
+
+ elgg_register_js('Modernizr', '/mod/html5/vendors/Modernizr-1.5.js', 'head', 1);
+ elgg_register_js('jquery.placeholder', '/mod/html5/vendors/jquery/jquery.placeholder-1.0.1.js', 'footer');
+}
+
+elgg_register_event_handler('init', 'system', 'html5_init');
|