コード例 #1
0
        <?php 
        }
    }
}
?>

        <!-- Privacy -->
        <div>
			<?php 
/* Do filter not show privacy option for events' activities & groups' activities */
?>
			<?php 
if (strpos($activity->get('app'), 'events') === false && strpos($activity->get('app'), 'groups') === false) {
    ?>
				<?php 
    echo $activity->get('groupid') || $activity->get('app') == 'profile' && $activity->get('target') != $activity->get('actor') ? '' : CActivitiesHelper::getStreamPermissionHTML($activity->access, $user->id);
    ?>
			<?php 
}
?>
            <span class="joms-share-meta date"><?php 
echo $activity->getCreateTimeFormatted();
?>
</span>
        </div>

    </header>
    <div data-type="stream-editor" class="cStream-Respond" style="display:none">
        <div class="cStream-Form" style="display:block">
            <div class="cStream-FormInput"><textarea><?php 
echo $activity->get('title');
コード例 #2
0
            echo JText::sprintf('COM_COMMUNITY_ACTIVITY_GROUP_PHOTO_UPLOAD_TITLE', CUrlHelper::groupLink($group->id), CStringHelper::escape($group->name));
        } else {
            echo JText::sprintf('COM_COMMUNITY_ACTIVITY_PHOTO_UPLOAD_TITLE', $album->getURI(), CStringHelper::escape($album->name));
        }
    }
}
?>


        <div>
            <?php 
if (!$act->groupid) {
    ?>

            <?php 
    echo CActivitiesHelper::getStreamPermissionHTML($act->access, $act->actor);
    ?>

            <?php 
}
?>

            <span class="joms-share-meta date"><?php 
echo $createdTime;
?>
</span>
        </div>
    </header>

<?php 
// If custom message is there for single photo upload, display it
コード例 #3
0
    <span class="joms-stream-avatar">
        <img class="img-responsive joms-radius-rounded" src="components/com_community/assets/user-Male-thumb.png" />
    </span>
    <?php 
}
?>

<div class="joms-stream-content">
    <header>
      <?php 
echo $stream->headline;
?>
       <!-- Privacy -->
        <div>
          <?php 
echo !$stream->groupid ? CActivitiesHelper::getStreamPermissionHTML($stream->access, $stream->actor->id) : '';
?>
          <span class="joms-share-meta date">
            <?php 
echo isset($stream->createdtime) ? $stream->createdtime : '';
?>
          </span>
        </div>
    </header>

    <?php 
// Contain message ?
if ($stream->message) {
    ?>

            <p><span><?php