Example #1
5
 public function renderConfigForm(ActiveForm $form)
 {
     echo $form->fieldSet(\Yii::t('skeeks/cms', 'Main'));
     echo $form->field($this, 'enabled')->checkbox();
     echo $form->fieldCheckboxBoolean($this, 'isOpen');
     echo $form->field($this, 'enableFancyboxWindow')->widget(\skeeks\widget\chosen\Chosen::className(), ['items' => \Yii::$app->formatter->booleanFormat]);
     echo $form->fieldRadioListBoolean($this, 'editWidgets');
     echo $form->fieldRadioListBoolean($this, 'editViewFiles');
     echo $form->field($this, 'infoblockEditBorderColor')->widget(\skeeks\cms\widgets\ColorInput::className());
     echo $form->fieldSetEnd();
     echo $form->fieldSet(\Yii::t('skeeks/cms', 'Access'));
     echo \skeeks\cms\widgets\rbac\PermissionForRoles::widget(['permissionName' => \skeeks\cms\rbac\CmsManager::PERMISSION_CONTROLL_PANEL, 'label' => 'Доступ к панеле разрешен']);
     echo $form->fieldSetEnd();
 }
Example #2
-1
 /**
  * @return string
  */
 public function renderConfigForm(ActiveForm $activeForm)
 {
     echo $activeForm->fieldRadioListBoolean($this, 'showDefaultPalette');
     echo $activeForm->fieldRadioListBoolean($this, 'useNative');
     echo $activeForm->fieldRadioListBoolean($this, 'showInput')->hint(\Yii::t('skeeks/cms', 'This INPUT to opened the palette'));
     echo $activeForm->fieldRadioListBoolean($this, 'showAlpha');
     echo $activeForm->fieldRadioListBoolean($this, 'showPalette');
     echo $activeForm->field($this, 'saveValueAs')->radioList(\skeeks\cms\widgets\ColorInput::$possibleSaveAs);
 }
 public function renderConfigForm(ActiveForm $form)
 {
     echo $form->fieldSet(\Yii::t('app', 'Main'));
     echo $form->fieldSelect($this, 'themeColor', static::themes(), ['allowDeselect' => true]);
     echo $form->fieldRadioListBoolean($this, 'boxedLayout');
     echo $form->field($this, 'boxedBgImage')->widget(\skeeks\cms\modules\admin\widgets\formInputs\OneImage::className());
     echo $form->field($this, 'boxedBgCss')->textInput()->hint('repeat or fixed center center');
     echo $form->fieldSetEnd();
 }
Example #4
-2
 public function renderConfigForm(ActiveForm $form)
 {
     echo $form->fieldSet(\Yii::t('skeeks/shop/app', 'Main'));
     //echo $form->field($this, 'email')->textInput()->hint(\Yii::t('skeeks/shop/app', 'Email of sales department'));
     echo $form->field($this, 'notify_emails')->textarea(['rows' => 3]);
     echo $form->fieldRadioListBoolean($this, 'payAfterConfirmation');
     echo $form->field($this, 'storeCmsContentId')->listBox(array_merge(['' => ' - '], CmsContent::getDataForSelect()), ['size' => 1]);
     echo $form->fieldSetEnd();
 }