diff options
author | Sem <sembrestels@riseup.net> | 2013-11-09 16:30:07 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-11-09 16:30:07 +0100 |
commit | e843405646960ffd1918d8191c5eba6219ba38b3 (patch) | |
tree | 968a62c1fac728f5e0efdce5927fb1b79615e6cc /mod/html5/start.php | |
parent | dee4ff21a5a5e8b8c5dbeae0a2f89a36a3f1c6cc (diff) | |
parent | b623f64507956f7beee0d8352fd044bdb70f5d23 (diff) | |
download | elgg-e843405646960ffd1918d8191c5eba6219ba38b3.tar.gz elgg-e843405646960ffd1918d8191c5eba6219ba38b3.tar.bz2 |
Add 'mod/html5/' from commit 'b623f64507956f7beee0d8352fd044bdb70f5d23'
git-subtree-dir: mod/html5
git-subtree-mainline: dee4ff21a5a5e8b8c5dbeae0a2f89a36a3f1c6cc
git-subtree-split: b623f64507956f7beee0d8352fd044bdb70f5d23
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');
|