mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
issue 2450 [Admin UI Refactoring] Content > RSS
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11532 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0df35a4b6d
commit
1d21e994c0
6 changed files with 59 additions and 117 deletions
|
|
@ -119,31 +119,6 @@
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* All Feeds with or without change
|
||||
*
|
||||
* @return Object
|
||||
**/
|
||||
function procRssAdminToggleActivate() {
|
||||
$oRssModel = &getModel('rss');
|
||||
// Get mid value
|
||||
$module_srl = Context::get('module_srl');
|
||||
if($module_srl) {
|
||||
$config = $oRssModel->getRssModuleConfig($module_srl);
|
||||
if($config->open_total_feed == 'T_N') {
|
||||
$this->setRssModuleConfig($module_srl, $config->open_rss, 'T_Y', $config->feed_description, $config->feed_copyright);
|
||||
$this->add("open_total_feed", 'T_Y');
|
||||
}
|
||||
else {
|
||||
$this->setRssModuleConfig($module_srl, $config->open_rss, 'T_N', $config->feed_description, $config->feed_copyright);
|
||||
$this->add("open_total_feed", 'T_N');
|
||||
}
|
||||
}
|
||||
|
||||
$this->add("module_srl", $module_srl);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* A funciton to configure all Feeds of the RSS module
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue