?> </button> <button class="joms-button--primary joms-button--small" onclick="joms.view.stream.save('<?php echo $activity->get('id'); ?> ', this);"><?php echo JText::_('COM_COMMUNITY_SAVE'); ?> </button> </div> </div> <p data-type="stream-content"> <?php $title = empty($title) ? ltrim(CActivities::format($activity->get('title'), $mood), ' -') : CActivities::format($activity->get('title'), $mood); echo CActivities::shorten($title, $activity->get('id'), $isSingleAct, $config->getInt('streamcontentlength')); if ($address) { ?> <span class="joms-status-location"><?php if (!empty($title)) { ?> - <?php } echo JText::_('COM_COMMUNITY_AT'); ?> <a href="javascript:" onclick="joms.api.locationView('<?php echo $activity->get('id'); ?> ');"><?php echo $address; ?>
<div class="joms-comment__header"> <div class="joms-avatar--comment"> <?php echo $avatarHTML; ?> </div> <div class="joms-comment__body joms-js--comment-body"> <a class="joms-comment__user" href="<?php echo $authorLink; ?> "><?php echo $author; ?> </a> <span class="joms-js--comment-content"><?php echo CActivities::shorten($content, $wall->id, 0, $config->getInt('stream_comment_length'), 'comment'); ?> </span> <?php if (!empty($photoThumbnail)) { ?> <div style="padding: 5px 0"> <a href="javascript:" onclick="joms.api.photoZoom('<?php echo $photoThumbnail; ?> ');"> <img class="joms-stream-thumb" src="<?php echo $photoThumbnail; ?> " alt="" /> </a>
* The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0 * More info at https://www.jomsocial.com/license-agreement */ defined('_JEXEC') or die; $config = CFactory::getConfig(); $mood = $this->acts[0]->params->get('mood', NULL); $isPhotoModal = $config->get('album_mode') == 1; ?> <?php if (count($photos) > 0) { ?> <p><?php $title = $this->acts[0]->title; echo CActivities::shorten($title, $this->acts[0]->id, 0, $config->getInt('streamcontentlength')); ?> </p> <?php if (count($photos) > 1) { ?> <div class="joms-media--images"> <?php foreach ($photos as $photo) { ?> <a <?php if ($isPhotoModal) { ?>
?> " alt="image-attachment"> <?php } ?> </div> </div> <?php break; case 'text': ?> <p> <?php $title = $attachment->message; echo CActivities::shorten($title, $attachment->activity->get('id'), 0, $config->getInt('streamcontentlength')); ?> <?php if ($attachment->address) { ?> <span class="joms-status-location"> - <a href="javascript:" onclick="joms.api.locationView('<?php echo $attachment->activity->get('id'); ?> ');"> <?php echo $attachment->address; ?> </a> </span> <?php