From c2fa42cf6cf6a2742b2a40ef7fc46f95f7a734f3 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 21 Feb 2009 02:28:19 +0000 Subject: Implementation of local import module. Still need work on better status messages. --- .../local_import/helpers/local_import_theme.php | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 modules/local_import/helpers/local_import_theme.php (limited to 'modules/local_import/helpers/local_import_theme.php') diff --git a/modules/local_import/helpers/local_import_theme.php b/modules/local_import/helpers/local_import_theme.php new file mode 100644 index 00000000..d37b8ad3 --- /dev/null +++ b/modules/local_import/helpers/local_import_theme.php @@ -0,0 +1,44 @@ +"; + $head[] = ""; + $base = url::base(true); + $csrf = access::csrf_token(); + $head[] = ""; + + $head[] = html::script("modules/local_import/js/jquery.autocomplete.pack.js"); + $head[] = html::script("modules/local_import/js/admin.js"); + + return implode("\n", $head); + } + + static function head($theme) { + $head[] = ""; + + $head[] = html::script("modules/local_import/js/local_import.js"); + + return implode("\n", $head); + } +} \ No newline at end of file -- cgit v1.2.3