</div>
<br />
<!-- End Header Navigation Table -->
-<?php } ?>
+<?php
+ }
+
+ // now, some generic javascript for use with preview pane
+
+?>
<script type="text/javascript" language="JavaScript">
<!--
var delayed_page_load_uri = '';
{ page_load_uri = page_uri; setTimeout('page_load()', 500); }
function page_load()
{ document.location = page_load_uri; }
+ function refresh_message_list()
+ {
+ if (typeof(parent.right.delayed_page_load) != 'undefined')
+ parent.right.delayed_page_load("<?php echo $message_list_href; ?>");
+ }
<?php
// autohide the preview pane if desired when not viewing messages,
$use_previewPane = getPref($data_dir, $username, 'use_previewPane', 0);
$show_preview_pane = checkForJavascript() && $use_previewPane;
$empty_frame_uri = $base_uri . 'plugins/preview_pane/empty_frame.php';
-if ($show_preview_pane) { ?>
- <script>
- <!--
- function refresh_message_list()
- { parent.right.delayed_page_load("<?php echo $message_list_href; ?>"); }
- // -->
- </script>
-<?php }
/** Begin template **/
$use_previewPane = getPref($data_dir, $username, 'use_previewPane', 0);
$show_preview_pane = checkForJavascript() && $use_previewPane;
$empty_frame_uri = $base_uri . 'plugins/preview_pane/empty_frame.php';
-if ($show_preview_pane) { ?>
- <script>
- <!--
- function refresh_message_list()
- {
- if (typeof(parent.right.delayed_page_load) != 'undefined')
- parent.right.delayed_page_load("<?php echo $message_list_href; ?>");
- }
- // -->
- </script>
-<?php }
/** Begin template **/