<?php

$GLOBALS['SPADE']['template']->_tpl_vars['hideWidgets'] = 'true';

if ($_REQUEST['doBuildToc'])
{
	buildToc();
	?>
	<div align="center">Table of Contents build complete. <a href="./?pg=admin/toc">Click here</a> to return to the Table of Contents page.</div>
	<?php
} else {
	logError('No confirmation was submitted to build the Table of Contents.');
}

?>

