function get_list_html($type = null, $id = null) { global $TPL; $_REQUEST["type"] = $type; $_REQUEST["id"] = $id; $TPL["reminderRows"] = reminder::get_list($_REQUEST); $type and $TPL["returnToParent"] = $type; $type or $TPL["returnToParent"] = "list"; include_template(dirname(__FILE__) . "/../templates/reminderListS.tpl"); }