css 및 js 호출순서 조정기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-03-06 05:33:56 +00:00
parent 4f380d9c48
commit 61851f1dfe
2149 changed files with 109090 additions and 18689 deletions

View file

@ -43,15 +43,15 @@
}
function isHome() {
$config = Context::get('config');
if($this->getModuleSrl() == $config->module_srl) return true;
$module_info = Context::get('module_info');
if($this->getModuleSrl() == $module_info->module_srl) return true;
return false;
}
function getColorset() {
if($this->isHome() || !$this->colorset) {
$config = Context::get('config');
return $config->colorset;
$module_info = Context::get('module_info');
return $module_info->colorset;
}
return $this->colorset;
@ -187,8 +187,8 @@
if(!$this->isExists()) return;
if(is_null($open_rss)) {
$oRssModel = &getModel('rss');
$config = $oRssModel->getRssModuleConfig($this->getModuleSrl());
$open_rss = $config->open_rss;
$module_info = $oRssModel->getRssModuleConfig($this->getModuleSrl());
$open_rss = $module_info->open_rss;
}
return $open_rss=='Y'?true:false;
@ -247,6 +247,27 @@
return $output;
}
/**
* @brief 내가 댓글을 글에 댓글이 달렸는데 확인을 하지 않은
**/
function getFishingContentList($page=1) {
if(!$page) $page = 1;
$args->module_srl = $this->getModuleSrl();
$args->page = $page;
$output = executeQueryArray('planet.getFishingContentList', $args);
if(!$output->toBool()) return $output;
if(count($output->data)) {
foreach($output->data as $key => $val) {
unset($oPlanet);
$oPlanet = new PlanetItem();
$oPlanet->setAttribute($val);
$output->data[$key] = $oPlanet;
}
}
return $output;
}
/**
* @brief 관심 태그로 등록된 가져오기
**/