Exemplo n.º 1
0
<?php

$this->beginContent('application.modules_core.activity.views.activityLayoutMail', array('activity' => $activity, 'showSpace' => true));
?>

<?php 
echo Yii::t('LikeModule.views_activities_Like', '{userDisplayName} has interest in {contentTitle}', array('{userDisplayName}' => '<strong>' . CHtml::encode($user->displayName) . '</strong>', '{contentTitle}' => ActivityModule::formatOutput($target->getContentTitle())));
?>

<?php 
$this->endContent();
Exemplo n.º 2
0
<?php

$this->beginContent('application.modules_core.activity.views.activityLayout', array('activity' => $activity));
?>

<?php 
echo Yii::t('CommentModule.views_activities_CommentCreated', "%displayName% wrote a new comment ", array('%displayName%' => '<strong>' . $user->displayName . '</strong>'));
?>
"<?php 
$text = ActivityModule::formatOutput($target->message);
echo Helpers::trimText($text, 100);
?>
".

<?php 
$this->endContent();
<?php

$this->beginContent('application.modules_core.activity.views.activityLayoutMail', ['activity' => $activity, 'showSpace' => true]);
?>

<?php 
echo Yii::t('AlbumModule.views_activities_AlbumCreated', '%displayName% created a new album {album}.', ['%displayName%' => '<strong>' . $user->displayName . '</strong>', '{album}' => '<strong>' . $target->getContentTitle() . '</strong>']);
?>
<br />

<em>"<?php 
echo ActivityModule::formatOutput($target->description);
?>
"</em>

<?php 
$this->endContent();
?>