Skip to content

Commit

Permalink
修改下后台布局
Browse files Browse the repository at this point in the history
  • Loading branch information
yidashi committed Feb 21, 2017
1 parent a6a46e3 commit dd5bbba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions backend/views/site/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,9 @@
<?php $this->beginBody() ?>
<div class="wrapper">

<?= $this->render(
'header.php'
) ?>
<?= $this->render('header.php') ?>

<?= $this->render(
'content.php',
['content' => $content]
) ?>
<?= $this->render('content.php') ?>

</div>
<?php $this->endBody() ?>
Expand Down
2 changes: 1 addition & 1 deletion common/modules/message/models/MessageData.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function attributeLabels()
{
return [
'id' => Yii::t('app', 'ID'),
'content' => Yii::t('app', 'Content'),
'content' => '内容',
'created_at' => Yii::t('app', 'Created At'),
];
}
Expand Down

0 comments on commit dd5bbba

Please sign in to comment.