Changeset 12101
- Timestamp:
- 09/10/07 13:10:00 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/org.openpsa.projects/handler/project/action.php
r4794 r12101 152 152 $news_topic->up = $this->_request_data['project_topic']->id; 153 153 $news_topic->extra = sprintf($this->_request_data['l10n']->get("%s news area"), $this->_request_data['project']->title); 154 $news_topic->component = 'net.nehmer.blog'; 154 155 $news_topic->name = midcom_generate_urlname_from_string($news_topic->extra); 155 156 $news_topic->create(); … … 159 160 // Set the topic to use correct component 160 161 $news_topic = new midcom_baseclasses_database_topic($news_topic->id); 161 $news_topic->parameter('midcom', 'component', 'de.linkm.newsticker');162 162 163 163 // Fix the ACLs for the topic … … 202 202 $forum_topic->up = $this->_request_data['project_topic']->id; 203 203 $forum_topic->extra = sprintf($this->_request_data['l10n']->get("%s discussion"), $this->_request_data['project']->title); 204 $forum_topic->component = 'net.nemein.discussion'; 204 205 $forum_topic->name = midcom_generate_urlname_from_string($forum_topic->extra); 205 206 $forum_topic->create(); … … 209 210 // Set the topic to use correct component 210 211 $forum_topic = new midcom_baseclasses_database_topic($forum_topic->id); 211 $forum_topic->parameter('midcom', 'component', 'net.nemein.discussion');212 212 213 213 // Fix the ACLs for the topic
