Ejemplo n.º 1
0
		redirect();
		break;

	case "add_support":
		Login::access_action("entitled", $_SESSION['ngroup']);
		$proposal->add_support();
		redirect("#supporters");
		break;
	case "add_support_anonym":
		Login::access_action("entitled", $_SESSION['ngroup']);
		$proposal->add_support(true);
		redirect("#supporters");
		break;
	case "renew_support":
		Login::access_action("entitled", $_SESSION['ngroup']);
		$proposal->renew_support();
		redirect("#supporters");
		break;
	case "revoke_support":
		Login::access_action("entitled", $_SESSION['ngroup']);
		$proposal->revoke_support();
		redirect("#supporters");
		break;
	case "demand_votingmode":
		Login::access_action("entitled", $_SESSION['ngroup']);
		$issue->demand_votingmode();
		redirect();
		break;
	case "revoke_votingmode":
		Login::access_action("entitled", $_SESSION['ngroup']);
		$issue->revoke_votingmode();