if (!$draft->id) { error(_("The requested draft does not exist.")); } $draft2 = new Draft(@$_GET['draft2']); if (!$draft2->id) { error(_("The requested draft does not exist.")); } $proposal = new Proposal($draft->proposal); $issue = $proposal->issue(); $_SESSION['ngroup'] = $issue->area()->ngroup; list($supporters, $proponents, $is_supporter, $is_proponent) = $proposal->supporters(); if (!$is_proponent and !Login::$admin) { error(_("You are not a proponent of this proposal!")); } html_head( sprintf(_("<a%s>Proposal %d</a>, version differences"), ' href="proposal.php?id='.$proposal->id.'"', $proposal->id) ); ?> <section class="proposal_info"> <? $proposal->display_proposal_info($issue, $proponents, $is_proponent); ?> </section> <section class="proposal_content diff">