From: <ki...@us...> - 2009-04-04 04:45:05
|
Revision: 406 http://xc-tokai.svn.sourceforge.net/xc-tokai/?rev=406&view=rev Author: kilica Date: 2009-04-04 04:45:03 +0000 (Sat, 04 Apr 2009) Log Message: ----------- [0.16] change PollNewBlock.class.php Modified Paths: -------------- modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/README.txt modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/blocks/PollNewBlock.class.php modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/xoops_version.php Modified: modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/README.txt =================================================================== --- modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/README.txt 2009-04-04 04:40:51 UTC (rev 405) +++ modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/README.txt 2009-04-04 04:45:03 UTC (rev 406) @@ -20,6 +20,7 @@ -------- 0.16(2009.04.04) \x81EPollOne\x83u\x83\x8D\x83b\x83N\x82\xF0\x92lj\xC1\x81B\x8Ew\x92肳\x82ꂽ\x83A\x83\x93\x83P\x81[\x83g\x82̓\x8A\x95[\x82\xAA\x8Fo\x97\x88\x82\xE9\x83u\x83\x8D\x83b\x83N +\x81EPollNew\x83u\x83\x8D\x83b\x83N\x82\xF0\x92lj\xC1\x81B\x8DŐV\x82̖\xA2\x93\x8A\x95[\x83A\x83\x93\x83P\x81[\x83g\x82̓\x8A\x95[\x82\xAA\x8Fo\x97\x88\x82\xE9\x83u\x83\x8D\x83b\x83N 0.15(2009.03.28) \x81Elanguages/japanese/modinfo.php \x82Ɍ\xBE\x8C\xEA\x92萔\x82\xF0\x92lj\xC1(thanks \x91\xBE\x98Y) Modified: modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/blocks/PollNewBlock.class.php =================================================================== --- modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/blocks/PollNewBlock.class.php 2009-04-04 04:40:51 UTC (rev 405) +++ modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/blocks/PollNewBlock.class.php 2009-04-04 04:45:03 UTC (rev 406) @@ -116,6 +116,7 @@ function _setupObject() { $objects = array(); + $catIdArr = array(); //get block options if($this->getBlockOption('catIds')){ @@ -170,7 +171,7 @@ foreach(array_keys($objects) as $key){ //check the user already poll this enquete ? $objects[$key]->loadMyPoll($this->_mBlock->get('dirname')); - if(intval($objects[$key]->mMyPoll->get('poll_id'))==0 && ($objects[$key]->get('end_unixtime')>time() || $objects[$key]->get('end_unxitime')==0)){ + if(intval($objects[$key]->mMyPoll->get('poll_id'))==0 && ($objects[$key]->get('end_unixtime')>time() || $objects[$key]->get('end_unixtime')==0)){ $objects[$key]->loadChoice($this->_mBlock->get('dirname')); $this->_mObject = $objects[$key]; break; Modified: modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/xoops_version.php =================================================================== --- modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/xoops_version.php 2009-04-04 04:40:51 UTC (rev 405) +++ modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/xoops_version.php 2009-04-04 04:45:03 UTC (rev 406) @@ -232,7 +232,7 @@ 'name' => _MI_BIZPOLL_BLOCK_NAME_POLLNEW, 'description' => _MI_BIZPOLL_BLOCK_DESC_POLLNEW, 'options' => '', - 'template' => '{dirname}_block_pollone.html', + 'template' => '{dirname}_block_pollnew.html', 'show_all_module' => true, 'can_clone' => true, 'visible_any' => false This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |