From: <ki...@us...> - 2008-12-23 14:47:04
|
Revision: 381 http://xc-tokai.svn.sourceforge.net/xc-tokai/?rev=381&view=rev Author: kilica Date: 2008-12-23 14:46:58 +0000 (Tue, 23 Dec 2008) Log Message: ----------- [0.14] display poll count on EnqListAction.class.php Modified Paths: -------------- modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/README.txt modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/actions/EnqListAction.class.php modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/language/ja_utf8/main.php modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/language/japanese/main.php modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/templates/bizpoll_enq_list.html 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 2008-12-23 12:41:37 UTC (rev 380) +++ modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/README.txt 2008-12-23 14:46:58 UTC (rev 381) @@ -18,6 +18,9 @@ \x8DX\x90V\x97\x9A\x97\xF0 -------- +0.14(2008.12.23) +\x81E\x83A\x83\x93\x83P\x81[\x83g\x88ꗗ\x82ɓ\x8A\x95[\x8C\x8F\x90\x94\x82\xF0\x92lj\xC1 + 0.13(2008.12.23) \x81E\x81u\x8Dŋ߂̃A\x83\x93\x83P\x81[\x83g\x81v\x83u\x83\x8D\x83b\x83N\x82\xF0\x92lj\xC1 Modified: modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/actions/EnqListAction.class.php =================================================================== --- modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/actions/EnqListAction.class.php 2008-12-23 12:41:37 UTC (rev 380) +++ modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/actions/EnqListAction.class.php 2008-12-23 14:46:58 UTC (rev 381) @@ -108,6 +108,9 @@ $criteria->setSort('pub_unixtime', 'DESC'); $this->mObjects =& $handler->getObjects($criteria); + foreach(array_keys($this->mObjects) as $key){ + $this->mObjects[$key]->countPoll($this->mAsset->mDirname); + } return BIZPOLL_FRAME_VIEW_INDEX; } Modified: modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/language/ja_utf8/main.php =================================================================== --- modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/language/ja_utf8/main.php 2008-12-23 12:41:37 UTC (rev 380) +++ modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/language/ja_utf8/main.php 2008-12-23 14:46:58 UTC (rev 381) @@ -70,6 +70,7 @@ define('_MD_BIZPOLL_LANG_DISPLAY_END_DATETIME', "終了日時を設定する"); define('_MD_BIZPOLL_LANG_REMOVE_END_DATETIME', "終了日時の設定をやめる"); define('_MD_BIZPOLL_LANG_WEIGHT', "並び順"); +define('_MD_BIZPOLL_LANG_COUNT', "件"); define('_MD_BIZPOLL_LANG_RETURN_POLL', "投票画面に戻る"); ?> Modified: modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/language/japanese/main.php =================================================================== --- modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/language/japanese/main.php 2008-12-23 12:41:37 UTC (rev 380) +++ modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/language/japanese/main.php 2008-12-23 14:46:58 UTC (rev 381) @@ -70,6 +70,7 @@ define('_MD_BIZPOLL_LANG_DISPLAY_END_DATETIME', "\xBD\xAAλ\xC6\xFC\xBB\xFE\xA4\xF2\xC0\xDF\xC4ꤹ\xA4\xEB"); define('_MD_BIZPOLL_LANG_REMOVE_END_DATETIME', "\xBD\xAAλ\xC6\xFC\xBB\xFE\xA4\xCE\xC0\xDF\xC4\xEA\xA4\xF2\xA4\xE4\xA4\xE1\xA4\xEB"); define('_MD_BIZPOLL_LANG_WEIGHT', "\xCA¤ӽ\xE7"); +define('_MD_BIZPOLL_LANG_COUNT', "\xB7\xEF"); define('_MD_BIZPOLL_LANG_RETURN_POLL', "\xC5\xEAɼ\xB2\xE8\xCC̤\xCB\xCC\xE1\xA4\xEB"); ?> Modified: modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/templates/bizpoll_enq_list.html =================================================================== --- modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/templates/bizpoll_enq_list.html 2008-12-23 12:41:37 UTC (rev 380) +++ modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/templates/bizpoll_enq_list.html 2008-12-23 14:46:58 UTC (rev 381) @@ -38,7 +38,7 @@ <tbody> <{foreach item=obj from=$objects}> <tr class="<{cycle values='odd,even'}>"> - <td><a href="./index.php?action=EnqView&enq_id=<{$obj->getShow('enq_id')}>"><{$obj->getShow('title')}></a> + <td><a href="./index.php?action=EnqView&enq_id=<{$obj->getShow('enq_id')}>"><{$obj->getShow('title')}> (<{$smarty.const._MD_BIZPOLL_LANG_POLL}>: <{$obj->mPollCount}><{$smarty.const._MD_BIZPOLL_LANG_COUNT}>)</a> </td> <{if $useCat==true}> <{assign var=catId value=$obj->getShow('cat_id')}> Modified: modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/xoops_version.php =================================================================== --- modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/xoops_version.php 2008-12-23 12:41:37 UTC (rev 380) +++ modules_bizpoll/trunk/xoops_trust_path/modules/bizpoll/xoops_version.php 2008-12-23 14:46:58 UTC (rev 381) @@ -21,7 +21,7 @@ // Define a basic manifesto. // $modversion['name'] = _MI_BIZPOLL_LANG_BIZPOLL; -$modversion['version'] = 0.13; +$modversion['version'] = 0.14; $modversion['description'] = _MI_BIZPOLL_DESC_BIZPOLL; $modversion['author'] = _MI_BIZPOLL_LANG_AUTHOR; $modversion['credits'] = _MI_BIZPOLL_LANG_CREDITS; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |