File indexing completed on 2025-05-04 05:29:20
0001 <?php 0002 /** 0003 * ocs-webserver 0004 * 0005 * Copyright 2016 by pling GmbH. 0006 * 0007 * This file is part of ocs-webserver. 0008 * 0009 * This program is free software: you can redistribute it and/or modify 0010 * it under the terms of the GNU Affero General Public License as 0011 * published by the Free Software Foundation, either version 3 of the 0012 * License, or (at your option) any later version. 0013 * 0014 * This program is distributed in the hope that it will be useful, 0015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0017 * GNU Affero General Public License for more details. 0018 * 0019 * You should have received a copy of the GNU Affero General Public License 0020 * along with this program. If not, see <http://www.gnu.org/licenses/>. 0021 **/ 0022 $helpProductUrl = new Default_View_Helper_BuildProductUrl(); 0023 $helpMemberUrl = new Default_View_Helper_BuildMemberUrl(); 0024 $helpImage = new Default_View_Helper_Image(); 0025 //$helpCategories = new Default_View_Helper_FetchCategoriesForProductAsString(); 0026 $helpTruncate = new Default_View_Helper_Truncate(); 0027 $helpPrintDate = new Default_View_Helper_PrintDate(); 0028 ?> 0029 <div class="commentstore"> 0030 <div class="row" style="margin-left: 0;margin-right: 0; "> 0031 <?= Default_Model_HtmlPurify::purify($this->comment['title']) ?> 0032 <span 0033 style="display: block;" class="small"><?= $this->comment['catTitle'] ?></span> 0034 </div> 0035 <div class="row" style="margin-left: 0;margin-right: 0;"> 0036 <div class="userinfo"> 0037 <a href="<?=$helpMemberUrl->buildMemberUrl($this->comment['username'])?>" class="tooltipuserleft" data-tooltip-content="#tooltip_content" data-user="<?=$this->comment['member_id']?>" > 0038 <img src="<?= $helpImage->Image($this->comment['profile_image_url'],array('width' => 40, 'height' => 40)) ?>" /> 0039 <span style="display: block"><?= $this->comment['username'] ?></span> 0040 </a> 0041 </div> 0042 <div class="info"> 0043 <div class="small" style="line-height:1.3"> 0044 <a href="<?=$helpProductUrl->buildProductUrl($this->comment['project_id'])?>"> 0045 <?=$helpTruncate->truncate(Default_Model_HtmlPurify::purify($this->comment['comment_text']), 200, '...', false, true)?> 0046 </a> 0047 </div> 0048 </div> 0049 </div> 0050 <div class="row " style="margin-left: 0;margin-right: 0;"> 0051 <span style="font-size: smaller;"><?= $helpPrintDate->printDate($this->comment['comment_created_at'])?></span> 0052 </div> 0053 </div>