ad_page_contract { @author Unknown @creation-date Unknown @cvs-id $Id: index.vuh,v 1.3 2017/08/07 23:48:04 gustafn Exp $ } { revision_id:integer,notnull } # Get the paths set the_root $::acs::pageroot set package_id [ad_conn package_id] # Get the IDs db_1row revision_info { *SQL* } set the_url $name set content_root [as::assessment::folder_id -package_id $package_id] set template_root "" # Serve the page if { [content::init the_url the_root $content_root $template_root public $revision_id $content_type] } { set file "$the_root/$the_url" rp_internal_redirect -absolute_path $file } else { # ns_returnnotfound set page "[ad_header {Content Item Not Found}]" append page "