cvs: pearweb /public_html election-new.php

From: Date: Sat, 11 Nov 2006 08:37:09 +0000
Subject: cvs: pearweb /public_html election-new.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5175@lists.php.net to get a copy of this message
arnaud Sat Nov 11 08:37:09 2006 UTC Modified files: /pearweb/public_html election-new.php Log: allow pear.admin to create elections http://cvs.php.net/viewvc.cgi/pearweb/public_html/election-new.php?r1=1.3&r2=1.4&diff_format=u Index: pearweb/public_html/election-new.php diff -u pearweb/public_html/election-new.php:1.3 pearweb/public_html/election-new.php:1.4 --- pearweb/public_html/election-new.php:1.3 Fri Nov 10 03:46:27 2006 +++ pearweb/public_html/election-new.php Sat Nov 11 08:37:08 2006 @@ -1,5 +1,5 @@ <?php -auth_require('pear.election'); +auth_require('pear.election', 'pear.admin'); $new = 'new'; $year = date('Y') + 1; $years = array($year--, $year); @@ -128,4 +128,4 @@ $allelections = $voter->listAllElections(); $error = 'Election saved'; require dirname(dirname(__FILE__)) . '/templates/election-vote.tpl.php'; -} \ No newline at end of file +}

« previous php.pear.core (#5175) next »