Codechanges for view.php.