예제 #1
0
echo $nbComment;
?>
</span>
							</a>
							<!-- end: TIMELINE PANEL -->
						</li>
						<li role="presentation">
							<a href="#entry_community_comments" data-toggle="tab">
								Community Selected <span class="badge badge-yellow"><?php 
echo count($communitySelectedComments);
?>
</span>
							</a>
						</li>
					<?php 
if (Authorisation::canEditEntry(Yii::app()->session["userId"], (string) $context["_id"])) {
    ?>
						<li role="presentation">
							<a href="#entry_abuse" data-toggle="tab">
								Abuse <span class="badge badge-red"><?php 
    echo count($abusedComments);
    ?>
</span>
							</a>
						</li>
					<?php 
}
?>
					</ul>
					<div class="tab-content partition-white">
						<div class="tab-pane active no-padding" id="entry_comments" >
예제 #2
0
//$this->renderPartial('../person/menuTitle',array("topTitleExists"=>true,"actionTitle"=>"CONTRIBUTE", "actionIcon"=>"fa-money"));
?>

<div class="row vote-row" >
	
	<div class="col-sm-12 col-md-4 center ">
		<!-- start: REGISTER BOX -->
		<div class="box-vote box-pod box">
			<span class="text-extra-large text-bold"><?php 
echo $survey["name"];
?>
</span>
			<br/><br/>
			<div style="height: 300px">
				<?php 
$canEdit = Authorisation::canEditEntry(Yii::app()->session["userId"], (string) $survey['_id']);
$this->renderPartial('../pod/fileupload', array("itemId" => (string) $survey['_id'], "type" => Survey::COLLECTION, "resize" => false, "contentId" => Document::IMG_PROFIL, "show" => true, "editMode" => $canEdit));
?>
			</div>
			<br/><br/>
			<?php 
echo $survey["message"];
?>
			<br/><br/>
			<?php 
/* ?>
			<a class="btn btn-xs btn-default share-button" href="javascript:;"><i class='fa fa-share' ></i> Share </a>
			*/
?>
		</div>
	</div>