From 4a53f0f4ac7c89ae5283702b6c3be7c643bc0dd8 Mon Sep 17 00:00:00 2001 From: Putra Sudaryanto Date: Mon, 30 Jul 2018 00:44:06 +0700 Subject: [PATCH] commit --- composer.json | 2 +- views/o/category/_form.php | 6 +++--- views/o/contact/_form.php | 6 +++--- views/o/feedback/_form.php | 12 ++++++------ views/o/subject/_form.php | 6 +++--- views/o/widget/_form.php | 6 +++--- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/composer.json b/composer.json index 860d0c2..03b25e0 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "php": ">=5.3.2", "oomphinc/composer-installers-extender": "^1.0", "yiisoft/yii": ">=1.1.14", - "yiiext/imperavi-redactor-widget": "^1.3.10", + "yiiext/imperavi-redactor-widget": "~1.3", "ommu/yii-sluggable": "~1.0", "ommu/phpmailer": "~0.1" } diff --git a/views/o/category/_form.php b/views/o/category/_form.php index adf40d5..5491128 100644 --- a/views/o/category/_form.php +++ b/views/o/category/_form.php @@ -34,7 +34,7 @@
labelEx($model, 'name_i', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
textField($model, 'name_i', array('maxlength'=>32, 'class'=>'form-control')); ?> error($model, 'name_i'); ?>
@@ -42,7 +42,7 @@
labelEx($model, 'cat_icon', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
textField($model, 'cat_icon', array('maxlength'=>32, 'class'=>'form-control')); ?> error($model, 'cat_icon'); ?>
@@ -51,7 +51,7 @@ publish != 2) {?>
labelEx($model, 'publish', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
checkBox($model, 'publish', array('class'=>'form-control')); ?> labelEx($model, 'publish'); ?> error($model, 'publish'); ?> diff --git a/views/o/contact/_form.php b/views/o/contact/_form.php index cc379a1..fb91399 100644 --- a/views/o/contact/_form.php +++ b/views/o/contact/_form.php @@ -35,7 +35,7 @@ if($model->category->publish != '2') {?>
-
+
isNewRecord) { $category = SupportContactCategory::getCategory(1, 'contact'); @@ -57,7 +57,7 @@ -
+
textArea($model, 'contact_name', array('rows'=>6, 'cols'=>50, 'class'=>'form-control smaller')); ?> error($model, 'contact_name'); ?>
@@ -66,7 +66,7 @@ category->publish != '2') {?>
labelEx($model, 'publish', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
checkBox($model, 'publish', array('class'=>'form-control')); ?> labelEx($model, 'publish'); ?> error($model, 'publish'); ?> diff --git a/views/o/feedback/_form.php b/views/o/feedback/_form.php index 7a96898..fff03f0 100644 --- a/views/o/feedback/_form.php +++ b/views/o/feedback/_form.php @@ -52,7 +52,7 @@
labelEx($model, 'displayname', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
textField($model, 'displayname', array('maxlength'=>32, 'class'=>'form-control'));?> error($model, 'displayname');?>
@@ -60,7 +60,7 @@
labelEx($model, 'email', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
textField($model, 'email', array('maxlength'=>32, 'class'=>'form-control')); ?> error($model, 'email'); ?>
@@ -68,7 +68,7 @@
labelEx($model, 'phone', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
textField($model, 'phone', array('maxlength'=>15, 'class'=>'form-control')); ?> error($model, 'phone'); ?>
@@ -76,7 +76,7 @@
labelEx($model, 'subject_id', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
labelEx($model, 'subject_i', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
textField($model, 'subject_i', array('maxlength'=>64, 'class'=>'form-control'));?> error($model, 'subject_i');?>
@@ -97,7 +97,7 @@
labelEx($model, 'message', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
textArea($model, 'message', array('rows'=>6, 'cols'=>50, 'class'=>'form-control')); $this->widget('yiiext.imperavi-redactor-widget.ImperaviRedactorWidget', array( 'model'=>$model, diff --git a/views/o/subject/_form.php b/views/o/subject/_form.php index f883288..4799e80 100644 --- a/views/o/subject/_form.php +++ b/views/o/subject/_form.php @@ -38,7 +38,7 @@
labelEx($model, 'parent_id', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
labelEx($model, 'subject_name_i', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
textField($model, 'subject_name_i', array('maxlength'=>64, 'class'=>'form-control')); ?> error($model, 'subject_name_i'); ?>
@@ -59,7 +59,7 @@
labelEx($model, 'publish', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
checkBox($model, 'publish', array('class'=>'form-control')); ?> labelEx($model, 'publish'); ?> error($model, 'publish'); ?> diff --git a/views/o/widget/_form.php b/views/o/widget/_form.php index 8bf2030..5ad5b92 100644 --- a/views/o/widget/_form.php +++ b/views/o/widget/_form.php @@ -38,7 +38,7 @@ if($category != null) {?>
-
+
isNewRecord) { $category = SupportContactCategory::getCategory(1, 'contact'); @@ -57,7 +57,7 @@
labelEx($model, 'widget_source', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
textArea($model, 'widget_source', array('rows'=>6, 'cols'=>50,'class'=>'form-control')); ?> error($model, 'widget_source'); ?>
@@ -65,7 +65,7 @@
labelEx($model, 'publish', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?> -
+
checkBox($model, 'publish', array('class'=>'form-control')); ?> labelEx($model, 'publish'); ?> error($model, 'publish'); ?>