%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/linklist/widgets/views/
Upload File :
Create Path :
Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/linklist/widgets/views/wallEntry.php

<?php

/**
 * View for the wall entry widget. Displays the content shown on the wall if a link is added.
 *
 * @uses $link the link added to the wall.
 *
 * @author Sebastian Stumpf
 */

use yii\helpers\Html;
use humhub\modules\linklist\models\Link;

/* @var $link Link */
?>
<div class="media">
    <div class="media-body">
        <h4 class="media-heading"><?php echo Yii::t('LinklistModule.base', 'Added a new link %link% to category "%category%".', [
                '%link%' => Html::a(Html::encode($link->title), $link->href, ['target' => '_blank']),
                '%category%' => Html::encode($link->category->title)
        ]); ?></h4>
        <?php
        if ($link->description == null || $link->description == '') {
            echo '<em>(' . Yii::t('LinklistModule.base', 'No description available.') . ')</em>';
        } else {
            echo Html::encode($link->description);
        }
        ?>
    </div>
</div>

Zerion Mini Shell 1.0