git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4114 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2008-04-16 10:05:08 +00:00
parent 13f1f27ba1
commit 7caf305819
2 changed files with 6 additions and 2 deletions

View file

@ -170,8 +170,11 @@
$oDB->commit();
$skin = Context::get('skin');
if(!$skin || !is_dir('./modules/poll/skins/'.$skin)) $skin = 'default';
// tpl 가져오기
$tpl = $oPollModel->getPollHtml($poll_srl);
$tpl = $oPollModel->getPollHtml($poll_srl, '', $skin);
$this->add('poll_srl', $poll_srl);
$this->add('tpl',$tpl);
@ -183,6 +186,7 @@
**/
function procPollViewResult() {
$poll_srl = Context::get('poll_srl');
$skin = Context::get('skin');
if(!$skin || !is_dir('./modules/poll/skins/'.$skin)) $skin = 'default';