From 593a23dbcb1b1d4d5c900316ace7cac0f44b66a3 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 5 Jul 2001 16:17:41 +0000 Subject: [PATCH] Add holiday config as an admin page --- calendar/inc/hook_admin.inc.php | 1 + calendar/templates/default/config.tpl | 51 +++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 calendar/templates/default/config.tpl diff --git a/calendar/inc/hook_admin.inc.php b/calendar/inc/hook_admin.inc.php index 5fcd039703..2c13952d20 100755 --- a/calendar/inc/hook_admin.inc.php +++ b/calendar/inc/hook_admin.inc.php @@ -15,6 +15,7 @@ // Only Modify the $file and $title variables..... $title = $appname; $file = Array( + 'Site Configuration' => $phpgw->link('/admin/config.php','appname=' . $appname), 'Calendar Holiday Management' => $phpgw->link('/calendar/holiday_admin.php') ); //Do not modify below this line diff --git a/calendar/templates/default/config.tpl b/calendar/templates/default/config.tpl new file mode 100644 index 0000000000..92dbc88aa4 --- /dev/null +++ b/calendar/templates/default/config.tpl @@ -0,0 +1,51 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 {title}
 
{lang_Calendar_settings}
{lang_Do_you_wish_to_autoload_calendar_holidays_files_dynamically?} + +
{lang_Location_to_autoload_from}: + +
+  +
+ + +
+
+