diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-08-11 05:51:01 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-08-11 05:51:01 +0000 |
commit | f33f98461af4985f6b2d325d3bebee158952e0c9 (patch) | |
tree | 805908a93189b81d9c3e6492779314d7537eb51e | |
parent | e0a6f0bab2dd9ccacc465b1c089735cab4a97179 (diff) | |
download | phpicalendar-f33f98461af4985f6b2d325d3bebee158952e0c9.tar.gz phpicalendar-f33f98461af4985f6b2d325d3bebee158952e0c9.tar.bz2 phpicalendar-f33f98461af4985f6b2d325d3bebee158952e0c9.zip |
Added JS.
-rw-r--r-- | includes/todo.php | 2 | ||||
-rw-r--r-- | templates/default/header.tpl | 15 |
2 files changed, 14 insertions, 3 deletions
diff --git a/includes/todo.php b/includes/todo.php index e783380..a8178e3 100644 --- a/includes/todo.php +++ b/includes/todo.php @@ -55,8 +55,6 @@ $page->replace_tags(array( )); -$page->replace_langs($lang); - $page->output(); ?>
\ No newline at end of file diff --git a/templates/default/header.tpl b/templates/default/header.tpl index 891760f..fa9c21c 100644 --- a/templates/default/header.tpl +++ b/templates/default/header.tpl @@ -9,7 +9,20 @@ <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} + <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> </head> <body> <form name="eventPopupForm" id="eventPopupForm" method="post" action="includes/event.php" style="display: none;"> |