Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
_view.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  *
10  */
11 ?>
12 <?php if($comment==false){return;} ?>
13 <div>
14  <span> <b> <?php echo $comment->getAttributeLabel('content_id')?> </b></span>
15  <span> <?php echo $comment->content_id?> </span>
16 </div>
17 
18 <?php if ($comment->parent_id): ?>
19 <h3><?php echo CommentsModule::t('Reply for:')?></h3>
20 <?php echo $comment->parent->subject ?>
21 <?php endif ?>
22 
23 <div>
24  <span> <b> <?php echo $comment->getAttributeLabel('firstname')?> </b></span>
25  <span> <?php echo $comment->firstname?> </span>
26 </div>
27 
28 <div>
29  <span> <b> <?php echo $comment->getAttributeLabel('lastname')?> </b></span>
30  <span> <?php echo $comment->lastname?> </span>
31 </div>
32 
33 
34 <div>
35  <span> <b> <?php echo $comment->getAttributeLabel('email')?> </b></span>
36  <span> <?php echo $comment->email?> </span>
37 </div>
38 
39 
40 <div>
41  <span> <b> <?php echo $comment->getAttributeLabel('subject')?> </b></span>
42  <span> <?php echo CHtml::encode($comment->subject)?> </span>
43 </div>
44 
45 
46 <div>
47  <span> <b> <?php echo $comment->getAttributeLabel('description')?> </b></span>
48  <span> <?php echo nl2br(CHtml::encode($comment->description))?> </span>
49 </div>
50 
51 <div>
52  <span> <b> <?php echo $comment->getAttributeLabel('status')?> </b></span>
53  <span> <?php echo $comment->getStatusText()?> </span>
54 </div>