PHP Classes

File: attachmanager_views_examples/list.php

Recommend this page to a friend!
  Classes of Insolita   Ext Imperavi   attachmanager_views_examples/list.php   Download  
File: attachmanager_views_examples/list.php
Role: Auxiliary script
Content type: text/plain
Description: Template script
Class: Ext Imperavi
Integrates the Imperavi editor in YII applications
Author: By
Last change:
Date: 2 years ago
Size: 1,529 bytes
 

Contents

Class file image Download
<div id="redactor_imagelist" style="max-height: 500px;height:100px; overflow:auto;">
    <?= $this->render('_imagelist', ['model' => $model, 'dp' => $dp]); ?>
</div>
<div id="redactor_image_options">
    <div class="row">
        <div class="col-sm-4 col-md-4">
            <?= \yii\helpers\Html::label('???????? ????', 'redactor_img_alt') ?>
<?= \yii\helpers\Html::textInput('img_alt', '', ['id' => 'redactor_img_alt']) ?>
</div>
        <div class="col-sm-3 col-md-3">
            <?= \yii\helpers\Html::label('??????', 'redactor_imgsize') ?>
<?=
           
\yii\helpers\Html::dropDownList(
               
'img_size',
               
'',
                [
1 => '??????', 2 => '??????? ??????', 3 => '??????? ??????'],
                [
'id' => 'redactor_imgsize']
            )
?>
</div>
        <div class="col-sm-3 col-md-3">
            <?= \yii\helpers\Html::label('?????????? ?? ?????', 'redactor_ispreview') ?>
<?=
           
\yii\helpers\Html::checkbox('is_preview', false, ['id' => 'redactor_ispreview']) ?>
</div>
    </div>
</div>
<div class="modal-footer">
    <button id="redactor_inserthtml_btn" class="btn btn-success pull-left">???????? HTML</button>
    <button id="redactor_insertbbcode_btn" class="btn btn-primary pull-left">???????? BB-code</button>
    <button class="btn btn-danger redactor_btn_modal_close" data-dismiss="modal">????????</button>
</div>