示例#1
0
</td>
    </tr>
    <tr>
        <td>Описание профиля</td>
        <td><?php 
    echo $form->textArea($model, 'brieftext', array('rows' => 6, 'cols' => 50, 'class' => 'span5'));
    ?>
</td>
    </tr>
    <tr>
        <td>
            Разделитель полей в CSV-формате
        </td>
        <td>
            <?php 
    echo $form->DropDownList($model, 'splitter', LoadxmlRubrics::model()->getSplitter(), array('class' => 'span5'));
    ?>
        </td>
    </tr>
    </tbody>
</table>

<?php 
    echo $form->hiddenField($model, 'ext', array('type' => "hidden", 'size' => 2, 'maxlength' => 2));
    echo $form->hiddenField($model, 'url_to_file', array('type' => "hidden", 'size' => 2, 'maxlength' => 2));
    ?>

<div class="form-actions">
    <?php 
    $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'type' => 'primary', 'htmlOptions' => array('style' => 'margin-right: 20px'), 'label' => 'Сохранить профиль'));
    ?>
 /**
  * Returns the data model based on the primary key given in the GET variable.
  * If the data model is not found, an HTTP exception will be raised.
  * @param integer the ID of the model to be loaded
  */
 public function loadModel($id)
 {
     $model = LoadxmlRubrics::model()->findByPk($id);
     if ($model === null) {
         throw new CHttpException(404, 'The requested page does not exist.');
     }
     return $model;
 }
示例#3
0
        echo $val;
        ?>
</td>
            <?php 
    }
    ?>
        </tr>
    <?php 
}
?>
    </tbody>
</table>


<?php 
$arr = LoadxmlRubrics::model()->getFeeldsContent2((int) $model->module);
?>

<table class="content_table edit_table">
    <thead>
    <tr>
        <th width="300">
            Привязать к полю модуля
            <img title="Название поля модуля, в которое можно произвести загрузку. Полями модуля можно управлять с помощью опции "Управление полями" из пункта "Управление" главного меню." alt="Название поля модуля, в которое можно произвести загрузку. Полями модуля можно управлять с помощью опции "Управление полями" из пункта "Управление" главного меню." src="/images/admin/pregunta.png" style="padding-left: 15px;">
        </th>
        <th width="250">
            Привязать поле документа
            <img title="Здесь ассоциируются поле модуля, в которое будет производится заливка и столбец (по номеру) верхней таблицы, содержащий заливаемое значение." alt="Здесь ассоциируются поле модуля, в которое будет производится заливка и столбец (по номеру) верхней таблицы, содержащий заливаемое значение." src="/images/admin/pregunta.png" style="padding-left: 15px;">
        </th>
        <th>
            Содержание