1、更换编辑器

2、seo优化功能
3、表单的bug
This commit is contained in:
2016-07-13 15:06:44 +08:00
parent 485690400b
commit 2dbbb20f20
301 changed files with 8380 additions and 129034 deletions

View File

@@ -64,6 +64,7 @@ class Content extends Fornt{
$teamplate = 'content/'.$this->modelInfo['name'].'/index';
}
$this->assign($data);
$this->setSeo($cate['name']);
return $this->fetch($teamplate);
}
@@ -133,6 +134,10 @@ class Content extends Fornt{
$teamplate = 'content/'.$this->modelInfo['name'].'/detail';
}
$this->assign($data);
$title = isset($info['title']) ? $info['title'] : '';
$tags = isset($info['tags']) ? $info['tags'] : '';
$description = isset($info['description']) ? $info['description'] : '';
$this->setSeo($title, $tags, $description);
return $this->fetch($teamplate);
}