Skip to content

Commit

Permalink
мелкие правки
Browse files Browse the repository at this point in the history
  • Loading branch information
quot;brussens committed Feb 6, 2015
1 parent d71705b commit cb860f3
Show file tree
Hide file tree
Showing 24 changed files with 89 additions and 28 deletions.
4 changes: 2 additions & 2 deletions MessageModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message
* @since 0.1-α
* @since 0.
*
*/

class MessageModule extends \yupe\components\WebModule
{
const VERSION = '0.2';
const VERSION = '0.2.0α';

public function getDependencies()
{
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Приватные сообщения
Модуль приватных сообщений для [!ЮПИ](http://yupe.ru) CMS

Текущая версия 0.
Текущая версия 0.2.0α

## 1. Установка
* Скачиваем и распаковываем модуль в <DOC_ROOT>/protected/modules/message<содержимое папки yupe-message-master>.
Expand Down
4 changes: 2 additions & 2 deletions assets/MessageAssets.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* @author BrusSENS (Dmitry Brusenskiy) <[email protected]>
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.layouts
* @since 0.2
* @package yupe.modules.message.assets
* @since 0.2.0α
*
*/

Expand Down
2 changes: 1 addition & 1 deletion controllers/MessageBackendController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.controllers
* @since 0.2-α
* @since 0.
*
*/

Expand Down
2 changes: 1 addition & 1 deletion controllers/MessageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.controllers
* @since 0.1-α
* @since 0.
*
*/
class MessageController extends yupe\components\controllers\FrontController
Expand Down
2 changes: 1 addition & 1 deletion forms/ComposeForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.controllers
* @since 0.2
* @since 0.2.0α
*
*/

Expand Down
2 changes: 1 addition & 1 deletion install/message.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.install
* @since 0.1-α
* @since 0.
*
*/
return [
Expand Down
2 changes: 1 addition & 1 deletion install/migrations/m000000_000000_message_base.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.install.migrations
* @since 0.2
* @since 0.2.0α
*
*/

Expand Down
2 changes: 1 addition & 1 deletion messages/ru/message.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.messages.ru
* @since 0.1-α
* @since 0.
*
*/
return [
Expand Down
2 changes: 1 addition & 1 deletion models/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.models
* @since 0.1-α
* @since 0.
*
*/

Expand Down
2 changes: 1 addition & 1 deletion views/layouts/message.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.layouts
* @since 0.2
* @since 0.2.0α
*
*/
?>
Expand Down
2 changes: 1 addition & 1 deletion views/message/_inbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.message
* @since 0.1-α
* @since 0.
*
*/
?>
Expand Down
2 changes: 1 addition & 1 deletion views/message/_outbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.message
* @since 0.1-α
* @since 0.
*
*/
?>
Expand Down
2 changes: 1 addition & 1 deletion views/message/compose.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.message
* @since 0.1-α
* @since 0.
*
*/

Expand Down
2 changes: 1 addition & 1 deletion views/message/inbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.message
* @since 0.1-α
* @since 0.
*
*/
?>
Expand Down
2 changes: 1 addition & 1 deletion views/message/outbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.message
* @since 0.1-α
* @since 0.
*
*/
?>
Expand Down
18 changes: 9 additions & 9 deletions views/message/view.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
/**
* view.php - show message.
*
* @product Horex CMF
* @author Brusenskiy Dmitry <brussens@horexcmf.ru>
* @copyright 2015 Horex Copyright &copy;
* @license BSD http://ru.wikipedia.org/wiki/%D0%9B%D0%B8%D1%86%D0%B5%D0%BD%D0%B7%D0%B8%D1%8F_BSD
* @since 1.0.0
* @link http://hoswac.ru/horex
*/
* view.php - message view file.
*
* @author BrusSENS (Dmitry Brusenskiy) <[email protected]>
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.message
* @since 0.1α
*
*/

if($model->getIsInbox()) {
$user = $model->sender;
Expand Down
11 changes: 11 additions & 0 deletions views/messageBackend/_form.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<?php
/**
* _form.php - backend form view.
*
* @author BrusSENS (Dmitry Brusenskiy) <[email protected]>
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.messageBackend
* @since 0.2.0α
*
*/

$users = CHtml::listData(User::model()->findAll(), 'id', 'nick_name');
$form = $this->beginWidget(
'bootstrap.widgets.TbActiveForm',
Expand Down
10 changes: 10 additions & 0 deletions views/messageBackend/_search.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php
/**
* _search.php - backend search form view.
*
* @author BrusSENS (Dmitry Brusenskiy) <[email protected]>
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.messageBackend
* @since 0.2.0α
*
*/
$form = $this->beginWidget(
'bootstrap.widgets.TbActiveForm',
array(
Expand Down
10 changes: 10 additions & 0 deletions views/messageBackend/create.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php
/**
* create.php - backend create view.
*
* @author BrusSENS (Dmitry Brusenskiy) <[email protected]>
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.messageBackend
* @since 0.2.0α
*
*/
$this->pageTitle = Yii::t('MessageModule.message', 'Private messages - create message');

$this->breadcrumbs = array(
Expand Down
10 changes: 10 additions & 0 deletions views/messageBackend/index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php
/**
* index.php - backend index view.
*
* @author BrusSENS (Dmitry Brusenskiy) <[email protected]>
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.messageBackend
* @since 0.2.0α
*
*/
$this->breadcrumbs = array(
Yii::t('MessageModule.message', 'Private messages') => array('/message/messageBackend/index'),
Yii::t('MessageModule.message', 'Management'),
Expand Down
10 changes: 10 additions & 0 deletions views/messageBackend/update.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php
/**
* update.php - backend update view.
*
* @author BrusSENS (Dmitry Brusenskiy) <[email protected]>
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.messageBackend
* @since 0.2.0α
*
*/
$this->pageTitle = Yii::t('MessageModule.message', 'Private messages - edit message').' #'.$model->id;
$this->breadcrumbs = array(
Yii::t('MessageModule.message', 'Private messages') => array('/message/messageBackend/index'),
Expand Down
10 changes: 10 additions & 0 deletions views/messageBackend/view.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php
/**
* view.php - backend view.
*
* @author BrusSENS (Dmitry Brusenskiy) <[email protected]>
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.views.messageBackend
* @since 0.2.0α
*
*/
$this->breadcrumbs = array(
Yii::t('MessageModule.message', 'Private messages') => array('/message/messageBackend/index'),
$model->id,
Expand Down
2 changes: 1 addition & 1 deletion widgets/ComposeWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link http://hoswac.ru
* @copyright 2014 Hoswac ltd.
* @package yupe.modules.message.models
* @since 0.2
* @since 0.2.0α
*
*/

Expand Down

0 comments on commit cb860f3

Please sign in to comment.