浏览代码

Update PMDelete.php

Visman 3 年之前
父节点
当前提交
816e710f96
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Models/Pages/PM/PMDelete.php

+ 1 - 1
app/Models/Pages/PM/PMDelete.php

@@ -110,7 +110,7 @@ class PMDelete extends AbstractPM
         $this->nameTpl    = 'pm/post';
         $this->nameTpl    = 'pm/post';
         $this->formTitle  = $deleteTopic ? 'Delete PT title' : 'Delete PM title';
         $this->formTitle  = $deleteTopic ? 'Delete PT title' : 'Delete PM title';
         $this->form       = $this->formDelete($args, $post, $deleteTopic);
         $this->form       = $this->formDelete($args, $post, $deleteTopic);
-        $this->postsTitle = 'Delete info';
+        $this->postsTitle = $deleteTopic ? 'Delete dialogue info' : 'Delete info';
         $this->posts      = [$post];
         $this->posts      = [$post];
         $this->pmCrumbs[] = [
         $this->pmCrumbs[] = [
             $this->c->Router->link('PMAction', $args),
             $this->c->Router->link('PMAction', $args),