Mercurial > hg > extraction-interface
comparison controllers/extractapp.php @ 94:b0cecc104639 extractapp
new: modified tags can work on tagged text
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 09 Nov 2015 12:00:24 +0100 |
parents | 3e11a9c5a672 |
children | 9a29e9d28ece |
comparison
equal
deleted
inserted
replaced
93:a05491461199 | 94:b0cecc104639 |
---|---|
278 } | 278 } |
279 switch ($func) { | 279 switch ($func) { |
280 case 'Update': | 280 case 'Update': |
281 $viewmodel->UpdateTagsInTopic($this->postdata); | 281 $viewmodel->UpdateTagsInTopic($this->postdata); |
282 break; | 282 break; |
283 case 'CreateNewTopic': | |
284 $this->ReturnView($viewmodel->CreateNewTopic($this->postdata), true); | |
285 break; | |
283 default: | 286 default: |
284 $this->ReturnView($viewmodel->ConfigTagsInTopic($this->postdata), true); | 287 $this->ReturnView($viewmodel->ConfigTagsInTopic($this->postdata), true); |
285 break; | 288 break; |
286 } | 289 } |
287 } | 290 } |