exit;
                    } else {
                        // we only get this response if we have skipped workflows and jumped straight in to an approve() step.
                        header("Location: " . REL_DIR_FILES_TOOLS_REQUIRED . "/versions.php?forcereload=1&cID=" . $cID . "&cvID=" . $_GET['cvID']);
                        exit;
                    }
                }
                break;
        }
    }
    $page = $_REQUEST[PAGING_STRING];
    if (!$page) {
        $page = 1;
    }
    $vl = new VersionList($c, 20, $page);
    $total = $vl->getVersionListCount();
    $vArray = $vl->getVersionListArray();
    $ph = Loader::helper('pagination');
    $ph->init($page, $total, '', 20, 'ccm_goToVersionPage');
}
if (!$_GET['versions_reloaded']) {
    ?>
	<div id="ccm-versions-container">
	<?php 
    if ($_REQUEST['deferred']) {
        ?>
		<div class="alert alert-info">
			<?php 
        echo t('<strong>Request Saved.</strong> You must complete the workflow before this change is active.');
        ?>
		</div>