diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-08-12 19:20:43 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-08-12 19:20:43 +0000 |
commit | cd06026f2d433d1ff9e34924f1d9ea63331f88f2 (patch) | |
tree | 538e9e4348333134ead4a4ede96b8df54a2f3a2d /admin.php | |
parent | 67f44a9496bed9aab33b40b7c9a2bc121655dab9 (diff) | |
download | phpicalendar-cd06026f2d433d1ff9e34924f1d9ea63331f88f2.tar.gz phpicalendar-cd06026f2d433d1ff9e34924f1d9ea63331f88f2.tar.bz2 phpicalendar-cd06026f2d433d1ff9e34924f1d9ea63331f88f2.zip |
Added todo.js and charset. Needs testing.
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,7 @@ define('BASE', './'); require_once(BASE.'functions/admin_functions.php'); require_once(BASE.'functions/ical_parser.php'); require_once(BASE.'functions/template.php'); +header("Content-Type: text/html; charset=$charset"); // Redirect if administration is not allowed if ($allow_admin != "yes") { @@ -47,6 +48,8 @@ $page->replace_tags(array( 'footer' => BASE.'templates/'.$template.'/footer.tpl', 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl', 'event_js' => BASE.'functions/event.js', + 'todo_js' => BASE.'functions/todo.js', + 'charset' => $charset, 'default_path' => '', 'template' => $template, 'cal' => $cal, |