-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
130 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.idea | ||
|
||
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CREATE TABLE IF NOT EXISTS `easyii_photos` ( | ||
`photo_id` int(11) NOT NULL, | ||
`module` varchar(32) NOT NULL, | ||
`item_id` int(11) NOT NULL, | ||
`thumb` varchar(128) NOT NULL, | ||
`image` varchar(128) NOT NULL, | ||
`description` varchar(1024) NOT NULL, | ||
`order_num` int(11) NOT NULL | ||
) ENGINE=MyISAM DEFAULT CHARSET=utf8; | ||
|
||
ALTER TABLE `easyii_photos` ADD PRIMARY KEY (`photo_id`), ADD KEY `module` (`module`); | ||
ALTER TABLE `easyii_photos` MODIFY `photo_id` int(11) NOT NULL AUTO_INCREMENT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
use yii\easyii\assets\EmptyAsset; | ||
|
||
$asset = EmptyAsset::register($this); | ||
|
||
$this->title = Yii::t('easyii/install', 'Installation error'); | ||
?> | ||
<div class="container"> | ||
<div id="wrapper" class="col-md-6 col-md-offset-3 vertical-align-parent"> | ||
<div class="vertical-align-child"> | ||
<div class="panel"> | ||
<div class="panel-heading text-center"> | ||
<?= Yii::t('easyii/install', 'Installation error') ?> | ||
</div> | ||
<div class="panel-body text-center"> | ||
<?= Yii::t('easyii/install', $error) ?> | ||
</div> | ||
</div> | ||
<div class="text-center"> | ||
<a class="logo" href="http://easyiicms.com" target="_blank" title="EasyiiCMS homepage"> | ||
<img src="<?= $asset->baseUrl ?>/img/logo_20.png">EasyiiCMS | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,26 @@ | ||
<?php | ||
$this->title = 'easyiiCMS installed'; | ||
use yii\easyii\assets\EmptyAsset; | ||
|
||
$asset = EmptyAsset::register($this); | ||
|
||
$this->title = Yii::t('easyii/install', 'Installation completed'); | ||
?> | ||
<div class="page-header"> | ||
<h1>easyiiCMS installation completed</h1> | ||
<div class="container"> | ||
<div id="wrapper" class="col-md-6 col-md-offset-3 vertical-align-parent"> | ||
<div class="vertical-align-child"> | ||
<div class="panel"> | ||
<div class="panel-heading text-center"> | ||
<?= Yii::t('easyii/install', 'Installation completed') ?> | ||
</div> | ||
<div class="panel-body text-center"> | ||
<a href="/admin">Go to control panel</a> | ||
</div> | ||
</div> | ||
<div class="text-center"> | ||
<a class="logo" href="http://easyiicms.com" target="_blank" title="EasyiiCMS homepage"> | ||
<img src="<?= $asset->baseUrl ?>/img/logo_20.png">EasyiiCMS | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<a href="/admin">Go to control panel</a> |