示例#1
0
    ?>
            </ul>
        <?php 
}
?>

        <?php 
if ($count) {
    ?>
            <?php 
    echo LinkPager::widget(['pagination' => $dataProvider->getPagination()]);
    ?>

            <ul class="list-group">
                <?php 
    echo GridListHeader::widget(['columns' => [["width" => 2, "label" => HCms::t('labels', 'Base tag')], ["width" => 1, "label" => HLib::t('labels', 'Language')], ["width" => 6, "label" => HLib::t('labels', 'Label')], ["width" => 1, "label" => HLib::t('labels', 'Nb ref.')], ["width" => 2, "label" => HLib::t('labels', 'Actions'), "cssClass" => "object-actions text-right"]]]);
    ?>

                <?php 
    foreach ($models as $model) {
        ?>
                    <li class="list-group-item">
                        <div class="row">
                            <div class="col-sm-2">
                                <?php 
        echo $model->base->code;
        ?>
                            </div>

                            <div class="col-sm-1">
                                <?php 
示例#2
0
    ?>
            </ul>
        <?php 
}
?>

        <?php 
if ($count) {
    ?>
            <?php 
    echo LinkPager::widget(['pagination' => $dataProvider->getPagination()]);
    ?>

            <ul class="list-group">
                <?php 
    echo GridListHeader::widget(['columns' => [["width" => 1, "label" => HLib::t('labels', 'Date')], ["width" => 1, "label" => HCms::t('labels', 'Language')], ["width" => 5, "label" => HLib::t('labels', 'Title')], ["width" => 3, "label" => HLib::t('labels', 'Tags')], ["width" => 2, "label" => HLib::t('labels', 'Actions'), "cssClass" => "object-actions text-right"]]]);
    ?>

                <?php 
    foreach ($models as $model) {
        ?>
                    <li class="list-group-item">
                        <div class="row">
                            <div class="col-sm-1 <?php 
        echo $model->isEnabled() ? '' : 'disabled';
        ?>
">
                                <?php 
        echo $model->base->event_date;
        ?>
                            </div>
示例#3
0
                <?php 
echo HUsers::t('labels', 'Create a new role');
?>
            </a>
        </div>

        <?php 
if ($count) {
    ?>
            <?php 
    echo LinkPager::widget(['pagination' => $dataProvider->getPagination()]);
    ?>

            <ul class="list-group">
                <?php 
    echo GridListHeader::widget(['columns' => [["width" => 5, "label" => HUsers::t('labels', 'Roles')], ["width" => 5, "label" => HUsers::t('labels', 'Users')], ["width" => 2, "label" => HLib::t('labels', 'Actions'), "cssClass" => "object-actions text-right"]]]);
    ?>

                <?php 
    foreach ($roles as $model) {
        ?>
                    <li class="list-group-item">
                        <div class="row">
                            <div class="col-sm-5">
                                <?php 
        echo $model->name;
        ?>
                            </div>

                            <div class="col-sm-5">
                                <?php 
示例#4
0
 */
$this->title = HLib::t('labels', 'Site information');
?>
<div class="row panel panel-default">

    <div class="panel-heading">
        <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    </div>

    <div class="panel-body">
        <ul class="list-group">
            <?php 
echo GridListHeader::widget(['columns' => [["width" => 6, "label" => HLib::t('labels', 'Name')], ["width" => 6, "label" => HLib::t('labels', 'Value')]]]);
?>

            <li class="list-group-item">
                <div class="row">
                    <div class="col-sm-6">INTL_ICU_VERSION</div>
                    <div class="col-sm-6"><?php 
echo INTL_ICU_VERSION;
?>
 </div>
                </div>
            </li>

            <li class="list-group-item">
                <div class="row">
                    <div class="col-sm-6">PHP_VERSION</div>
示例#5
0
                <?php 
echo HCms::t('labels', 'Create a new language');
?>
            </a>
        </div>

        <?php 
if ($count) {
    ?>
            <?php 
    echo LinkPager::widget(['pagination' => $dataProvider->getPagination()]);
    ?>

            <ul class="list-group">
                <?php 
    echo GridListHeader::widget(['columns' => [["width" => 9, "label" => HLib::t('labels', 'Name')], ["width" => 1, "label" => HCms::t('labels', 'Code')], ["width" => 2, "label" => HLib::t('labels', 'Actions'), "cssClass" => "object-actions text-right"]]]);
    ?>

                <?php 
    foreach ($models as $model) {
        ?>
                    <li class="list-group-item">
                        <div class="row">
                            <div class="col-sm-9">
                                <?php 
        echo Html::a($model->name, Url::to(['/cms/languages/view', 'id' => $model->id]));
        ?>
                            </div>

                            <div class="col-sm-1">
                                <?php 
        <?php 
echo $this->render('/web-news/_frontendSearchForm', ['model' => $searchModel, 'tags' => $tags]);
?>
    </div>
</div>

<div class="row">
    <div class="col-sm-12">
        <?php 
if ($count) {
    LinkPager::widget(['pagination' => $dataProvider->getPagination()]);
    ?>

            <ul class="list-group">
                <?php 
    echo GridListHeader::widget(['sortAction' => '/cms/web-news/display-search-results-sort', 'sortClausesSessionKey' => $sortClausesSessionKey, 'columns' => [['width' => 2, 'label' => HLib::t('labels', 'Date'), 'orderBy' => 'base_news.event_date', 'sortIcon' => 'order'], ['width' => 7, 'label' => HLib::t('labels', 'Title'), 'orderBy' => 'title'], ['width' => 3, 'label' => Yii::t('labels', 'Tags')]]]);
    ?>

                <?php 
    foreach ($models as $model) {
        ?>
                    <li class="list-group-item">
                        <div class="row">
                            <div class="col-sm-2 <?php 
        echo $model->base->enabled ? '' : 'disabled';
        ?>
">
                                <?php 
        echo Carbon::parse($model->base->event_date)->format(WebNews::DATE_FORMAT_DAY);
        ?>
                            </div>