/** * The do-next manager for after content management. * * @param tempcode The title (output of get_page_title) * @param ?ID_TEXT The name of the page just handled (NULL: none) * @param ID_TEXT The name of the zone just handled (blank: none/welcome-zone) * @param tempcode The text to show (blank: default) * @return tempcode The UI */ function do_next_manager($title, $page, $zone, $completion_text) { breadcrumb_set_self(do_lang_tempcode('DONE')); require_code('zones2'); require_code('zones3'); return site_tree_do_next_manager($title, $page, $zone, $completion_text); }
/** * The do-next manager for after content management. * * @param tempcode The title (output of get_page_title) * @param ?ID_TEXT The name of the page just handled (NULL: none) * @param ID_TEXT The name of the zone just handled (blank: none/welcome-zone) * @param tempcode The text to show (blank: default) * @return tempcode The UI */ function do_next_manager($title, $page, $zone, $completion_text) { if (!addon_installed('page_management')) { return redirect_screen($title, build_url(array('page' => '_SELF', 'type' => 'misc'), '_SELF'), $completion_text); } require_code('zones2'); require_code('zones3'); return site_tree_do_next_manager($title, $page, $zone, $completion_text); }