Esempio n. 1
0
 * proposal details
 *
 * @author Magnus Rosenbaum <*****@*****.**>
 * @package Basisentscheid
 */


require "inc/common_http.php";

URI::strip_one_time_params(array(
		'comment',
		'reply',
		'parent',
		'comment_edit',
		'openhl',
		'edit_admission_decision',
		'edit_annotation',
		'show_drafts',
		'edit_proponent',
		'become_proponent',
		'remove_proponent'
	));

// resolve shortcuts for notification mails
if (!empty($_GET['comment'])) Comments::redirect_append_show(intval($_GET['comment']));
if (!empty($_GET['reply']))   Comments::redirect_append_reply(intval($_GET['reply']));

$proposal = new Proposal(@$_GET['id']);
if (!$proposal->id) {
	error("The requested proposal does not exist!");
}