diff options
Diffstat (limited to 'h-source/Application/Controllers/WikiController.php')
-rw-r--r-- | h-source/Application/Controllers/WikiController.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/WikiController.php b/h-source/Application/Controllers/WikiController.php index 33647ef..2ddc54d 100644 --- a/h-source/Application/Controllers/WikiController.php +++ b/h-source/Application/Controllers/WikiController.php @@ -448,11 +448,12 @@ class WikiController extends BaseController $data['notice'] = $this->m['WikitalkModel']->notice; // javascript for moderator -// $data['md_javascript'] = "moderator_dialog(\"hide\",\"talk\");moderator_dialog(\"show\",\"talk\");"; -// $data['go_to'] = $this->currPage."/".$this->lang."/".$clean['id_wiki']; + $data['md_javascript'] = "moderator_dialog(\"hide\",\"wiki_talk\");moderator_dialog(\"show\",\"wiki_talk\");"; + $data['go_to'] = $this->currPage."/".$this->lang."/".$clean['id_wiki']; $this->append($data); $this->load('talk'); + $this->load('moderator_dialog'); $this->right(); // $this->loadViewAll('talk,moderator_dialog'); } |