diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-08-12 20:32:47 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-08-12 20:32:47 +0000 |
commit | 3529ead9b42f9c7a195cae84f367a130e4e0e7d6 (patch) | |
tree | cf8b6296db7a505cf98a48721bf3cc18d5e143e9 | |
parent | cd06026f2d433d1ff9e34924f1d9ea63331f88f2 (diff) | |
download | phpicalendar-3529ead9b42f9c7a195cae84f367a130e4e0e7d6.tar.gz phpicalendar-3529ead9b42f9c7a195cae84f367a130e4e0e7d6.tar.bz2 phpicalendar-3529ead9b42f9c7a195cae84f367a130e4e0e7d6.zip |
Refixed todo popup.
-rw-r--r-- | admin.php | 2 | ||||
-rw-r--r-- | day.php | 2 | ||||
-rw-r--r-- | functions/event.js | 9 | ||||
-rw-r--r-- | functions/todo.js | 14 | ||||
-rw-r--r-- | month.php | 2 | ||||
-rw-r--r-- | preferences.php | 2 | ||||
-rw-r--r-- | print.php | 2 | ||||
-rw-r--r-- | rss/index.php | 1 | ||||
-rw-r--r-- | search.php | 2 | ||||
-rw-r--r-- | templates/default/header.tpl | 1 | ||||
-rw-r--r-- | week.php | 2 | ||||
-rw-r--r-- | year.php | 2 |
12 files changed, 10 insertions, 31 deletions
@@ -48,7 +48,6 @@ $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, @@ -61,7 +60,6 @@ $page->replace_tags(array( 'rss_powered' => $rss_powered, 'rss_available' => '', 'rss_valid' => '', - 'todo_js' => '', 'show_search' => '', 'l_day' => $lang['l_day'], 'l_week' => $lang['l_week'], @@ -48,7 +48,6 @@ $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, @@ -61,7 +60,6 @@ $page->replace_tags(array( 'rss_powered' => $rss_powered, 'rss_available' => '', 'rss_valid' => '', - 'todo_js' => '', 'show_search' => '', 'next_day' => $next_day, 'prev_day' => $prev_day, diff --git a/functions/event.js b/functions/event.js index adee336..c3d43c1 100644 --- a/functions/event.js +++ b/functions/event.js @@ -34,6 +34,15 @@ function EventData(event, cal, start, end, description, status, location, organi this.url = url; } +function openTodoInfo(vtodo_array) { + var windowW = 460; + var windowH = 275; + var url = "includes/todo.php?vtodo_array="+vtodo_array; + options = "scrollbars=yes,width="+windowW+",height="+windowH; + info = window.open(url, "Popup", options); + info.focus(); +} + document.popup_data = new Array(); //--> </script>
\ No newline at end of file diff --git a/functions/todo.js b/functions/todo.js deleted file mode 100644 index 52cc96a..0000000 --- a/functions/todo.js +++ /dev/null @@ -1,14 +0,0 @@ -<script language="JavaScript" type="text/javascript"> -<!-- - function openTodoInfo(vtodo_array) - { - var windowW = 460; - var windowH = 275; - var url = "includes/todo.php?vtodo_array="+vtodo_array; - options = "scrollbars=yes,width="+windowW+",height="+windowH; - info = window.open(url, "Popup", options); - info.focus(); - } - -//--> -</script> @@ -54,7 +54,6 @@ $page->replace_tags(array( 'footer' => BASE.'templates/'.$template.'/footer.tpl', 'calendar_nav' => BASE.'templates/'.$template.'/calendar_nav.tpl', 'event_js' => BASE.'functions/event.js', - 'todo_js' => BASE.'functions/todo.js', 'charset' => $charset, 'template' => $template, 'cal' => $cal, @@ -65,7 +64,6 @@ $page->replace_tags(array( 'default_path' => '', 'rss_available' => '', 'rss_valid' => '', - 'todo_js' => '', 'show_search' => '', 'next_month' => $next_month, 'prev_month' => $prev_month, diff --git a/preferences.php b/preferences.php index 2b8574e..810c77d 100644 --- a/preferences.php +++ b/preferences.php @@ -136,6 +136,7 @@ $page = new Page(BASE.'templates/'.$template.'/preferences.tpl'); $page->replace_tags(array( 'header' => BASE.'templates/'.$template.'/header.tpl', 'footer' => BASE.'templates/'.$template.'/footer.tpl', + 'charset' => $charset, 'template' => $template, 'default_path' => '', 'cal' => $cal, @@ -145,7 +146,6 @@ $page->replace_tags(array( 'rss_powered' => $rss_powered, 'rss_available' => '', 'rss_valid' => '', - 'todo_js' => '', 'event_js' => '', 'language_select' => $language_select, 'calendar_select' => $calendar_select, @@ -43,7 +43,6 @@ $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, @@ -56,7 +55,6 @@ $page->replace_tags(array( 'rss_powered' => $rss_powered, 'rss_available' => '', 'rss_valid' => '', - 'todo_js' => '', 'show_search' => '', 'next_day' => $next_day, 'prev_day' => $prev_day, diff --git a/rss/index.php b/rss/index.php index f886b9c..e16bb1b 100644 --- a/rss/index.php +++ b/rss/index.php @@ -44,7 +44,6 @@ $page->replace_tags(array( 'rss_available' => '', 'rssdisable' => '', 'rss_valid' => '', - 'todo_js' => '', 'show_search' => '', 'l_rss_info' => $lang['l_rss_info'], 'l_rss_subhead' => $lang['l_rss_subhead'], @@ -277,7 +277,6 @@ $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, @@ -290,7 +289,6 @@ $page->replace_tags(array( 'rss_powered' => $rss_powered, 'rss_available' => '', 'rss_valid' => '', - 'todo_js' => '', 'show_search' => '' )); diff --git a/templates/default/header.tpl b/templates/default/header.tpl index df6723a..f06438a 100644 --- a/templates/default/header.tpl +++ b/templates/default/header.tpl @@ -9,7 +9,6 @@ <link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_VIEW}/rss/rss.php?cal={CAL}&rssview={CURRENT_VIEW}"> <!-- switch rss_available off --> {EVENT_JS} - {TODO_JS} </head> <body> <form name="eventPopupForm" id="eventPopupForm" method="post" action="includes/event.php" style="display: none;"> @@ -50,7 +50,6 @@ $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, @@ -63,7 +62,6 @@ $page->replace_tags(array( 'rss_powered' => $rss_powered, 'rss_available' => '', 'rss_valid' => '', - 'todo_js' => '', 'show_search' => '', 'next_day' => $next_day, 'next_week' => $next_week, @@ -21,7 +21,6 @@ $page->replace_tags(array( 'header' => BASE.'templates/'.$template.'/header.tpl', 'footer' => BASE.'templates/'.$template.'/footer.tpl', 'template' => $template, - 'todo_js' => BASE.'functions/todo.js', 'charset' => $charset, 'default_path' => '', 'cal' => $cal, @@ -33,7 +32,6 @@ $page->replace_tags(array( 'rss_available' => '', 'rss_valid' => '', 'todo_available' => '', - 'todo_js' => '', 'event_js' => '', 'this_year' => $this_year, 'next_year' => $next_year, |