+ $oTemplate->assign('nav_on_top', $nav_on_top);
+
+ $oTemplate->assign('prev_href', $prev_href);
+ $oTemplate->assign('up_href', $up_href);
+ $oTemplate->assign('next_href', $next_href);
+ $oTemplate->assign('del_prev_href', $del_prev_href);
+ $oTemplate->assign('del_next_href', $del_next_href);
+ $oTemplate->assign('view_msg_href', $view_msg_href);
+
+ $oTemplate->assign('message_list_href', $msg_list_href);
+ $oTemplate->assign('search_href', $search_href);
+
+ $oTemplate->assign('form_extra', '');
+ $oTemplate->assign('form_method', $method);
+ $oTemplate->assign('form_target', $target);
+ $oTemplate->assign('form_onsubmit', $onsubmit);
+ $oTemplate->assign('compose_href', $comp_uri);
+ $oTemplate->assign('button_onclick', $on_click);
+ $oTemplate->assign('forward_as_attachment_enabled', $enable_forward_as_attachment==1);
+
+ //FIXME: I am surprised these aren't already given to the template; probably needs to be given at a higher level, so I have NO IDEA if this is the right place to do this... adding them so template can construct its own API calls... we can build those herein too if preferrable
+ $oTemplate->assign('mailbox', $aMailbox['NAME']);
+ $oTemplate->assign('passed_id', $passed_id);
+ $oTemplate->assign('what', $what);